/* ==========================================================================
   KAAHI KRAFTSS - PREMIUM CSS STYLE SYSTEM
   Theme: Handcrafted pressed flower resin & botanical luxury
   Aesthetics: Editorial fashion, warm creams, dusty rose, terracotta, sage green
   Author: Vanguard UI Architect
   ========================================================================== */

/* 1. Global Custom Variables (8px spacing grid & color calibration) */
:root {
    /* Color Palette */
    --color-bg-ivory: #FAF8F5;
    --color-bg-cream: #F4F1EA;
    --color-bg-soft: #EFECE5;
    --color-text-espresso: #2C2421;
    --color-text-soft: #59453C;
    --color-rose: #DDA7A0;
    --color-rose-dark: #C68B82;
    --color-terracotta: #C27D66;
    --color-sage: #A1A998;
    --color-sage-dark: #8F9779;
    --color-gold: #D6C2A6;
    --color-gold-muted: #CFB997;
    --color-glass-bg: rgba(250, 248, 245, 0.85);
    
    /* Font Stacks */
    --font-heading: 'Cormorant Garamond', serif;
    --font-subheading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-accent: 'Inter', sans-serif;

    /* Grid & Spacing Systems */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
    --space-section: 96px;

    /* Transitions & Physics (Custom Springs) */
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    
    /* Radius */
    --radius-pill: 9999px;
    --radius-card-outer: 32px;
    --radius-card-inner: 24px; /* concentric calc: card-outer - outer shell padding */
}

/* Loading Screen (Sabyasachi Royal Themed Preloader) */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #120A07 0%, #2A1710 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
    will-change: opacity, visibility;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 320px;
    width: 100%;
}

.loading-logo-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.loading-emblem {
    animation: rotateEmblem 20s linear infinite;
    transform-origin: center;
}

@keyframes rotateEmblem {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    font-style: italic;
    color: var(--color-gold);
    letter-spacing: 0.15em;
    margin-bottom: 6px;
    text-indent: 0.15em;
    animation: pulseText 2s ease-in-out infinite alternate;
}

@keyframes pulseText {
    0% { opacity: 0.8; transform: scale(0.99); }
    100% { opacity: 1; transform: scale(1); }
}

.loading-subtitle {
    font-family: var(--font-accent);
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    color: rgba(214, 194, 166, 0.5);
    letter-spacing: 0.25em;
    margin-bottom: 24px;
    text-indent: 0.25em;
}

/* Viscous Glowing Hand-Poured Resin Stream */
.resin-pour-stream {
    width: 3px;
    height: 60px;
    background: linear-gradient(to bottom, 
        rgba(214, 194, 166, 0.1), 
        var(--color-gold) 35%, 
        var(--color-terracotta) 70%, 
        var(--color-gold) 100%
    );
    margin: 0 auto 14px;
    position: relative;
    opacity: 0.95;
    border-radius: var(--radius-pill);
    box-shadow: 0 0 8px rgba(214, 194, 166, 0.4), 0 0 15px rgba(194, 125, 102, 0.25);
    animation: streamSway 4.8s ease-in-out infinite alternate;
}

/* Layered viscous pouring droplets */
.resin-pour-stream::before,
.resin-pour-stream::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    border-radius: 50%;
    background: #FFF;
    box-shadow: 0 0 8px #FFF, 0 0 12px var(--color-gold);
}

/* High-speed glowing droplet */
.resin-pour-stream::before {
    height: 8px;
    top: -10px;
    animation: dropletFlow 1.6s cubic-bezier(0.4, 0.2, 0.6, 1) infinite;
}

/* Slower thick syrup droplet following behind */
.resin-pour-stream::after {
    height: 12px;
    top: -15px;
    animation: dropletFlow 2.4s cubic-bezier(0.5, 0.1, 0.7, 0.9) infinite;
    animation-delay: 0.7s;
    background: var(--color-gold);
    box-shadow: 0 0 6px var(--color-gold), 0 0 10px var(--color-terracotta);
}

@keyframes streamSway {
    0% { transform: translateX(-1px) rotate(-0.5deg); }
    100% { transform: translateX(1px) rotate(0.5deg); }
}

@keyframes dropletFlow {
    0% { top: -15%; opacity: 0; transform: translate(-50%, 0) scale(0.85); }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: 115%; opacity: 0; transform: translate(-50%, 0) scale(0.6); }
}

/* Glassmorphic Resin Mould progress container */
.loading-progress-bar {
    width: 100%;
    height: 16px;
    background: rgba(18, 10, 7, 0.7);
    border: 1px solid rgba(214, 194, 166, 0.3);
    border-radius: var(--radius-pill);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.6), 0 1px 2px rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
}

/* Wavy Glossy Golden Resin Filling Chamber with moving gold-flake physics */
.loading-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--color-gold) 0%, 
        #E3D5C1 30%, 
        var(--color-terracotta) 60%, 
        var(--color-gold) 100%
    );
    background-size: 200% 100%;
    border-radius: var(--radius-pill);
    transition: width 0.1s linear;
    will-change: width;
    box-shadow: 0 0 15px rgba(194, 125, 102, 0.65), 0 0 30px rgba(214, 194, 166, 0.35);
    overflow: hidden;
    animation: viscousShimmer 3s linear infinite;
}

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

.loading-progress-fill::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-pill);
}

.loading-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: -8px;
    width: 20px;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    filter: blur(2px);
    transform: skewX(-20deg);
    animation: liquidWave 1.6s ease-in-out infinite alternate;
}

@keyframes liquidWave {
    0% { transform: skewX(-15deg) scaleX(0.85); }
    100% { transform: skewX(-25deg) scaleX(1.15); }
}

@media (prefers-reduced-motion: reduce) {
    .loading-screen { transition: none !important; }
    .loading-emblem { animation: none !important; }
    .loading-title { animation: none !important; }
    .loading-progress-fill { transition: none !important; animation: none !important; }
    .resin-pour-stream { animation: none !important; }
    .resin-pour-stream::before, .resin-pour-stream::after { animation: none !important; }
}

/* 2. Base & Typography Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--color-bg-ivory);
    color: var(--color-text-espresso);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    position: relative;
}

/* Base Headings styling */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--color-text-espresso);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    outline: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3. Subtle Editorial Film-Grain Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    will-change: transform;
}

body {
    padding-top: 38px;
}

/* 4. Transparent Luxury Navbar */
.navbar {
    position: fixed;
    top: 38px; /* Pushed down by announcement bar */
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid rgba(44, 36, 33, 0.04);
    transition: var(--transition-medium);
}

/* Navbar active state on scroll */
.navbar.scrolled {
    background-color: var(--color-glass-bg);
    border-bottom: 1px solid rgba(44, 36, 33, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px -16px rgba(44, 36, 33, 0.05);
}

.nav-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

/* Decrease vertical padding on scroll */
.navbar.scrolled .nav-container {
    padding: var(--space-sm) var(--space-lg);
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-item {
    font-family: var(--font-accent);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: var(--color-text-soft);
    position: relative;
    padding: 4px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-rose-dark);
    transition: var(--transition-fast);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item:hover {
    color: var(--color-text-espresso);
}

.nav-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 10;
}

.nav-brand .logo-text {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-espresso);
    position: relative;
    display: inline-block;
}

/* Shop by Product Dropdown Menu */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--color-glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(44, 36, 33, 0.08);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 220px;
    box-shadow: 0 16px 40px -10px rgba(44, 36, 33, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1010;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(4px);
}

.dropdown-link {
    padding: 8px var(--space-md);
    font-family: var(--font-accent);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    color: var(--color-text-soft);
    transition: var(--transition-fast);
    display: block;
    text-align: left;
}

.dropdown-link:hover {
    background-color: rgba(44, 36, 33, 0.03);
    color: var(--color-rose-dark);
    padding-left: calc(var(--space-md) + 6px);
}

.nav-utilities {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-btn {
    font-size: 20px;
    color: var(--color-text-soft);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: transparent;
}

.nav-btn:hover {
    color: var(--color-text-espresso);
    background-color: rgba(44, 36, 33, 0.04);
}

.nav-btn .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--color-terracotta);
    color: white;
    font-family: var(--font-accent);
    font-size: 8px;
    font-weight: 600;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badgePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hamburger for Mobile Nav */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.hamburger-line {
    width: 18px;
    height: 1px;
    background-color: var(--color-text-espresso);
    transition: var(--transition-fast);
}

/* Morphing hamburger lines into X */
.hamburger.open .hamburger-line:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
}

/* 5. Mobile Fullscreen Overlay Navigation */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: var(--color-bg-ivory);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-xl);
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.mobile-menu-overlay.open {
    transform: translateY(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.mobile-nav-item {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-text-espresso);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-menu-overlay.open .mobile-nav-item {
    opacity: 1;
    transform: translateY(0);
}

/* Delayed reveals for mobile links */
.mobile-menu-overlay.open .mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.open .mobile-nav-item:nth-child(2) { transition-delay: 0.18s; }
.mobile-menu-overlay.open .mobile-nav-item:nth-child(3) { transition-delay: 0.26s; }
.mobile-menu-overlay.open .mobile-nav-item:nth-child(4) { transition-delay: 0.34s; }
.mobile-menu-overlay.open .mobile-nav-item:nth-child(5) { transition-delay: 0.42s; }

.mobile-menu-footer {
    text-align: center;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.5s;
}

.mobile-menu-overlay.open .mobile-menu-footer {
    opacity: 1;
}

.mobile-menu-footer .circle-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
    color: var(--color-text-soft);
    margin-bottom: var(--space-sm);
}

.mobile-socials {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.mobile-socials a {
    font-size: 24px;
    color: var(--color-text-espresso);
}

/* 6. Cinematic Split Hero Section */
.hero-split {
    height: 100dvh;
    min-height: 550px;
    width: 100%;
    display: flex;
    overflow: hidden;
    position: relative;
}

.hero-panel {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: var(--space-xxl);
    transition: var(--transition-slow);
    cursor: pointer;
}

/* Background image scaling and dim layers */
.panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(44, 36, 33, 0.8) 0%, rgba(44, 36, 33, 0.1) 70%, rgba(44, 36, 33, 0.15) 100%);
    z-index: 2;
    transition: var(--transition-medium);
}

/* Left panel specific subtle daylight filter */
.left-panel .panel-overlay {
    background: linear-gradient(to top, rgba(89, 69, 60, 0.8) 0%, rgba(244, 241, 234, 0.05) 75%, rgba(244, 241, 234, 0.1) 100%);
}

/* Right panel specific warm evening overlay */
.right-panel .panel-overlay {
    background: linear-gradient(to top, rgba(92, 53, 38, 0.85) 0%, rgba(194, 125, 102, 0.05) 75%, rgba(194, 125, 102, 0.1) 100%);
}

.panel-content {
    position: relative;
    z-index: 3;
    max-width: 480px;
    transform: none;
    opacity: 1;
}

.panel-eyebrow {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    color: var(--color-rose);
    margin-bottom: var(--space-xs);
}

.left-panel .panel-eyebrow {
    color: var(--color-text-cream);
}

.panel-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 300;
    color: white;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.panel-subtext {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-md);
    max-width: 38ch;
}

/* Desktop Split Hover Interactions */
@media (min-width: 769px) {
    .hero-panel:hover .panel-bg {
        transform: none;
    }
}

/* 7. Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px var(--space-lg);
    border-radius: var(--radius-pill);
    font-family: var(--font-accent);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
}

/* Spring shrink on press */
.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background-color: var(--color-bg-ivory);
    color: var(--color-text-espresso);
    box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background-color: var(--color-text-espresso);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px -12px rgba(44, 36, 33, 0.3);
}

.btn-icon-wrapper {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(44, 36, 33, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.btn-primary:hover .btn-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translate(2px, -2px) rotate(45deg);
}

.btn-secondary {
    border: 1px solid var(--color-rose);
    color: var(--color-text-espresso);
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: var(--color-rose);
    color: white;
    transform: translateY(-2px);
}

/* 8. Global Section Rhythm */
.section {
    padding: var(--space-section) 0;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-rose-dark);
    margin-bottom: var(--space-xs);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 400;
    color: var(--color-text-espresso);
    margin-bottom: var(--space-xs);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-soft);
    font-weight: 300;
}

/* Premium Collections Gallery - 3-Column Luxury Product Cards */
.collections-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.gallery-card {
    background-color: var(--color-bg-cream);
    border-radius: var(--radius-card-outer);
    border: 1px solid rgba(44, 36, 33, 0.05);
    padding: var(--space-sm);
    box-shadow: 0 8px 30px -15px rgba(44, 36, 33, 0.06);
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -20px rgba(44, 36, 33, 0.12);
    border-color: rgba(194, 125, 102, 0.2);
}

.gallery-image-container {
    width: 100%;
    margin-bottom: var(--space-sm);
}

.gallery-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-card-inner);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-img {
    transform: scale(1.02);
}

.gallery-info {
    padding: 0 var(--space-xs);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gallery-tag {
    font-family: var(--font-accent);
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-rose-dark);
    margin-bottom: 4px;
    display: block;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-text-espresso);
    font-weight: 400;
    margin-bottom: 6px;
    line-height: 1.25;
}

.gallery-desc {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-soft);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    font-weight: 300;
    flex: 1;
}

.gallery-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(44, 36, 33, 0.06);
    padding-top: var(--space-sm);
}

.gallery-price {
    font-family: var(--font-accent);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-terracotta);
}

.gallery-btn {
    padding: 8px var(--space-md) !important;
    font-size: 9px !important;
    letter-spacing: 0.1em !important;
}

/* 9. Featured Collections (Asymmetric Bento Grid) */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 240px;
    gap: var(--space-md);
}

.collection-card {
    position: relative;
    border-radius: var(--radius-card-outer);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
    cursor: pointer;
    background-color: var(--color-bg-cream);
    transition: var(--transition-medium);
    border: 1px solid rgba(44, 36, 33, 0.05);
    box-shadow: 0 10px 30px -20px rgba(44, 36, 33, 0.05);
}

/* Double-Bezel refraction hairline for card container */
.collection-card::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: calc(var(--radius-card-outer) - 6px);
    pointer-events: none;
    z-index: 4;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(44, 36, 33, 0.75) 0%, rgba(44, 36, 33, 0.15) 60%, rgba(44, 36, 33, 0) 100%);
    z-index: 2;
}

.card-content {
    position: relative;
    z-index: 3;
    width: 100%;
    transform: none;
}

.card-tag {
    font-family: var(--font-accent);
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-rose);
    display: block;
    margin-bottom: 4px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: white;
    font-weight: 300;
    margin-bottom: var(--space-xs);
}

.card-link {
    font-family: var(--font-accent);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    opacity: 0.95;
    transform: none;
}

.card-link i {
    font-size: 12px;
}

/* Card Hover Scale and text reveals - Flat & Static */
.collection-card:hover .card-bg {
    transform: none;
}

.collection-card:hover .card-content {
    transform: none;
}

.collection-card:hover .card-link {
    opacity: 0.95;
    transform: none;
}

.collection-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(44, 36, 33, 0.75) 0%, rgba(44, 36, 33, 0.15) 60%, rgba(44, 36, 33, 0) 100%);
}

/* Bento Grid Spans configuration */
.bento-large {
    grid-column: span 7;
    grid-row: span 2;
}

.bento-small {
    grid-column: span 5;
    grid-row: span 1;
}

.bento-medium-left {
    grid-column: span 6;
    grid-row: span 1;
}

.bento-medium-right {
    grid-column: span 6;
    grid-row: span 1;
}

/* 10. Best Sellers (Draggable Product Slider) */
.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-viewport {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    padding: var(--space-xs) 0 var(--space-md) var(--space-xs);
    cursor: grab;
}

.carousel-viewport::-webkit-scrollbar {
    display: none; /* Hide scrollbar Safari/Chrome */
}

.carousel-viewport:active {
    cursor: grabbing;
}

/* Product Card - Nested Double-Bezel Design */
.product-card {
    flex: 0 0 calc(25% - 18px); /* 4 items on desktop */
    min-width: 270px;
    scroll-snap-align: start;
    border-radius: var(--radius-card-outer);
    background-color: var(--color-bg-cream);
    padding: 8px; /* Outer shell padding */
    border: 1px solid rgba(44, 36, 33, 0.05);
    box-shadow: 0 10px 40px -25px rgba(44, 36, 33, 0.06);
    transition: var(--transition-medium);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px -20px rgba(44, 36, 33, 0.12);
}

/* Inner Core */
.product-image-container {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-card-inner);
    overflow: hidden;
    background-color: var(--color-bg-ivory);
    transition: var(--transition-medium);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.product-hover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.product-card:hover .product-hover-video {
    opacity: 1;
}

/* Inner core bezel border highlight */
.product-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    border-radius: var(--radius-card-inner);
}

/* Wishlist top-right action trigger */
.wishlist-btn {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    z-index: 5;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--color-text-soft);
    box-shadow: 0 4px 12px -4px rgba(44, 36, 33, 0.1);
    transform: scale(0.9) opacity(0);
    transition: var(--transition-fast);
}

/* Show buttons on card hover */
.product-card:hover .wishlist-btn {
    transform: scale(1);
    opacity: 1;
}

.wishlist-btn.active {
    background-color: var(--color-rose);
    color: white;
    transform: scale(1);
    opacity: 1;
}

.wishlist-btn:hover {
    color: var(--color-rose-dark);
}

.wishlist-btn.active:hover {
    color: white;
}

/* Quick View Overlay Button */
.quick-view-btn {
    position: absolute;
    bottom: var(--space-sm);
    left: 50%;
    transform: translate(-50%, 10px);
    opacity: 0;
    z-index: 5;
    background-color: rgba(44, 36, 33, 0.85);
    backdrop-filter: blur(8px);
    color: white;
    font-family: var(--font-accent);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 8px var(--space-md);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.15);
    transition: var(--transition-medium);
}

.product-card:hover .quick-view-btn {
    transform: translate(-50%, 0);
    opacity: 1;
}

.quick-view-btn:hover {
    background-color: var(--color-bg-ivory);
    color: var(--color-text-espresso);
}

/* Info container block */
.product-info {
    padding: var(--space-sm) 6px var(--space-xs);
}

.product-cat {
    font-family: var(--font-accent);
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-sage-dark);
    margin-bottom: 2px;
    display: block;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text-espresso);
    margin-bottom: var(--space-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 14px;
    color: var(--color-text-soft);
}

.quick-add-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background-color: transparent;
    border: 1px solid rgba(44, 36, 33, 0.1);
    font-family: var(--font-accent);
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-text-espresso);
}

.quick-add-btn i {
    font-size: 10px;
}

.product-card:hover .quick-add-btn {
    border-color: var(--color-rose-dark);
    background-color: var(--color-rose);
    color: white;
}

.quick-add-btn:hover {
    transform: scale(1.03);
}

/* Carousel Control Elements */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-bg-ivory);
    border: 1px solid rgba(44, 36, 33, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-text-soft);
    box-shadow: 0 4px 20px -8px rgba(44, 36, 33, 0.15);
    z-index: 10;
}

.carousel-nav:hover {
    background-color: var(--color-text-espresso);
    color: white;
    border-color: var(--color-text-espresso);
}

.carousel-nav.prev { left: -22px; }
.carousel-nav.next { right: -22px; }

/* 11. Craftsmanship Story Section (Asymmetric Storytelling) */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
}

/* Double-Bezel card architecture styling */
.double-bezel-outer {
    background-color: rgba(44, 36, 33, 0.02);
    border: 1px solid rgba(44, 36, 33, 0.06);
    padding: var(--space-sm);
    border-radius: 40px;
}

.double-bezel-inner {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

.story-img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: transform 1.5s var(--transition-slow);
}

.double-bezel-outer:hover .story-img {
    transform: scale(1.04);
}

.story-text-wrapper {
    padding-left: var(--space-md);
}

.story-eyebrow {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-rose-dark);
    margin-bottom: var(--space-xs);
}

.story-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 300;
    color: var(--color-text-espresso);
    margin-bottom: var(--space-md);
    line-height: 1.15;
}

.story-body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 14px;
    color: var(--color-text-soft);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    max-width: 58ch;
}

.story-details {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-espresso);
}

.detail-item i {
    font-size: 16px;
    color: var(--color-terracotta);
}

/* 12. Instagram Pinterest Masonry Grid */
.instagram-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    gap: var(--space-sm);
}

.masonry-item {
    position: relative;
    border-radius: var(--radius-card-inner);
    overflow: hidden;
    aspect-ratio: 1/1;
    background-color: var(--color-bg-cream);
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--transition-slow);
}

.masonry-hover {
    position: absolute;
    inset: 0;
    background-color: rgba(44, 36, 33, 0.45);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    color: white;
    opacity: 0;
    transition: var(--transition-medium);
    z-index: 5;
}

.masonry-hover i {
    font-size: 28px;
}

.masonry-hover span {
    font-family: var(--font-accent);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.masonry-item:hover .masonry-hover {
    opacity: 1;
}

/* Vertical and horizontal masonry overrides */
.item-vertical {
    grid-row: span 2;
    aspect-ratio: 1/2;
}

.item-wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

/* 13. Luxury Boutique Footer & Newsletter */
.footer {
    background-color: var(--color-bg-cream);
    border-top: 1px solid rgba(44, 36, 33, 0.06);
    padding: var(--space-section) 0 var(--space-xl);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Elegant high-whitespace newsletter subscribe */
.footer-newsletter {
    max-width: 580px;
    margin: 0 auto var(--space-xxl) auto;
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.newsletter-sub {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-soft);
    margin-bottom: var(--space-md);
    font-weight: 300;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid rgba(44, 36, 33, 0.2);
    padding: var(--space-xs) 0;
    margin-bottom: var(--space-sm);
}

.newsletter-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 13px;
    color: var(--color-text-espresso);
    padding: 4px;
}

.newsletter-input::placeholder {
    color: rgba(89, 69, 60, 0.5);
}

.newsletter-submit {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-accent);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--color-text-espresso);
}

.newsletter-submit:hover {
    color: var(--color-rose-dark);
}

.newsletter-success {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 15px;
    color: var(--color-sage-dark);
    display: none;
    margin-top: var(--space-sm);
}

/* Directory Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(44, 36, 33, 0.06);
    margin-bottom: var(--space-xl);
}

.footer-col {
    padding-right: var(--space-md);
}

.footer-heading {
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-espresso);
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links li a,
.footer-links li p {
    font-size: 13px;
    color: var(--color-text-soft);
    font-weight: 300;
}

.footer-links li a:hover {
    color: var(--color-rose-dark);
    padding-left: 2px;
}

/* Bottom elements */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom .logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.copyright {
    font-family: var(--font-accent);
    font-size: 10px;
    color: rgba(89, 69, 60, 0.6);
    letter-spacing: 0.05em;
}

/* ==================== INTERACTIVE SIDEBARS AND MODALS ==================== */

/* Fullscreen overlays */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 36, 33, 0.3);
    backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-medium);
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Drawer sheets */
.sidebar-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background-color: var(--color-bg-ivory);
    z-index: 1200;
    box-shadow: -16px 0 64px -16px rgba(44, 36, 33, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid rgba(44, 36, 33, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
}

.drawer-close {
    font-size: 24px;
    color: var(--color-text-soft);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-close:hover {
    color: var(--color-text-espresso);
    background-color: rgba(44, 36, 33, 0.04);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
}

.drawer-footer {
    padding: var(--space-lg);
    border-top: 1px solid rgba(44, 36, 33, 0.06);
    background-color: var(--color-bg-cream);
}

/* Empty State elements */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    gap: var(--space-sm);
    color: var(--color-text-soft);
}

.empty-state i {
    font-size: 48px;
    color: var(--color-rose-dark);
}

.empty-state p {
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
}

/* Cart Items Card rendering */
.cart-item {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(44, 36, 33, 0.06);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-card-inner);
    background-color: var(--color-bg-cream);
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 400;
    color: var(--color-text-espresso);
}

.cart-item-meta {
    font-family: var(--font-accent);
    font-size: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-sage-dark);
}

.cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-controller {
    display: flex;
    align-items: center;
    border: 1px solid rgba(44, 36, 33, 0.1);
    border-radius: var(--radius-pill);
    padding: 2px 6px;
}

.qty-btn {
    font-size: 12px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-soft);
}

.qty-val {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 500;
    width: 24px;
    text-align: center;
}

.cart-item-price {
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 13px;
    color: var(--color-text-espresso);
}

.cart-item-remove {
    font-family: var(--font-accent);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(44, 36, 33, 0.4);
    align-self: flex-start;
    margin-top: 2px;
}

.cart-item-remove:hover {
    color: var(--color-terracotta);
}

/* Cart Footer elements */
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--color-text-espresso);
    margin-bottom: var(--space-xs);
}

.subtotal-price {
    font-family: var(--font-accent);
    font-weight: 600;
}

.tax-shipping-note {
    font-size: 11px;
    color: var(--color-text-soft);
    margin-bottom: var(--space-md);
}

.w-full {
    width: 100%;
    justify-content: center;
}

/* Wishlist specific cards */
.wishlist-item {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(44, 36, 33, 0.05);
}

.wishlist-item-img {
    width: 70px;
    height: 88px;
    object-fit: cover;
    border-radius: var(--radius-card-inner);
    background-color: var(--color-bg-cream);
}

.wishlist-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wishlist-item-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
}

.wishlist-item-price {
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 500;
}

.wishlist-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wishlist-add-to-cart {
    font-family: var(--font-accent);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--color-rose-dark);
}

.wishlist-add-to-cart:hover {
    color: var(--color-text-espresso);
}

.wishlist-item-remove {
    font-size: 16px;
    color: rgba(44, 36, 33, 0.3);
}

.wishlist-item-remove:hover {
    color: var(--color-terracotta);
}

/* 14. Fullscreen Search Overlay */
.search-overlay-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(250, 248, 245, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1500;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-xl);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-medium);
}

.search-overlay-fullscreen.active {
    opacity: 1;
    pointer-events: all;
}

.search-close-btn {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    font-size: 32px;
    color: var(--color-text-soft);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close-btn:hover {
    background-color: rgba(44, 36, 33, 0.05);
    color: var(--color-text-espresso);
}

.search-content-wrapper {
    width: 100%;
    max-width: 720px;
}

.search-overlay-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 300;
    text-align: center;
    margin-bottom: var(--space-md);
    color: var(--color-text-espresso);
}

.search-field-container {
    position: relative;
    border-bottom: 2px solid var(--color-rose);
    padding: var(--space-xs) 0;
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.search-input-field {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-text-espresso);
    font-weight: 300;
    padding-right: var(--space-xl);
}

.search-input-field::placeholder {
    color: rgba(89, 69, 60, 0.35);
}

.search-field-icon {
    font-size: 24px;
    color: var(--color-rose);
    position: absolute;
    right: 4px;
}

.popular-searches {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.popular-label {
    font-family: var(--font-accent);
    font-size: 11px;
    color: var(--color-text-soft);
}

.tag-search {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background-color: var(--color-bg-cream);
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 500;
    color: var(--color-text-espresso);
}

.tag-search:hover {
    background-color: var(--color-rose);
    color: white;
}

/* Search results injected rows */
.search-results-wrapper {
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.search-result-card {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    padding: 8px;
    border-radius: var(--radius-card-inner);
    background-color: rgba(250, 248, 245, 0.6);
    border: 1px solid rgba(44, 36, 33, 0.03);
    transition: var(--transition-fast);
    cursor: pointer;
}

.search-result-card:hover {
    background-color: var(--color-bg-cream);
    border-color: rgba(44, 36, 33, 0.06);
}

.search-result-img {
    width: 48px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 400;
}

.search-result-price {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 500;
    color: var(--color-rose-dark);
}

/* 15. Quick View Details Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 36, 33, 0.45);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-medium);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-md);
}

.modal-overlay.active,
.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.quickview-modal-container {
    background-color: var(--color-bg-ivory);
    border-radius: var(--radius-card-outer);
    max-width: 820px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(44, 36, 33, 0.06);
    box-shadow: 0 24px 64px -24px rgba(44, 36, 33, 0.2);
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .quickview-modal-container {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 24px;
    color: var(--color-text-soft);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

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

.quickview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.qv-image-wrapper {
    background-color: var(--color-bg-cream);
    aspect-ratio: 4/5;
}

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

.qv-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qv-details {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qv-cat {
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: var(--color-rose-dark);
    margin-bottom: var(--space-xs);
}

.qv-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 400;
    margin-bottom: var(--space-xs);
}

.qv-price {
    font-family: var(--font-accent);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-espresso);
    margin-bottom: var(--space-sm);
}

.qv-desc {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 300;
    color: var(--color-text-soft);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* Metal Options Choice Selector */
.qv-options-title {
    font-family: var(--font-accent);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.metal-choices {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.metal-btn {
    border: 1px solid rgba(44, 36, 33, 0.12);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 500;
    color: var(--color-text-soft);
}

.metal-btn.active {
    border-color: var(--color-terracotta);
    background-color: var(--color-terracotta);
    color: white;
}

/* 16. Scroll Entry Reveals */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* 17. Mobile-sticky bottom utility bar */
.mobile-sticky-action-bar {
    display: none; /* Desktop hidden */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--color-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(44, 36, 33, 0.08);
    z-index: 990;
    box-shadow: 0 -4px 16px rgba(44, 36, 33, 0.04);
}

/* 18. Badge bounce keyframes animation */
@keyframes badgePop {
    0% { transform: scale(0); }
    80% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* 19. Accessibility Overrides (Reduced Motion Support) */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .panel-bg, .card-bg, .product-img, .story-img, .masonry-item img {
        transition: none !important;
        transform: none !important;
    }
}

/* ==========================================================================
   20. RESPONSIVE DESIGN BREAKPOINTS (Mobile first, safe overrides)
   ========================================================================== */

/* Tablet viewports (< 1024px) */
@media (max-width: 1024px) {
    .product-card {
        flex: 0 0 calc(33.333% - 12px); /* 3 items view */
    }
    .collections-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    .collections-grid {
        grid-auto-rows: 200px;
    }
    .bento-large {
        grid-column: span 12;
        grid-row: span 2;
    }
    .bento-small {
        grid-column: span 6;
        grid-row: span 1;
    }
    .bento-medium-left, .bento-medium-right {
        grid-column: span 6;
        grid-row: span 1;
    }
}

/* Small devices (< 768px) */
@media (max-width: 768px) {
    :root {
        --space-section: 64px;
        --radius-card-outer: 24px;
        --radius-card-inner: 18px;
    }

    body {
        padding-bottom: 60px; /* Space for mobile bottom bar */
    }

    /* Fixed top floating Island Nav Bar */
    .navbar {
        background-color: var(--color-glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .nav-container {
        padding: var(--space-sm) var(--space-md);
    }

    .nav-links {
        display: none; /* Hide desktop links */
    }

    .nav-btn:not(.hamburger) {
        display: none; /* Hide utilities (accessed in bottom bar) */
    }

    .hamburger {
        display: flex; /* Show menu trigger */
    }

    .nav-brand .logo-text {
        font-size: 20px;
    }

    /* Hero section stacked collapse */
    .hero-split {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .hero-panel {
        height: 50dvh;
        min-height: 380px;
        padding: var(--space-xl) var(--space-md) var(--space-lg) var(--space-md);
        flex: none !important;
    }

    .panel-content {
        max-width: 100%;
        transform: none !important;
        opacity: 1 !important;
    }

    .panel-title {
        font-size: 32px;
    }

    .panel-subtext {
        font-size: 13px;
        max-width: 100%;
    }

    .collections-gallery {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    /* Bento Grid vertical collapse override */
    .collections-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
        gap: var(--space-sm);
    }

    .bento-large, .bento-small, .bento-medium-left, .bento-medium-right {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    /* Carousel 1 card snap */
    .product-card {
        flex: 0 0 calc(100% - 16px);
        min-width: 250px;
    }

    .carousel-nav {
        display: none; /* Swipe is better on mobile touch */
    }

    .carousel-viewport {
        padding-left: var(--space-sm);
    }

    /* Story block stack */
    .story-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .story-text-wrapper {
        padding-left: 0;
    }

    /* Masonry collapse */
    .instagram-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xs);
    }

    .item-vertical, .item-wide {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        aspect-ratio: 1/1 !important;
    }

    /* Footer collapse */
    .footer {
        padding: var(--space-xl) 0 var(--space-lg);
    }

    .footer-newsletter {
        margin-bottom: var(--space-xl);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        padding-bottom: var(--space-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-xs);
        text-align: center;
    }

    /* Mobile Bottom Action Bar activation */
    .mobile-sticky-action-bar {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .action-bar-btn {
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: var(--color-text-soft);
        position: relative;
    }

    .action-bar-btn i {
        font-size: 18px;
    }

    .action-bar-btn span {
        font-family: var(--font-accent);
        font-size: 9px;
        text-transform: uppercase;
        font-weight: 500;
        letter-spacing: 0.05em;
    }

    .action-bar-btn:active i {
        color: var(--color-rose-dark);
        transform: scale(0.9);
    }

    .mobile-badge {
        position: absolute;
        top: 8px;
        right: 32%;
        background-color: var(--color-terracotta);
        color: white;
        font-family: var(--font-accent);
        font-size: 7px;
        font-weight: 600;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Quick View layout stack */
    .quickview-grid {
        grid-template-columns: 1fr;
    }

    .qv-image-wrapper {
        aspect-ratio: 1/1;
    }

    .qv-details {
        padding: var(--space-lg);
    }

    .quickview-modal-container {
        max-height: 90dvh;
        overflow-y: auto;
    }
}

/* ==========================================================================
   21. CATALOG & FILTER SIDEBAR STYLES (jewelry.html)
   ========================================================================== */
.catalog-header {
    background-color: var(--color-bg-cream);
    padding: calc(var(--space-section) + 32px) 0 var(--space-xl);
    border-bottom: 1px solid rgba(44, 36, 33, 0.05);
    text-align: center;
}

.breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-accent);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-soft);
    margin-bottom: var(--space-sm);
}

.breadcrumbs a {
    color: var(--color-text-soft);
}

.breadcrumbs a:hover {
    color: var(--color-rose-dark);
}

.breadcrumbs i {
    font-size: 8px;
    color: var(--color-rose);
}

.breadcrumbs span {
    color: var(--color-text-espresso);
    font-weight: 500;
}

.catalog-title {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--color-text-espresso);
    margin-bottom: var(--space-xs);
}

.catalog-subtitle {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-soft);
    max-width: 60ch;
    margin: 0 auto;
}

.catalog-section {
    padding: var(--space-xl) 0 var(--space-section);
}

.catalog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-xxl);
}

/* Sidebar Filters */
.filter-sidebar {
    background-color: var(--color-bg-cream);
    border: 1px solid rgba(44, 36, 33, 0.06);
    border-radius: var(--radius-card-outer);
    padding: var(--space-lg);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-sidebar-header {
    display: none; /* Desktop hidden */
}

.filter-sidebar h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: var(--space-md);
    border-bottom: 1px solid rgba(44, 36, 33, 0.1);
    padding-bottom: var(--space-xs);
}

.filter-group {
    margin-bottom: var(--space-lg);
}

.filter-group-title {
    font-family: var(--font-accent);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--color-text-espresso);
    margin-bottom: var(--space-sm);
}

.price-slider-wrapper {
    padding: 4px 0;
}

.price-range-slider {
    width: 100%;
    -webkit-appearance: none;
    background: rgba(44, 36, 33, 0.1);
    height: 3px;
    border-radius: 2px;
    outline: none;
}

.price-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-terracotta);
    cursor: pointer;
    border: 2px solid var(--color-bg-ivory);
    box-shadow: 0 2px 6px rgba(44, 36, 33, 0.2);
    transition: var(--transition-fast);
}

.price-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.price-range-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-accent);
    font-size: 10px;
    color: var(--color-text-soft);
    margin-top: var(--space-xs);
}

.max-value-label strong {
    color: var(--color-terracotta);
    font-weight: 600;
}

/* Custom Checkbox options */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.filter-option {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-soft);
    padding-left: var(--space-md);
    height: 20px;
}

.filter-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 14px;
    width: 14px;
    background-color: var(--color-bg-ivory);
    border: 1px solid rgba(44, 36, 33, 0.2);
    border-radius: 3px;
    transition: var(--transition-fast);
}

.filter-option:hover input ~ .custom-checkbox {
    border-color: var(--color-rose-dark);
}

.filter-option input:checked ~ .custom-checkbox {
    background-color: var(--color-rose);
    border-color: var(--color-rose);
}

.custom-checkbox::after {
    content: '';
    position: absolute;
    display: none;
    left: 4px;
    top: 1.5px;
    width: 4px;
    height: 7px;
    border: solid white;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.filter-option input:checked ~ .custom-checkbox::after {
    display: block;
}

.option-label {
    margin-left: 6px;
    transition: var(--transition-fast);
}

.filter-option input:checked ~ .option-label {
    color: var(--color-text-espresso);
    font-weight: 400;
}

/* Catalog Display Grid & Control */
.catalog-display {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.catalog-control-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(44, 36, 33, 0.05);
}

.catalog-count {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 16px;
    color: var(--color-text-soft);
}

.catalog-count span {
    font-family: var(--font-accent);
    font-style: normal;
    font-weight: 500;
    color: var(--color-text-espresso);
}

.catalog-sorting {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-accent);
    font-size: 11px;
    color: var(--color-text-soft);
}

.sort-dropdown {
    border: 1px solid rgba(44, 36, 33, 0.15);
    background-color: var(--color-bg-ivory);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-family: var(--font-accent);
    font-size: 11px;
    color: var(--color-text-espresso);
    outline: none;
    cursor: pointer;
}

.sort-dropdown:focus {
    border-color: var(--color-rose-dark);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 items per row on desktop layout with sidebar */
    gap: var(--space-md);
}

.mobile-filter-toggle {
    display: none;
}

/* Responsive Overrides inside Media Queries */
@media (max-width: 1200px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    
    .mobile-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: var(--space-xs);
        padding: 10px 20px;
        background-color: var(--color-bg-cream);
        border: 1px solid rgba(44, 36, 33, 0.1);
        border-radius: var(--radius-pill);
        font-family: var(--font-accent);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: 500;
        margin-bottom: var(--space-md);
        color: var(--color-text-espresso);
        box-shadow: 0 4px 12px rgba(44, 36, 33, 0.04);
        width: max-content;
    }

    .filter-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 320px;
        height: 100dvh;
        z-index: 1300;
        border-radius: 0;
        border: none;
        box-shadow: -10px 0 40px rgba(44, 36, 33, 0.15);
        transform: translateX(100%);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }
    
    .filter-sidebar.active {
        transform: translateX(0);
    }
    
    .filter-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: var(--space-sm);
        margin-bottom: var(--space-md);
        border-bottom: 1px solid rgba(44, 36, 33, 0.1);
    }
    
    .filter-sidebar h3 {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .filter-close-btn {
        font-size: 24px;
        color: var(--color-text-soft);
    }
    
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    .catalog-control-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }
}

/* ==========================================================================
   21B. DUAL HERO COLLECTION — 50/50 IMAGE PANELS
   ========================================================================== */
.dual-hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 75vh;
    width: 100%;
}

.dual-hero-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-decoration: none;
    color: white;
    cursor: pointer;
    min-height: 480px;
}

.dual-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dual-hero-panel:hover .dual-hero-bg {
    transform: scale(1.06);
}

.dual-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    pointer-events: none;
}

.dual-hero-panel:hover .dual-hero-video {
    opacity: 1;
}

.dual-hero-overlay {
    position: absolute;
    inset: 0;
    transition: background 0.5s ease;
    z-index: 1;
}

.dual-hero-left .dual-hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(44, 36, 33, 0.10) 0%,
        rgba(44, 36, 33, 0.25) 40%,
        rgba(44, 36, 33, 0.65) 100%
    );
}

.dual-hero-right .dual-hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(80, 20, 30, 0.08) 0%,
        rgba(80, 20, 30, 0.20) 40%,
        rgba(80, 20, 30, 0.60) 100%
    );
}

.dual-hero-panel:hover .dual-hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(44, 36, 33, 0.05) 0%,
        rgba(44, 36, 33, 0.15) 40%,
        rgba(44, 36, 33, 0.55) 100%
    );
}

.dual-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 var(--space-lg) var(--space-xxl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.dual-hero-eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
}

.dual-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 1.1;
    color: white;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.dual-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 300;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.dual-hero-cta-btn {
    display: inline-block;
    padding: 12px 36px;
    border: 2px solid white;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: white;
    background: transparent;
    transition: all 0.35s ease;
}

.dual-hero-panel:hover .dual-hero-cta-btn {
    background: white;
    color: var(--color-text-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Subtle vertical separator line */
.dual-hero-section::after {
    content: '';
    position: absolute;
    top: 15%;
    bottom: 15%;
    left: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 3;
}

.dual-hero-section {
    position: relative;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .dual-hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .dual-hero-panel {
        min-height: 380px;
    }
    .dual-hero-title {
        font-size: 32px;
        letter-spacing: 3px;
    }
    .dual-hero-subtitle {
        font-size: 16px;
        letter-spacing: 4px;
    }
    .dual-hero-section::after {
        top: auto;
        bottom: auto;
        left: 15%;
        right: 15%;
        width: auto;
        height: 1px;
        top: 50%;
        background: rgba(255, 255, 255, 0.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dual-hero-bg {
        transition: none;
    }
    .dual-hero-panel:hover .dual-hero-bg {
        transform: none;
    }
    .dual-hero-video {
        display: none !important;
    }
}



/* ==========================================================================
   22. ROYAL VARMALA PRESERVATION LAYOUT & STYLING (index.html)
   ========================================================================== */
.varmala-section {
    background: radial-gradient(circle at top right, rgba(214, 194, 166, 0.15), transparent 60%),
                linear-gradient(135deg, var(--color-bg-ivory) 0%, var(--color-bg-cream) 100%);
    border-top: 1px solid rgba(214, 194, 166, 0.2);
    border-bottom: 1px solid rgba(214, 194, 166, 0.2);
    padding: var(--space-section) 0;
    position: relative;
    overflow: hidden;
}

/* Subtle gold leaf sparkles background element */
.varmala-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(214, 194, 166, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.royal-crest-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.royal-crest {
    width: 76px;
    height: 76px;
    color: var(--color-gold);
    opacity: 0.85;
    transition: var(--transition-slow);
    filter: drop-shadow(0 4px 10px rgba(214, 194, 166, 0.3));
}

.royal-crest-wrapper:hover .royal-crest {
    transform: rotate(5deg) scale(1.05);
    opacity: 1;
}

.center-align {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-xl) auto;
}

.varmala-title-main {
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 300;
    color: var(--color-text-espresso);
    margin-bottom: var(--space-xs);
    line-height: 1.15;
    font-style: italic;
    font-family: var(--font-heading);
}

.varmala-subtitle-main {
    font-family: var(--font-subheading);
    font-size: clamp(14px, 2vw, 17px);
    color: var(--color-text-soft);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.02em;
    font-style: italic;
    max-width: 60ch;
    margin: 0 auto;
}

.varmala-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-xxl);
    align-items: start;
}

.varmala-left-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.varmala-right-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    position: sticky;
    top: 100px;
}

.varmala-text-wrapper {
    padding-right: var(--space-md);
}

.varmala-body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 14.5px;
    color: var(--color-text-soft);
    line-height: 1.85;
    margin-bottom: var(--space-md);
    max-width: 58ch;
}

/* 22.1 Keepsake Configurator Atelier Styles */
.varmala-atelier {
    background: linear-gradient(135deg, #120A07 0%, #2A1710 100%);
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-card-outer);
    padding: var(--space-lg);
    box-shadow: 0 20px 50px rgba(18, 10, 7, 0.5), inset 0 0 32px rgba(214, 194, 166, 0.05);
    backdrop-filter: blur(10px);
}

/* Gold Typography styling for Dark Atelier Container */
.varmala-atelier .atelier-subtitle {
    color: var(--color-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.varmala-atelier .atelier-group-label {
    color: var(--color-gold);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    display: block;
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
}

.atelier-header-area {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    border-bottom: 1px solid rgba(214, 194, 166, 0.15);
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-md);
}

.gold-sparkle-icon {
    font-size: 20px;
    color: var(--color-gold);
    animation: goldPulse 3s infinite ease-in-out;
}

.atelier-group {
    margin-bottom: var(--space-lg);
}

.atelier-group:last-child {
    margin-bottom: 0;
}

/* Grids for customizer cards */
.atelier-options-grid {
    display: grid;
    gap: var(--space-sm);
}

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

.atelier-options-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Accordion sliding animation system */
.accordion-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s;
    visibility: hidden;
}

.accordion-panel.active {
    max-height: 520px; /* High enough to hold all shape option cards cleanly */
    opacity: 1;
    visibility: visible;
    margin-bottom: var(--space-md);
}

/* Dark velvet-themed Option Cards */
.varmala-atelier .atelier-option-card {
    background-color: rgba(28, 17, 13, 0.85);
    border: 1px solid rgba(214, 194, 166, 0.15);
    border-radius: var(--radius-card-inner);
    padding: var(--space-md);
    cursor: pointer;
    position: relative;
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #FAF8F5;
}

.varmala-atelier .atelier-option-card:hover {
    border-color: var(--color-gold);
    background-color: rgba(43, 26, 20, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(214, 194, 166, 0.12);
}

.varmala-atelier .atelier-option-card.active {
    border-color: var(--color-rose);
    background-color: rgba(56, 33, 26, 0.95);
    box-shadow: 0 8px 24px rgba(221, 167, 160, 0.2);
}

.option-icon {
    font-size: 24px;
    color: var(--color-gold-muted);
    transition: var(--transition-fast);
}

.varmala-atelier .atelier-option-card.active .option-icon {
    color: var(--color-rose);
}

.option-text-wrap {
    display: flex;
    flex-direction: column;
}

.option-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-bg-ivory);
}

.option-card-price {
    font-family: var(--font-accent);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--color-gold);
    margin-top: 2px;
}

.option-card-desc {
    font-family: var(--font-body);
    font-size: 10px;
    color: rgba(250, 248, 245, 0.6);
    line-height: 1.4;
    font-weight: 300;
}

/* Indicators for selected items */
.option-indicator {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 14px;
    height: 14px;
    border: 1px solid rgba(214, 194, 166, 0.4);
    border-radius: 50%;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-indicator::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--color-rose);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition-fast);
}

.varmala-atelier .atelier-option-card.active .option-indicator {
    border-color: var(--color-rose);
}

.varmala-atelier .atelier-option-card.active .option-indicator::after {
    opacity: 1;
    transform: scale(1);
}

/* Custom Checkbox Cards for Dark Atelier */
.varmala-atelier .atelier-checkbox-card {
    background-color: rgba(28, 17, 13, 0.85);
    border: 1px solid rgba(214, 194, 166, 0.15);
    border-radius: var(--radius-card-inner);
    padding: var(--space-md);
    cursor: pointer;
    position: relative;
    transition: var(--transition-medium);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #FAF8F5;
}

.varmala-atelier .atelier-checkbox-card:hover {
    border-color: var(--color-gold);
    background-color: rgba(43, 26, 20, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(214, 194, 166, 0.12);
}

.varmala-atelier .atelier-checkbox-card.active {
    border-color: var(--color-rose);
    background-color: rgba(56, 33, 26, 0.95);
    box-shadow: 0 8px 24px rgba(221, 167, 160, 0.2);
}

.check-box-indicator {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(214, 194, 166, 0.6);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.check-box-indicator i {
    font-size: 10px;
    color: var(--color-bg-ivory);
    opacity: 0;
    transform: scale(0.6);
    transition: var(--transition-fast);
}

.atelier-checkbox-card.active .check-box-indicator {
    border-color: var(--color-terracotta);
    background-color: var(--color-terracotta);
}

.atelier-checkbox-card.active .check-box-indicator i {
    opacity: 1;
    transform: scale(1);
}

.check-card-text {
    display: flex;
    flex-direction: column;
}

/* 22.2 Live Spec Review Card (Receipt) */
.atelier-receipt-card {
    background-color: rgba(44, 36, 33, 0.95);
    color: var(--color-bg-ivory);
    border: 1px solid rgba(214, 194, 166, 0.2);
    border-radius: var(--radius-card-outer);
    padding: var(--space-lg);
    box-shadow: 0 24px 64px rgba(44, 36, 33, 0.15);
    position: relative;
    overflow: hidden;
}

/* Gilded overlay elements inside receipt */
.atelier-receipt-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(214, 194, 166, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.receipt-header {
    margin-bottom: var(--space-md);
}

.receipt-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
}

.receipt-tag i {
    font-size: 12px;
}

.receipt-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--color-bg-ivory);
    line-height: 1.2;
}

.receipt-desc {
    font-family: var(--font-body);
    font-size: 11px;
    color: rgba(244, 241, 234, 0.6);
    font-weight: 300;
    margin-top: 4px;
    line-height: 1.4;
}

.receipt-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-family: var(--font-accent);
    font-size: 11.5px;
    color: rgba(244, 241, 234, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.receipt-row.flex-column {
    flex-direction: column;
    gap: var(--space-xs);
}

.receipt-value {
    color: var(--color-bg-ivory);
    font-weight: 500;
}

.receipt-value.text-gold {
    color: var(--color-gold);
}

.receipt-embellishments-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: var(--space-xs);
    width: 100%;
}

.receipt-embellishments-list li {
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: none;
    letter-spacing: normal;
    color: var(--color-bg-ivory);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.receipt-embellishments-list li::before {
    content: '•';
    color: var(--color-gold);
    font-size: 12px;
}

.receipt-divider {
    height: 1px;
    border-top: 1px dashed rgba(214, 194, 166, 0.25);
    margin: var(--space-md) 0;
}

.receipt-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.total-label {
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(244, 241, 234, 0.6);
}

.total-price {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 300;
    color: var(--color-gold);
    transition: var(--transition-fast);
}

.receipt-scarcity {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background-color: rgba(194, 125, 102, 0.1);
    border: 1px solid rgba(194, 125, 102, 0.2);
    border-radius: 12px;
    padding: var(--space-xs) var(--space-sm);
    margin-bottom: var(--space-md);
}

.pulsing-circle {
    width: 8px;
    height: 8px;
    background-color: var(--color-terracotta);
    border-radius: 50%;
    animation: redPulse 2s infinite ease-in-out;
    flex-shrink: 0;
}

.scarcity-text {
    font-family: var(--font-body);
    font-size: 11px;
    color: rgba(244, 241, 234, 0.85);
    font-weight: 300;
    line-height: 1.4;
}

/* Showcase Image Side (Right) */
.royal-border {
    border: 1px solid var(--color-gold);
    padding: var(--space-sm);
    border-radius: 40px;
    background-color: rgba(214, 194, 166, 0.08);
    box-shadow: 0 20px 48px -15px rgba(214, 194, 166, 0.25);
    transition: var(--transition-medium);
}

.royal-border:hover {
    border-color: var(--color-rose-dark);
    box-shadow: 0 24px 64px -15px rgba(198, 139, 130, 0.35);
}

.varmala-img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    border-radius: 28px;
    transition: transform 1.5s var(--transition-slow);
}

.royal-border:hover .varmala-img {
    transform: scale(1.03);
}

/* 22.3 Preservation Ritual Stepper Styles */
.varmala-ritual-wrapper {
    background-color: var(--color-bg-cream);
    border: 1px solid rgba(214, 194, 166, 0.2);
    border-radius: var(--radius-card-outer);
    padding: var(--space-lg);
}

.ritual-header {
    margin-bottom: var(--space-md);
}

.ritual-eyebrow {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 9.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-terracotta);
    margin-bottom: 4px;
}

.ritual-section-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 400;
    color: var(--color-text-espresso);
}

.ritual-tabs-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(44, 36, 33, 0.08);
    margin-bottom: var(--space-md);
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none; /* Hide default scrollbar on Firefox */
}

.ritual-tabs-header::-webkit-scrollbar {
    display: none; /* Hide scrollbar on Chrome/Safari */
}

.ritual-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 var(--space-xs) var(--space-xs) var(--space-xs);
    position: relative;
    flex: 1;
    min-width: 60px;
    text-align: center;
}

.tab-num {
    font-family: var(--font-subheading);
    font-size: 14px;
    font-style: italic;
    color: var(--color-gold-muted);
    font-weight: 500;
    transition: var(--transition-fast);
}

.tab-label {
    font-family: var(--font-accent);
    font-size: 8.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-soft);
    margin-top: 2px;
    transition: var(--transition-fast);
}

.ritual-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-terracotta);
    opacity: 0;
    transform: scaleX(0.4);
    transition: var(--transition-fast);
}

.ritual-tab-btn.active .tab-num {
    color: var(--color-terracotta);
    transform: translateY(-1px);
}

.ritual-tab-btn.active .tab-label {
    color: var(--color-text-espresso);
    font-weight: 600;
}

.ritual-tab-btn.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.ritual-tabs-content {
    position: relative;
    min-height: 120px;
}

.ritual-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.ritual-pane.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pane-header {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
}

.pane-icon {
    font-size: 20px;
    color: var(--color-gold);
}

.pane-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 500;
    color: var(--color-text-espresso);
}

.pane-desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 12.5px;
    color: var(--color-text-soft);
    line-height: 1.7;
}

/* 22.4 Luxury Varmala Consultation Modal Styles */
.modal-overlay#consultation-overlay,
.modal-overlay#checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    background-color: rgba(44, 36, 33, 0.4);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.modal-overlay#consultation-overlay.open,
.modal-overlay#checkout-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.consultation-modal-container {
    width: 100%;
    max-width: 680px;
    background: radial-gradient(circle at bottom left, rgba(214, 194, 166, 0.1), transparent 50%),
                var(--color-bg-ivory);
    border-radius: var(--radius-card-outer);
    padding: var(--space-xl) var(--space-lg);
    position: relative;
    box-shadow: 0 32px 80px rgba(44, 36, 33, 0.25);
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) transparent;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay#consultation-overlay.open .consultation-modal-container,
.modal-overlay#checkout-overlay.open .consultation-modal-container {
    transform: translateY(0) scale(1);
}

.royal-crest-mini-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-xs);
}

.royal-crest-mini {
    width: 48px;
    height: 48px;
    color: var(--color-gold);
    opacity: 0.8;
}

.consultation-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 300;
    color: var(--color-text-espresso);
    text-align: center;
    font-style: italic;
    margin-bottom: 4px;
}

.consultation-sub {
    font-family: var(--font-body);
    font-size: 12.5px;
    color: var(--color-text-soft);
    text-align: center;
    max-width: 48ch;
    margin: 0 auto var(--space-lg) auto;
    font-weight: 300;
}

.promo-code-box,
.order-summary-box {
    background-color: var(--color-bg-cream);
    border: 1px solid rgba(214, 194, 166, 0.3);
    border-radius: 8px;
    padding: var(--space-sm);
    margin-top: var(--space-xs);
}

.promo-code-row {
    display: grid;
    grid-template-columns: 1fr auto 42px;
    gap: 8px;
    align-items: center;
}

.promo-code-row .form-input {
    min-width: 0;
}

.promo-code-btn,
.promo-code-clear {
    min-height: 42px;
    padding: 0 14px;
}

.promo-code-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.promo-code-hint {
    margin-top: 6px;
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--color-text-soft);
}

.promo-code-hint[data-state="success"] {
    color: #2f7d4f;
}

.promo-code-hint[data-state="error"] {
    color: var(--color-rose);
}

.checkout-summary-row,
.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-soft);
}

.checkout-summary-row + .checkout-summary-row,
.checkout-summary-total {
    margin-top: 8px;
}

.checkout-discount-row {
    color: #2f7d4f;
}

.checkout-summary-total {
    border-top: 1px solid rgba(214, 194, 166, 0.4);
    padding-top: 10px;
}

.checkout-summary-total strong {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-terracotta);
}

@media (max-width: 520px) {
    .promo-code-row {
        grid-template-columns: 1fr 42px;
    }

    .promo-code-btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition: opacity 0.5s ease;
}

.form-row {
    display: grid;
    gap: var(--space-md);
}

.form-row.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-family: var(--font-accent);
    font-size: 9.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-espresso);
}

.form-input, .form-textarea {
    width: 100%;
    background-color: var(--color-bg-cream);
    border: 1px solid rgba(214, 194, 166, 0.35);
    border-radius: 12px;
    padding: var(--space-xs) var(--space-sm);
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--color-text-espresso);
    font-weight: 300;
    transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--color-terracotta);
    outline: none;
    background-color: var(--color-bg-ivory);
    box-shadow: 0 0 0 3px rgba(194, 125, 102, 0.08);
}

.form-textarea {
    min-height: 80px;
    resize: vertical;
}

.form-checkboxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xs);
    margin-top: 2px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--color-text-soft);
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--color-terracotta);
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.modal-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(214, 194, 166, 0.2);
    padding-top: var(--space-md);
    margin-top: var(--space-xs);
}

.estimated-summary-text {
    font-family: var(--font-accent);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-soft);
}

.estimated-summary-text strong {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    margin-left: var(--space-xs);
}

/* Success Overlay Screen (Wax Seal Stamp sequence) */
.consultation-success-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-lg) 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 90%;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.consultation-success-screen.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}

.wax-seal-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.wax-seal-stamp {
    width: 80px;
    height: 80px;
    background-color: var(--color-terracotta);
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.2),
                inset 0 -4px 8px rgba(0,0,0,0.2),
                0 10px 24px rgba(194, 125, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: scale(3) rotate(-20deg);
    transition: none;
}

.modal-overlay#consultation-overlay.open .wax-seal-stamp.stamped {
    animation: waxStamp 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.seal-initial {
    font-family: var(--font-heading);
    font-size: 38px;
    color: var(--color-gold);
    font-weight: 600;
    text-shadow: 0 -1.5px 0.5px rgba(0,0,0,0.15), 0 1.5px 0.5px rgba(255,255,255,0.2);
}

.success-title {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--color-text-espresso);
    font-style: italic;
    margin-bottom: var(--space-xs);
    font-weight: 300;
}

.success-desc {
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--color-text-soft);
    line-height: 1.7;
    max-width: 44ch;
    margin-bottom: var(--space-sm);
    font-weight: 300;
}

.success-call {
    font-family: var(--font-subheading);
    font-size: 15px;
    font-style: italic;
    color: var(--color-terracotta);
    margin-bottom: var(--space-lg);
}

/* Animations */
@keyframes redPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(194, 125, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(194, 125, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(194, 125, 102, 0);
    }
}

@keyframes goldPulse {
    0%, 100% {
        filter: drop-shadow(0 0 1px rgba(214, 194, 166, 0.4));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 6px rgba(214, 194, 166, 0.85));
        transform: scale(1.08);
    }
}

@keyframes waxStamp {
    0% {
        opacity: 0;
        transform: scale(4) rotate(-35deg);
    }
    70% {
        opacity: 1;
        transform: scale(0.9) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* ==========================================================================
   23. RESPONSIVE MEDIA QUERIES FOR VARMALA CONFIGURATION
   ========================================================================== */
@media (max-width: 991px) {
    .varmala-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .varmala-text-wrapper {
        padding-right: 0;
    }
    
    .varmala-right-wrap {
        position: static;
    }
}

@media (max-width: 575px) {
    .atelier-options-grid.grid-2 {
        grid-template-columns: 1fr;
    }
    
    .atelier-options-grid.grid-3 {
        grid-template-columns: 1fr;
    }
    
    .form-row.grid-2 {
        grid-template-columns: 1fr;
    }
    
    .form-checkboxes {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .modal-form-footer {
        flex-direction: column;
        gap: var(--space-md);
        align-items: stretch;
        text-align: center;
    }
    
    .ritual-tabs-header {
        justify-content: flex-start;
        gap: var(--space-xs);
    }
    
    .ritual-tab-btn {
        flex: 0 0 75px;
    }
}



/* ==========================================================================
   24. FLOATING WHATSAPP SUPPORT WIDGET STYLING
   ========================================================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}

.whatsapp-trigger {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    border: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

.whatsapp-trigger i {
    font-size: 32px;
    color: white;
    transition: transform 0.3s ease;
}

.whatsapp-trigger:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-trigger:hover i {
    transform: rotate(15deg);
}

.whatsapp-widget .pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #25D366;
    border-radius: 50%;
    top: 0;
    left: 0;
    animation: whatsappPulse 2s infinite;
    pointer-events: none;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background-color: var(--color-bg-ivory);
    border: 1px solid var(--color-gold);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(44, 36, 33, 0.15);
    opacity: 0;
    transform: translateY(16px) scale(0.95);
    pointer-events: none;
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.whatsapp-widget:hover .whatsapp-panel,
.whatsapp-widget.open .whatsapp-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.whatsapp-panel-header {
    background-color: var(--color-bg-cream);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(214, 194, 166, 0.25);
}

.whatsapp-panel-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-espresso);
    margin: 0;
    line-height: 1.2;
}

.whatsapp-panel-status {
    font-family: var(--font-accent);
    font-size: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-sage-dark);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #25D366;
    border-radius: 50%;
    display: inline-block;
    animation: statusPulse 1.5s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.whatsapp-panel-body {
    padding: 20px;
}

.whatsapp-panel-text {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-text-soft);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 16px;
}

.whatsapp-panel-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.whatsapp-panel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 9999px;
    font-family: var(--font-accent);
    font-size: 9.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.25s ease;
}

.whatsapp-panel-btn.direct {
    background-color: var(--color-text-espresso);
    color: var(--color-bg-ivory);
}

.whatsapp-panel-btn.direct:hover {
    background-color: var(--color-terracotta);
    color: white;
}

.whatsapp-panel-btn.group {
    background-color: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-text-espresso);
}

.whatsapp-panel-btn.group:hover {
    background-color: var(--color-bg-cream);
    border-color: var(--color-text-espresso);
}

@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 80px; /* Stay clear of mobile bottom sticky navigation bar */
        right: 20px;
    }
    .whatsapp-panel {
        right: 0;
        bottom: 72px;
        width: 280px;
    }
}

/* Glassmorphic Cookie Consent Banner ("cookie constant") */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 380px;
    width: calc(100% - 48px);
    background: rgba(250, 248, 245, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(214, 194, 166, 0.4);
    border-radius: var(--radius-card-inner);
    padding: var(--space-md);
    box-shadow: 0 16px 48px -16px rgba(44, 36, 33, 0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    transform: translateY(150%) scale(0.95);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s;
    pointer-events: none;
}

.cookie-banner.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.cookie-tag {
    font-family: var(--font-accent);
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-terracotta);
}

.cookie-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    color: var(--color-text-espresso);
    line-height: 1.2;
}

.cookie-text {
    font-family: var(--font-body);
    font-size: 12.5px;
    color: var(--color-text-soft);
    line-height: 1.6;
    font-weight: 300;
}

.cookie-actions {
    display: flex;
    gap: var(--space-xs);
    justify-content: flex-end;
    margin-top: 4px;
}

.cookie-btn {
    padding: 8px var(--space-md) !important;
    font-size: 9px !important;
    letter-spacing: 0.08em !important;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 84px; /* Stay clear of mobile navigation action bar */
        right: 24px;
    }
}

/* ==========================================================================
   26. LUXURY GLASSMORPHIC USER PORTAL & AUTHENTICATION SYSTEMS
   ========================================================================== */

/* Navbar authenticated indicator dot */
#profile-trigger.authenticated::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-gold);
}

/* Glassmorphic Auth Card */
.auth-card {
    background: rgba(250, 248, 245, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(214, 194, 166, 0.35);
    border-radius: var(--radius-card-outer);
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    width: 100%;
    max-width: 440px;
    box-shadow: 0 24px 64px -16px rgba(44, 36, 33, 0.22);
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s;
}

.modal-overlay.open .auth-card {
    transform: scale(1);
    opacity: 1;
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-md);
}

.auth-eyebrow {
    font-family: var(--font-accent);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-terracotta);
    display: block;
    margin-bottom: 6px;
}

.auth-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    color: var(--color-text-espresso);
    margin-bottom: 6px;
}

.auth-subtitle {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-soft);
    line-height: 1.5;
    font-weight: 300;
}

/* Auth Tabs Switcher */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(44, 36, 33, 0.08);
    margin-bottom: var(--space-md);
    gap: var(--space-sm);
}

.auth-tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: var(--space-xs) 0;
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--color-text-soft);
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
    font-weight: 400;
}

.auth-tab-btn:hover {
    color: var(--color-text-espresso);
}

.auth-tab-btn.active {
    color: var(--color-text-espresso);
    font-weight: 500;
}

.auth-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--color-terracotta);
    border-radius: 2px;
}

/* Auth forms */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group-custom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-label-custom {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-espresso);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.form-input-custom {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(44, 36, 33, 0.12);
    border-radius: var(--radius-card-inner);
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--color-text-espresso);
    outline: none;
    transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.form-input-custom:focus {
    border-color: var(--color-terracotta);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(197, 108, 93, 0.08);
}

/* Error Banner styling */
.auth-error-banner {
    background: rgba(214, 88, 74, 0.08);
    border-left: 3px solid #d6584a;
    border-radius: var(--radius-card-inner);
    color: #b5382b;
    padding: var(--space-xs) var(--space-sm);
    font-family: var(--font-body);
    font-size: 12.5px;
    line-height: 1.5;
    text-align: left;
    margin-bottom: var(--space-xs);
    font-weight: 400;
}

/* Separation Rules */
.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: rgba(44, 36, 33, 0.3);
    font-family: var(--font-body);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: var(--space-md) 0 var(--space-sm);
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px dashed rgba(44, 36, 33, 0.15);
}

.auth-separator span {
    padding: 0 var(--space-sm);
}

/* OAuth Group Grid */
.auth-oauth-group {
    display: flex;
    gap: var(--space-xs);
}

.btn-oauth {
    flex: 1;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(44, 36, 33, 0.12);
    border-radius: var(--radius-card-inner);
    padding: 10px var(--space-sm);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-espresso);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s, border-color 0.3s, transform 0.2s;
}

.btn-oauth:hover {
    background: #fff;
    border-color: rgba(44, 36, 33, 0.25);
    transform: translateY(-1px);
}

.btn-oauth:active {
    transform: translateY(0);
}

/* Floating User Dropdown Dashboard */
.profile-dropdown-container {
    position: absolute;
    width: 290px;
    background: rgba(250, 248, 245, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(214, 194, 166, 0.45);
    border-radius: var(--radius-card-inner);
    box-shadow: 0 16px 40px -12px rgba(44, 36, 33, 0.18);
    z-index: 10000;
    padding: var(--space-md);
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}

.profile-dropdown-container.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-bottom: 4px;
}

.profile-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-bg-soft);
    border: 1px dashed var(--color-gold);
    color: var(--color-terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px -4px rgba(197, 108, 93, 0.15);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--color-text-espresso);
    font-weight: 500;
}

.profile-email {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--color-text-soft);
    font-weight: 300;
}

.profile-dropdown-divider {
    height: 1px;
    background: rgba(44, 36, 33, 0.06);
    margin: var(--space-sm) 0;
}

.profile-dropdown-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    text-align: left;
}

.profile-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-text-soft);
    font-weight: 300;
}

.profile-stat-item i {
    font-size: 16px;
    color: var(--color-terracotta);
}

.profile-stat-item strong {
    font-weight: 500;
    color: var(--color-text-espresso);
}

.profile-logout-btn {
    width: 100%;
    background: none;
    border: 1px solid rgba(197, 108, 93, 0.25);
    border-radius: var(--radius-card-inner);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-terracotta);
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.profile-logout-btn:hover {
    background: rgba(197, 108, 93, 0.06);
    color: var(--color-text-espresso);
    border-color: rgba(197, 108, 93, 0.4);
}

/* Accessibility settings */
@media (prefers-reduced-motion: reduce) {
    .auth-card,
    .profile-dropdown-container {
        transition: none !important;
    }
}

/* SEO Utility: Visually Hidden but fully readable for Search Crawlers and Screen Readers */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ==========================================================================
   23. LUXURY UPI METHOD SELECTION GRID & CUSTOM QR SCANNING PORTAL
   ========================================================================== */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0;
}

@media (max-width: 480px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.payment-method-card {
    background: rgba(44, 36, 33, 0.02);
    border: 1px solid rgba(44, 36, 33, 0.08);
    border-radius: 12px;
    padding: 12px var(--space-sm);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    user-select: none;
}

.payment-method-card:hover {
    transform: translateY(-2px);
    border-color: rgba(214, 194, 166, 0.6);
    box-shadow: 0 6px 16px rgba(44, 36, 33, 0.04);
    background: rgba(44, 36, 33, 0.04);
}

.payment-method-card.active {
    border-color: var(--color-gold);
    background: rgba(214, 194, 166, 0.08);
    box-shadow: 0 8px 24px rgba(214, 194, 166, 0.12);
}

.method-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 13px;
    color: var(--color-text-espresso);
}

.method-brand i {
    font-size: 18px;
}

.method-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid rgba(44, 36, 33, 0.25);
    transition: all 0.2s ease;
    position: relative;
}

.payment-method-card.active .method-indicator {
    border-color: var(--color-gold);
    background-color: var(--color-gold);
}

.payment-method-card.active .method-indicator::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-bg-ivory);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Custom UPI Scan QR Code Overlay styling */
.upi-qr-card {
    background: rgba(250, 248, 245, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(214, 194, 166, 0.35);
    border-radius: var(--radius-card-outer);
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    width: 100%;
    max-width: 440px;
    box-shadow: 0 24px 64px -16px rgba(44, 36, 33, 0.22);
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.modal-overlay.open .upi-qr-card {
    transform: scale(1);
    opacity: 1;
}

.upi-qr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: var(--space-sm) 0;
    position: relative;
}

.upi-qr-container {
    width: 230px;
    height: 230px;
    background: var(--color-bg-cream);
    border: 1px solid rgba(214, 194, 166, 0.4);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 2px 8px rgba(44, 36, 33, 0.03), 0 8px 32px rgba(44, 36, 33, 0.05);
    position: relative;
    overflow: hidden;
}

.upi-qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Scanner scanning line effect */
.qr-scanner-line {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
    box-shadow: 0 0 8px var(--color-gold);
    animation: qrScan 2.5s ease-in-out infinite;
    z-index: 2;
}

@keyframes qrScan {
    0% { top: 12px; }
    50% { top: 216px; }
    100% { top: 12px; }
}

.upi-details-badge {
    background-color: var(--color-bg-cream);
    border: 1px dashed rgba(214, 194, 166, 0.6);
    border-radius: 8px;
    padding: 8px 14px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-espresso);
    font-weight: 600;
    margin-top: var(--space-xs);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.upi-details-badge i {
    color: #25D366;
    font-size: 16px;
}

.upi-ripple-loader {
    width: 60px;
    height: 60px;
    position: relative;
    margin: var(--space-xs) 0;
}

.upi-ripple-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    opacity: 0;
    animation: upiRipple 1.6s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.upi-ripple-circle:nth-child(2) {
    animation-delay: 0.8s;
}

@keyframes upiRipple {
    0% { transform: scale(0.2); opacity: 0.8; }
    100% { transform: scale(1.2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .product-hover-video {
        transition: none !important;
        display: none !important;
    }
}

/* 1. Announcement Marquee Bar */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 38px;
    background-color: #0b8043; /* Green matching the image! */
    color: #ffffff;
    z-index: 1100; /* High index to stay on top */
    overflow: hidden;
    display: flex;
    align-items: center;
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-right: 32px;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.marquee-separator {
    opacity: 0.5;
    font-weight: 400;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
        width: 100%;
        justify-content: space-around;
        transform: none !important;
    }
    .marquee-content:last-child {
        display: none;
    }
}

/* ==================== 2. Standalone Journey Page (Our Journey) ==================== */
.journey-header {
    background: linear-gradient(180deg, var(--color-bg-ivory) 0%, var(--color-bg-cream) 100%);
    padding: var(--space-xl) var(--space-md) var(--space-md) var(--space-md);
    text-align: center;
    border-bottom: 2px solid var(--color-text-espresso);
    position: relative;
    overflow: hidden;
}

.journey-header-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.journey-hero-collage {
    background: var(--color-bg-ivory);
    padding: var(--space-section) var(--space-md);
    border-bottom: 2px solid var(--color-text-espresso);
    position: relative;
}

/* Collage Grid */
.collage-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
    max-width: 1200px;
    margin: var(--space-xl) auto 0 auto;
}

.collage-item {
    background: var(--color-bg-cream);
    border: 3px solid var(--color-text-espresso);
    box-shadow: 6px 6px 0px var(--color-text-espresso);
    border-radius: var(--radius-card-inner);
    overflow: hidden;
    position: relative;
    transition: var(--transition-fast);
}

.collage-item:hover {
    transform: translate3d(-4px, -4px, 0);
    box-shadow: 10px 10px 0px var(--color-text-espresso);
}

.collage-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid var(--color-text-espresso);
    transition: var(--transition-medium);
}

.collage-item:hover img {
    scale: 1.03;
}

.collage-caption {
    padding: var(--space-sm);
    background: var(--color-bg-ivory);
}

.collage-date {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-terracotta);
    text-transform: uppercase;
}

.collage-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-espresso);
    margin-top: 4px;
}

/* Collage grid offsets */
.collage-item.item-1 { grid-column: span 4; }
.collage-item.item-2 { grid-column: span 4; }
.collage-item.item-3 { grid-column: span 4; }
.collage-item.item-4 { grid-column: span 6; }
.collage-item.item-5 { grid-column: span 6; }

/* Timeline Layout */
.timeline-section {
    padding: var(--space-section) var(--space-md);
    background: var(--color-bg-cream);
    border-bottom: 2px solid var(--color-text-espresso);
    position: relative;
    overflow: hidden;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--color-text-espresso);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.timeline-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-xxl);
    position: relative;
}

.timeline-row:last-child {
    margin-bottom: 0;
}

.timeline-col {
    width: 45%;
}

.timeline-col-empty {
    width: 45%;
}

/* Timeline center node indicator */
.timeline-node-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-bg-ivory);
    border: 3px solid var(--color-text-espresso);
    z-index: 3;
    box-shadow: 0 0 0 6px var(--color-bg-cream);
    transition: var(--transition-fast);
}

.timeline-row:hover .timeline-node-dot {
    background: var(--color-terracotta);
    scale: 1.25;
}

/* Timeline Card */
.timeline-card {
    background: var(--color-bg-ivory);
    border: 3px solid var(--color-text-espresso);
    box-shadow: 8px 8px 0px var(--color-text-espresso);
    border-radius: var(--radius-card-outer);
    padding: var(--space-md);
    position: relative;
    opacity: 0;
    transform: translate3d(0, 50px, 0);
    transition: var(--transition-slow);
}

.timeline-row:nth-child(even) .timeline-card {
    transform: translate3d(0, 50px, 0);
}

/* Alternate Left-Right reveal alignments */
.timeline-row.visible .timeline-card {
    opacity: 1;
    transform: translate3d(0, 0, 0) !important;
}

.timeline-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(44, 36, 33, 0.1);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.timeline-card-date {
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-terracotta);
    letter-spacing: 0.1em;
}

.timeline-card-label {
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 700;
    background: var(--color-text-espresso);
    color: var(--color-bg-ivory);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

.timeline-card-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text-espresso);
    line-height: 1.2;
}

.timeline-card-text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-soft);
    margin-top: var(--space-xs);
    line-height: 1.6;
}

.timeline-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-card-inner);
    border: 2px solid var(--color-text-espresso);
    margin-top: var(--space-sm);
    display: block;
}

/* Owner Section */
.owner-section {
    padding: var(--space-section) var(--space-md);
    background: var(--color-bg-ivory);
    border-bottom: 2px solid var(--color-text-espresso);
}

.owner-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.owner-image-wrapper {
    flex: 1;
    position: relative;
    max-width: 450px;
}

.owner-image-frame {
    border: 3px solid var(--color-text-espresso);
    box-shadow: 12px 12px 0px var(--color-text-espresso);
    border-radius: var(--radius-card-outer);
    overflow: hidden;
    background: var(--color-bg-cream);
    aspect-ratio: 4/5;
    position: relative;
}

.owner-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.owner-details-col {
    flex: 1.2;
}

.owner-quote-card {
    background: var(--color-bg-cream);
    border: 3px solid var(--color-text-espresso);
    box-shadow: 8px 8px 0px var(--color-text-espresso);
    border-radius: var(--radius-card-outer);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    position: relative;
}

.owner-quote-symbol {
    font-family: var(--font-heading);
    font-size: 72px;
    color: var(--color-terracotta);
    opacity: 0.2;
    position: absolute;
    top: var(--space-xs);
    left: var(--space-sm);
    line-height: 1;
}

.owner-quote-text {
    font-family: var(--font-subheading);
    font-size: 18px;
    font-style: italic;
    color: var(--color-text-espresso);
    line-height: 1.6;
    position: relative;
    z-index: 2;
    padding-left: var(--space-md);
}

.owner-bio {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-soft);
    line-height: 1.7;
}

.owner-bio p {
    margin-bottom: var(--space-sm);
}

.owner-bio p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .collage-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .collage-item.item-1,
    .collage-item.item-2,
    .collage-item.item-3,
    .collage-item.item-4,
    .collage-item.item-5 {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .collage-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    .collage-item.item-1,
    .collage-item.item-2,
    .collage-item.item-3,
    .collage-item.item-4,
    .collage-item.item-5 {
        grid-column: span 1;
    }
    
    .timeline-section::before {
        left: 20px;
        transform: none;
    }
    .timeline-row {
        flex-direction: column;
        margin-bottom: var(--space-xl);
    }
    .timeline-col {
        width: 100%;
        padding-left: 40px;
    }
    .timeline-col-empty {
        display: none;
    }
    .timeline-node-dot {
        left: 20px;
        transform: translateX(-50%);
        top: 24px;
    }
    
    .owner-container {
        flex-direction: column;
        gap: var(--space-xl);
    }
    .owner-image-wrapper {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .timeline-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
