/* ==========================================================================
   SHAÏSTINE PRIVÉ — FINE PERFUMERY & BESPOKE SILLAGE
   Black & Royal Gold Luxury Aesthetics & 213-Frame Interactive Canvas Engine
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@200;300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    /* Deep Luxury Black & Charcoal Velvet Palette */
    --bg-black: #050505;
    --bg-secondary: #0B0B0B;
    --bg-obsidian: #080808;
    --bg-noir: #0B0B0B;
    --bg-surface: #111111;
    --bg-card: #111111;
    --bg-card-glass: rgba(17, 17, 17, 0.92);
    --bg-card-hover: #161616;
    --bg-white: #0B0B0B;
    --bg-cream: #050505;

    /* Metallic Royal Gold Palette */
    --gold: #D4AF37;
    --gold-primary: #D4AF37;
    --gold-light: #F5D77A;
    --gold-highlights: #F5D77A;
    --gold-bright: #F5D77A;
    --gold-deep: #8C6A20;
    --gold-antique: #8C6A20;
    --gold-glow: rgba(212, 175, 55, 0.28);
    --gold-border: rgba(212, 175, 55, 0.28);
    --gold-border-bright: rgba(245, 215, 122, 0.65);

    /* Backwards-compatible aliases for legacy classes */
    --rosegold: var(--gold);
    --rosegold-light: var(--gold-light);
    --rosegold-bright: var(--gold-bright);
    --rosegold-deep: var(--gold-deep);
    --rosegold-glow: var(--gold-glow);
    --rosegold-border: var(--gold-border);
    --rosegold-border-bright: var(--gold-border-bright);

    /* Luxury High-Contrast Typography on Dark */
    --text-white: #FFFFFF;
    --text-light: #F8F4E8;
    --text-primary: #F8F4E8;
    --text-main: #F8F4E8;
    --text-secondary: #BDB5A2;
    --text-muted: #BDB5A2;
    --text-dim: #7E7664;
    --text-dark: #FFFFFF;
    --text-rosegold: var(--gold-light);
    --text-gold: var(--gold-light);

    /* Fonts */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Smooth Scroll */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-black);
    color: var(--text-main);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-black);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Custom Luxury Rose Gold Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #1e1910;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--rosegold);
}

/* Text Selection */
::selection {
    background-color: var(--rosegold);
    color: #050505;
}

/* Typography Helpers */
.font-editorial {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.font-serif-luxury {
    font-family: var(--font-display);
    letter-spacing: 0.02em;
}

.gold-subtitle {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--rosegold);
    font-weight: 600;
    margin-bottom: 12px;
}

.gold-gradient-text {
    background: linear-gradient(90deg, #D4AF37 0%, #FFF3D1 30%, #F5D77A 50%, #D4AF37 70%, #8C6A20 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rosegoldShine 6s linear infinite;
}

@keyframes rosegoldShine {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Glassmorphism Dark Panels */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--rosegold-border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass-pill {
    background: rgba(22, 16, 20, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--rosegold-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--rosegold-glow);
}

/* Layout Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.section {
    padding: 120px 0;
    position: relative;
    z-index: 5;
    background-color: var(--bg-obsidian);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px auto;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--text-white);
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-desc {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
    position: fixed;
    inset: 0;
    background-color: #050505;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--transition-smooth), visibility 0.8s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    max-width: 380px;
    padding: 20px;
}

.preloader-monogram {
    font-family: var(--font-display);
    font-size: 48px;
    font-style: italic;
    color: var(--rosegold);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    animation: monogramPulse 2.4s ease-in-out infinite alternate;
}

@keyframes monogramPulse {
    0% {
        transform: scale(0.96);
        opacity: 0.7;
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.35));
    }
    100% {
        transform: scale(1.04);
        opacity: 1;
        filter: drop-shadow(0 0 22px rgba(245, 215, 122, 0.65));
    }
}

.preloader-brand {
    font-family: var(--font-serif);
    font-size: 20px;
    letter-spacing: 0.32em;
    color: var(--text-white);
    margin-bottom: 8px;
}

.preloader-sub {
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--rosegold-light);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.preloader-bar-bg {
    width: 240px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 12px auto;
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--rosegold-deep), var(--rosegold), var(--rosegold-light));
    transition: width 0.15s ease-out;
}

.preloader-percent {
    font-size: 12px;
    font-family: var(--font-sans);
    letter-spacing: 0.15em;
    color: var(--rosegold);
    font-weight: 500;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 6, 8, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--rosegold-border);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.header-light {
    background: rgba(12, 9, 11, 0.94);
    border-bottom: 1px solid var(--rosegold-border);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.8);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.brand-title {
    font-family: var(--font-serif);
    font-size: 18px;
    letter-spacing: 0.3em;
    color: #ffffff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.site-header.header-light .brand-title {
    color: #ffffff;
}

.brand-logo:hover .brand-title {
    color: var(--rosegold);
}

.brand-tagline {
    font-size: 8.5px;
    letter-spacing: 0.35em;
    color: var(--rosegold);
    margin-top: 2px;
}

.site-header.header-light .brand-tagline {
    color: var(--rosegold-light);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    color: rgba(240, 235, 238, 0.85);
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.2em;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.site-header.header-light .nav-link {
    color: rgba(240, 235, 238, 0.85);
}

.nav-link:hover,
.nav-link.active {
    color: var(--rosegold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--rosegold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--rosegold-border);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.site-header.header-light .action-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--rosegold-border);
    color: #ffffff;
}

.action-btn:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--rosegold);
    color: var(--rosegold-light);
}

.btn-gold-pill {
    background: linear-gradient(135deg, var(--rosegold), var(--rosegold-deep));
    border: 1px solid var(--rosegold);
    color: #ffffff;
    font-weight: 600;
}

.btn-gold-pill:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #050505;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
}

.cart-btn {
    position: relative;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.site-header.header-light .cart-btn {
    color: #ffffff;
}

.cart-btn:hover {
    color: var(--rosegold);
}

.icon-svg {
    width: 22px;
    height: 22px;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    background-color: var(--rosegold);
    color: #080808;
    font-size: 9px;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sound-wave-icon {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.sound-wave-icon span {
    width: 2px;
    background-color: var(--text-muted);
    border-radius: 1px;
    transition: height 0.2s ease, background-color 0.3s ease;
}

.sound-wave-icon span:nth-child(1) { height: 4px; }
.sound-wave-icon span:nth-child(2) { height: 9px; }
.sound-wave-icon span:nth-child(3) { height: 6px; }
.sound-wave-icon span:nth-child(4) { height: 11px; }

.sound-wave-icon.playing span {
    background-color: var(--rosegold);
    animation: soundWave 1.2s ease-in-out infinite alternate;
}

.sound-wave-icon.playing span:nth-child(1) { animation-delay: 0.1s; }
.sound-wave-icon.playing span:nth-child(2) { animation-delay: 0.3s; }
.sound-wave-icon.playing span:nth-child(3) { animation-delay: 0.2s; }
.sound-wave-icon.playing span:nth-child(4) { animation-delay: 0.4s; }

@keyframes soundWave {
    0% { height: 3px; }
    100% { height: 12px; }
}

.mobile-toggle-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-toggle-btn span {
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* ==========================================================================
   1. HERO SCROLL ANIMATION & LUXURY CANVAS STAGE
   ========================================================================== */
.hero-scroll-section {
    position: relative;
    width: 100%;
    height: 350vh; /* 350vh scroll runway for smooth 300-frame scrubbing */
    background: #000000;
}

.sticky-canvas-container {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #000000;
    will-change: transform;
}

/* High-Performance Canvas */
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
    pointer-events: none;
    background: #000000;
}

/* Subtle luxury multi-directional black gradient overlay: keeps gold visuals luminous while ensuring headline readability */
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: 
        /* Left dark vignette for crystal-clear headline and CTA readability */
        linear-gradient(to right, 
            rgba(0, 0, 0, 0.88) 0%, 
            rgba(0, 0, 0, 0.72) 28%, 
            rgba(0, 0, 0, 0.35) 55%, 
            rgba(0, 0, 0, 0.15) 75%, 
            rgba(0, 0, 0, 0.45) 100%),
        /* Top and bottom cinematic fade to blend with nav and next section */
        linear-gradient(to bottom, 
            rgba(0, 0, 0, 0.75) 0%, 
            transparent 18%, 
            transparent 78%, 
            rgba(0, 0, 0, 0.95) 100%);
}

.hero-radial-vignette {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background: radial-gradient(ellipse at 70% 45%, transparent 35%, rgba(0, 0, 0, 0.55) 78%, rgba(0, 0, 0, 0.92) 100%);
}

/* Hero Typography Overlay (Permanently visible above the video) */
.hero-intro-overlay {
    position: relative;
    z-index: 20;
    margin-left: clamp(24px, 7vw, 120px);
    max-width: 580px;
    pointer-events: auto;
    opacity: 1 !important;
    padding-top: 40px;
}

.hero-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(20, 16, 12, 0.65);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-intro-badge .gold-subtitle {
    font-size: 11px;
    letter-spacing: 0.24em;
    color: #e5c46b;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-main-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    color: #ffffff;
    line-height: 1.05;
    margin-bottom: 18px;
    letter-spacing: 0.03em;
    font-weight: 500;
    text-shadow: 0 4px 35px rgba(0, 0, 0, 0.95), 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-desc {
    font-size: clamp(14px, 1.1vw, 16px);
    color: rgba(245, 235, 240, 0.92);
    font-weight: 300;
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 28px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}

.hero-title-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, rgba(212, 175, 55, 0.1));
    margin-bottom: 32px;
}

/* CTA Buttons Group above the video */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-gold-solid {
    background: linear-gradient(135deg, #d4af37 0%, #aa820a 100%);
    color: #0b0908;
    border: 1px solid #e5c46b;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.35);
}

.btn-gold-solid:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #f3d068 0%, #c49916 100%);
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.55);
    color: #000000;
}

.btn-gold-solid .btn-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.btn-gold-solid:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-gold-ghost {
    background: rgba(15, 12, 10, 0.6);
    color: #e5c46b;
    border: 1px solid rgba(212, 175, 55, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-gold-ghost:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #e5c46b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
}

/* Dynamic Story Overlay */
.hero-story-overlay {
    position: absolute;
    top: 110px;
    right: clamp(24px, 5vw, 80px);
    z-index: 18;
    pointer-events: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-story-overlay.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-badge {
    background: rgba(14, 12, 10, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    padding: 12px 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 280px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.story-chapter {
    font-size: 10px;
    letter-spacing: 0.25em;
    color: #e5c46b;
    font-weight: 700;
    text-transform: uppercase;
}

.story-title {
    font-family: var(--font-serif);
    font-size: 17px;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.story-desc {
    font-size: 11.5px;
    color: rgba(245, 235, 240, 0.75);
    line-height: 1.4;
    font-weight: 300;
}

/* Animated Scroll Indicator & Frame Scrubber Counter */
.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 15;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.scroll-frame-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(16, 12, 10, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-frame-counter:hover {
    background: rgba(30, 22, 15, 0.9);
    border-color: rgba(229, 196, 107, 0.8);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
}

.counter-label {
    font-size: 9px;
    letter-spacing: 0.24em;
    color: rgba(245, 235, 240, 0.7);
    font-weight: 500;
    text-transform: uppercase;
}

.counter-val {
    font-family: monospace, var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #e5c46b;
}

.mouse-icon {
    width: 18px;
    height: 28px;
    border: 1.5px solid var(--rosegold-border-bright);
    border-radius: 10px;
    position: relative;
    background: rgba(10, 8, 10, 0.7);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.wheel-dot {
    width: 3px;
    height: 6px;
    background: var(--rosegold-light);
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 1.6s infinite ease-in-out;
}

@keyframes mouseScroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, 9px);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, 0);
        opacity: 0;
    }
}

/* Responsive Rules for Tablet and Mobile */
@media (max-width: 900px) {
    .hero-scroll-section {
        height: 280vh; /* slightly shorter scroll on mobile for punchy feel */
    }

    .hero-intro-overlay {
        margin: 0 auto;
        padding: 90px 24px 40px;
        text-align: center;
        max-width: 92%;
    }

    .hero-title-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-story-overlay {
        top: auto;
        bottom: 80px;
        right: 50%;
        transform: translateX(50%) translateY(12px);
        width: 90%;
        max-width: 320px;
    }

    .hero-story-overlay.visible {
        transform: translateX(50%) translateY(0);
    }

    .hero-gradient-overlay {
        background: 
            linear-gradient(to bottom, 
                rgba(0, 0, 0, 0.82) 0%, 
                rgba(0, 0, 0, 0.6) 28%, 
                rgba(0, 0, 0, 0.4) 60%, 
                rgba(0, 0, 0, 0.95) 100%),
            radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.85) 100%);
    }
}

@media (max-width: 480px) {
    .hero-btn {
        width: 100%;
        padding: 13px 20px;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
    }

    .hero-main-title {
        font-size: 2.6rem;
    }
}

/* ==========================================================================
   2. OLFACTIVE ARCHITECTURE / PYRAMID
   ========================================================================== */
.pyramid-tabs-wrapper {
    max-width: 960px;
    margin: 0 auto;
}

.pyramid-tab-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.pyramid-tab {
    background: rgba(20, 14, 18, 0.7);
    border: 1px solid var(--rosegold-border);
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.pyramid-tab:hover {
    border-color: var(--rosegold);
    background: rgba(28, 20, 25, 0.9);
}

.pyramid-tab.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(20, 14, 18, 0.95));
    border-color: var(--rosegold);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.22);
}

.tab-level {
    font-size: 11px;
    font-family: var(--font-sans);
    color: var(--rosegold);
    font-weight: 600;
}

.tab-name {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--text-white);
}

.tab-time {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.pyramid-content-container {
    padding: 36px 40px;
    border-radius: 16px;
    background: rgba(14, 10, 13, 0.9);
    border: 1px solid var(--rosegold-border);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
}

.pyramid-content.hidden {
    display: none;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.note-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.note-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.note-name {
    font-size: 19px;
    color: var(--text-white);
}

.note-origin {
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--rosegold);
    text-transform: uppercase;
}

.note-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
}

.potency-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.potency-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--rosegold-deep), var(--rosegold));
    border-radius: 2px;
}

/* ==========================================================================
   3. SIGNATURE PRODUCTS COLLECTION
   ========================================================================== */
.products-grid,
#findScentsGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
}

.product-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(18, 13, 16, 0.85);
    border: 1px solid var(--rosegold-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--rosegold);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.25);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    background: rgba(24, 17, 21, 0.92);
    border: 1px solid var(--rosegold-border);
    backdrop-filter: blur(8px);
    color: var(--rosegold-light);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    padding: 4px 10px;
    border-radius: 12px;
}

.product-image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #0b080a;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: transparent;
}

.product-volume {
    font-size: 9px;
    letter-spacing: 0.16em;
    color: var(--rosegold-light);
    opacity: 0.8;
    margin-bottom: 6px;
}

.product-name {
    font-size: 22px;
    color: var(--text-white);
    margin-bottom: 4px;
}

.product-tagline {
    font-size: 12px;
    color: var(--rosegold);
    font-weight: 500;
    margin-bottom: 10px;
}

.product-notes {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-price {
    font-size: 18px;
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--text-white);
}

.btn-buy {
    background: linear-gradient(135deg, var(--rosegold), var(--rosegold-deep));
    border: 1px solid var(--rosegold);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 10px;
    letter-spacing: 0.16em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-buy:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #050505;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   4. QUIZ BANNER & PHILOSOPHY
   ========================================================================== */
.quiz-banner {
    padding: 60px 48px;
    border-radius: 20px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(45, 25, 32, 0.85) 0%, rgba(12, 9, 11, 0.98) 100%);
    border: 1px solid var(--rosegold-border);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
}

.quiz-banner-content {
    max-width: 620px;
    margin: 0 auto;
}

.quiz-banner-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--text-white);
    margin-bottom: 14px;
}

.quiz-banner-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.btn-gold-action {
    background: linear-gradient(135deg, var(--rosegold), var(--rosegold-deep));
    border: none;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 24px;
    font-size: 11px;
    letter-spacing: 0.2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(212, 175, 55, 0.35);
}

.btn-gold-action:hover {
    background: #ffffff;
    color: #050505;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(212, 175, 55, 0.4);
}

/* Philosophy */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.philosophy-card {
    padding: 40px 36px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(18, 13, 16, 0.85);
    border: 1px solid var(--rosegold-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.philosophy-number {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--rosegold);
    font-style: italic;
}

.philosophy-title {
    font-size: 22px;
    color: var(--text-white);
}

.philosophy-text {
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
}

/* ==========================================================================
   SHOPPING BAG DRAWER
   ========================================================================== */
.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.cart-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(92vw, 440px);
    height: 100vh;
    background: #0B0B0B;
    border-left: 1px solid var(--rosegold-border);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    z-index: 2001;
    transform: translateX(100%);
    transition: transform 0.5s var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-title-group h3 {
    font-size: 20px;
    color: var(--text-white);
}

.close-cart-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-cart-btn:hover {
    color: var(--text-white);
}

.cart-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-item-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    background: #181215;
    border: 1px solid var(--rosegold-border);
}

.cart-item-title {
    font-size: 16px;
    color: var(--text-white);
}

.cart-item-price {
    font-size: 12px;
    color: var(--rosegold);
    font-weight: 600;
}

.cart-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.cart-qty-num {
    font-size: 12px;
    font-family: var(--font-sans);
    color: var(--text-white);
    min-width: 16px;
    text-align: center;
}

.cart-drawer-footer {
    padding: 24px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #080808;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.summary-label {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.summary-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-white);
}

.shipping-note {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 18px;
}

.btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, var(--rosegold), var(--rosegold-deep));
    border: 1px solid var(--rosegold);
    color: #ffffff;
    padding: 14px 0;
    border-radius: 24px;
    font-size: 11px;
    letter-spacing: 0.2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #050505;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   SCENT QUIZ MODAL
   ========================================================================== */
.quiz-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.quiz-modal.hidden {
    display: none;
}

.quiz-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
}

.quiz-modal-content {
    position: relative;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 44px 48px;
    border-radius: 20px;
    background: #110d10;
    border: 1px solid var(--rosegold-border);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
    z-index: 10;
}

.close-quiz-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

.close-quiz-btn:hover {
    color: var(--text-white);
}

.quiz-header {
    text-align: center;
    margin-bottom: 32px;
}

.quiz-title {
    font-size: 28px;
    color: var(--text-white);
    margin-bottom: 8px;
}

.quiz-desc {
    font-size: 13.5px;
    color: var(--text-muted);
}

.quiz-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.quiz-option {
    background: #171115;
    border: 1px solid var(--rosegold-border);
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-option:hover {
    border-color: var(--rosegold);
    background: rgba(212, 175, 55, 0.16);
    transform: translateY(-2px);
}

.quiz-option-tag {
    font-size: 9px;
    letter-spacing: 0.18em;
    color: var(--rosegold);
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.quiz-opt-title {
    font-size: 17px;
    color: var(--text-white);
    margin-bottom: 6px;
}

.quiz-opt-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.quiz-result {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--rosegold-border);
    text-align: center;
}

.quiz-result.hidden {
    display: none;
}

.result-label {
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--rosegold);
    font-weight: 600;
}

.result-name {
    font-size: 32px;
    color: var(--text-white);
    margin: 8px 0;
}

.result-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: #050505;
    border-top: 1px solid var(--rosegold-border);
    padding: 80px 0 36px 0;
    position: relative;
    z-index: 5;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.6fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand-col .brand-title {
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 12px;
    display: block;
    font-weight: 600;
}

.footer-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: 24px;
}

.footer-salons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--rosegold);
    font-weight: 500;
}

.footer-heading {
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--text-white);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links-col a:hover {
    color: var(--rosegold);
}

.newsletter-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex-grow: 1;
    background: #120e10;
    border: 1px solid var(--rosegold-border);
    padding: 10px 16px;
    border-radius: 20px;
    color: var(--text-white);
    font-size: 12px;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--rosegold);
}

.newsletter-submit {
    background: linear-gradient(135deg, var(--rosegold), var(--rosegold-deep));
    border: 1px solid var(--rosegold);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 10px;
    letter-spacing: 0.14em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-submit:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #050505;
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    font-size: 10.5px;
    letter-spacing: 0.16em;
    color: var(--text-dim);
}

/* ==========================================================================
   REVEAL ON SCROLL & RESPONSIVENESS
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    inset: 0;
    background: #050505;
    border-left: 1px solid var(--rosegold-border);
    z-index: 2500;
    flex-direction: column;
    padding: 40px 32px;
    gap: 32px;
}

.mobile-drawer.hidden {
    display: none;
}

.mobile-drawer.flex {
    display: flex;
}

.close-drawer-btn {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 36px;
    cursor: pointer;
}

.mobile-menu-brand {
    font-family: var(--font-serif);
    font-size: 22px;
    letter-spacing: 0.28em;
    color: var(--rosegold);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.18em;
}

.mobile-nav-link:hover {
    color: var(--rosegold);
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-intro-overlay {
        margin: 0 auto;
        left: auto;
        top: auto;
        transform: none;
        width: 90%;
        max-width: 480px;
        text-align: center;
    }

    .hero-main-title {
        font-size: clamp(1.8rem, 4.5vw, 2.5rem);
        margin-bottom: 8px;
    }

    .hero-desc {
        margin: 0 auto;
        font-size: 13px;
        max-width: 360px;
    }

    .hero-title-divider {
        margin: 12px auto 0 auto;
    }

    .canvas-3d-stage {
        width: 100%;
        max-height: 100%;
        margin-top: 0;
    }

    .products-grid,
    #findScentsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .notes-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .hero-intro-overlay {
        top: 9%;
        width: 92%;
    }

    .hero-main-title {
        font-size: 1.7rem;
    }

    .hero-desc {
        font-size: 12px;
        max-width: 300px;
    }

    .canvas-3d-stage {
        width: 100%;
        max-height: 100%;
        margin-top: 0;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-toggle-btn {
        display: flex;
    }

    .btn-gold-pill {
        display: none;
    }

    .products-grid,
    #findScentsGrid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pyramid-tab-buttons {
        grid-template-columns: 1fr;
    }

    .quiz-options-grid {
        grid-template-columns: 1fr;
    }

    .quiz-modal-content {
        padding: 28px 20px;
    }
}

/* ==========================================================================
   ROSE GOLD FOGGY CURSOR GLOW & PERFUME MIST TRAIL
   ========================================================================== */

/* Fullscreen canvas for the rose gold foggy mist particle trail */
.cursor-mist-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99997;
}

/* Ambient Rose Gold Foggy Glow following the cursor */
.cursor-fog-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
            rgba(245, 215, 122, 0.35) 0%,
            rgba(212, 175, 55, 0.2) 30%,
            rgba(140, 106, 32, 0.1) 55%,
            transparent 75%);
    filter: blur(12px);
    opacity: 0;
    transition: opacity 0.35s ease,
        width 0.4s var(--transition-smooth),
        height 0.4s var(--transition-smooth),
        filter 0.4s ease;
    will-change: transform, width, height, opacity;
}

.cursor-fog-glow::after {
    content: '';
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(245, 215, 122, 0.35) 0%,
            rgba(212, 175, 55, 0.2) 30%,
            rgba(140, 106, 32, 0.1) 55%,
            transparent 75%);
    filter: blur(16px);
    animation: cursorFogBreathe 3.5s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes cursorFogBreathe {
    0% {
        transform: scale(0.9) rotate(0deg);
        opacity: 0.75;
    }
    100% {
        transform: scale(1.15) rotate(25deg);
        opacity: 1;
    }
}

.cursor-fog-glow.active {
    opacity: 1;
}

/* Glow intensifies and expands over interactive buttons / links */
.cursor-fog-glow.glow-hover {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle,
            rgba(245, 215, 122, 0.45) 0%,
            rgba(212, 175, 55, 0.28) 30%,
            rgba(140, 106, 32, 0.15) 55%,
            transparent 75%);
    filter: blur(16px);
}

/* Glow blooms into a warm rose gold cloud over the perfume flacon */
.cursor-fog-glow.glow-bottle {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle,
            rgba(245, 215, 122, 0.55) 0%,
            rgba(212, 175, 55, 0.32) 30%,
            rgba(140, 106, 32, 0.15) 55%,
            transparent 75%);
    filter: blur(20px);
}

/* Ensure default cursor is fully visible, non-transparent, solid, and responsive */
html,
body {
    cursor: default;
}

input,
textarea,
select {
    cursor: text;
}

a,
button,
[role="button"],
.pyramid-tab,
.quiz-option,
.product-card,
.btn-buy,
.btn-gold-action,
.btn-checkout,
.nav-link,
.cart-btn,
.collection-tab-btn,
.gender-filter-btn,
.scent-pill-btn,
.btn-detail-link,
.btn-reset-filters {
    cursor: pointer;
}

/* ==========================================================================
   SIGNATURE SCENTS (10 ML) & FIND MY SCENTS EXTENSIONS
   ========================================================================== */

/* Collection Tabs & Filter Bar */
.collection-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.collection-tab-btn {
    background: rgba(18, 13, 16, 0.85);
    border: 1px solid var(--rosegold-border);
    color: var(--text-muted);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 11px;
    letter-spacing: 0.2em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.collection-tab-btn:hover {
    border-color: var(--rosegold);
    color: var(--text-white);
    background: rgba(30, 20, 26, 0.9);
}

.collection-tab-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.35), rgba(20, 14, 18, 0.95));
    border-color: var(--rosegold);
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.collection-filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gender-filter-btn {
    background: rgba(14, 10, 13, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 10px;
    letter-spacing: 0.16em;
    font-weight: 600;
    transition: all 0.25s ease;
}

.gender-filter-btn:hover {
    border-color: var(--rosegold-light);
    color: var(--text-white);
}

.gender-filter-btn.active {
    background: var(--rosegold);
    border-color: var(--rosegold);
    color: #050505;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

/* Card Action Buttons */
.card-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-detail-link {
    background: transparent;
    border: 1px solid var(--rosegold-border);
    color: var(--rosegold-light);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 9.5px;
    letter-spacing: 0.14em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-detail-link:hover {
    border-color: var(--rosegold);
    color: #ffffff;
    background: rgba(212, 175, 55, 0.15);
}

.product-card-clickable {
    cursor: pointer;
}

/* Scent Finder Controls */
.find-scents-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-obsidian) 0%, #0A0A0A 50%, var(--bg-obsidian) 100%);
}

.find-scents-card {
    background: rgba(16, 12, 15, 0.88);
    border: 1px solid var(--rosegold-border);
    border-radius: 24px;
    padding: 44px 48px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    margin-bottom: 44px;
}

.scent-filter-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-group-label {
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--rosegold);
    font-weight: 600;
    text-transform: uppercase;
}

.filter-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.scent-pill-btn {
    background: rgba(24, 18, 22, 0.8);
    border: 1px solid var(--rosegold-border);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 18px;
    font-size: 10px;
    letter-spacing: 0.12em;
    transition: all 0.25s ease;
}

.scent-pill-btn:hover {
    border-color: var(--rosegold);
    color: var(--text-white);
    background: rgba(35, 24, 30, 0.9);
}

.scent-pill-btn.active {
    background: linear-gradient(135deg, var(--rosegold), var(--rosegold-deep));
    border-color: var(--rosegold);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.scent-search-reset-row {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.scent-search-box {
    flex-grow: 1;
    position: relative;
    min-width: 260px;
}

.scent-search-input {
    width: 100%;
    background: rgba(10, 7, 9, 0.9);
    border: 1px solid var(--rosegold-border);
    border-radius: 24px;
    padding: 12px 20px 12px 42px;
    font-size: 12.5px;
    color: var(--text-white);
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.scent-search-input:focus {
    border-color: var(--rosegold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.scent-search-input::placeholder {
    color: var(--text-dim);
}

.scent-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--rosegold);
    pointer-events: none;
}

.btn-reset-filters {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    padding: 12px 22px;
    border-radius: 24px;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-reset-filters:hover {
    border-color: var(--rosegold);
    color: var(--text-white);
    background: rgba(212, 175, 55, 0.15);
}

.finder-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.no-match-box {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 24px;
    background: rgba(18, 13, 16, 0.5);
    border-radius: 16px;
    border: 1px dashed var(--rosegold-border);
}

.no-match-box h4 {
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 8px;
}

.no-match-box p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Product Detail Modal */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 3500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.product-modal.hidden {
    display: none;
}

.product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.product-modal-content {
    position: relative;
    max-width: 860px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: #101010;
    border: 1px solid var(--rosegold-border);
    border-radius: 24px;
    padding: 44px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
    z-index: 10;
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 32px;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-modal-btn:hover {
    color: var(--text-white);
}

.product-modal-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: center;
}

.product-modal-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #080808;
    border: 1px solid var(--rosegold-border);
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-bottle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-bottle-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    text-align: center;
    background: rgba(12, 9, 11, 0.9);
    border: 1px solid var(--rosegold-border);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 9px;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--rosegold-light);
    backdrop-filter: blur(6px);
}

.product-modal-info {
    display: flex;
    flex-direction: column;
}

.modal-product-title {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    color: var(--text-white);
    margin: 4px 0 6px 0;
    line-height: 1.1;
}

.modal-product-tagline {
    font-size: 13px;
    color: var(--rosegold);
    font-weight: 500;
    margin-bottom: 16px;
}

.modal-spec-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.spec-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--rosegold-border);
    color: var(--text-light);
    font-size: 9.5px;
    letter-spacing: 0.14em;
    padding: 5px 12px;
    border-radius: 14px;
    font-weight: 600;
}

.modal-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.modal-product-desc {
    font-size: 13.5px;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 22px;
}

.modal-inspiration-box {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--rosegold-border);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 28px;
}

.insp-label {
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--rosegold);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.insp-text {
    font-size: 13px;
    color: var(--text-white);
    font-weight: 500;
}

.modal-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-price-wrap {
    display: flex;
    flex-direction: column;
}

.modal-price-label {
    font-size: 9px;
    letter-spacing: 0.16em;
    color: var(--text-dim);
    text-transform: uppercase;
}

.modal-price {
    font-size: 18px;
    color: var(--text-white);
    font-weight: 600;
    letter-spacing: 0.06em;
}

@media (max-width: 900px) {
    .product-modal-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .product-modal-media {
        max-width: 260px;
        margin: 0 auto;
    }
    .find-scents-card {
        padding: 28px 20px;
    }
}

/* ==========================================================================
   ROYAL GOLD LUXURY ENHANCEMENTS: BUTTON SHIMMER, SIZE SELECTORS & CURSOR
   ========================================================================== */

/* Button Luxury Shimmer Effects */
.btn-gold-action,
.btn-checkout,
.btn-buy,
.btn-gold-pill {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #D4AF37 0%, #B89228 50%, #8C6A20 100%) !important;
    border: 1px solid #F5D77A !important;
    color: #050505 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35) !important;
    transition: all 0.35s ease !important;
}

.btn-gold-action::after,
.btn-checkout::after,
.btn-buy::after,
.btn-gold-pill::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 45%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.45),
        transparent
    );
    transform: rotate(30deg);
    transition: none;
    pointer-events: none;
    opacity: 0;
}

.btn-gold-action:hover,
.btn-checkout:hover,
.btn-buy:hover,
.btn-gold-pill:hover {
    background: linear-gradient(135deg, #F5D77A 0%, #D4AF37 50%, #B89228 100%) !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(245, 215, 122, 0.5) !important;
}

.btn-gold-action:hover::after,
.btn-checkout:hover::after,
.btn-buy:hover::after,
.btn-gold-pill:hover::after {
    opacity: 1;
    left: 140%;
    transition: left 0.75s ease-in-out;
}

/* Nav Link Underline in Metallic Gold */
.nav-link {
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #8C6A20, #F5D77A, #8C6A20);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

/* Product Card Luxury Black & Gold Upgrades */
.product-card {
    border-radius: 18px !important;
    background: linear-gradient(160deg, #161616 0%, #111111 60%, #0B0B0B 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.22) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(245, 215, 122, 0.08) !important;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.product-card:hover {
    border-color: rgba(245, 215, 122, 0.65) !important;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.9), 0 0 32px rgba(212, 175, 55, 0.24), inset 0 1px 0 rgba(245, 215, 122, 0.2) !important;
}

/* Collection Badges */
.badge-standard {
    background: rgba(14, 14, 14, 0.94) !important;
    border: 1px solid rgba(212, 175, 55, 0.38) !important;
    color: #F8F4E8 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6) !important;
    font-size: 8.5px !important;
    letter-spacing: 0.16em !important;
}

.badge-premium {
    background: linear-gradient(135deg, rgba(38, 30, 14, 0.98) 0%, rgba(18, 16, 12, 0.98) 100%) !important;
    border: 1px solid #D4AF37 !important;
    color: #F5D77A !important;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.28) !important;
    font-size: 8.5px !important;
    letter-spacing: 0.16em !important;
}

/* Interactive Card Size Selector */
.product-size-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0 16px 0;
    padding: 8px 12px;
    background: rgba(10, 10, 10, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 20px;
}

.size-selector-label {
    font-size: 8.5px;
    letter-spacing: 0.18em;
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
}

.size-pills-group {
    display: flex;
    gap: 6px;
}

.size-pill-btn {
    background: rgba(22, 22, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
}

.size-pill-btn:hover {
    border-color: var(--gold-light);
    color: var(--text-white);
    background: rgba(35, 30, 20, 0.9);
}

.size-pill-btn.active {
    background: linear-gradient(135deg, #D4AF37 0%, #8C6A20 100%);
    border-color: var(--gold-light);
    color: #050505;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.35);
}

.price-display-wrap {
    display: flex;
    flex-direction: column;
}

.price-size-caption {
    font-size: 9.5px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    margin-top: 2px;
}

/* Modal Interactive Size Switcher */
.modal-size-selector-wrap {
    margin: 18px 0 20px 0;
    padding: 16px;
    background: rgba(14, 14, 14, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 16px;
}

.modal-size-heading {
    display: block;
    font-size: 9.5px;
    letter-spacing: 0.2em;
    color: var(--gold-light);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.modal-size-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-size-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    background: rgba(22, 22, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
}

.modal-btn-vol {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 3px;
    color: var(--text-white);
}

.modal-btn-sub {
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}

.modal-size-btn:hover {
    border-color: var(--gold);
    background: rgba(30, 26, 18, 0.9);
}

.modal-size-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(140, 106, 32, 0.28) 100%);
    border-color: #D4AF37;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.25), inset 0 0 12px rgba(245, 215, 122, 0.1);
}

.modal-size-btn.active .modal-btn-vol {
    color: #F5D77A;
}

.modal-size-btn.active .modal-btn-sub {
    color: #F8F4E8;
}

/* ==========================================================================
   PREMIUM ROYAL GOLD CURSOR & HALO
   ========================================================================== */

/* Small refined golden dot tracking pointer immediately */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #F5D77A;
    box-shadow: 0 0 8px #D4AF37, 0 0 3px #FFFFFF;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.15s ease, background-color 0.2s ease;
    will-change: transform, opacity;
}

.cursor-dot.active {
    opacity: 1;
}

.cursor-dot.glow-hover {
    transform: translate(-50%, -50%) scale(1.4);
    background-color: #FFFFFF;
    box-shadow: 0 0 14px #F5D77A, 0 0 5px #FFFFFF;
}

.cursor-dot.is-clicking {
    transform: translate(-50%, -50%) scale(0.75);
}

/* Larger subtle golden halo following pointer with fluid delay */
.cursor-halo {
    position: fixed;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.55);
    background: radial-gradient(circle, rgba(245, 215, 122, 0.08) 0%, rgba(212, 175, 55, 0.02) 60%, transparent 100%);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.22), inset 0 0 10px rgba(245, 215, 122, 0.1);
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease, width 0.35s var(--transition-smooth), height 0.35s var(--transition-smooth), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    will-change: transform, opacity, width, height;
}

.cursor-halo.active {
    opacity: 1;
}

.cursor-halo.glow-hover {
    width: 58px;
    height: 58px;
    border-color: #F5D77A;
    background: radial-gradient(circle, rgba(245, 215, 122, 0.18) 0%, rgba(212, 175, 55, 0.06) 65%, transparent 100%);
    box-shadow: 0 0 24px rgba(245, 215, 122, 0.35), inset 0 0 14px rgba(212, 175, 55, 0.2);
}

.cursor-halo.glow-bottle {
    width: 76px;
    height: 76px;
    border-color: rgba(245, 215, 122, 0.9);
    background: radial-gradient(circle, rgba(245, 215, 122, 0.22) 0%, rgba(212, 175, 55, 0.08) 70%, transparent 100%);
    box-shadow: 0 0 32px rgba(212, 175, 55, 0.5);
}

.cursor-halo.is-clicking {
    transform: translate(-50%, -50%) scale(0.85);
    border-color: #FFFFFF;
    background: radial-gradient(circle, rgba(245, 215, 122, 0.3) 0%, transparent 80%);
}

/* Fullscreen canvas for golden sparkles & mist */
.cursor-mist-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999995;
}

/* Soft ambient royal gold fog */
.cursor-fog-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999996;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
            rgba(245, 215, 122, 0.25) 0%,
            rgba(212, 175, 55, 0.15) 35%,
            rgba(140, 106, 32, 0.06) 60%,
            transparent 75%);
    filter: blur(14px);
    opacity: 0;
    transition: opacity 0.35s ease,
        width 0.4s var(--transition-smooth),
        height 0.4s var(--transition-smooth),
        filter 0.4s ease;
    will-change: transform, width, height, opacity;
}

.cursor-fog-glow.active {
    opacity: 1;
}

.cursor-fog-glow.glow-hover {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle,
            rgba(245, 215, 122, 0.35) 0%,
            rgba(212, 175, 55, 0.2) 35%,
            rgba(140, 106, 32, 0.08) 60%,
            transparent 75%);
    filter: blur(18px);
}

.cursor-fog-glow.glow-bottle {
    width: 190px;
    height: 190px;
    background: radial-gradient(circle,
            rgba(245, 215, 122, 0.4) 0%,
            rgba(212, 175, 55, 0.25) 35%,
            rgba(140, 106, 32, 0.1) 60%,
            transparent 75%);
    filter: blur(22px);
}

/* Hide custom cursor on mobile / touch devices */
@media (max-width: 768px), (pointer: coarse) {
    .cursor-dot,
    .cursor-halo,
    .cursor-fog-glow,
    .cursor-mist-canvas {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cursor-halo,
    .cursor-fog-glow {
        transition: none !important;
    }
}