/* ============================================================
   NAKHIL CARE — Enhanced UI Layer
   Adds elegance, depth, and professional animation
   over the existing style.css without breaking it.
============================================================ */

/* -------- GLOBAL REFINEMENTS -------- */
:root {
    --primary-color: #3a8f4e;
    --primary-light: #4aaa64;
    --primary-dark: #2a6b3a;
    --secondary-color: #2d6a4f;
    --accent-gold: #c8b87a;
    --accent-gold-light: #e8ddb5;
    --accent-cream: #f5f2eb;
    --text-dark: #1a2f1f;
    --text-light: #4a5d4e;
    --bg-light: #f8faf8;
    --white: #ffffff;
    --border-color: #d4e0d8;
    --shadow-sm: 0 1px 4px rgba(0,60,30,0.07);
    --shadow-md: 0 4px 16px rgba(0,60,30,0.1);
    --shadow-lg: 0 12px 32px rgba(0,60,30,0.13);
    --shadow-xl: 0 20px 60px rgba(0,60,30,0.16);
    --transition: all 0.32s cubic-bezier(0.4,0,0.2,1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Smooth scroll + better antialiasing */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* -------- NAVBAR -------- */
.navbar {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(58,143,78,0.1);
    box-shadow: 0 2px 20px rgba(0,60,30,0.06);
    padding: 14px 0;
}

.logo img { height: 56px; transition: transform 0.3s ease, opacity 0.3s ease; }
.logo img:hover { transform: scale(1.04); opacity: 0.9; }

.hamburger span {
    border-radius: 2px;
    background: var(--primary-color);
}

.search-btn, .cart-btn {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-color);
    transition: var(--transition);
}
.search-btn:hover, .cart-btn:hover {
    border-color: var(--primary-color);
    background: rgba(58,143,78,0.06);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.cart-count {
    border-radius: 50%;
    font-size: 10px;
    width: 20px;
    height: 20px;
    background: var(--primary-dark);
    box-shadow: 0 2px 6px rgba(42,107,58,0.4);
}

/* Hero categories bar */
.hero-categories-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
/* Unified fixed site header: top strip + navbar + desktop category bar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    box-shadow: 0 2px 24px rgba(0, 60, 30, 0.1);
}
.site-header--hidden {
    transform: translateY(-100%);
    pointer-events: none;
    box-shadow: none;
}
.site-header-spacer {
    height: var(--site-header-height, 80px);
    flex-shrink: 0;
    pointer-events: none;
}
.site-header .top-strip {
    position: relative;
    top: auto;
    z-index: auto;
    transition: none;
}
.site-header .navbar {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    transition: background 0.3s ease !important;
    box-shadow: none !important;
}
.site-header .hero-categories-bar {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    margin-bottom: 0 !important;
}
@media (prefers-reduced-motion: reduce) {
    .site-header {
        transition: none;
    }
    .site-header--hidden {
        transform: none;
        pointer-events: auto;
    }
}
.hero-cat-root {
    font-size: 0.88rem;
    letter-spacing: 1.8px;
    padding: 11px 18px;
    transition: color 0.2s ease, background 0.2s ease;
    border-radius: 2px;
    position: relative;
}
.hero-cat-root::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 18px;
    right: 18px;
    height: 1px;
    background: rgba(255,255,255,0.5);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.hero-cat-root:hover::after { transform: scaleX(1); }

/* -------- HERO -------- */
.hero {
    margin-top: 0;
    min-height: 70vh;
}
.hero-overlay {
    background: linear-gradient(160deg,
        rgba(10,40,20,0.72) 0%,
        rgba(20,60,35,0.52) 55%,
        rgba(0,0,0,0.28) 100%);
}
.hero-content {
    padding: 80px 40px 60px;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    letter-spacing: clamp(4px, 1vw, 10px);
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    line-height: 1.15;
    margin-bottom: 24px;
}
.hero-link {
    border: 1.5px solid rgba(255,255,255,0.85);
    padding: 16px 48px;
    letter-spacing: 2.5px;
    font-size: 1rem;
    border-radius: 2px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.07);
    margin-top: 12px;
}
.hero-link:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* -------- SHOP SECTIONS: CANVAS ANIMATION -------- */
/* Remove old line decorations — canvas replaces them */
.shop-section-lines { display: none !important; }

.shop-sections-group {
    position: relative;
}

/* The canvas background covers both category + brand sections */
.shop-canvas-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    display: block;
}

/* Categories: refined sage gradient */
.shop-section-categories {
    background: linear-gradient(160deg, #eef6f0 0%, #e4f0e8 45%, #dceae0 100%);
    border-top: 1px solid rgba(58,143,78,0.1);
    position: relative;
    overflow: hidden;
}
/* Brands: refined lavender-sand gradient */
.shop-section-brands {
    background: linear-gradient(160deg, #f4f1ec 0%, #ece8f2 45%, #e6e2ef 100%);
    border-top: 1px solid rgba(90,75,120,0.08);
    position: relative;
    overflow: hidden;
}

/* Section titles */
.shop-sections-group .home-categories-title {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    letter-spacing: 5px;
    margin-bottom: 44px;
    position: relative;
    color: var(--text-dark);
}
.shop-sections-group .home-categories-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 2px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    border-radius: 2px;
}

/* Category / Brand cards */
.shop-sections-group .home-category-card {
    border-radius: var(--radius-md);
    border: 1px solid rgba(58,143,78,0.08);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 2px 14px rgba(0,50,30,0.05);
    transition: transform 0.36s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}
.shop-sections-group .home-category-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 16px 40px rgba(0,50,30,0.14);
    border-color: rgba(58,143,78,0.22);
}
.shop-sections-group .home-category-image {
    padding-top: 68%;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
/* Subtle image zoom on hover */
.shop-sections-group .home-category-card:hover .home-category-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: 108%;
    transition: background-size 0.4s ease;
}
.shop-sections-group .home-category-name {
    font-size: 0.95rem;
    padding: 13px 12px;
    letter-spacing: 1.8px;
    background: linear-gradient(transparent, rgba(10,30,15,0.82));
}

/* Brands section: rounded cards like categories, image-only inside */
.shop-section-brands .home-brand-card {
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid rgba(90, 75, 120, 0.08);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 2px 14px rgba(0, 50, 30, 0.05);
}
.shop-section-brands .home-brand-image {
    padding-top: 68%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--white);
}
.shop-section-brands .home-brand-card:hover .home-brand-image::before {
    display: none;
}
@media (min-width: 769px) {
    .shop-section-brands .home-brand-card {
        transition: transform 0.5s cubic-bezier(0.34, 1.45, 0.64, 1),
                    box-shadow 0.4s ease,
                    border-color 0.3s ease;
    }
    .shop-section-brands .home-brand-image {
        position: relative;
        z-index: 1;
        transition: transform 0.5s cubic-bezier(0.34, 1.45, 0.64, 1), filter 0.4s ease;
        will-change: transform;
    }
    .shop-section-brands .home-brand-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 16px 40px rgba(60, 30, 80, 0.14);
        border-color: rgba(90, 75, 120, 0.22);
    }
    .shop-section-brands .home-brand-card:hover .home-brand-image {
        transform: scale(1.08);
        filter: brightness(1.05) saturate(1.06);
        animation: homeBrandHoverFloat 2.2s ease-in-out infinite;
    }
}
@keyframes homeBrandHoverFloat {
    0%, 100% { transform: scale(1.08) translateY(0); }
    50% { transform: scale(1.08) translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
    .shop-section-brands .home-brand-card:hover .home-brand-image {
        animation: none;
        transform: scale(1.04);
    }
    .shop-section-brands .home-brand-card:hover {
        transform: translateY(-4px);
    }
}

/* Expand button */
.home-shop-expand {
    color: var(--primary-dark);
    font-size: 0.82rem;
    letter-spacing: 2px;
    gap: 6px;
}
.home-shop-expand:hover { color: var(--primary-color); gap: 10px; }

/* -------- BUNDLES & OFFERS SECTION -------- */
.home-offers-section {
    background: var(--accent-cream);
    padding: 72px 0 60px;
}
.home-offers-title {
    font-size: clamp(1.6rem, 2.5vw, 2.3rem);
    letter-spacing: 5px;
    margin-bottom: 44px;
    color: var(--text-dark);
}

/* Slider arrows */
.offers-slider-btn {
    background: rgba(10,40,20,0.7);
    backdrop-filter: blur(6px);
    border-radius: 2px;
    width: 48px;
    height: 48px;
    font-size: 22px;
    transition: var(--transition);
}
.offers-slider-btn:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

/* Bundle cards — equal-height rows, button pinned to bottom */
.offer-bundle-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.offer-bundle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.offer-bundle-image {
    background-size: cover;
    background-position: center;
}

/* -------- REVIEWS SECTION -------- */
.home-reviews-section {
    padding: 90px 0;
    background: linear-gradient(160deg, #f0f4f2 0%, #e8f0ec 50%, #f2f5f1 100%);
    position: relative;
    overflow: hidden;
}
/* Decorative quote marks in background */
.home-reviews-section::before {
    content: '\201C';
    position: absolute;
    top: -30px;
    left: 3%;
    font-size: 30rem;
    font-family: Georgia, serif;
    color: rgba(58,143,78,0.035);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.reviews-title {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    letter-spacing: 5px;
    color: var(--text-dark);
    margin-bottom: 56px;
    position: relative;
}
.reviews-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 2px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    border-radius: 2px;
}

.reviews-grid { gap: 24px; }

.review-item {
    background: var(--white);
    border: 1px solid rgba(58,143,78,0.1);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.review-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.review-item::before {
    content: '\201C';
    position: absolute;
    top: 14px;
    left: 22px;
    font-size: 3rem;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.25;
    line-height: 1;
}
.review-quote {
    font-size: 2.4rem;
    color: var(--primary-color);
    opacity: 0.35;
    margin-bottom: 12px;
    margin-left: -4px;
}
.review-text {
    font-size: 0.97rem;
    line-height: 1.85;
    color: var(--text-dark);
    font-style: italic;
}

/* Slider controls */
.slider-controls { gap: 14px; padding-bottom: 10px; }
.slider-btn {
    background: var(--primary-color);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 1.6rem;
    box-shadow: 0 4px 14px rgba(58,143,78,0.3);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.slider-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(42,107,58,0.45);
}

/* -------- ABOUT SECTION -------- */
.about-section-bg {
    background: linear-gradient(120deg, #f2f7f4 0%, #e8f2ee 50%, #f8faf8 100%);
}
.about-section-title {
    font-size: clamp(1.5rem, 2.2vw, 2.1rem);
    letter-spacing: 4px;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 18px;
}
.about-section-title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    border-radius: 2px;
}
.about-section-text {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 28px;
}
.about-action-btn {
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.about-action-btn:hover {
    box-shadow: var(--shadow-md);
}
.about-action-map, .about-action-phone {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}
.about-action-map:hover, .about-action-phone:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
}

/* -------- FOOTER -------- */
.footer {
    background: linear-gradient(160deg, #1e3a28 0%, #152b1f 60%, #0f1f17 100%);
    color: rgba(255,255,255,0.85);
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), var(--accent-gold), var(--primary-light), transparent);
}
.footer-logo img { filter: brightness(1.1) saturate(0.9); }
.footer-tagline {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    letter-spacing: 2px;
}
.footer-heading {
    color: var(--white);
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 1.5px;
    background: var(--accent-gold);
    border-radius: 2px;
}
.footer-contact-list a, .footer-link-list a {
    color: rgba(255,255,255,0.65);
    transition: color 0.25s ease, padding-left 0.25s ease;
    font-size: 0.9rem;
}
.footer-contact-list a:hover, .footer-link-list a:hover {
    color: var(--white);
    padding-left: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* -------- BUTTONS -------- */
.btn {
    border-radius: 2px;
    transition: var(--transition);
    letter-spacing: 2.5px;
    font-size: 0.82rem;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.25s ease;
}
.btn:hover::after { background: rgba(255,255,255,0.07); }
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
    box-shadow: 0 3px 12px rgba(42,107,58,0.25);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(42,107,58,0.35);
}
.btn-secondary {
    background: transparent;
    color: var(--primary-color);
}
.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    transform: translateY(-1px);
}

/* -------- WHATSAPP FLOAT -------- */
.whatsapp-float {
    background: linear-gradient(135deg, #25d366, #1da851);
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
    width: 60px;
    height: 60px;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}

/* -------- SIDE MENU -------- */
.side-menu-content {
    border-right: 1px solid rgba(58,143,78,0.1);
    box-shadow: 4px 0 40px rgba(0,0,0,0.18);
}
.menu-links a {
    color: var(--text-dark);
    letter-spacing: 0.8px;
    font-size: 1rem;
    padding: 14px 0;
}
.menu-links a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

/* -------- PRODUCT CARDS -------- */
.product-card {
    border-radius: var(--radius-md);
    border: 1px solid rgba(58,143,78,0.08);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.36s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: rgba(58,143,78,0.18);
}
.product-name {
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    padding: 16px 18px 6px;
    border-top: 1px solid rgba(58,143,78,0.06);
}
.product-card-price { color: var(--primary-color); font-size: 1.05rem; padding: 4px 18px 16px; }

/* -------- MODAL -------- */
.modal-content {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}
.modal-header { background: var(--bg-light); border-bottom: 1px solid var(--border-color); }

/* -------- SEARCH PANEL -------- */
.search-panel {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.search-panel-input { border-radius: var(--radius-sm); }
.search-panel-close { border-radius: var(--radius-sm); }

/* -------- BOTTOM NAV -------- */
.bottom-nav {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(58,143,78,0.1);
    box-shadow: 0 -2px 16px rgba(0,60,30,0.08);
}
.bottom-nav-item.active, .bottom-nav-item:hover { color: var(--primary-color); }

/* -------- TOP STRIP -------- */
.top-strip {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
    font-size: 0.88rem;
    letter-spacing: 1.5px;
}

/* -------- SCROLL-REVEAL ANIMATION -------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
    opacity: 1;
    transform: none;
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* -------- MISC POLISH -------- */
::selection {
    background: rgba(58,143,78,0.2);
    color: var(--text-dark);
}
:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Smooth image lazy load fade-in */
img { transition: opacity 0.4s ease; }

/* Home grid expand button polish */
.home-shop-expand {
    border-radius: 2px;
    padding: 4px 8px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
}

/* -------- MOBILE TWEAKS -------- */
@media (max-width: 768px) {
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.8rem); letter-spacing: 4px; }
    .hero-link { padding: 14px 32px; font-size: 0.88rem; letter-spacing: 2px; }
    .shop-sections-group .home-categories-title { font-size: 1.4rem; letter-spacing: 3px; }
    .review-item { padding: 28px 22px; }
    .review-item::before { font-size: 2.4rem; }
    .footer::before { height: 1.5px; }
    .whatsapp-float { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .product-card, .home-category-card, .offer-bundle-card { transition: none; }
    .hero-link, .btn { transition: none; }
}

/* -------- FOOTER CHILD OVERRIDES (ensure dark theme works) -------- */
.footer .footer-tagline { color: rgba(255,255,255,0.55); }
.footer .footer-intro { color: rgba(255,255,255,0.5); }
.footer .footer-contact-list li span { color: rgba(255,255,255,0.6); }
.footer .footer-map-link { color: rgba(255,255,255,0.65); }
.footer .footer-bottom p { color: rgba(255,255,255,0.35); letter-spacing: 1.5px; }
.footer .footer-icon { filter: grayscale(0.2); }

/* ============================================================
   ROUND 2 FIXES
============================================================ */

/* --- 1. CANVAS ANIMATION: better visibility & no desktop crop --- */
.shop-canvas-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    pointer-events: none !important;
    z-index: 0 !important;
}
/* Make sure sections have overflow:hidden so canvas doesn't bleed */
.shop-section-categories,
.shop-section-brands {
    overflow: hidden;
    position: relative;
}

/* --- 2. "VIEW ALL" BUTTON — below grid, not overlapping --- */
/* Override the absolute positioning from original style.css */
.home-shop-grid-block {
    padding-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.home-shop-expand {
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    align-self: flex-end;        /* stays right-aligned */
    margin-top: 18px !important;
    padding: 6px 10px !important;
    background: rgba(255,255,255,0.55) !important;
    backdrop-filter: blur(4px) !important;
    border-radius: 4px !important;
    font-size: 0.82rem !important;
    letter-spacing: 1.8px !important;
}
@media (max-width: 768px) {
    .home-shop-expand {
        margin-top: 14px !important;
        font-size: 0.75rem !important;
        letter-spacing: 1.2px !important;
    }
}

/* --- 3. FOOTER LOGO: full white --- */
.footer-logo,
.footer .footer-logo {
    filter: brightness(0) invert(1) !important;
    opacity: 0.92;
}

/* --- 4. NAVBAR: hide-on-scroll-down / show-on-scroll-up
         The existing JS already handles the class toggling.
         We just ensure the transition is smooth and the
         top-strip doesn't cause layout jumps. ---
   The issue: .top-strip is position:sticky top:0 and
   .navbar is sticky top:0 (or top:44px with strip).
   When user scrolls, top-strip scrolls away naturally
   since it has its own sticky, and navbar follows.
   But the hide class uses translateY(-100%) which hides
   the whole bar instantly off-screen.
   Fix: slide-reveal on ANY upward scroll (already works
   in JS), but ensure the transition speed feels right
   and there's no flash. Also ensure top-strip doesn't
   block the navbar reveal by adjusting z-indices. */
/* Top strip lives inside fixed site-header */
.top-strip {
    position: relative;
    top: auto;
    z-index: auto;
}

/* --- 5. MOBILE: grid item name 20% smaller --- */
@media (max-width: 768px) {
    .shop-sections-group .home-category-name,
    .home-category-name {
        font-size: 0.58rem !important;  /* ~0.72rem * 0.8 */
        padding: 6px 4px !important;
        letter-spacing: 0.4px !important;
    }
}
