/* ==========================================================================
   SAFA TOUCH — Comprehensive Website & Storefront Stylesheet (storefront.css)
   Aesthetic: Terracotta & Rosewood Luxury Theme
   Curated Palette:
     --primary:        #B85D43 (Deep Terracotta)
     --primary-dark:   #9E4932 (Burnt Terracotta)
     --primary-light:  #D99B82 (Dusty Rose)
     --primary-soft:   #FBF0EB (Pale Warm Linen Tint)
     --secondary:      #D4A373 (Warm Sand / Rose Gold Accent)
     --dark:           #2E231F (Dark Espresso)
     --dark-bg:        #201815 (Deep Espresso Black)
     --bg-light:       #FBF7F0 (Warm Linen Storefront Canvas)
     --card-border:    #EFE4DC (Warm Border)
     --wa-color:       #25D366 (Official WhatsApp Green)
   ========================================================================== */

/* ---- High-Performance Local Bengali Fonts (Zero-Dependency & Offline Support) ---- */
@font-face {
    font-family: 'Noto Sans Bengali Local';
    src: url('../fonts/NotoSansBengali-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Noto Sans Bengali Local';
    src: url('../fonts/NotoSansBengali-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Noto Sans Bengali Local';
    src: url('../fonts/NotoSansBengali-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SolaimanLipi Local';
    src: url('../fonts/SolaimanLipi.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nikosh Local';
    src: url('../fonts/Nikosh.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Fonts: Bengali Primary + Resilient Monospace Fallback */
    --font-bn: 'Hind Siliguri', 'Noto Sans Bengali Local', 'Noto Sans Bengali', 'SolaimanLipi Local', 'SolaimanLipi', 'Kalpurush', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Hind Siliguri', 'Noto Sans Bengali Local', 'Noto Sans Bengali', monospace;

    /* Brand Design Tokens */
    --primary: #B85D43;
    --primary-dark: #9E4932;
    --primary-light: #D99B82;
    --primary-soft: #FBF0EB;
    --primary-subtle: #FBF0EB;
    --secondary: #D4A373;
    --secondary-light: #E8C5A8;
    --accent: #FBF0EB;
    --accent-gold: #d4af37;
    --gold: #f59e0b;
    --gold-subtle: #fef9e7;
    --dark: #2E231F;
    --dark-bg: #201815;
    --text-dark: #2E231F;
    --text-main: #3F332D;
    --text-muted: #5c524c;
    --text-light: #85756C;
    --bg-light: #FBF7F0;
    --bg-faint: #F8F1E9;
    --card-border: #EFE4DC;
    --border: #EFE4DC;
    --wa-color: #25D366;
    --wa-hover: #1ebd5a;

    /* Bootstrap 5 Variable Overrides */
    --bs-secondary-color: #5c524c;
    --bs-primary: #B85D43;
    --bs-primary-rgb: 184, 93, 67;
    --bs-primary-bg-subtle: #FBF0EB;
    --bs-primary-border-subtle: #EFE4DC;
    --bs-primary-text-emphasis: #9E4932;
    --bs-success: #B85D43;
    --bs-success-rgb: 184, 93, 67;
    --bs-success-bg-subtle: #FBF0EB;
    --bs-success-border-subtle: #EFE4DC;
    --bs-success-text-emphasis: #9E4932;
    --bs-danger: #ef4444;
    --bs-danger-rgb: 239, 68, 68;
    --bs-warning: #d97706;
    --bs-warning-rgb: 217, 119, 6;
    --bs-info: #0ea5e9;
    --bs-info-rgb: 14, 165, 233;

    /* Shadows & Radii */
    --shadow-xs: 0 1px 3px rgba(46, 35, 31, 0.05);
    --shadow-sm: 0 2px 10px rgba(184, 93, 67, 0.08);
    --shadow-md: 0 8px 24px rgba(184, 93, 67, 0.12);
    --shadow-lg: 0 16px 40px rgba(46, 35, 31, 0.14);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 50px;
}

/* ==========================================================================
   GLOBAL BASE & TYPOGRAPHY
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-bn);
    background-color: var(--bg-light);
    color: var(--dark);
    margin: 0;
    padding-bottom: 0 !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

.text-muted {
    color: #5c524c !important;
}

/* Universal Typography Engine for Elements & Spans */
span:not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not([class*="fa-"]),
p, a, div, h1, h2, h3, h4, h5, h6, label, button, input, select, textarea,
.badge, .btn, .navstrip-link, .mob-navstrip-chip, .story-cat-name, .sitemap-item-title,
.product-title, .product-price, .order-item-title {
    font-family: var(--font-bn);
}

/* Monospace & Tabular Numbers with Resilient Bengali Fallback */
.font-monospace, code, kbd, .tally-num {
    font-family: var(--font-mono) !important;
}

/* Isolate FontAwesome Icon Elements */
.fa, .fas, .fa-solid {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
}
.fab, .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}
.far, .fa-regular {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}

@media (max-width: 991px) {
    body {
        padding-bottom: 65px !important;
    }
}

main {
    flex: 1 0 auto;
}

::selection {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover {
    color: var(--primary-dark);
}

.text-inherit {
    color: inherit !important;
}

/* Form Inputs Focus Ring */
.form-control:focus, .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(184, 93, 67, 0.15) !important;
}

/* ==========================================================================
   TOP LUXURY ANNOUNCEMENT STRIP (TIER 0)
   ========================================================================== */
.luxury-announcement-bar, .top-announcement {
    background: linear-gradient(90deg, #201815 0%, #2E231F 35%, #9E4932 70%, #201815 100%);
    color: #FBF0EB;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1060;
}

.luxury-announcement-bar a, .top-announcement a {
    color: #FBF0EB;
    text-decoration: none;
    transition: color 0.15s ease;
}

.luxury-announcement-bar a:hover, .top-announcement a:hover {
    color: #ffffff;
}

.announcement-badge-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   MAIN TOPBAR & BRAND NAVIGATION (TIER 1)
   ========================================================================== */
.catalog-header, .catalog-navbar {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid #EFE4DC;
}

.header-topbar {
    padding: 8px 0;
    background: #ffffff;
    border-bottom: 1px solid #F7EFE9;
}

.brand-logo-img {
    width: 42px;
    height: 42px;
    max-width: 42px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 8px;
}

.brand-logo-fallback {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.nav-hamburger-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #EFE4DC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-hamburger-btn:hover {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: var(--primary);
}

.topbar-search-wrapper {
    max-width: 520px;
    width: 100%;
}

.topbar-search-box {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 50px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    transition: all 0.25s ease;
    cursor: pointer;
}

.topbar-search-box:hover, .topbar-search-box:focus-within {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(184, 93, 67, 0.15);
}

.topbar-search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 13.5px;
    color: var(--dark);
    font-weight: 500;
    cursor: pointer;
}

.topbar-kbd-shortcut {
    background: #e2e8f0;
    color: #1e293b;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 700;
}

.topbar-hotline-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--primary-soft);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: #3D2E28;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s ease;
}

.topbar-hotline-pill:hover {
    background: #F8F1E9;
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.topbar-cart-btn {
    position: relative;
    background: #f8fafc;
    border: 1px solid #EFE4DC;
    border-radius: 50px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.topbar-cart-btn:hover {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: var(--primary);
}

/* ==========================================================================
   NAVIGATION STRIP & MEGA CATEGORY MENU (TIER 2)
   ========================================================================== */
.header-navstrip {
    background: #ffffff;
    border-bottom: 1px solid #EFE4DC;
    position: relative;
}

.mega-menu-container {
    position: relative;
}

.mega-menu-trigger {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 9px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mega-menu-trigger:hover {
    background: var(--primary-dark);
}

.mega-menu-panel {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #EFE4DC;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    min-width: 720px;
    z-index: 1050;
    margin-top: 6px;
    overflow: hidden;
    transform: translateY(6px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-menu-container:hover .mega-menu-panel,
.mega-menu-panel.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.mega-panel-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 380px;
}

.mega-parent-list {
    background: #f8fafc;
    border-right: 1px solid #EFE4DC;
    padding: 12px 8px;
}

.mega-parent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-bottom: 2px;
}

.mega-parent-item:hover, .mega-parent-item.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.mega-children-pane {
    padding: 16px 20px;
    background: #ffffff;
    max-height: 480px;
    overflow-y: auto;
}

.mega-child-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mega-child-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    font-size: 12.5px;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
}

.mega-child-item:hover {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: var(--border);
    transform: translateX(2px);
}

.navstrip-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 48px;
    flex-wrap: nowrap;
    flex-shrink: 1;
}

.navstrip-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 6px 9px;
    color: #4b3e39;
    font-weight: 600;
    font-size: 12.5px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2;
}

.navstrip-link:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.navstrip-link.active {
    color: var(--primary);
    font-weight: 700;
    background: var(--primary-soft);
}

/* Navstrip Badges */
.navstrip-badge-new {
    background: linear-gradient(135deg, #D99B82 0%, #B85D43 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    display: inline-block;
    line-height: 1.2;
}

.navstrip-badge-hot {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    display: inline-block;
    line-height: 1.2;
}

/* Navstrip Sub-Dropdown Menus */
.navstrip-dropdown {
    position: relative;
    flex-shrink: 0;
}

.navstrip-chevron {
    font-size: 10px;
    opacity: 0.6;
    margin-left: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.navstrip-dropdown:hover .navstrip-chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--primary);
}

.navstrip-dropdown-menu {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    width: 270px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border: 1px solid #EFE4DC;
    padding: 10px;
    z-index: 1060;
    transform: translateY(6px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.navstrip-dropdown:hover .navstrip-dropdown-menu,
.navstrip-dropdown-menu:hover {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.navstrip-dropdown-header {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px 8px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 6px;
}

.navstrip-drop-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 9px;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
    margin-bottom: 2px;
}

.navstrip-drop-item:hover {
    background: var(--primary-soft);
    color: var(--primary);
    transform: translateX(3px);
}

.navstrip-drop-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 6px 4px;
}

.navstrip-drop-all {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    padding: 7px;
    border-radius: 8px;
    text-decoration: none;
    background: var(--primary-soft);
    transition: all 0.15s ease;
}

.navstrip-drop-all:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Interactive Studio & Branches Dropdown Panel */
.branches-nav-container {
    position: relative;
    flex-shrink: 0;
}

.branches-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #f8fafc;
    border: 1px solid #EFE4DC;
    border-radius: 50px;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.branches-trigger-btn:hover {
    background: var(--primary-soft);
    border-color: var(--border);
    color: var(--primary);
}

.branches-chevron {
    font-size: 10px;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.branches-nav-container:hover .branches-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.branches-dropdown-panel {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
    border: 1px solid #EFE4DC;
    z-index: 1060;
    transform: translateY(6px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.branches-nav-container:hover .branches-dropdown-panel,
.branches-dropdown-panel:hover {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Mobile Quick Navigation Strip */
.mobile-touch-navstrip {
    background: #ffffff;
    border-bottom: 1px solid #EFE4DC;
    padding: 8px 12px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 8px;
}

.mobile-touch-navstrip::-webkit-scrollbar {
    display: none;
}

.mob-navstrip-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f8fafc;
    border: 1px solid #EFE4DC;
    border-radius: 50px;
    color: #334155;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.mob-navstrip-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}

.mob-navstrip-chip:active, .mob-navstrip-chip.active {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
}

/* Responsive Navbar Tightening for Small Desktop / Laptops */
@media (max-width: 1399.98px) {
    .navstrip-link {
        font-size: 11.5px;
        padding: 5px 6px;
        gap: 2px;
    }
    .mega-menu-trigger {
        font-size: 12.5px;
        padding: 7px 11px;
    }
    .branches-trigger-btn {
        padding: 4px 8px;
        font-size: 11.5px;
    }
}

@media (max-width: 1199.98px) {
    .navstrip-link {
        font-size: 11px;
        padding: 4px 5px;
        gap: 2px;
    }
    .mega-menu-trigger {
        padding: 6px 9px;
        font-size: 12px;
    }
    .branches-nav-container {
        display: none !important;
    }
}

/* ==========================================================================
   BRAND LOGO & NAVSTRIP SPECIAL HELPERS
   ========================================================================== */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.chevron-icon {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.navstrip-hot-link {
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1px solid #fecdd3;
    font-weight: 700 !important;
}

.navstrip-hot-link:hover {
    background: #ffe4e6 !important;
    color: #be123c !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.22);
    transform: translateY(-1px);
}

        /* Modern Hero Banner */
        .hero-banner {
            background: linear-gradient(135deg, #2E231F 0%, #3D2E28 50%, #9E4932 100%);
            color: #ffffff;
            padding: 40px 0 35px 0;
            position: relative;
            overflow: hidden;
        }

        .hero-banner::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(217, 119, 6, 0.25) 0%, rgba(46, 35, 31, 0) 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.25);
            color: #fef08a;
            font-size: 13px;
            font-weight: 700;
            padding: 6px 14px;
            border-radius: 30px;
            margin-bottom: 16px;
        }

        .hero-title {
            font-size: 2.1rem;
            font-weight: 700;
            line-height: 1.25;
            margin-bottom: 12px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.15);
        }

        .hero-subtitle {
            font-size: 15px;
            max-width: 680px;
            margin: 0 auto 24px auto;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.5;
        }

        .search-container {
            max-width: 620px;
            margin: 0 auto 20px auto;
            position: relative;
        }

        .search-box {
            background: #ffffff;
            border-radius: 50px;
            padding: 6px 8px 6px 20px;
            display: flex;
            align-items: center;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .search-box:focus-within {
            transform: scale(1.02);
            box-shadow: 0 12px 30px rgba(0,0,0,0.28);
        }

        .search-input {
            border: none;
            outline: none;
            width: 100%;
            font-size: 15px;
            color: #1e293b;
            font-family: inherit;
        }

        .search-btn {
            background: var(--primary);
            color: #ffffff;
            border: none;
            border-radius: 50px;
            padding: 10px 22px;
            font-weight: 700;
            cursor: pointer;
            transition: 0.2s;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .search-btn:hover {
            background: var(--primary-dark);
            box-shadow: 0 4px 12px rgba(184, 93, 67, 0.35);
        }

        /* Search Popup Modal Styles */
        .search-modal-overlay {
            z-index: 1070 !important;
        }

        .search-modal-dialog {
            max-width: 780px;
            margin: 30px auto;
        }

        .search-modal-content {
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
            border-radius: 24px;
        }

        .modal-search-box {
            background: #f8fafc;
            border: 2px solid #B85D43;
            border-radius: 50px;
            padding: 8px 18px;
            transition: all 0.2s ease;
        }

        .modal-search-box:focus-within {
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(184, 93, 67, 0.15);
        }

        .modal-search-input {
            border: none;
            background: transparent;
            outline: none;
            font-size: 16px;
            font-weight: 600;
            color: #0f172a;
            font-family: inherit;
        }

        .modal-tag-chip {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            padding: 5px 14px;
            font-size: 12px;
            font-weight: 600;
            color: #334155;
            transition: all 0.2s ease;
            cursor: pointer;
        }

        .modal-tag-chip:hover {
            background: #FBF0EB;
            border-color: #B85D43;
            color: #B85D43;
            transform: translateY(-1px);
        }

        .modal-search-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all 0.2s ease;
            text-decoration: none;
            color: inherit;
        }

        .modal-search-card:hover {
            border-color: #B85D43;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
            transform: translateY(-2px);
        }

        .modal-search-img {
            width: 58px;
            height: 58px;
            border-radius: 12px;
            object-fit: cover;
            flex-shrink: 0;
            background: #f1f5f9;
        }

        .search-pulse-icon {
            font-size: 40px;
            animation: pulse 2s infinite ease-in-out;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.8; }
            50% { transform: scale(1.15); opacity: 1; }
        }

        /* Search Quick Tags */
        .search-quick-tags {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            flex-wrap: wrap;
            font-size: 12px;
        }

        .quick-tag-pill {
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #ffffff;
            padding: 3px 10px;
            border-radius: 20px;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .quick-tag-pill:hover {
            background: #ffffff;
            color: var(--primary-dark);
            font-weight: 600;
        }

        /* Hero Trust Strip */
        .hero-trust-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            max-width: 950px;
            margin: 28px auto 0 auto;
        }

        .hero-trust-item {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(6px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            padding: 10px 12px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #ffffff;
            font-size: 13px;
            font-weight: 600;
            transition: transform 0.2s ease;
        }

        .hero-trust-item:hover {
            background: rgba(255, 255, 255, 0.18);
            transform: translateY(-2px);
        }

        .hero-trust-icon {
            font-size: 20px;
            color: #fef08a;
        }

        @media (max-width: 768px) {
            .hero-title { font-size: 1.5rem; }
            .hero-trust-grid { grid-template-columns: repeat(2, 1fr); }
            .hero-banner { padding: 25px 0 20px 0; }
        }

        /* Story-Style Circular Category Bar */
        .story-cat-section {
            background: #ffffff;
            border-bottom: 1px solid #e2e8f0;
            padding: 16px 0;
            position: relative;
            box-shadow: 0 2px 8px rgba(0,0,0,0.02);
        }

        .story-cat-scroll {
            display: flex;
            gap: 18px;
            overflow-x: auto;
            padding: 6px 12px;
            scrollbar-width: none;
            scroll-behavior: smooth;
        }

        .story-cat-scroll::-webkit-scrollbar {
            display: none;
        }

        .story-cat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            width: 95px;
            min-width: 95px;
            max-width: 95px;
            flex-shrink: 0;
            text-align: center;
            transition: transform 0.2s ease;
        }

        .story-cat-item:hover {
            transform: translateY(-3px);
        }

        .story-cat-avatar {
            width: 58px;
            height: 58px;
            border-radius: 50%;
            background: #f1f5f9;
            border: 2px solid #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            margin-bottom: 6px;
            transition: all 0.25s ease;
        }

        .story-cat-item.active .story-cat-avatar,
        .story-cat-item:hover .story-cat-avatar {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(184, 93, 67, 0.2);
            background: #FBF0EB;
            transform: scale(1.06);
        }

        .story-cat-name {
            font-size: 12px;
            font-weight: 600;
            color: #475569;
            line-height: 1.25;
            height: 30px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            word-break: break-word;
            text-align: center;
            white-space: normal;
        }

        .story-cat-item.active .story-cat-name {
            color: var(--primary);
            font-weight: 700;
        }

        .story-cat-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            color: var(--dark);
            box-shadow: 0 4px 12px rgba(0,0,0,0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: all 0.2s ease;
        }

        .story-cat-nav-btn:hover {
            background: var(--primary);
            color: #ffffff;
            border-color: var(--primary);
        }

        .story-cat-nav-btn.prev { left: 4px; }
        .story-cat-nav-btn.next { right: 4px; }

        /* Promo Banner Cards */
        .promo-card {
            min-height: 130px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: none;
        }
        .promo-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 24px rgba(0,0,0,0.12);
        }
        .promo-mango { background: linear-gradient(135deg, #d97706 0%, #b45309 100%); }
        .promo-coconut { background: linear-gradient(135deg, #B85D43 0%, #9E4932 100%); }
        .promo-soil { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }
        .promo-winter { background: linear-gradient(135deg, #e11d48 0%, #9f1239 100%); }
        .promo-icon-bg {
            font-size: 65px;
            opacity: 0.25;
            position: absolute;
            right: 12px;
            bottom: -6px;
            user-select: none;
            transition: transform 0.3s ease;
        }
        .promo-card:hover .promo-icon-bg {
            transform: scale(1.15) rotate(8deg);
        }

        /* Story Badges */
        .story-badge-hot {
            position: absolute;
            top: -4px;
            right: -6px;
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            color: #ffffff;
            font-size: 9px;
            font-weight: 800;
            padding: 2px 6px;
            border-radius: 10px;
            box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
            animation: bounce 2s infinite ease-in-out;
            letter-spacing: 0.3px;
            line-height: 1.2;
            z-index: 2;
        }

        .story-badge-new {
            position: absolute;
            top: -4px;
            right: -6px;
            background: linear-gradient(135deg, #D99B82 0%, #B85D43 100%);
            color: #ffffff;
            font-size: 9px;
            font-weight: 800;
            padding: 2px 6px;
            border-radius: 10px;
            box-shadow: 0 2px 6px rgba(184, 93, 67, 0.35);
            line-height: 1.2;
            z-index: 2;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-3px); }
        }

        /* Sticky Category Filter Pills Bar */
        .category-pills-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .cat-pills-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: #ffffff;
            border: 1px solid #cbd5e1;
            color: #0f172a;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 13px;
        }
        .cat-pills-nav-btn:hover {
            background: #B85D43;
            color: #ffffff;
            border-color: #B85D43;
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 6px 16px rgba(184, 93, 67, 0.35);
        }
        .cat-pills-nav-btn.prev {
            left: -8px;
        }
        .cat-pills-nav-btn.next {
            right: -8px;
        }

        .category-pills-bar {
            display: flex;
            align-items: center;
            gap: 8px;
            overflow-x: auto;
            white-space: nowrap;
            padding: 6px 2px 10px 2px;
            scrollbar-width: none;
            -ms-overflow-style: none;
            width: 100%;
            scroll-behavior: smooth;
            cursor: grab;
        }
        .category-pills-bar:active,
        .category-pills-bar.is-dragging {
            cursor: grabbing;
            user-select: none;
            scroll-behavior: auto;
        }
        .category-pills-bar::-webkit-scrollbar {
            display: none;
        }
        .cat-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
            color: #334155;
            text-decoration: none;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            flex-shrink: 0;
            box-shadow: 0 1px 3px rgba(0,0,0,0.03);
        }
        .cat-pill:hover {
            border-color: #B85D43;
            color: #B85D43;
            background: #FBF0EB;
            transform: translateY(-1px);
        }
        .cat-pill.active {
            background: #9E4932 !important;
            border-color: #9E4932 !important;
            color: #ffffff !important;
            font-weight: 700 !important;
            box-shadow: 0 4px 12px rgba(158, 73, 50, 0.25) !important;
        }
        .cat-pill-count {
            background: rgba(0, 0, 0, 0.06);
            color: inherit;
            font-size: 11px;
            font-weight: 700;
            padding: 1px 7px;
            border-radius: 20px;
            line-height: 1.3;
        }
        .cat-pill.active .cat-pill-count {
            background: rgba(255, 255, 255, 0.25);
            color: #ffffff;
        }

        /* Mobile Drawer Category Hierarchy */
        .drawer-cat-parent {
            font-weight: 700;
            color: #1e293b;
            background: #f8fafc;
            border-radius: 10px;
            padding: 10px 14px;
            margin-bottom: 4px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            text-decoration: none;
            transition: background 0.15s ease;
        }
        .drawer-cat-parent:hover {
            background: #FBF0EB;
            color: #B85D43;
        }
        .drawer-cat-child {
            padding: 6px 12px 6px 34px;
            font-size: 13px;
            color: #475569;
            display: flex;
            align-items: center;
            justify-content: space-between;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.15s ease;
        }
        .drawer-cat-child:hover {
            background: #f1f5f9;
            color: #B85D43;
            padding-left: 38px;
        }
        .drawer-cat-child.active {
            background: #FBF0EB;
            color: #B85D43;
            font-weight: 700;
        }

        /* Filter & Sorting Bar */
        .filter-chip {
            background: #f1f5f9;
            color: #475569;
            border: 1px solid #e2e8f0;
            padding: 5px 14px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        .filter-chip:hover, .filter-chip.active {
            background: var(--primary);
            color: #ffffff;
            border-color: var(--primary);
            box-shadow: 0 2px 8px rgba(184, 93, 67, 0.25);
        }

        /* Trending Spotlight Ribbon */
        .spotlight-card {
            background: linear-gradient(135deg, #B85D43 0%, #9E4932 100%);
            border-radius: 20px;
            padding: 20px;
            color: #ffffff;
            box-shadow: 0 10px 24px rgba(184, 93, 67, 0.2);
            position: relative;
            overflow: hidden;
            margin-bottom: 28px;
        }

        .spotlight-scroll {
            display: flex;
            gap: 14px;
            overflow-x: auto;
            padding: 8px 2px;
            scrollbar-width: none;
            scroll-behavior: smooth;
            cursor: grab;
        }

        .spotlight-scroll:active {
            cursor: grabbing;
        }

        .spotlight-scroll::-webkit-scrollbar {
            display: none;
        }

        .spotlight-nav-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.35);
            color: #ffffff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 12px;
            transition: all 0.2s ease;
        }

        .spotlight-nav-btn:hover {
            background: #ffffff;
            color: var(--primary-dark);
        }

        .spotlight-plant-pill {
            background: rgba(255, 255, 255, 0.96);
            border-radius: 14px;
            padding: 8px 12px;
            min-width: 220px;
            max-width: 220px;
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--dark);
            transition: all 0.2s ease;
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
            flex-shrink: 0;
        }

        .spotlight-plant-pill:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 18px rgba(0,0,0,0.15);
            background: #ffffff;
        }

        .spotlight-img {
            width: 48px;
            height: 48px;
            border-radius: 10px;
            object-fit: cover;
        }

        /* Product Cards */

/* ==========================================================================
   PRODUCT CARDS (CATALOG GRID)
   ========================================================================== */
.plant-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    position: relative;
}

.plant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(184, 93, 67, 0.12);
    border-color: var(--primary-soft);
}

.plant-img-wrapper {
    position: relative;
    background: #f8fafc;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.plant-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.plant-card:hover .plant-img {
    transform: scale(1.08);
}

.plant-placeholder-icon {
    font-size: 50px;
    color: #cbd5e1;
}

.featured-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(217, 119, 6, 0.95);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 2;
}

.stock-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.stock-tag.out-of-stock {
    background: rgba(220, 38, 38, 0.9);
}

.quick-view-overlay-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--dark);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    opacity: 0.9;
    transition: all 0.2s ease;
    z-index: 2;
}

.quick-view-overlay-btn:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    opacity: 1;
}

.plant-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.plant-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.plant-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.plant-pricing {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: auto;
    margin-bottom: 12px;
}

.price-val {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-dark);
}

.price-unit {
    font-size: 12px;
    color: var(--text-muted);
}

.add-cart-btn {
    background: var(--primary-soft);
    color: var(--primary-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    cursor: pointer;
}

.add-cart-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(184, 93, 67, 0.25);
}

/* ==========================================================================
   FLOATING STICKY CART BAR & MOBILE APP BOTTOM BAR
   ========================================================================== */
.cart-sticky-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 500px;
    background: #ffffff;
    border-radius: 18px;
    padding: 10px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    border: 1px solid var(--border);
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 991px) {
    .cart-sticky-bar {
        bottom: 70px;
    }
}

@keyframes slideUp {
    from { transform: translate(-50%, 100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

.cart-checkout-btn {
    background: var(--wa-color);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: 0.2s;
}

.cart-checkout-btn:hover {
    background: var(--wa-hover);
}

/* Mobile Bottom App Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1035;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}

.mob-nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    width: 20%;
    padding: 6px 0;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.mob-nav-item i {
    font-size: 18px;
    margin-bottom: 2px;
}

.mob-nav-item.active, .mob-nav-item:hover {
    color: var(--primary);
}

.mob-cart-badge {
    position: absolute;
    top: 2px;
    right: 18px;
    background: #dc2626;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
}

/* Cart Offcanvas Modal Rows */
.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.qty-btn {
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.qty-val {
    font-weight: 700;
    margin: 0 8px;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE LAYOUT (SHOW / PLANT)
   ========================================================================== */
.plant-main-card {
    background: #ffffff;
    border: 1px solid #EFE4DC;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.plant-image-stage {
    background: #f8fafc;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.plant-hero-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.plant-hero-img:hover {
    transform: scale(1.05);
}

.plant-badge-top {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #B85D43 0%, #9E4932 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.delivery-estimator-box {
    background: #FBF7F0;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.spec-item-box {
    background: #f8fafc;
    border: 1px solid #EFE4DC;
    border-radius: 14px;
    padding: 12px;
    height: 100%;
    transition: all 0.2s;
}

.spec-item-box:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.spec-icon {
    font-size: 20px;
    margin-bottom: 6px;
    display: inline-block;
}

.spec-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
}

.spec-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
}

.related-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #EFE4DC;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(184, 93, 67, 0.12);
    transform: translateY(-2px);
}

.related-img {
    width: 75px;
    height: 75px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f8fafc;
}

.gallery-thumb-btn {
    border: 2px solid transparent;
    background: #ffffff;
    padding: 2px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-thumb-btn:hover, .gallery-thumb-btn.active {
    border-color: var(--primary);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(184, 93, 67, 0.15);
}

.cart-icon-circle {
    width: 40px;
    height: 40px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.qty-input-group {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 4px 8px;
    width: 120px;
    justify-content: space-between;
    background: #ffffff;
}

.qty-btn-circle {
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--dark);
}

.qty-btn-circle:hover {
    background: var(--primary);
    color: #ffffff;
}

.qty-number {
    font-weight: 800;
    font-size: 15px;
    color: var(--dark);
}

/* ==========================================================================
   ORDER TRACKING PAGE (TRACK)
   ========================================================================== */
.track-card {
    background: #ffffff;
    border: 1px solid #EFE4DC;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    overflow: hidden;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 30px 0 20px;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 30px;
    right: 30px;
    height: 4px;
    background: #EFE4DC;
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.timeline-step.active .step-icon {
    background: var(--primary);
    border-color: var(--primary-light);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(184, 93, 67, 0.2);
}

.timeline-step.completed .step-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.step-label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
}

.timeline-step.active .step-label {
    color: var(--primary-dark);
    font-weight: 800;
}

/* ==========================================================================
   ABOUT US PAGE (ABOUT)
   ========================================================================== */
.about-hero {
    background: linear-gradient(135deg, #201815 0%, #2E231F 55%, #9E4932 100%);
    color: #ffffff;
    padding: 60px 0 55px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 93, 67, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.badge-craft-hero {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #fef08a;
    padding: 6px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    color: #ffffff;
    transition: transform 0.2s;
}

.kpi-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14);
}

.kpi-number {
    font-size: 28px;
    font-weight: 800;
    color: #f6c77f;
    line-height: 1.1;
    font-family: var(--font-mono);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 12.5px;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.award-gold-card {
    background: linear-gradient(135deg, #fdf7ec 0%, #faebd7 100%);
    border: 1px solid #ebd3be;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(184, 93, 67, 0.08);
}

.feature-card {
    background: #ffffff;
    border: 1px solid #EFE4DC;
    border-radius: 20px;
    padding: 24px 20px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(184, 93, 67, 0.12);
    border-color: var(--primary);
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

/* ==========================================================================
   SITEMAP PAGE (SITEMAP)
   ========================================================================== */
.sitemap-hero {
    background: linear-gradient(135deg, #201815 0%, #2E231F 50%, #3D2E28 100%);
    color: #ffffff;
    padding: 45px 0 35px;
    border-bottom: 3px solid var(--primary);
}

.category-sitemap-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #EFE4DC;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-sitemap-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(184, 93, 67, 0.12);
    border-color: var(--primary);
}

.sitemap-plant-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: var(--dark);
    transition: background 0.15s ease;
}

.sitemap-plant-item:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.quick-page-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.quick-page-pill:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   FLOATING CART & MOBILE APP BAR
   ========================================================================== */
.cart-sticky-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 500px;
    background: #ffffff;
    border-radius: 18px;
    padding: 10px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    border: 1px solid #EFE4DC;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 991px) {
    .cart-sticky-bar {
        bottom: 70px;
    }
}

.cart-checkout-btn {
    background: var(--wa-color);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: 0.2s;
}

.cart-checkout-btn:hover {
    background: var(--wa-hover);
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #EFE4DC;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1035;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}

.mob-nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    width: 20%;
    padding: 6px 0;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.mob-nav-item.active, .mob-nav-item:hover {
    color: var(--primary);
}

.mob-cart-badge {
    position: absolute;
    top: 2px;
    right: 18px;
    background: var(--primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
}

/* ==========================================================================
   MAIN FOOTER & FEATURES STRIP
   ========================================================================== */
.catalog-features-strip {
    background: #ffffff;
    border-top: 1px solid #EFE4DC;
    border-bottom: 1px solid #EFE4DC;
}

.catalog-footer {
    background: linear-gradient(180deg, #201815 0%, #171311 100%);
    color: #ffffff;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.footer-social-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

/* ==========================================================================
   UNIFIED BUTTONS & UTILITIES (TERRACOTTA THEME WITH WHATSAPP PRESERVED)
   ========================================================================== */
/* Primary Buttons */
.btn-primary { 
    background-color: var(--primary) !important; 
    border-color: var(--primary) !important; 
    color: #fff !important; 
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { 
    background-color: var(--primary-dark) !important; 
    border-color: var(--primary-dark) !important; 
    color: #fff !important; 
}
.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background-color: transparent !important;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

/* Success Buttons (Mapped to Terracotta, WhatsApp preserved) */
.btn-success:not([style*="25D366"]):not(.btn-whatsapp):not([class*="whatsapp"]) { 
    background-color: var(--primary) !important; 
    border-color: var(--primary) !important; 
    color: #fff !important; 
}
.btn-success:not([style*="25D366"]):not(.btn-whatsapp):not([class*="whatsapp"]):hover, 
.btn-success:not([style*="25D366"]):not(.btn-whatsapp):not([class*="whatsapp"]):focus, 
.btn-success:not([style*="25D366"]):not(.btn-whatsapp):not([class*="whatsapp"]):active { 
    background-color: var(--primary-dark) !important; 
    border-color: var(--primary-dark) !important; 
    color: #fff !important; 
}
.btn-outline-success:not([style*="25D366"]):not(.btn-whatsapp):not([class*="whatsapp"]) {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background-color: transparent !important;
}
.btn-outline-success:not([style*="25D366"]):not(.btn-whatsapp):not([class*="whatsapp"]):hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

/* Text & Border Color Utilities */
.text-primary { 
    color: var(--primary) !important; 
}
.border-primary { 
    border-color: var(--primary) !important; 
}
.text-success:not(.fa-whatsapp):not(.text-whatsapp):not([style*="25D366"]):not([class*="whatsapp"]) { 
    color: var(--primary) !important; 
}
a.text-success:not(.fa-whatsapp):not(.text-whatsapp):not([style*="25D366"]):not([class*="whatsapp"]) {
    color: var(--primary) !important;
}
a.text-success:not(.fa-whatsapp):not(.text-whatsapp):not([style*="25D366"]):not([class*="whatsapp"]):hover {
    color: var(--primary-dark) !important;
}
.border-success, .border-success-subtle { 
    border-color: var(--border) !important; 
}

/* Solid Backgrounds */
.bg-primary:not([class*="bg-opacity-"]) { 
    background-color: var(--primary) !important; 
    color: #fff !important; 
}
.bg-success:not([class*="bg-opacity-"]):not([style*="25D366"]):not(.bg-whatsapp):not([class*="whatsapp"]) { 
    background-color: var(--primary) !important; 
    color: #fff !important; 
}

/* Subtle Badges */
.bg-success-subtle, .bg-primary-subtle,
.badge.bg-success-subtle, .badge.bg-primary-subtle {
    background-color: #FBF0EB !important;
    color: #9E4932 !important;
    border-color: #EFE4DC !important;
}
.badge.border-success-subtle, .badge.border-primary-subtle {
    border-color: #EFE4DC !important;
}

/* Soft Opacity Helpers */
.bg-primary.bg-opacity-10, .bg-primary-soft, .bg-soft-primary,
.bg-success.bg-opacity-10, .bg-success-soft, .bg-soft-success {
    background-color: rgba(184, 93, 67, 0.12) !important;
    color: var(--primary-dark) !important;
}
.bg-primary.bg-opacity-20, .bg-success.bg-opacity-20 {
    background-color: rgba(184, 93, 67, 0.20) !important;
    color: var(--primary-dark) !important;
}

/* WHATSAPP ACTION BUTTONS & ICONS (EXCLUSIVE BRAND GREEN) */
.text-whatsapp, .fa-whatsapp, .fab.fa-whatsapp, a[href*="wa.me"] i {
    color: #25D366 !important;
}
.btn-whatsapp, a[href*="wa.me"].btn-success {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: #ffffff !important;
}
.btn-whatsapp:hover, a[href*="wa.me"].btn-success:hover {
    background-color: #1ebd5a !important;
    border-color: #1ebd5a !important;
    color: #ffffff !important;
}

/* ==========================================================================
   WCAG AA/AAA HIGH CONTRAST ACCESSIBILITY FIXES (LIGHTHOUSE OPTIMIZATION)
   ========================================================================== */
:root {
    --primary: #ad5037;
    --primary-dark: #913c24;
}

.plant-category {
    color: #913c24 !important;
}
.story-cat-name {
    color: #1f2937 !important;
}
.stock-tag {
    background-color: #7c2d12 !important;
    color: #ffffff !important;
}
.badge.bg-danger, .badge.text-bg-danger {
    background-color: #991b1b !important;
    color: #ffffff !important;
}
.featured-tag {
    color: #991b1b !important;
    background-color: #fee2e2 !important;
}
.text-success, .text-success-emphasis {
    color: #14532d !important;
}
.text-danger, .text-danger-emphasis {
    color: #991b1b !important;
}
.text-warning, .text-warning-emphasis {
    color: #854d0e !important;
}
.text-info, .text-info-emphasis {
    color: #0e7490 !important;
}
.text-primary, .text-primary-emphasis {
    color: #913c24 !important;
}
.badge.bg-success-subtle.text-success {
    background-color: #dcfce7 !important;
    color: #14532d !important;
}
.badge.bg-danger-subtle.text-danger {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
}
.badge.bg-warning-subtle.text-warning {
    background-color: #fef9c3 !important;
    color: #854d0e !important;
}
.badge.bg-info-subtle.text-info {
    background-color: #e0f2fe !important;
    color: #0369a1 !important;
}
.btn-light.text-danger {
    color: #991b1b !important;
}
.btn-light.text-primary {
    color: #913c24 !important;
}
.btn-light.text-success {
    color: #14532d !important;
}
.btn-outline-success {
    color: #14532d !important;
    border-color: #14532d !important;
}
.btn-outline-success:hover {
    background-color: #14532d !important;
    border-color: #14532d !important;
    color: #ffffff !important;
}
.mob-navstrip-chip.active {
    background: #913c24 !important;
    color: #ffffff !important;
    border-color: #913c24 !important;
}

