/* Prevent header from collapsing when slider loads slowly */
        .header-transparent {
            background: transparent;
        }
        /* Fix logo visibility - ensure it shows */
        .nav-logo img {
            max-height: 140px;
            width: auto;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        /* On mobile, give header a background so text is readable */
        @media (max-width: 991px) {
            .header-transparent {
                position: relative !important;
                background: #1a3a20 !important;
            }
            .header-transparent .navbar-container .navbar-light .main-menu > li > a {
                color: #fff !important;
            }
        }
        /* Ensure slider takes full viewport */
        .nutmond-slider-wrapper .swiper {
            width: 100%;
            min-height: 100vh;
        }

        /* Wishlist count badge (desktop) — matches the cart badge's look
           (see master6471.css: .header-transparent .header-cart .cart-link
           a sup), since the wishlist icon isn't nested in that same
           .header-cart/.cart-link wrapper and so doesn't inherit that
           rule automatically. */
        .header-transparent .header-wishlist sup {
            background: #345e3b;
            padding: 2px 5px;
            border-radius: 50%;
        }

        /* Default (empty) badge color for any icon using .header-icon-btn
           sup — currently just the cart badge, since wishlist already has
           its own default color set above. Declared before .has-items so
           .has-items (with !important) always wins once a count is > 0. */
        .header-icon-btn sup {
            background: #345e3b;
            color: #fff;
        }

        /* Cart / wishlist badge — "has items" state. Applied via PHP in
           header.php whenever the count is > 0 ($nm_cart_count /
           $nm_wishlist_count), so an empty cart or wishlist keeps the
           default badge color and only a non-zero count turns it yellow.
           Selector targets .header-icon-btn sup.has-items specifically
           (2 classes) so it outranks both the plain
           ".header-transparent .header-wishlist sup" rule above (which
           only sets background, no class, so equal specificity but this
           rule is declared after it) and the equivalent mobile-only
           ".header-icon-btn sup" rule in the mobile-responsive-overrides
           stylesheet, at every breakpoint. */
        .header-icon-btn sup.has-items {
            background: #e0a400 !important;
            color: #1a3a20;
        }