@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xs, .container-xxl {
        max-width: 80%;
    }
}
.header-top__message {
  font-size: 14px;
  color: #333;
  padding: 5px 0;
}
.header-top__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.header-bottom__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo-wrapper {
  flex: 0 0 auto;
}
.nav-menu-wrapper {
  flex-grow: 1;
  display: flex;
  justify-content: flex-start;
}
.nav-menu-wrapper .main-menu {
  margin: 0;
}
.header-payment-icons {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.header-payment-icons__wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.payment-icon {
  height: 50px;
  margin-right: 5px;
}
.custom-text__content {
  font-size: 18px;
  color: #333;
  text-align: center;
}
.rich-text {
  line-height: 1.6;
  margin-bottom: 20px;
}
.badge {
  background-color: #3f2b21;
  margin: .25rem;
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #7cbc42;
  --bs-btn-border-color: #88ce4b;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #3f2b21;
  --bs-btn-hover-border-color: #7cbc42;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #7cbc42;
  --bs-btn-active-border-color: #7cbc42;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #3f2b21;
  --bs-btn-disabled-border-color: #88ce4b;
}
.btn-outline-primary {
  --bs-btn-color: #3f2b21;
  --bs-btn-border-color: #88ce4b;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #3f2b21;
  --bs-btn-hover-border-color: #6cbc42;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #3f2b21;
  --bs-btn-active-border-color: #7cbc42;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  --bs-btn-disabled-color: #3f2b21;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #88ce4b;
  --bs-gradient: none;
}
.btn-link {
  --bs-btn-font-weight: 400;
  --bs-btn-color: #3f2b21;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #7cbc42;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: #7cbc42;
  --bs-btn-active-border-color: transparent;
  --bs-btn-disabled-color: #6c757d;
  --bs-btn-disabled-border-color: transparent;
  --bs-btn-box-shadow: 0 0 0 #000;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  text-decoration: underline;
}
a {
  color: #3f2b21;
}
.carousel .carousel-caption {
  bottom: inherit;
  max-width: 600px;
  text-align: left;
  top: 50%;
  transform: translateY(-50%);
}
.carousel-caption {
  bottom: 1.25rem;
  color: #ffffff;
  left: 15%;
  padding-bottom: 1.25rem;
  padding-top: 1.25rem;
  position: absolute;
  right: 15%;
  text-align: center;
}
.carousel .carousel-caption .h2, .carousel .carousel-caption h2 {
  font-size: 2rem;
}
.product-miniature__link {
  display: block;
  text-decoration: none;
}
.product-miniature__image-container {
  position: relative;
  margin-bottom: 10px;
}
.product-miniature__title {
  font-size: 1rem;
  margin: 0;
  min-height: 48px;
}
.product-miniature__price {
  font-size: 1.1rem;
  color: #3f2b21;
  font-weight: bold;
}
.product-miniature__discount-price .product-miniature__regular-price {
  text-decoration: line-through;
  color: #888;
}
.product-miniature__image-container .product-miniature__image {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.btn-add-to-cart {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  width: 100%;
}
.product-miniature__measurements {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.btn-success {
  background-color: #28a745;
  color: #fff;
  border-color: #28a745;
}
.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}
.products-section {
  margin-top: 3rem;
}
.section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.products.row {
  display: flex !important; /* Force flex to override any theme styles */
  flex-wrap: wrap;
  margin-right: -15px !important;
  margin-left: -15px !important;
}
.product-miniature {
  padding-right: 15px !important;
  padding-left: 15px !important;
  margin-bottom: 30px;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 576px) {
  .product-miniature.col-xs-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}
@media (min-width: 992px) {
  .product-miniature.col-lg-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
  }
}
@media (min-width: 1200px) {
  .product-miniature.col-xl-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }
}
/* ========================================
   MOBILE ICONS - CENTERED BELOW LOGO
   ======================================== */

@media (max-width: 991px) {
    /* Fix products row negative margins on mobile */
    .products.row {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    /* Use row layout with wrapping */
    .header-bottom__content {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        padding: 15px 0 !important;
    }
    
    /* Logo - force to take full width to create new line */
    .logo-wrapper {
        order: 1;
        flex: 0 0 100% !important;
        width: 100% !important;
        text-align: center;
        margin-bottom: 15px !important;
    }
    
    /* Mobile icons - will sit side by side on next line */
    #_mobile_user_info,
    #_mobile_cart {
        order: 2;
        flex: 0 0 auto !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 5px !important;
    }
    
    #_mobile_user_info a,
    #_mobile_cart a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #7cbc42 !important;
        border: 2px solid #5a9c2e !important;
        border-radius: 12px !important;
        padding: 12px 15px !important;
        min-width: 90px !important;
        min-height: 50px !important;
        box-shadow: 0 3px 10px rgba(124, 188, 66, 0.3) !important;
        transition: all 0.3s ease !important;
    }
    
    #_mobile_user_info a:active,
    #_mobile_cart a:active {
        background: #5a9c2e !important;
        transform: scale(0.98) !important;
    }
    
    #_mobile_user_info .material-icons,
    #_mobile_cart .material-icons {
        font-size: 28px !important;
        color: white !important;
        display: block !important;
    }
    
    /* Cart badge */
    #_mobile_cart .header-block__action-btn {
        position: relative !important;
    }
    
    #_mobile_cart .header-block__badge {
        position: absolute !important;
        top: -8px !important;
        right: -8px !important;
        background: #dc3545 !important;
        color: white !important;
        border-radius: 50% !important;
        min-width: 24px !important;
        height: 24px !important;
        font-size: 13px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: bold !important;
        border: 2px solid white !important;
    }
    
    /* Hamburger menu - move to centered at top */
    .main-menu {
        order: 0;
        position: absolute;
        top: 15px;
        left: 50%;
        z-index: 1000;
        transform: translateX(-50%);
    }
    
    /* Track pallets button - move to top right */
    .pallet-tracking-header-main {
        order: 0;
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        z-index: 1000 !important;
    }
    
    .pallet-tracking-main-btn {
        padding: 10px 15px !important;
        font-size: 14px !important;
    }
    
    /* Hide desktop versions */
    #_desktop_user_info,
    #_desktop_cart {
        display: none !important;
    }
    
    /* Hide unnecessary elements */
    .nav-menu-wrapper,
    .header-payment-icons {
        display: none !important;
    }
    
    /* Hide quick reorder button on mobile */
    #quick-reorder-container {
        display: none !important;
    }
    
    /* Make logo larger on mobile only */
    .logo-wrapper .logo,
    .logo-wrapper img {
        width: 100% !important;
        max-width: 280px !important;
    }
}

/* Hide hero features on mobile and reduce banner height */
/* Hide hero features on mobile and reduce banner height */
@media (max-width: 768px) {
    .hero-features {
        display: none !important;
    }

    .hero-section {
        min-height: 250px !important;
    }

    .hero-content h1 {
        font-size: 1.5rem !important;
        margin-bottom: 15px !important;
    }

    .hero-content .tagline {
        font-size: 1rem !important;
        margin-bottom: 20px !important;
    }
@import "newsletter.css";

/* ========================================
   ACCOUNT PAGE FIXES
   ======================================== */

/* Fix text visibility on Account pages - Force dark text color */
.page-my-account,
.page-address,
.page-addresses,
.page-history,
.page-identity,
.page-order-detail,
.page-order-follow,
.page-order-slip,
.page-discount,
.page-voucher {
    color: #333 !important;
}

/* Account page specific text elements */
.page-my-account h1,
.page-my-account h2,
.page-my-account h3,
.page-my-account h4,
.page-my-account h5,
.page-my-account h6,
.page-my-account p,
.page-my-account span,
.page-my-account div,
.page-my-account label,
.page-my-account td,
.page-my-account th,
.page-my-account li,
.page-my-account a:not(.btn) {
    color: #333 !important;
}

/* Account dashboard links */
.links a span,
.links a i,
.account-list a,
.account-list span,
.account-list i {
    color: #333 !important;
}

/* Fix status buttons/badges - ensure white text on colored backgrounds */
.page-my-account .label,
.page-my-account .badge,
.page-order-detail .label,
.page-order-detail .badge,
.page-history .label,
.page-history .badge,
.order-history .label,
.order-history .badge,
span.label,
span.badge,
.label-primary,
.label-success,
.label-info,
.label-warning,
.label-danger,
.badge-primary,
.badge-success,
.badge-info,
.badge-warning,
.badge-danger,
.order-status,
.history_state,
span[class*="label-"],
span[class*="badge-"] {
    color: #fff !important;
}

/* Specific fix for order status labels */
.table .label,
.table .badge,
.history_table .label,
.history_table .badge,
td .label,
td .badge,
.order-history-status span {
    color: #fff !important;
}

/* Ensure dark blue status has white text */
.label-primary,
.badge-primary,
.label[style*="background"],
.badge[style*="background"] {
    color: #fff !important;
}

/* Fix for account forms */
.page-my-account input:not([type="submit"]):not([type="button"]),
.page-my-account select,
.page-my-account textarea {
    color: #333 !important;
    border-color: #ccc !important;
}

/* Ensure placeholders are visible */
.page-my-account input::placeholder {
    color: #999 !important;
}

/* Hide duplicate sidebar menu on Account pages */
.page-my-account .left-column,
.page-address .left-column,
.page-addresses .left-column,
.page-history .left-column,
.page-identity .left-column,
.page-order-detail .left-column,
.page-order-follow .left-column,
.page-order-slip .left-column,
.page-discount .left-column,
.page-voucher .left-column {
    display: none !important;
}

/* Adjust main content width when sidebar is hidden */
.page-my-account .center-column,
.page-address .center-column,
.page-addresses .center-column,
.page-history .center-column,
.page-identity .center-column,
.page-order-detail .center-column,
.page-order-follow .center-column,
.page-order-slip .center-column,
.page-discount .center-column,
.page-voucher .center-column {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* Mobile specific Account page fixes */
@media (max-width: 991px) {
    /* Ensure text is visible on mobile */
    .page-my-account *,
    .page-address *,
    .page-addresses *,
    .page-history *,
    .page-identity *,
    .page-order-detail *,
    .page-order-follow *,
    .page-order-slip *,
    .page-discount *,
    .page-voucher * {
        color: #333 !important;
    }

    /* Account tiles on mobile */
    .links {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
        padding: 15px !important;
    }

    .links li {
        flex: 1 1 calc(50% - 15px) !important;
        min-width: 140px !important;
    }

    .links a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 20px 10px !important;
        background: #f8f9fa !important;
        border: 1px solid #dee2e6 !important;
        border-radius: 8px !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
    }

    .links a:active {
        background: #e9ecef !important;
        transform: scale(0.98) !important;
    }

    .links a i {
        font-size: 32px !important;
        margin-bottom: 10px !important;
        color: #7cbc42 !important;
    }

    .links a span {
        font-size: 14px !important;
        text-align: center !important;
        color: #333 !important;
    }

    /* Ensure no duplicate sidebar on mobile */
    .page-my-account .left-column,
    .page-my-account .sidebar,
    .page-my-account #left-column {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    /* Full width content on mobile */
    .page-my-account .center-column,
    .page-my-account #center-column,
    .page-my-account .col-lg-9 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Additional fixes for tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .links li {
        flex: 1 1 calc(33.33% - 15px) !important;
    }
}

/* ========================================
   FOOTER TEXT VISIBILITY FIXES
   ======================================== */

/* Fix footer text visibility - light text on dark background */
footer,
.footer,
#footer {
    color: #fff !important;
}

/* All footer text elements - Center text in actual footer only */
footer *,
.footer *,
#footer * {
    color: #fff !important;
    text-align: center !important;
}

/* Footer links */
footer a,
.footer a,
#footer a,
.page-footer a,
.footer-container a {
    color: #fff !important;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

footer a:hover,
.footer a:hover,
#footer a:hover,
.page-footer a:hover,
.footer-container a:hover {
    color: #fff !important;
    opacity: 1;
    text-decoration: underline;
}

/* Footer headings */
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6,
#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
    color: #fff !important;
}

/* Footer contact information */
.footer-block__content,
.footer-block__list,
.footer-contact,
.contact-info,
footer .material-icons,
footer i {
    color: #fff !important;
}

/* Footer form inputs - Keep these readable */
footer input:not([type="submit"]):not([type="button"]),
footer select,
footer textarea,
.footer input:not([type="submit"]):not([type="button"]),
.footer select,
.footer textarea {
    color: #333 !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    text-align: left !important;
}

footer input::placeholder,
.footer input::placeholder {
    color: #999 !important;
}

/* Footer newsletter */
.footer .newsletter-form,
.footer .newsletter-input,
footer .newsletter-form,
footer .newsletter-input {
    color: #333 !important;
}

/* Footer copyright and company info */
.footer-bottom,
.footer-copyright,
.copyright,
.company-info {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Payment icons in footer */
.footer .payment-icon,
footer .payment-icon {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* Social media icons */
.footer .social-links a,
footer .social-links a,
.footer .social-icon,
footer .social-icon {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer layout fixes - move titles above lists */
.footer-block,
.footer-column,
.footer .col-md-3,
.footer .col-lg-3,
.footer .col-sm-6,
footer .links {
    display: flex !important;
    flex-direction: column !important;
}

/* Footer text centering - ONLY for actual footer content */
.footer-container .footer-block,
#footer .footer-block {
    text-align: center !important;
}

/* Footer block titles */
.footer-block h3,
.footer-block h4,
.footer-block__title {
    display: block !important;
    width: 100% !important;
    margin-bottom: 15px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #7cbc42 !important;
    text-align: center !important;
    color: #fff !important;
}

/* Footer lists and links centering */
.footer-block ul,
.footer-block__list {
    display: block !important;
    width: 100% !important;
    padding-left: 0 !important;
    margin-top: 10px !important;
    list-style: none !important;
    text-align: center !important;
}

.footer-block ul li,
.footer-block__list li {
    display: block !important;
    width: 100% !important;
    margin-bottom: 8px !important;
    text-align: center !important;
    padding: 0 !important;
}

.footer-block ul li a,
.footer-block__list li a {
    text-align: center !important;
}

/* Center contact information in footer only */
.footer-block__content {
    text-align: center !important;
}

.footer-block__content > div {
    display: block !important;
    text-align: center !important;
    margin-bottom: 10px !important;
}

/* Contact icons and text alignment */
.footer-block__content i,
.footer-block__content .material-icons {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 8px !important;
}

.footer-block__content span,
.footer-block__content a {
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Hide only the "OUR ADDRESS" section if empty - more specific targeting */
/* Will need to identify the exact class/ID for the address block to avoid affecting other elements */

/* Newsletter section fixes - Ensure proper text colors and alignment */
.newsletter {
    background-color: #e8ebee !important;
}

.newsletter h3,
.newsletter__title {
    color: #000 !important;
    text-align: center !important;
}

.newsletter p,
.newsletter__text {
    color: #666 !important;
    text-align: center !important;
}

.newsletter p.small {
    color: #999 !important;
    text-align: center !important;
}

.newsletter input[type="email"] {
    color: #333 !important;
    background: #fff !important;
    border: 1px solid #ced4da !important;
    text-align: left !important;
}

.newsletter .btn-primary {
    background-color: #7cbc42 !important;
    color: #fff !important;
    text-align: center !important;
}

/* Footer-before section fixes */
.footer-before {
    background-color: #7cbc42 !important;
}

.footer-before h5,
.footer-before p,
.footer-before span {
    color: #fff !important;
}

.footer-before .trust-badges {
    text-align: center !important;
}

.footer-before .trust-badge {
    color: #fff !important;
    display: inline-block !important;
    margin: 0 15px !important;
}

.footer-before .trust-badge i,
.footer-before .trust-badge span {
    color: #fff !important;
}

.footer-before .newsletter-signup {
    text-align: center !important;
}

.footer-before .newsletter-signup h5,
.footer-before .newsletter-signup p {
    color: #fff !important;
}

.footer-before .social-links {
    text-align: center !important;
}

.footer-before .social-links span {
    color: #fff !important;
}

.footer-before .social-link svg {
    fill: #fff !important;
}

/* Mobile responsive fixes for newsletter and footer-before */
@media (max-width: 768px) {
    .newsletter .text-md-start {
        text-align: center !important;
    }

    .footer-before .trust-badges,
    .footer-before .social-links {
        text-align: center !important;
        margin-bottom: 1rem;
    }
}

/* Mobile footer fixes */
@media (max-width: 991px) {
    footer,
    .footer,
    #footer {
        color: #fff !important;
    }

    footer *,
    .footer *,
    #footer * {
        color: #fff !important;
    }
    /* Exception: Preserve newsletter section colors */
    .newsletter,
    .newsletter *,
    section.newsletter,
    section.newsletter * {
        color: revert !important;
    }
    
    .newsletter h3,
    .newsletter .newsletter__title,
    section.newsletter h3,
    section.newsletter .newsletter__title {
        color: #333 !important;
    }
    
    .newsletter p,
    .newsletter .newsletter__text,
    section.newsletter p,
    section.newsletter .newsletter__text {
        color: #666 !important;
    }
    
    .newsletter p.small,
    section.newsletter p.small {
        color: #999 !important;
    }
    /* Exception: Preserve footer-before white text on green background */
    
    /* Ensure footer-before keeps green background on mobile */
    .footer-before {
        background-color: #7cbc42 !important;
    }
    .footer-before,
    .footer-before *,
    section.footer-before,
    section.footer-before * {
        color: #ffffff !important;
    }
    .footer-block__title {
        text-align: center !important;
    }

    .footer-block ul li,
    .footer-block__list li {
        text-align: center !important;
    }
}

/* Override footer text color for mobile devices 768px and below */
@media (max-width: 768px) {
    /* Only target actual footer - NOT newsletter or footer-before sections */
    footer:not(.newsletter):not(.footer-before) *,
    .footer:not(.newsletter):not(.footer-before) *,
    #footer:not(.newsletter):not(.footer-before) * {
        color: #ffffff !important;
    }
    
    /* Preserve newsletter section colors */
    .newsletter,
    .newsletter *,
    section.newsletter,
    section.newsletter * {
        color: revert !important;
    }
    
    /* Ensure footer-before keeps green background on mobile */
    .footer-before {
        background-color: #7cbc42 !important;
    }
    
    /* Preserve footer-before white text on green background */
    .footer-before,
    .footer-before *,
    section.footer-before,
    section.footer-before * {
        color: #ffffff !important;
    }
    
    /* Ensure newsletter has correct text colors */
    .newsletter h3,
    .newsletter .newsletter__title {
        color: #333 !important;
    }
    
    .newsletter p,
    .newsletter .newsletter__text {
        color: #666 !important;
    }
    
    .newsletter p.small {
        color: #999 !important;
    }
    
    /* Fix horizontal scroll on mobile */
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .container,
    .row {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Prevent any element from exceeding viewport width */
    * {
        max-width: 100vw !important;
    }

    /* Allow specific elements to have their own max-width */
    .container,
    .container-fluid,
    img,
    table,
    .row {
        max-width: 100% !important;
    }
}

/* ========================================
   CHECKOUT TABS VISIBILITY FIX
   ======================================== */

/* Fix for checkout tabs - make inactive tabs visible */
.nav-tabs .nav-link {
    color: #333 !important; /* Dark gray for inactive tabs */
    background-color: transparent;
    border: 1px solid #dee2e6;
}

.nav-tabs .nav-link.active {
    color: #fff !important; /* White text for active tab */
    background-color: #27ae60 !important; /* Green background for active tab */
    border-color: #27ae60 !important;
}

.nav-tabs .nav-link:hover {
    color: #27ae60 !important; /* Green text on hover */
    background-color: rgba(39, 174, 96, 0.1);
    border-color: #27ae60;
}

/* ========================================
   MY ACCOUNT - WISHLIST & PALLET TRACKING FIX
   ======================================== */

/* Fix all account page links including wishlist and pallet tracking */
.page-customer .customer-link a,
.page-customer .customer-link a span,
.page-customer .customer-link a .link-item,
.page-customer .customer-link a i,
.page-customer .customer-link a *,
.page-my-account .customer-link a,
.page-my-account .customer-link a span,
.page-my-account .customer-link a .link-item,
.page-my-account .customer-link a i,
.page-my-account .customer-link a * {
    color: #333 !important;
}

/* Hover effect for account links */
.page-customer .customer-link a:hover,
.page-my-account .customer-link a:hover {
    background-color: #f8f9fa !important;
}

.page-customer .customer-link a:hover *,
.page-my-account .customer-link a:hover * {
    color: #27ae60 !important;
}

/* ========================================
   PRODUCT PAGE VARIANTS RADIO BUTTON FIX
   ======================================== */

/* Fix for one-line radio button display on product pages */
.product__variants .radio-variants {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

/* Each radio button option - vertical layout */
.product__variants .radio-variant {
    margin-bottom: 0;
    padding: 0;
    display: block !important;
    width: 100%;
}

.product__variants .radio-variant label {
    display: flex !important;
    align-items: center;
    padding: 12px 16px;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    margin: 0;
}

.product__variants .radio-variant label:hover {
    background-color: #fff;
    border-color: #3f2b21;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Selected state with Lux Wood brown color */
.product__variants .radio-variant label:has(input[type="radio"]:checked) {
    background-color: #fff;
    border-color: #3f2b21;
    box-shadow: 0 2px 12px rgba(63, 43, 33, 0.15);
}

/* Fallback for browsers without :has() support */
.product__variants .radio-variant input[type="radio"]:checked ~ .radio-label {
    font-weight: 600;
    color: #3f2b21;
}

/* Radio button styling */
.product__variants .radio-variant input[type="radio"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #3f2b21;
    cursor: pointer;
}

/* Radio label text */
.product__variants .radio-variant .radio-label {
    font-size: 15px;
    color: #333;
    flex-grow: 1;
    position: relative;
}

/* Fix for inline display issue - force block */
.product__variants .radio-variants li {
    display: block !important;
    width: 100%;
}

.product__variants .radio-variants li.form-check {
    display: block !important;
    margin-bottom: 0 !important;
}

/* Ensure proper spacing between variant groups */
.product__variants .variant {
    margin-bottom: 20px;
}

.product__variants .variant:last-child {
    margin-bottom: 0;
}

/* Override form-check inline styles */
.product__variants .form-check {
    display: block !important;
    min-height: auto;
    padding-left: 0;
}

.product__variants .form-check-input {
    float: none !important;
    margin-left: 0 !important;
}

.product__variants .form-check-label {
    display: inline-block !important;
    margin-bottom: 0;
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    .product__variants .radio-variant label {
        padding: 10px 12px;
    }

    .product__variants .radio-variant input[type="radio"] {
        width: 16px;
        height: 16px;
    }

    .product__variants .radio-variant .radio-label {
        font-size: 14px;
    }
}

/* ========================================
   HOMEPAGE DISPLAYALLPRODUCTS - GREEN THEME
   ======================================== */

/* Green color for homepage combination buttons to match site theme */
.product-miniature__combinations .btn-check:checked + .btn,
.product-miniature__combinations .btn-check:checked + .btn-outline-success {
    background-color: #88ce4b !important;
    border-color: #88ce4b !important;
    color: #fff !important;
}

.product-miniature__combinations .btn-outline-success {
    border-color: #88ce4b !important;
    color: #88ce4b !important;
}

.product-miniature__combinations .btn-outline-success:hover {
    background-color: #88ce4b !important;
    border-color: #88ce4b !important;
    color: #fff !important;
}

/* ========================================
   PRODUCT DETAILS - HIDE EMPTY LEFT COLUMN
   ======================================== */

/* Hide empty detail__left divs in product features */
.product__features .detail__left:empty,
.product__details .detail__left:empty {
    display: none;
}

/* When detail__left is hidden, make detail__right full width */
.product__features .detail:has(.detail__left:empty) .detail__right,
.product__details .detail:has(.detail__left:empty) .detail__right {
    width: 100%;
    flex: 1;
}

/* Alternative: Hide detail__left that only contains whitespace */
.product__features .detail__left:not(:has(span)),
.product__details .detail__left:not(:has(span)) {
    display: none;
}
