.flexbox-image-gallery {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
    scrollbar-width: thin;
    scrollbar-color: #888 #f0f0f0;
}

.flexbox-image-gallery::-webkit-scrollbar {
    height: 6px;
}

.flexbox-image-gallery::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.flexbox-image-gallery::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.flexbox-gallery-item {
    flex: 0 0 auto;
    width: 250px; /* Adjust the size as needed */
}

.flexbox-gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}









/* Adjust cart icon position on mobile */
@media (max-width: 768px) {
    .ast-addon-cart-wrap {
        position: relative;
        top: 12px; /* Increase or decrease this value to move the cart down */
    }
}


/* Change color of the search icon */
.ast-search-icon i,
.ast-search-icon .ast-icon {
    color: #ffffff !important; /* Change this color code to your desired color */
}

/* Adjust the color of the SVG icon */
.ast-search-icon svg path {
    fill: #ffffff !important; /* Change this color code to your desired color */
}







.wpcf7-form label {
    font-weight: bold;
}

.wpcf7-form input,
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.wpcf7-form button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.wpcf7-form button:hover {
    background-color: #0056b3;
}


 











.home-stamp {
    position: fixed; /* Keeps it in the same position while scrolling */
    width: 120px;
    top: 290px; /* Adjust the vertical position */
    right: 20px;
    z-index: 1000; /* Ensures it stays above other elements */
    animation: rotate 10s linear infinite;
}

.stamp-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed; /* Make this fixed too so it's always visible on the screen */
    top: 200px; /* Adjust to the vertical position you want */
    right: 20px; /* Adjust to the horizontal position */
    z-index: 1000;
}

.stamp-text {
    margin-top: 130px; /* Adjust space between the stamp and text */
    color: black;
    font-size: 14px;
    font-weight: bold;
    margin-right: 15px; /* Shift text slightly to the left */
     text-align: center;
   /* text-transform: uppercase;*/
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .home-stamp {
        width: 80px; /* Smaller size on mobile */
        top: 240px; /* Adjusts the position further down for smaller screens */
    }

    .stamp-text {
        font-size: 12px; /* Adjust the font size for mobile */
    }
}

















.subcategory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.subcategory-item {
    text-align: center;
    width: 150px;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.subcategory-item:hover {
    transform: translateY(-5px);
}

.subcategory-icon {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 10px;
}

.subcategory-item h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}










/* Container for the subcategory list */
.subcategory-list {
    margin: 10px 0;
    padding: 3px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Flexbox container for subcategory links */
.subcategory-links {
    display: flex;
    flex-wrap: nowrap;  /* Prevent wrapping */
    gap: 10px;
    justify-content: center;
    padding: 5px;
    overflow-x: auto; /* Allow horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Default background color for subcategory links */
.subcategory-box {
    background: #008080;
    padding: 6px 10px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    text-align: center;
    transition: background-color 0.3s ease;
}



/* Hover effect on subcategory box */
.subcategory-box:hover {
    background: #005177;
    transform: translateY(-2px);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .subcategory-links {
        flex-wrap: nowrap;  /* Keep links on one line */
        justify-content: start;  /* Align the items to the start of the container */
        overflow-x: auto;  /* Enable horizontal scroll */
    }

    .subcategory-box {
        min-width: 120px;  /* Ensure the subcategory box has a smaller width on mobile */
        padding: 4px 5px;
    }
}

/* Tablet and small screen adjustments */
@media (max-width: 480px) {
    .subcategory-box {
        font-size: 12px;
        padding: 3px 4px;
    }
}













/* Banner Box */
.custom-product-banner {
    background: white !important; /* Banner background */
    text-align: center;
    padding: 20px !important;
    max-width: 900px !important; /* Limits width */
    width: 90% !important; /* Responsive */
    border-radius: 8px !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Shadow effect */
}

/* Top Banner Text */
.banner-top-text {
    font-size: 20px !important;
    font-weight: bold !important;
    background: red !important; /* Red background */
    color: white !important;
    padding: 10px 15px !important;
    display: inline-block !important;
    border-radius: 5px !important;
}

/* Title */
.banner-title {
    font-size: 26px !important;
    font-weight: bold !important;
    margin-top: 10px !important;
}

/* Description */
.banner-description {
    font-size: 16px !important;
    margin-top: 5px !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}






.iva-incluido {
    font-size: 0.6em;
    color: #555;
}




/* Popup Styles */
.size-guide-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #fff;
    padding: 20px;
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
}

.size-guide-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
    list-style-type: none;
    padding: 0;
}

.tab-button {
    cursor: pointer;
    padding: 10px 20px;
    background: #f1f1f1;
    border: 1px solid #ddd;
}

.tab-button:hover {
    background: #0073aa;
    color: #fff;
}

.size-guide-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-content {
    display: none;
}

#generalContent {
    display: block;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 30px;
    color: #000;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .popup-content {
        max-width: 90%;
    }
}













/* Default category banner container */
.category-banner {
    text-align: center;
    margin-top: -30px;
    background-size: cover;   /* Ensures the background image covers the entire area */
    background-position: center center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents image repetition */
    height: 100px;  /*Default height for larger screens */
}

/* Set the banner image as background based on category */
.category-banner.fcbarcelona {
    background-image: url('https://mayorista.zoiwa.com/wp-content/uploads/2025/02/FCBTITLE.png'); /* Your image URL */
}

.category-banner.real-madrid {
    background-image: url('https://mayorista.zoiwa.com/wp-content/uploads/2025/03/rm_ban2.jpg'); /* Your image URL */
}
.category-banner.tendencia {
    background-image: url('https://mayorista.zoiwa.com/wp-content/uploads/2025/03/tendencia_banner.jpg'); /* Your image URL */
}


.category-banner.Joyerías {
    background-image: url('https://mayorista.zoiwa.com/wp-content/uploads/2025/03/joyeria_banner.jpg'); /* Your image URL */
}

.category-banner.offertas-diarias {
    background-image: url('https://mayorista.zoiwa.com/wp-content/uploads/2025/03/offer_banner1.jpg'); /* Your image URL */
}
.category-banner.productos-oficiales {
    background-image: url('https://mayorista.zoiwa.com/wp-content/uploads/2025/03/op_banner.jpg'); /* Your image URL */
}

.category-banner.moda-y-belleza {
    background-image: url('https://mayorista.zoiwa.com/wp-content/uploads/2025/03/moda_be.png'); /* Your image URL */
}

.category-banner.joyerias {
    background-image: url('https://mayorista.zoiwa.com/wp-content/uploads/2025/03/joya_banner3.jpg'); /* Your image URL */
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .category-banner {
        height: 50px !important;  /* Increase the height for mobile screens */
        background-size: 100% 100%; /* Make the background image bigger */
    }
}





/* Force color change for menu link 

#mega-menu-item-3089 .mega-menu-link,
#mega-menu-item-3055 .mega-menu-link,
#mega-menu-item-3108 .mega-menu-link {
    color: #000080 !important;   NAVY color 
} 




#mega-menu-item-3100 .mega-menu-link,
#mega-menu-item-3054 .mega-menu-link {
    color: #e74c3c !important;   Red color 
}

 Change color on hover 
#mega-menu-item-3055 .mega-menu-link:hover,
#mega-menu-item-3054 .mega-menu-link:hover,
#mega-menu-item-3108 .mega-menu-link:hover {
    color: #27ae60 !important;   Green color 
}
*/






/* Logo in Menu Styling */
#mega-menu-item-2848 img {
    height: 40px; /* Adjust size */
    width: auto;
    border-radius: 5px; /* Rounded corners */
    transition: transform 0.3s ease-in-out; /* Smooth hover effect */
}

#mega-menu-item-2848 img:hover {
    transform: scale(1.1); /* Enlarge slightly on hover */
}
#mega-menu-item-2849 img {
    height: 40px; /* Adjust size */
    width: auto;
    border-radius: 5px; /* Rounded corners */
    transition: transform 0.3s ease-in-out; /* Smooth hover effect */
}

#mega-menu-item-2849 img:hover {
    transform: scale(1.1); /* Enlarge slightly on hover */
}










/* Ensure products are displayed properly */
.last-viewed-products {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
    padding: 0 !important;
    margin: 20px auto !important;
    max-width: 1200px !important;
}

/* Individual Product Styling */
.last-viewed-products li {
    list-style: none !important;
    background: #fff !important;
    border: 2px solid #ddd !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    text-align: center !important;
    transition: all 0.3s ease-in-out !important;
    padding-bottom: 10px !important;
    width: 23% !important; /* Ensuring 4 products per row */
    min-height: 350px !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
}

/* Hover Effect */
.last-viewed-products li:hover {
    border-color: green !important;
    box-shadow: 0px 6px 15px rgba(0, 115, 230, 0.15) !important;
}

/* Product Image */
.last-viewed-products li a img {
    width: 100% !important;
    height: auto !important;
    transition: transform 0.3s ease-in-out !important;
}

.last-viewed-products li:hover img {
    transform: scale(1.05) !important;
}

/* Product Title & Price in a Row */
.last-viewed-products li .product-info {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 5px 10px !important;
    font-size: 14px !important;
}

/* Product Title */
.last-viewed-products li .product-info a {
    font-weight: 600 !important;
    color: #333 !important;
    text-decoration: none !important;
    flex: 1 !important; /* Allow title to take up available space */
    text-align: left !important;
    white-space: nowrap !important; /* Prevent text from wrapping */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Product Price */
.last-viewed-products li .product-info span {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #0073e6 !important;
    flex-shrink: 0 !important;
    text-align: right !important;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .last-viewed-products {
        flex-direction: column !important;
        align-items: center !important;
    }

    .last-viewed-products li {
        width: 90% !important;
    }
}













/* WooCommerce Product Tabs - General Styling */
.woocommerce-tabs .wc-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #ddd;
}

/* Make tabs block elements on mobile */
.woocommerce-tabs .wc-tabs li {
    display: block;
    width: 100%;
    padding: 12px;
    background: #f7f7f7;
    font-weight: bold;
    position: relative;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
    text-align: left;
}

/* Add a + sign before each tab */
.woocommerce-tabs .wc-tabs li::before {
    content: "+";
    font-size: 20px;
    font-weight: bold;
    color: #444;
    position: absolute;
    right: 15px; /* Align to the right */
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

/* Change background and turn + into - when tab is active */
.woocommerce-tabs .wc-tabs li.active {
    background: #ffcc00;
    color: #333;
}

.woocommerce-tabs .wc-tabs li.active::before {
    content: "-";
    transform: rotate(180deg);
    color: #222;
}

/* Hide tab content initially */
.woocommerce-tabs .woocommerce-Tabs-panel {
    display: none;
    padding: 15px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Show the active tab content */
.woocommerce-tabs .woocommerce-Tabs-panel.active {
    display: block;
}

/* Add spacing between tabs */
.woocommerce-tabs {
    margin-top: 20px;
}

/* 📌 Mobile Responsive Styles */
@media (max-width: 768px) {
    .woocommerce-tabs .wc-tabs {
        display: block;
        width: 100%;
    }

    .woocommerce-tabs .wc-tabs li {
        font-size: 16px;
        padding: 14px;
    }

    .woocommerce-tabs .woocommerce-Tabs-panel {
        padding: 12px;
        font-size: 14px;
    }
}












/* Individual Product Styling */
.woocommerce ul.products li.product, 
.woocommerce-page ul.products li.product {
    list-style: none;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease-in-out;
    padding-bottom: 10px;
    position: relative;
    width: 100%; /* Full width by default for mobile */
    min-height: 280px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

/* Adjust layout for tablets */
@media (min-width: 600px) {
    .woocommerce ul.products li.product, 
    .woocommerce-page ul.products li.product {
        width: 48%; /* Two products per row on tablets */
    }
}

/* Adjust layout for desktops */
@media (min-width: 1024px) {
    .woocommerce ul.products li.product, 
    .woocommerce-page ul.products li.product {
        width: 23%; /* Four products per row on desktop */
    }
}

/* Hover Effect */
.woocommerce ul.products li.product:hover, 
.woocommerce-page ul.products li.product:hover {
    border-color: #bbb;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Ensure products are displayed in a grid */


/* Hover Effect */
.woocommerce ul.products li.product:hover {
    border-color: green !important;
    box-shadow: 0px 6px 15px rgba(0, 115, 230, 0.15) !important;
}

/* Product Image */
.woocommerce ul.products li.product:hover img {
    transform: scale(1.05) !important;
}
/* Product Title */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 5px 0 !important;
    padding: 0 5px !important;
}
/* Product Price */
.woocommerce ul.products li.product .price {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #0073e6 !important;
    margin-bottom: 10px !important;
}



















/* Sale Badge */
/* Sale Badge - Rounded Style */
.woocommerce span.onsale {
    background: #EAF6E0 !important;
    color: #333 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    padding: 10px !important;
    border-radius: 50% !important; /* Makes it a perfect circle */
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    text-align: center !important;
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2) !important;
}






/* Star Ratings */
.woocommerce .star-rating {
    color: #ffcc00 !important;
    margin: 5px auto !important;
    display: block !important;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .woocommerce ul.products li.product {
        width: 30% !important; /* 3 products per row */
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product {
        width: 47% !important; /* 2 products per row */
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products li.product {
        width: 100% !important; /* 1 product per row */
    }
}



















.ast-header-break-point .main-header-menu {
    position: relative;
    z-index: 9999 !important;
}

.ast-header-break-point .main-header-bar {
    position: relative;
    z-index: 9999 !important;
}

.category-scroll-wrapper {
    position: relative !important;
    z-index: 1 !important;
}













/* Fix WhatsApp icon to the bottom right */
.whatsapp-float {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
}

/* Styling for the WhatsApp icon */
.whatsapp-icon {
    width: 60px !important; /* Adjust icon size */
    height: 60px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.3s ease-in-out !important;
}

/* Hover effect for icon */
.whatsapp-icon:hover {
    transform: scale(1.1) !important;
}












.help-icon {
        display: inline-block;
        width: 18px;
        height: 18px;
        line-height: 18px;
        text-align: center;
        font-size: 12px;
        border-radius: 50%;
        background: #0073aa;
        color: #fff;
        cursor: pointer;
        font-weight: bold;
        margin-left: 5px;
    }

    .help-tooltip {
        display: none;
        position: absolute;
        background: #fff;
        color: #333;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
        width: 200px;
        top: 25px;
        left: 0;
        z-index: 10;
    }

    .help-container {
        position: relative;
        display: inline-block;
    }

    .help-container:hover .help-tooltip {
        display: block;
    }











/* Hide the "Showing x to y of z results" text */
.woocommerce-result-count {
    display: none !important;
}




.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  padding: 10px;
  background: #f9f9f9;
}

.faq-answer {
  display: none;
  padding: 10px;
  font-size: 16px;
  color: #555;
}

.faq-toggle::after {
  content: "+";
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle::after {
  content: "-";
}

















/* Wrapper styling */
/* Scroll wrapper */
.category-scroll-wrapper {
    width: 100%;
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 999;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Scroll container */
.category-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    flex-grow: 1;
}

/* Hide scrollbar for Webkit browsers */
.category-scroll::-webkit-scrollbar {
    display: none;
}

/* Category items */
.category-item {
    flex: 0 0 auto;
    text-align: center;
}

/* Category images */
.category-item img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
    transition: transform 0.3s ease-in-out;
}

.category-item img:hover {
    transform: scale(1.1);
}

/* Category text */
.category-item p {
    font-size: 12px;
    color: #333;
    margin-top: 5px;
    white-space: normal;
}

/* Arrow buttons */
.scroll-left,
.scroll-right {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    transition: background-color 0.3s ease-in-out;
}

.scroll-left { left: 0; }
.scroll-right { right: 0; }

.scroll-left:hover,
.scroll-right:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-scroll {
        gap: 8px;
        padding: 5px;
    }
    
    .category-item img {
        width: 60px;
        height: 60px;
    }

    .category-item p {
        font-size: 11px;
    }

    .scroll-left, .scroll-right {
        padding: 8px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .category-scroll {
        gap: 5px;
        padding: 5px;
    }

    .category-item img {
        width: 50px;
        height: 50px;
    }

    .category-item p {
        font-size: 10px;
    }

    .scroll-left, .scroll-right {
        padding: 6px;
        font-size: 14px;
    }
}




























.woocommerce-Tabs-panel--shipping_info {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}









.woocommerce-page .product .price {
    font-size: 18px;              /* Adjust font size for price */
    font-weight: bold;            /* Make the price bold */
    color: #333;                  /* Set text color for the price */
}

/* Style the regular price (if needed) */
.woocommerce-page .product .price del {
    font-size: 16px;              /* Slightly smaller font for regular price */
    color: #777;                  /* Lighter color for regular price */
    text-decoration: line-through; /* Strikethrough for regular price */
}

/* Style the sale price */
.woocommerce-page .product .price ins {
    color: #e74c3c;               /* Set color for the sale price (red) */
    font-weight: bold;            /* Make the sale price bold */
}

/* Style the saved amount percentage */
.save-amount {
    font-size: 14px;              /* Adjust font size for savings text */
    font-weight: normal;          /* Make it normal weight */
    color: #27ae60;               /* Set color for the savings percentage (green) */
    margin-left: 10px;            /* Add spacing between price and savings text */
    background-color: #f1f1f1;   /* Optional: add a light background for the savings text */
    padding: 3px 6px;             /* Optional: add padding for better appearance */
    border-radius: 5px;           /* Optional: rounded corners for the savings box */
}




/* Flexbox for the main variation form */
.variation-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}



/* Wrapper for each row of size input boxes */
.size-input-row {
    display: flex;
    /*justify-content: space-between; /* Distribute size boxes evenly */
    justify-content: flex-start;
    gap: 10px; /* Space between input boxes */
    width: 100%;
    flex-wrap: wrap; /* Allow wrapping of size input boxes */
}

/* Each size input box should have a max width for desktop */
.size-input-box {
    flex: 1 1 15%; /* Default to 3 items per row */
    min-width: 80px;
    max-width: 30%;
    text-align: center;
}

/* Media query for mobile view (portrait mode) */
@media (max-width: 768px) {
    /* Stack input boxes in two rows for smaller screens */
    .size-input-row {
        flex-wrap: wrap; /* Allow wrapping of size input boxes */
    }

    .size-input-box {
        flex: 1 1 30%; /* 3 items per row on mobile */
        min-width: 60px; /* Minimum width */
        max-width: 30%; /* Maximum width */
    }

    /* Ensure the total quantity box is also responsive */
    .total-quantity-box input {
        width: 100%; /* Make the total quantity input take the full width */
    }
}





/* Hide the default variation selector */
.variations_form .variations,
.variations_form .single_variation_wrap,
.variations_form .single_variation {
    display: none !important;
}



/* Style the variation box */
.variation-quantity-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
    flex-wrap: nowrap; /* Prevent wrapping on desktop */
    gap: 15px; /* Space between input fields */
}

/* Style the variation image */
.variation-image img {
    width: 40px; /* Smaller image size on desktop */
    height: auto; /* Maintain aspect ratio */
}

/* Style the variation details (name and quantity input) */
.variation-details {
    display: flex;
    flex-direction: row; /* Ensure items are in a row */
    align-items: center;
    gap: 10px; /* Add spacing between items */
    width: 100%;
    overflow: hidden; /* Prevent content overflow */
}

/* Style the variation name label */
.variation-details label {
    width: 70%;
    font-weight: bold;
    font-size: 14px; /* Adjust font size for better fit */
    white-space: nowrap; /* Prevent text wrapping */
    flex-shrink: 0; /* Prevent the label from shrinking */
}

/* Style the variation quantity input */
.variation-quantity {
    width: 100%; /* Make the input fields fill the container */
    max-width: 120px; /* You can adjust the max-width as needed */
    margin-bottom: 10px;
    padding: 8px;
    font-size: 16px;
    text-align: center;
    box-sizing: border-box; /* Prevents overflow */
}




   











/* Hide the default Add to Cart button */
.single_add_to_cart_button {
    display: none !important;
}



.add-to-cart-button:hover {
    background-color: #005bb5;
}









.homepage-text1 {
        font-family: "Montserrat", Sans-serif;
    font-size: 20px;
    font-weight: 300;
    text-transform: capitalize;
    
}
.homepage-h3 {
        font-family: "Montserrat", Sans-serif;
    
    text-transform: capitalize;
    
}
.homepage-text2 {
        font-family: "Montserrat", Sans-serif;
    font-size: 16px;
    font-weight: 300;
    text-transform: capitalize;
    
}





form.cart {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* Center items vertically (optional) */
    align-items: center; /* Center items horizontally */
}

.single_add_to_cart_button {
    margin: 10px 0; /* Add spacing around the button */
    width: fit-content; /* Ensure the button adjusts to its content */
}





.shipping-text-container {
    display: flex;
    justify-content: space-between; /* Spread items evenly */
    gap: 10px; /* Space between the boxes */
    margin-top: 10px;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.shipping-text-boxtop {
    background-color: #c8e6c9; /* Green background */
    color: #333; /* Dark text color */
    padding: 2px 5px; /* Reduced padding */
    font-size: 14px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%; /* Equal width for desktop */
    box-sizing: border-box; /* Include padding in width calculation */
}


.shipping-text-boxtopfcb {
    background-color: #DC143C; /* Green background */
    display: inline-block;
     color: #fff; /* White text */
    padding: 2px 5px; /* Reduced padding */
    font-size: 14px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 43%; /* Equal width for desktop */
    box-sizing: border-box; /* Include padding in width calculation */
}

.shipping-text-boxtopfcb1 {
    background-color: #191970; /* Green background */
    display: inline-block;
     color: #fff; /* White text */
    padding: 2px 5px; /* Reduced padding */
    font-size: 14px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0.9; /* Slightly lighter for variation */
    width: 43%; /* Equal width for desktop */
    box-sizing: border-box; /* Include padding in width calculation */
}


.shipping-text-boxtop1 {
    background-color: #ffccff; /* Green background */
    color: #333; /* Dark text color */
    padding: 2px 5px; /* Reduced padding */
    font-size: 14px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%; /* Equal width for desktop */
    box-sizing: border-box; /* Include padding in width calculation */
}

.shipping-text-box {
    background-color: #c8e6c9; /* Green background */
    color: #333; /* Dark text color */
    padding: 2 10px;
    display: inline-block;
    margin-right: 5px; /* Space between icon and text */
    margin-top: 10px; /* Space between icon and text */
    font-size: 14px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 43%; /* Equal width for desktop */
    box-sizing: border-box; /* Include padding in width calculation */
}

.shipping-text-boxcart {
    background-color: #c8e6c9; /* Green background */
    color: #333; /* Dark text color */
    padding: 2 10px;
    display: inline-block;
    margin-right: 5px; /* Space between icon and text */
    margin-top: 10px; /* Space between icon and text */
    font-size: 14px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 43%; /* Equal width for desktop */
    box-sizing: border-box; /* Include padding in width calculation */
}

.shipping-text-box i {
    margin-right: 5px; /* Space between icon and text */
}

/* Responsive design for screens smaller than 768px */
@media (max-width: 768px) {
    .shipping-text-box {
        width: 43%; /* Full width for small screens */
        margin-bottom: 10px; /* Add space between rows */
    }
     .shipping-text-boxtop {
        width: 100%; /* Full width for small screens */
        margin-bottom: 10px; /* Add space between rows */
    }
    .shipping-text-boxcart {
    width: 100%; /* Full width for small screens */
        margin-bottom: 10px; /* Add space between rows */
}
}

cb-product-tag {
    font-size: .8em;
    color: #000;
    background-color: #fff6ea;
    padding: 0 10px;
    display: inline-block;
    border-radius: .2rem;
    margin-right: 10px;
}




/* Style for the product table */
.product-table {
    width: 100%;
    max-width: 800px; /* Limit the table width */
    margin: 20px auto;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

/* Style for table headers */
.product-table th {
    background-color: #363636; /* Green background for headers */
    color: white;
    padding: 10px 15px;
    text-align: left;
    border: 1px solid #ddd;
}

/* Style for table rows */
.product-table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

/* Alternate row background color */
.product-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Style for the "Compra al por mayor" row */
.product-table td[colspan="2"] {
    background-color: #f9f9f9; /* Light background */
    text-align: center;
    font-weight: bold;
}

/* Style for the "Compra al por mayor" link */
.product-table a {
    color: #007BFF; /* Blue link color */
    text-decoration: none;
}

.product-table a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Responsive for smaller screens */
@media (max-width: 600px) {
    .product-table {
        font-size: 14px; /* Adjust font size */
    }

    .product-table th, .product-table td {
        padding: 8px 10px; /* Reduce padding for smaller screens */
    }
}

.savemore {
    color:#4CAF50;
}