   /*
    Theme Name: Salsa Vida
    Theme URI: https://www.commercegurus.com/shoptimizer/
    Template: shoptimizer
    Author: CommerceGurus
    Author URI: https://www.commercegurus.com/
    Description: Shoptimizer Child Theme
    Version: 1.0.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: salsa-vida
   */

.color-variable-item-green-camo .variable-item-span-color {
	background-image: url(https://www.salsavida.com/shop/wp-content/uploads/2023/04/camo.png) !important;
    background-size: contain;
}

.color-variable-item-dark-heather-grey-red .variable-item-span-color {
	background-image: url(https://www.salsavida.com/shop/wp-content/uploads/2023/04/dark-heather-grey-red.png) !important;
    background-size: contain;
}

.color-variable-item-dark-heather-grey-navy .variable-item-span-color {
	background-image: url(https://www.salsavida.com/shop/wp-content/uploads/2023/04/dark-heather-grey-navy.png) !important;
    background-size: contain;
}

.color-variable-item-dark-heather-grey-black .variable-item-span-color {
	background-image: url(https://www.salsavida.com/shop/wp-content/uploads/2023/04/datk-heather-grey-black.png) !important;
    background-size: contain;
}

.color-variable-item-royal-heather-grey .variable-item-span-color {
	background-image: url(https://www.salsavida.com/shop/wp-content/uploads/2023/04/royal-heather-grey.png) !important;
    background-size: contain;
}

.product {
	background: white;
}

ul.social-icons li {
    display: inline-block;
    padding: 0;
    margin-right: 12px;
}

ul.social-icons li a {
    background: #fff;
    color: #141414 !important;
    border: 1px solid #fff !important;
}

ul.social-icons li a:hover {
    color: #fff !important;
    background: #141414;
}

ul.social-icons li a {
    color: #fff;
    display: block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border: 0;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
	  font-size: 14px;
}

#copyright {font-size:14px;}

.mobile-search-toggle {
	right: 16px !important;
}

.shoptimizer-product-prevnext {
	display: none;
}

.woocommerce-breadcrumb {
	font-size: 12px !important;
}

.product-details-wrapper h1 {
	font-size: 18px;
    margin-top: 15px;
}

table.prices tr > td {
	padding: 0;
}

table.prices tr > td:first-child {
    text-align: right;
	width: 66px;
}

table.prices tr > td:nth-child(2) {
    padding-left: 10px;
}

table.prices .sale-price {
	color: #B12704;
	font-size: 20px;
	font-weight: bold;
}

table.prices .savings {
	color: #B12704;
}

/* Button styles */
#free-returns-btn {
    cursor: pointer;
}
/* Popup styles */
.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.popup-content {
    position: relative;
    margin: 15% auto;
    padding: 20px;
    width: 50%;
    background-color: #fff;
    border-radius: 4px;
}

.close-btn {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Mobile styles */
@media (max-width: 767px) {
    .popup {
        background-color: rgba(0, 0, 0, 0.8); /* Adjust the opacity value here */
    }

    .popup-content {
        position: fixed;
        left: 0;
        top: auto;
        bottom: 25%; /* Adjust this value to position the popup */
        width: 100%;
        transform: none;
        border-radius: 0;
    }
}

.button-variable-item {
	width: auto !important;
	min-width: 30px;
}

.button-variable-item .variable-item-contents {
	padding: 3px;
}

.variable-item-span {
	overflow: visible !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

.reset_variations {
	display: none !important;
}

.wpmenucart-display-standard {display: none !important;}

.type-bubble {
	text-indent: 0 !important;
	color: white !important;
	text-transform: none !important;
}

.new-bubble {
	background: #e21e1d !important;
}

.woocommerce-loop-product__title .woocommerce-LoopProduct-link {
	text-align: left;
}

.woocommerce-LoopProduct-link {
	text-align: center;
	font-weight: bold !important;
}

.woocommerce-LoopProduct-link:hover {
	cursor: pointer !important;
}

.woocommerce-image__wrapper:hover {
	cursor: pointer !important;
}

.elementor-button, .wp-element-button {
	background: #0984e3 !important;
}

.image-feature figcaption span {
    background-color: #F9D94C !important;
    color: #0F1111 !important;
}

.header-line {
    position: relative;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
	margin-bottom: 5px;
}

.header-line h3 {
    display: inline-block;
    position: relative;
    padding: 0 15px;
    z-index: 1;
    background-color: #FFF; /* This should be the same color as your page's background */
}

.header-line:before,
.header-line:after {
    content: "";
    position: absolute;
    top: 50%; /* Adjust this value to place the line below the text */
    width: 100%;
    border-bottom: 1px solid #E0E0E0; /* Change this color to the shade of grey you want */
    z-index: 0;
}

.header-line:before {
    right: 50%;
}

.header-line:after {
    left: 50%;
}

.product-info-container {
	padding: 0 10px;
	text-align: left;
}

.header-line a {
	color: #222;
}

.header-line a:hover {
	text-decoration: underline;
}

.homepage-products .woocommerce-loop-product__title a {
	font-weight: normal !important;
}

.homepage-products .product {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

.homepage-products bdi {
	font-size: 16px;
	font-weight: bold;
}

.product-info-container .woocommerce-card__header {
	padding: 0;
}

.woocommerce-card__header {
	padding: 0 10px 0;
}

.view-all-link {
	text-align: right;
	font-size: 18px;
    font-weight: bold;
	margin-bottom: 30px;
	margin-top: 10px;
}

.view-all-link a {
	color: #222;
	text-decoration: underline;
}

.view-all-link a:hover {
	text-decoration: none;
}

.homepage-title {
	font-size: 14px;
}

.aspect-ratio-box {
  position: relative;
  width: 100%; /* or any custom width */
  padding-bottom: 53.25%; /* 9/16*100 = 56.25 */
  overflow: hidden;
  margin-bottom: 20px;
  background: url(https://www.salsavida.com/shop/wp-content/uploads/2023/05/salsera-hero-image.jpg);
  background-size: cover;
  background-position-y: center;
}

.aspect-ratio-box-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.collection-box {
  display: block;
  background: #f4f4f4;;
  width: 164px;
  padding: 10px 20px 0;
  height: 128px;
  overflow: hidden;
  border-radius: 5px;
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
  border: 1px solid lightgrey;
}

.collection-box:hover {
  text-decoration: none;
  box-shadow: 0 4px 5px 0 rgba(99, 110, 114, .14), 0 1px 10px 0 rgba(99, 110, 114, .12), 0 2px 4px 0 rgba(99, 110, 114, .2)
}

.collection-box h2 {
  text-align: center;
  margin-bottom: 5px;
  font-size: 22px;
  font-weight: bold;
}

.collection-box img:hover {
  opacity: 1;
}

.collection-box:last-of-type {
  margin-right: 0;
}

.homepage-categories .collection-box:last-of-type img {
  margin-top: -20px;
}

.homepage-categories::after {
	content: "";
    display: table;
    clear: both;
	margin-bottom: 30px;
}

.free-shipping-notice {
  display: none;
}

header.woocommerce-products-header .term-description {
	padding: 1em 2em;
}

.term-description p {
	font-size: 16px;
}

@media (min-width: 1024px) {
	body ul.products li.product {
		padding: 0;
	}
}

@media only screen and (max-width: 800px) {
	.view-all-link {
		text-align: center;
	}
	.product-info-container {
		text-align: center;
	}
	.product-info-container a {
		text-align: center !important;
	}
	.collection-box {
    	width: 48%;
	    margin-right: 2%;
    	height: 145px;
	  }
	.view-all-link {
    float: none;
    margin: 20px 0px 50px;
  }
  
  .view-all-link a {
    color: white;
	  text-decoration: none;
	  padding: 16px;
	  border: 0;
	background-color: #0984e3 !important;
    border-color: #0984e3 !important;
    border-radius: 5px !important;
	  display: block;
  }
  .view-all-link a:hover {
	  color: white;
	  text-decoration: none;
	  background-color: #3b82dc !important;
  }
	
	.woocommerce-products-header {
		display: none !important;
	}
}

.mobile-search-toggle {
	margin-right: 45px;
}

.hero {
      width: 100%;

	/* Maintain 5:3 aspect ratio on larger screens */
      aspect-ratio: 5 / 3;

      background-image: url("https://www.salsavida.com/shop/wp-content/uploads/2023/05/salsera-hero-image.jpg");
	  /*background-image: url("https://www.salsavida.com/shop/wp-content/uploads/2025/01/salsa-every-damn-day-scaled.jpg");*/
      background-size: cover;
      background-position: center;
      background-repeat: no≥-repeat;
	  max-width: 1200px;
      margin: 0 auto 40px;
}

@media (max-width: 768px) {
	.hero {
		aspect-ratio: 5 / 3;
    }
}

/* 
      -------------------------------------------------------
      SLIDER WRAPPER
      -------------------------------------------------------
      - Contains the arrow buttons and the .slider-container
    */
    .slider {
      position: relative;   /* So we can position arrow buttons inside */
      max-width: 1200px;    /* Optional max width; remove if you want full-bleed */
      margin: 0 auto;       /* Center horizontally if using a max width */
    }

    /*
      -------------------------------------------------------
      SLIDER-CONTAINER
      -------------------------------------------------------
      - The horizontally scrollable wrapper for .slider-item
      - We use flexbox + overflow-x: auto
    */
    .slider-container {
      display: flex;
	  margin-bottom: 20px;
      gap: 1rem;                  /* spacing between slides */
      overflow-x: auto;           /* enable horizontal scrolling */
      scroll-behavior: smooth;    /* smooth scroll on arrow click */
      -webkit-overflow-scrolling: touch; /* better iOS momentum scrolling */
      /* (Optional) Hide scrollbars on modern browsers: */
      scrollbar-width: none;        /* Firefox */
    }
    .slider-container::-webkit-scrollbar {
      display: none;               /* Chrome/Safari */
    }

    /*
      -------------------------------------------------------
      SLIDER-ITEM
      -------------------------------------------------------
      - Each slide
      - "flex: 0 0 30%" => ~3 slides in view on larger screens
      - text-align: center => centers the text (and <br> text) if desired
    */
    .slider-item {
      flex: 0 0 30%;
      text-align: center;    /* Center the <img> and text */
    }

    /* Make sure images fill the slide's width nicely */
    .slider-item img {
      width: 100%;
      height: auto; 
      object-fit: cover;
      display: block;        /* remove extra whitespace gaps under images */
      border-radius: 6px;    /* optional rounding */
    }

	.slider-item a p {
  	text-align: left;
  	font-weight: bold;
  	color: #000;
  	margin-top: 0.5rem;
	}

    /* 
      -------------------------------------------------------
      ARROW BUTTONS
      -------------------------------------------------------
    */
    .slider {
  position: relative; /* to position children absolutely inside */
}

/* Arrow Buttons */
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  z-index: 2; /* ensures buttons are above the slider items */
}

.slider-button:hover {
  background: rgba(255, 255, 255, 1);
}

/* Left vs. Right positions */
.slider-button-left {
  left: 0; 
}

.slider-button-right {
  right: 0; 
}

    /*
      -------------------------------------------------------
      RESPONSIVE BREAKPOINT
      -------------------------------------------------------
      - Show ~1.5 slides on smaller screens
      - e.g., "flex: 0 0 66%" => about 1.5 slides visible
    */
    @media (max-width: 768px) {
      .slider-item {
        flex: 0 0 66%;
      }
    }

#tab-description p {
	max-width: 650px;
}

#tab-description ul {
	max-width: 600px;
}

ul.products li.product:not(.product-category) {
  padding-bottom: 20px;	
}

ul.products li.product:not(.product-category)::before {
  height: 100%;	
}

.product-details-wrapper .product-label {
	display: none;
}

.content-area .summary .onsale {
	display: none;
}

div.product .images, div.product .woocommerce-product-gallery {
	margin-bottom: 0;
}

ul.products li.product:not(.product-category) {
	padding-bottom: 20px;
	margin-bottom: 0;
}

ul.products li.product .product-label {
	display: none;
}

.single_variation_wrap .woocommerce-variation-add-to-cart .button.single_add_to_cart_button, .summary .cart button.single_add_to_cart_button {
	background-color: dodgerblue;
}

.single_variation_wrap .woocommerce-variation-add-to-cart .button.single_add_to_cart_button:hover, .summary .cart button.single_add_to_cart_button:hover {
	background-color: #51a9ff;
}

.related ul.products li.product .woocommerce-loop-product__title {
	margin-bottom: 20px;
}

.related ul.products li.product .button {
	background-color: dodgerblue;	
}

.related ul.products li.product .button:hover {
	background-color: #51a9ff;	
}

.homepage-products .product-info-container {
	padding: 0 10px 10px;
}

.social-icons .threads svg {
    width: 19px;
    height: 19px;
    vertical-align: middle;
    margin-top: -2px;
}

.social-icons .threads a:hover svg {
    fill: white;
}

.social-icons a .fa {
  font-family: 'FontAwesome';
  font: normal normal normal 18px / 1 FontAwesome;
}