/* -------------------------------------------------------------
   SMART BOTTOM DRAWER (ULTRA SLIM TOP-TIER MENU)
   ------------------------------------------------------------- */
.smart-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: var(--current-glass-blur); transform: translateZ(0); will-change: backdrop-filter, transform;
    -webkit-backdrop-filter: var(--current-glass-blur); transform: translateZ(0); will-change: backdrop-filter, transform;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.smart-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.smart-bottom-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1060;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    background: rgba(13, 15, 23, 0.96);
    backdrop-filter: var(--current-glass-blur); transform: translateZ(0); will-change: backdrop-filter, transform;
    -webkit-backdrop-filter: var(--current-glass-blur); transform: translateZ(0); will-change: backdrop-filter, transform;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s step-end;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.smart-bottom-drawer.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}

html[data-theme="light"] .smart-bottom-drawer {
    background: rgba(250, 248, 244, 0.98);
    border-top-color: rgba(9, 10, 15, 0.12);
    box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.smart-drawer-handle-wrap {
    width: 100%;
    padding: 8px 0 2px;
    display: flex;
    justify-content: center;
    cursor: grab;
}

.smart-drawer-handle {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.22);
}

html[data-theme="light"] .smart-drawer-handle {
    background: rgba(0, 0, 0, 0.2);
}

.smart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 16px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

html[data-theme="light"] .smart-drawer-header {
    border-bottom-color: rgba(9, 10, 15, 0.07);
}

.smart-drawer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.smart-drawer-brand-text {
    display: flex;
    flex-direction: column;
}

.smart-drawer-brand-text .brand-name {
    font-family: var(--font-serif);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    line-height: 1.1;
}

.smart-drawer-brand-text .brand-sub {
    font-size: 0.58rem;
    color: var(--accent-brand);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.smart-drawer-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.smart-drawer-close:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--accent-brand);
    color: var(--accent-brand);
}

html[data-theme="light"] .smart-drawer-close {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.smart-drawer-body {
    padding: 10px 14px 18px;
    overflow-y: auto;
    max-height: calc(85vh - 60px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
}

/* Compact Promo Card */
.smart-drawer-promo-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(184, 150, 53, 0.04) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    overflow: hidden;
}

.promo-badge {
    align-self: flex-start;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #090a0f;
    background: linear-gradient(135deg, #f5d77f 0%, #d4af37 100%);
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}

.promo-title {
    font-family: var(--font-serif);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1px 0 0;
}

.promo-desc {
    font-size: 0.62rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

.promo-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px dashed rgba(212, 175, 55, 0.2);
}

.promo-price {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--accent-brand);
}

.smart-promo-btn,
.smart-promo-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5d77f 0%, #d4af37 100%);
    color: #090a0f !important;
    font-size: 0.60rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.smart-promo-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.45);
}

/* Nav Grid - Ultra Slim Cards */
.smart-drawer-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (max-width: 380px) {
    .smart-drawer-nav-grid {
        grid-template-columns: 1fr;
    }
}

.smart-nav-card,
.smart-nav-card:visited {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

html[data-theme="light"] .smart-nav-card,
html[data-theme="light"] .smart-nav-card:visited {
    background: rgba(0, 0, 0, 0.025);
    border-color: rgba(0, 0, 0, 0.05);
    color: #090a0f;
}

.smart-nav-card:hover,
.smart-nav-card.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.35);
    transform: translateY(-1px);
}

.smart-nav-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--accent-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.smart-nav-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.smart-nav-label {
    font-size: 0.70rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.smart-nav-sub {
    font-size: 0.55rem;
    color: var(--text-secondary);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Feature Chips */
.smart-drawer-features-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.feature-chip {
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 4px 8px;
    border-radius: 14px;
}

html[data-theme="light"] .feature-chip {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

/* Footer in Drawer */
.smart-drawer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

html[data-theme="light"] .smart-drawer-footer {
    border-top-color: rgba(9, 10, 15, 0.07);
}

.drawer-theme-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

html[data-theme="light"] .drawer-theme-switcher {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

.drawer-theme-switcher:hover {
    background: rgba(212, 175, 55, 0.12);
}

.theme-switcher-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-primary);
}

.theme-pill-badge {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--accent-brand);
    text-transform: uppercase;
}

.drawer-whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.25);
    color: #25d366;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.drawer-whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.22);
}

/* Force hide mobile smart bottom drawer & backdrop on desktop */
@media (min-width: 768px) {
    .smart-drawer-backdrop,
    .smart-bottom-drawer {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
    }
}


        @media (max-width: 767px) {
            .top-banner,
            header,
            header#main-header {
                display: none !important;
            }
        }

        

/* -------------------------------------------------------------
           SECTION 01: ROTATING SMART ANNOUNCEMENT BAR (Opacity Crossfade)
           ------------------------------------------------------------- */
        .top-banner {
            background-color: #050608;
            color: var(--text-secondary);
            height: 38px;
            overflow: hidden;
            position: relative;
            font-size: var(--text-small);
            font-weight: 500;
            border-bottom: 1px solid var(--border-subtle);
            z-index: 300;
        }

        .banner-track {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .banner-item {
            position: absolute;
            inset: 0;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.6s var(--ease-smooth), visibility 0.6s var(--ease-smooth);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 0 20px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

        .banner-item.active {
            opacity: 1;
            visibility: visible;
        }

        .banner-item strong {
            color: var(--accent-brand);
            font-weight: 600;
        }

        /* -------------------------------------------------------------
           SECTION 02: STICKY GLASSHEADER & PERSISTENT EDGE TAB
           ------------------------------------------------------------- */
        header {
            position: fixed;
            top: 38px;
            left: 0;
            right: 0;
            z-index: 500;
            background: rgba(9, 10, 15, 0.72);
            backdrop-filter: var(--current-glass-blur); transform: translateZ(0); will-change: backdrop-filter, transform;
            -webkit-backdrop-filter: var(--current-glass-blur); transform: translateZ(0); will-change: backdrop-filter, transform;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
            transition: top 0.3s var(--ease-smooth), background 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
        }

        header.scrolled {
            top: 0;
            background: rgba(9, 10, 15, 0.92);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 24px;
        }

        .brand-logo-wrap {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--text-primary);
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }

        .brand-logo-icon {
            width: 34px;
            height: 34px;
            overflow: visible;
            flex-shrink: 0;
        }

        .brand-logo-text {
            font-family: var(--font-serif);
            font-size: 1.25rem;
            font-weight: 600;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }

        /* ——— GG Logo Animation System ——— */

        /* Ring arc: subtle gold glow on hover */
        .gg-logo-svg .gg-arc {
            transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .gg-logo-wrap:hover .gg-logo-svg .gg-arc {
            filter: drop-shadow(0 0 7px rgba(212, 175, 55, 0.65));
        }

        /* Teeth — staggered slide out + spring back */
        .gg-logo-wrap:hover .gg-logo-svg .gg-t1 {
            animation: ggTooth1Nav 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.00s both;
        }
        .gg-logo-wrap:hover .gg-logo-svg .gg-t2 {
            animation: ggTooth2Nav 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both;
        }
        .gg-logo-wrap:hover .gg-logo-svg .gg-t3 {
            animation: ggTooth3Nav 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
        }

        /* Wordmark letter-spacing stretch */
        .gg-wordmark {
            background: linear-gradient(135deg, #f0d080 0%, #d4af37 55%, #9a7e2a 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            transition: letter-spacing 0.45s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .gg-logo-wrap:hover .gg-wordmark {
            letter-spacing: 0.20em;
        }

        @keyframes ggTooth1Nav {
            0%   { transform: translate(0px,   0px); }
            40%  { transform: translate(10px, -8px); }
            100% { transform: translate(0px,   0px); }
        }
        @keyframes ggTooth2Nav {
            0%   { transform: translate(0px, 0px); }
            40%  { transform: translate(11px, 0px); }
            100% { transform: translate(0px, 0px); }
        }
        @keyframes ggTooth3Nav {
            0%   { transform: translate(0px, 0px); }
            40%  { transform: translate(9px,  8px); }
            100% { transform: translate(0px, 0px); }
        }

        .nav-links {
            display: flex;
            gap: 32px;
            list-style: none;
            align-items: center;
        }

        .nav-link-btn {
            color: var(--text-primary);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 4px;
            background: none;
            border: none;
            padding: 8px 0;
            transition: color 0.2s;
        }

        .nav-link-btn:hover {
            color: var(--accent-brand);
        }

        .cart-pill-btn {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 1px solid var(--border-subtle);
            background: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s var(--ease-smooth);
        }

        .cart-pill-btn:hover {
            background: var(--surface-dark);
            color: #ffffff;
            transform: scale(1.05);
        }

        /* Theme Switcher Button */
        .theme-toggle-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid var(--border-subtle);
            background: rgba(255, 255, 255, 0.08);
            color: var(--text-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s var(--ease-smooth);
        }

        .theme-toggle-btn:hover {
            transform: scale(1.08) rotate(15deg);
            border-color: var(--accent-brand);
            color: var(--accent-brand);
        }

        html[data-theme="light"] .sun-icon { display: none; }
        html[data-theme="light"] .moon-icon { display: block; }
        html[data-theme="dark"] .sun-icon { display: block; }
        html[data-theme="dark"] .moon-icon { display: none; }

        /* Light Theme System Overrides */
        html[data-theme="light"] {
            --surface-primary: #f8f6f1;
            --surface-elevated: #ffffff;
            --surface-card: #ffffff;
            --surface-dark: #090a0f;
            --text-primary: #090a0f;
            --text-secondary: #68645d;
            --text-on-dark: #ece7df;
            --accent-brand: #b89635;
            --accent-action: #1d70b8;
            --border-subtle: rgba(9, 10, 15, 0.08);
        }

        html[data-theme="light"] body {
            background-color: #f8f6f1 !important;
            color: #090a0f !important;
        }

        html[data-theme="light"] header {
            background: rgba(248, 246, 241, 0.78);
            border-bottom: 1px solid rgba(9, 10, 15, 0.08);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
        }

        html[data-theme="light"] header.scrolled {
            background: rgba(248, 246, 241, 0.95);
            box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
        }

        html[data-theme="light"] .top-banner {
            background-color: #f0ebe1;
            color: #68645d;
            border-bottom: 1px solid rgba(9, 10, 15, 0.08);
        }

        html[data-theme="light"] .banner-item strong {
            color: #090a0f;
        }

        html[data-theme="light"] .global-grid-overlay {
            background-image: 
                linear-gradient(to right, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
        }

        html[data-theme="light"] .biomarker-pill {
            background: #ffffff;
            border: 1px solid rgba(9, 10, 15, 0.1);
            color: #1f2937;
        }

        html[data-theme="light"] .trust-strip {
            background: #ffffff;
            border-top: 1px solid rgba(9, 10, 15, 0.08);
            border-bottom: 1px solid rgba(9, 10, 15, 0.08);
        }

        html[data-theme="light"] .trust-item {
            background: rgba(9, 10, 15, 0.03);
            border: 1px solid rgba(9, 10, 15, 0.08);
            color: #090a0f;
        }

        html[data-theme="light"] .trust-text-title { color: #090a0f; }
        html[data-theme="light"] .trust-text-desc { color: #68645d; }

        

.mega-drawer {
            background: rgba(248, 246, 241, 0.98);
            border-bottom: 1px solid rgba(9, 10, 15, 0.1);
            color: #090a0f !important;
        }

        html[data-theme="light"] .mega-product-card {
            background: #ffffff;
            border: 1px solid rgba(9, 10, 15, 0.1);
            color: #090a0f !important;
        }

        html[data-theme="light"] .mega-drawer a,
        html[data-theme="light"] .mega-drawer h4 {
            color: #090a0f !important;
        }

        html[data-theme="light"] .drawer {
            background: #ffffff;
            color: #090a0f !important;
        }

        html[data-theme="light"] .drawer h3,
        html[data-theme="light"] .drawer label,
        html[data-theme="light"] .drawer span,
        html[data-theme="light"] .drawer strong {
            color: #090a0f !important;
        }

        html[data-theme="light"] .form-input {
            background: #f8f6f1;
            color: #090a0f !important;
            border-color: rgba(9, 10, 15, 0.15);
        }

        /* Persistent Left Edge Tab (Desktop Only) */
        .persistent-edge-tab {
            position: fixed;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            z-index: 180;
            background: var(--surface-dark);
            color: var(--accent-brand);
            padding: 14px 10px;
            writing-mode: vertical-rl;
            text-orientation: mixed;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            border-radius: 0 12px 12px 0;
            cursor: pointer;
            box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
            transition: transform 0.2s ease, background 0.2s ease;
            display: none;
        }

        @media (min-width: 1200px) {
            .persistent-edge-tab {
                display: flex;
                align-items: center;
                gap: 6px;
            }

            .persistent-edge-tab:hover {
                transform: translateY(-50%) translateX(4px);
                background: var(--accent-brand);
                color: #ffffff;
            }
        }

        /* Mega Dropdown Drawers */
        .mega-drawer {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #faf8f5;
            border-bottom: 1px solid var(--border-subtle);
            padding: 40px 8%;
            box-shadow: 0 20px 50px rgba(9, 10, 15, 0.08);
            display: none;
            z-index: 210;
            opacity: 0;
            transform: translateY(-10px);
            transition: opacity 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
        }

        .mega-drawer.active {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }


html[data-theme="light"] .mega-drawer {
    background: rgba(250, 248, 244, 0.98);
    border-top-color: rgba(9, 10, 15, 0.08);
}
html[data-theme="light"] .mega-drawer h4, html[data-theme="light"] .mega-drawer p {
    color: #090a0f !important;
}

/* Slide-Over Navigation Drawer */
.global-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: rgba(9, 10, 15, 0.96);
    backdrop-filter: var(--current-glass-blur); transform: translateZ(0); will-change: backdrop-filter, transform;
    border-left: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
    z-index: 99990;
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s step-end, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 40px 36px;
}

.global-nav-drawer.active {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.nav-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: var(--current-glass-blur); transform: translateZ(0); will-change: backdrop-filter, transform;
    z-index: 99980;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.nav-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.nav-drawer-title {
    font-family: var(--font-serif, 'Cormorant Garamond', serif);
    font-size: 1.5rem;
    color: var(--accent-brand, #d4af37);
    letter-spacing: 0.05em;
}

.nav-drawer-close {
    background: transparent;
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.15));
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.nav-drawer-close:hover {
    border-color: var(--accent-brand, #d4af37);
    color: var(--accent-brand, #d4af37);
    transform: rotate(90deg);
}

.nav-drawer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-drawer-link {
    font-family: var(--font-serif, 'Cormorant Garamond', serif);
    font-size: 2.2rem;
    color: var(--text-primary, #f5f2eb);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-drawer-link:hover {
    color: var(--accent-brand, #d4af37);
    transform: translateX(10px);
}

.nav-drawer-link .link-num {
    font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.8rem;
    color: var(--accent-brand, #d4af37);
    opacity: 0.6;
}

.nav-drawer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-drawer-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.nav-drawer-card-info h4 {
    font-size: 0.95rem;
    color: var(--text-primary, #f5f2eb);
    margin-bottom: 4px;
}

.nav-drawer-card-info p {
    font-size: 0.8rem;
    color: var(--accent-brand, #d4af37);
}


.persistent-edge-tab {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left bottom;
    background: var(--accent-brand, #d4af37);
    color: #000;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    z-index: 9900;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.persistent-edge-tab:hover {
    background: #fff;
    color: #000;
    padding-left: 28px;
}

/* -------------------------------------------------------------
   RINGCONN STYLE MEGA MENU GALLERY
   ------------------------------------------------------------- */
.ringconn-mega {
    background: #ffffff !important;
    padding: 30px 40px !important;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="dark"] .ringconn-mega {
    background: rgba(9, 10, 15, 0.98) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6) !important;
}

.mega-gallery-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.mega-gallery-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 240px;
    transition: transform 0.3s ease;
}

.mega-gallery-card:hover {
    transform: translateY(-4px);
}

.card-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border-subtle);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mega-gallery-card:hover .card-img-wrapper img {
    transform: scale(1.03);
}

.mega-gallery-card .card-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    transition: color 0.2s;
}

.mega-gallery-card:hover .card-title {
    color: var(--accent-brand);
}

/* -------------------------------------------------------------
   RS. 1 VIP ACCESS DRAW — MEGA NAV BADGE & PULSE INDICATOR
   ------------------------------------------------------------- */
.vip-shimmer-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: linear-gradient(135deg, #f5d77f 0%, #b89635 50%, #8b6914 100%);
    background-size: 200% 200%;
    animation: goldShimmer 3s ease infinite;
    color: #090a0f;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(184, 150, 53, 0.4);
    text-transform: uppercase;
    pointer-events: none;
}

@keyframes goldShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: livePulse 1.8s infinite;
    display: inline-block;
}

@keyframes livePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Header CTA Button */
.header-cta-btn {
    background: linear-gradient(135deg, #f5d77f 0%, #d4af37 100%);
    color: #090a0f !important;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.header-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

/* Hide Desktop Top Navigation Header & Announcement Banner on Mobile View */
@media (max-width: 767px) {
    header#main-header,
    header,
    .top-banner {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
        overflow: hidden !important;
    }
}

