/* ================================================================
   BELISSE GEMS — Main Stylesheet
   ----------------------------------------------------------------
   Author:   Belisse Gems
   Version:  1.0.0
   License:  All rights reserved
   ----------------------------------------------------------------
   TABLE OF CONTENTS
     1. CSS Custom Properties (Theme Variables)
     2. Reset & Base Styles
     3. Typography
     4. Layout Utilities
     5. Buttons & Forms
     6. Announcement Bar
     7. Header / Navigation
     8. Hero Section
     9. Sourcing Marquee
    10. Gemstones Grid
    11. Jewelry Categories (Dark Section)
    12. Editorial Feature
    13. Bespoke / Services
    14. Heritage / About
    15. Newsletter
    16. Footer
    17. Floating WhatsApp Button
    18. Animations / Keyframes
    19. Responsive / Media Queries
   ================================================================ */


/* ================================================================
   1. CSS CUSTOM PROPERTIES (Theme Variables)
   All brand colors, spacing, and shadows defined here for easy
   theming. Change a value once and it updates everywhere.
   ================================================================ */
:root {
    /* Background tones */
    --ivory:        #F5EFE4;
    --ivory-2:      #EFE7D8;
    --cream:        #FAF6EE;

    /* Text colors */
    --ink:          #1A1612;
    --ink-soft:     #3A332B;
    --muted:        #685C4C;

    /* Accent colors (gold) */
    --gold:         #B08C53;
    --gold-deep:    #8B6A36;
    --gold-light:   #D9BD82;

    /* Gemstone brand colors */
    --emerald:      #0E5340;
    --ruby:         #7A1024;
    --sapphire:     #0F2E5A;
    --aqua:         #3C8FA7;
    --tourmaline:   #9C3A6E;

    /* Utilities */
    --line:         rgba(26, 22, 18, 0.14);
    --shadow:       0 30px 60px -30px rgba(26, 22, 18, 0.35);
}


/* ================================================================
   2. RESET & BASE STYLES
   Normalize browser defaults
   ================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    background: var(--ivory);
    color: var(--ink);
    line-height: 1.65;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

a:hover {
    opacity: 0.7;
}

/* Subtle paper-grain background tint */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 12% 8%, rgba(176, 140, 83, 0.05), transparent 40%),
        radial-gradient(circle at 88% 92%, rgba(14, 83, 64, 0.04), transparent 45%);
    z-index: 0;
}


/* ================================================================
   3. TYPOGRAPHY
   Display headings use Cormorant Garamond (elegant serif)
   Body text uses Jost (refined sans-serif)
   ================================================================ */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

/* Italic emphasis used throughout for editorial flair */
em {
    font-style: italic;
}


/* ================================================================
   4. LAYOUT UTILITIES
   ================================================================ */
section {
    padding: 120px 40px;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Standard section heading block */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    gap: 40px;
    flex-wrap: wrap;
}

.section-head .label {
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-head .label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.section-head h2 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1;
    max-width: 700px;
}

.section-head h2 em {
    color: var(--emerald);
}

.section-head .head-right {
    max-width: 340px;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.7;
}


/* ================================================================
   5. BUTTONS & FORMS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 34px;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--ivory);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: transparent;
    color: var(--ink);
    opacity: 1;
}

/* Diagonal shine sweep on hover */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(110deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
    transition: left 0.6s ease;
}
.btn:hover::before {
    left: 140%;
}

/* Ghost variant: outlined button */
.btn.ghost {
    background: transparent;
    color: var(--ink);
}

.btn.ghost:hover {
    background: var(--ink);
    color: var(--ivory);
}

.btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}


/* ================================================================
   6. ANNOUNCEMENT BAR
   Top promotional strip
   ================================================================ */
.announce {
    background: var(--ink);
    color: var(--ivory-2);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 10px 24px;
    text-align: center;
    position: relative;
    z-index: 5;
}

.announce span {
    opacity: 0.85;
}

.announce strong {
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.25em;
}


/* ================================================================
   7. HEADER / NAVIGATION
   Sticky header with frosted-glass blur effect
   ================================================================ */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 239, 228, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 34px;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
    justify-content: center;
}

.nav-links a {
    position: relative;
    padding: 6px 0;
}

/* Animated underline on hover */
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links a.nav-active {
    opacity: 1;
    color: var(--gold);
}
.nav-links a.nav-active::after {
    transform: scaleX(1);
    background: var(--gold);
}

/* Center logo */
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-align: center;
    line-height: 1;
    display: block;
}

.logo small {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 9px;
    letter-spacing: 0.4em;
    color: var(--gold-deep);
    margin-top: 4px;
    font-weight: 400;
}

/* Language / currency switcher */
.lang-currency-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 10px;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(0,0,0,.18);
    border-radius: 3px;
    padding: 3px 8px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .04em;
    cursor: pointer;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: border-color .2s, background .2s;
    white-space: nowrap;
}
.lang-btn:hover {
    border-color: var(--gold);
    background: rgba(176, 140, 83, .06);
}
.lang-sep {
    opacity: .35;
}

.currency-select {
    background: none;
    border: 1px solid rgba(0,0,0,.18);
    border-radius: 3px;
    padding: 3px 6px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .04em;
    cursor: pointer;
    color: var(--ink);
    transition: border-color .2s;
}
.currency-select:hover,
.currency-select:focus {
    border-color: var(--gold);
    outline: none;
}

/* Right-side icon buttons */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.nav-icons {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    align-items: center;
}

.nav-icons button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
    padding: 4px;
    position: relative;
}

.nav-icons svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.4;
    fill: none;
}

.nav-icons .badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--emerald);
    color: var(--cream);
    font-size: 9px;
    font-weight: 500;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    letter-spacing: 0;
    transform: scale(0);
    transition: transform 0.3s ease;
    font-family: 'Jost', sans-serif;
}
.nav-icons .badge.visible { transform: scale(1); }


/* ================================================================
   8. HERO SECTION
   Main landing area with split layout
   ================================================================ */
.hero {
    position: relative;
    padding: 90px 40px 50px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
}

.hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    animation: lineDraw 0.9s cubic-bezier(.16,1,.3,1) forwards;
    animation-delay: 0.1s;
}

@keyframes lineDraw {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-eyebrow::before { animation: none; transform: scaleX(1); }
}

.hero h1 {
    font-size: clamp(48px, 7vw, 96px);
    line-height: 0.98;
    margin-bottom: 32px;
}

.hero h1 em {
    color: var(--emerald);
    font-weight: 400;
}

.hero p.lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 520px;
    margin-bottom: 44px;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* Hero gemstone stage area */
.hero-stage {
    position: relative;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Soft glow behind the gem */
.hero-stage::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 83, 64, 0.12) 0%, transparent 65%);
    filter: blur(8px);
    animation: pulse 6s ease-in-out infinite;
}

/* Shadow beneath the gem */
.hero-stage::after {
    content: '';
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 14px;
    background: radial-gradient(ellipse, rgba(26, 22, 18, 0.35), transparent 70%);
    filter: blur(6px);
}

.hero-gem {
    position: relative;
    width: 340px;
    height: auto;
    filter: drop-shadow(0 30px 40px rgba(14, 83, 64, 0.4));
    animation: float 7s ease-in-out infinite;
}

.hero-num {
    position: absolute;
    top: 50px;
    right: 40px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--muted);
}

.hero-num span {
    display: block;
    font-family: 'Jost', sans-serif;
    font-style: normal;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 4px;
}

/* ── Hero ambient atmosphere: aurora wash + sparkle field ── */
.hero::before {
    content: '';
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 18% 28%, rgba(14, 83, 64, 0.07), transparent 45%),
        radial-gradient(circle at 82% 22%, rgba(176, 140, 83, 0.10), transparent 45%),
        radial-gradient(circle at 70% 80%, rgba(122, 16, 36, 0.05), transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: auroraDrift 16s ease-in-out infinite alternate;
}

.hero-sparkles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.spark {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--size, 3px);
    height: var(--size, 3px);
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, var(--c, var(--gold)) 60%, transparent 100%);
    opacity: 0;
    filter: drop-shadow(0 0 5px var(--c, var(--gold)));
    animation: sparkTwinkle var(--dur, 3.5s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

/* ── Staggered headline / copy reveal on load ── */
.hero-reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: heroRise 0.9s cubic-bezier(.16,1,.3,1) forwards;
    animation-delay: var(--rd, 0s);
}
.hero h1 .hero-reveal { display: inline-block; }

/* ── Orbit rings behind the gem ── */
.hero-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 460px;
    height: 460px;
    margin-top: -230px;
    margin-left: -230px;
    border: 1px dashed rgba(176, 140, 83, 0.32);
    border-radius: 50%;
    animation: spinSlow 38s linear infinite;
}
.hero-orbit::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    transform: translateX(-50%);
    box-shadow: 0 0 10px 2px rgba(176, 140, 83, 0.7);
}
.hero-orbit-2 {
    width: 340px;
    height: 340px;
    margin-top: -170px;
    margin-left: -170px;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(14, 83, 64, 0.18);
    animation: spinSlow 26s linear infinite reverse;
}
.hero-orbit-2::before {
    background: var(--emerald);
    box-shadow: 0 0 10px 2px rgba(14, 83, 64, 0.5);
}

/* ── 3D parallax tilt wrapper (driven by JS on mousemove) ── */
.hero-stage { perspective: 1200px; }
.hero-gem-tilt {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
    will-change: transform;
}

/* ── Animated light sweep across the gem facets ── */
.gem-shine-sweep {
    opacity: 0;
    animation: gemShine 4.6s ease-in-out infinite;
    animation-delay: 1.4s;
}


/* ================================================================
   9. SOURCING MARQUEE
   Infinite-scrolling horizontal text strip
   ================================================================ */
.marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: var(--cream);
    padding: 18px 0;
}

.marquee-track {
    display: flex;
    gap: 80px;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
}

.marquee-track span {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 22px;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Decorative star between items */
.marquee-track span::after {
    content: '✦';
    color: var(--gold);
    font-size: 14px;
}


/* ================================================================
   10. GEMSTONES GRID
   Asymmetric 12-column grid of gemstone cards
   ================================================================ */
.gem-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.gem-card {
    position: relative;
    padding: 48px 36px 40px;
    border: 1px solid var(--line);
    background: var(--cream);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gem-card:hover {
    transform: translateY(-8px);
    border-color: var(--gem-color);
    box-shadow: var(--shadow), 0 0 40px -10px var(--gem-color);
    opacity: 1;
}

/* Cursor-tracking spotlight glint (position set via JS --mx/--my) */
.gem-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.gem-card:hover::after { opacity: 1; }

/* Color wash that appears on hover (uses gem's own color) */
.gem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, var(--gem-color), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.gem-card:hover::before {
    opacity: 0.12;
}

.gem-card .num {
    position: absolute;
    top: 20px;
    left: 24px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--muted);
}

.gem-card .icon {
    width: 100px;
    height: 100px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gem-card:hover .icon {
    transform: translateY(-4px) scale(1.05);
}

.gem-card h3 {
    font-weight: 400;
    font-size: 32px;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.gem-card .sub {
    font-size: 10px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
}

.gem-card .types {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 16px;
    color: var(--ink-soft);
}

/* Circular arrow indicator (bottom of card) */
.gem-card .arrow {
    margin-top: 24px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}

.gem-card:hover .arrow {
    background: var(--gem-color);
    border-color: var(--gem-color);
    color: #fff;
    transform: rotate(-45deg);
}

.gem-card .arrow svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

/* Grid placement for each gemstone card */
.gem-card.emerald    { grid-column: span 5; --gem-color: var(--emerald); }
.gem-card.ruby       { grid-column: span 4; --gem-color: var(--ruby); }
.gem-card.sapphire   { grid-column: span 3; --gem-color: var(--sapphire); }
.gem-card.aquamarine { grid-column: span 6; --gem-color: var(--aqua); }
.gem-card.tourmaline { grid-column: span 6; --gem-color: var(--tourmaline); }


/* ================================================================
   11. JEWELRY CATEGORIES (Dark Section)
   "Shop by Form" — 5-column grid on dark background
   ================================================================ */
.collections {
    background: var(--ink);
    color: var(--ivory);
    padding: 130px 40px;
    position: relative;
}

.collections::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(176, 140, 83, 0.08), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(14, 83, 64, 0.12), transparent 50%);
    pointer-events: none;
}

.collections .container {
    position: relative;
}

/* Override colors for dark section */
.collections .section-head .label       { color: var(--gold); }
.collections .section-head h2           { color: var(--ivory); }
.collections .section-head h2 em        { color: var(--gold); }
.collections .section-head .head-right  { color: rgba(245, 239, 228, 0.7); }

.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid rgba(245, 239, 228, 0.15);
}

.cat-card {
    padding: 48px 28px;
    border-right: 1px solid rgba(245, 239, 228, 0.15);
    border-bottom: 1px solid rgba(245, 239, 228, 0.15);
    text-align: center;
    cursor: pointer;
    transition: background 0.4s ease, opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1), filter 0.8s cubic-bezier(.16,1,.3,1);
    position: relative;
    overflow: hidden;
    display: block;
}

.cat-card:last-child {
    border-right: none;
}

.cat-card:hover {
    background: rgba(176, 140, 83, 0.06);
    opacity: 1;
}

.cat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(176,140,83,.22), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.cat-card:hover::after { opacity: 1; }

.cat-card svg.shape {
    width: 60px;
    height: 60px;
    margin: 0 auto 22px;
    stroke: var(--gold);
    stroke-width: 1;
    fill: none;
    transition: transform 0.5s ease;
    display: block;
}

.cat-card:hover svg.shape {
    transform: rotate(45deg) scale(1.1);
}

.cat-card h4 {
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}

.cat-card p {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(245, 239, 228, 0.64);
}


/* ================================================================
   12. EDITORIAL FEATURE
   Magazine-style two-column showcase
   ================================================================ */
.editorial-section {
    padding: 0;
}

.editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

/* Visual side (left) */
.editorial-img {
    background: linear-gradient(135deg, var(--emerald) 0%, #1a6e57 100%);
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.editorial-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.15), transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.3), transparent 60%);
}

.editorial-img svg {
    width: 60%;
    height: auto;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4));
    animation: float 8s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.editorial-img .num {
    position: absolute;
    top: 32px;
    left: 32px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Vertical tag (right side of editorial image) */
.editorial-img .tag {
    position: absolute;
    bottom: 32px;
    right: 32px;
    font-size: 10px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* Text side (right) */
.editorial-text {
    padding: 90px 80px;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.editorial-text .label {
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 24px;
}

.editorial-text h2 {
    font-size: 54px;
    line-height: 1.05;
    margin-bottom: 32px;
}

.editorial-text h2 em {
    color: var(--emerald);
}

.editorial-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink-soft);
    margin-bottom: 28px;
}

.editorial-text .quote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 24px;
    line-height: 1.4;
    color: var(--ink);
    padding-left: 24px;
    border-left: 2px solid var(--gold);
    margin-bottom: 36px;
}


/* ================================================================
   13. BESPOKE / SERVICES SECTION
   5 service cards: WhatsApp, Wishlist, Time, Snapshot, Email
   ================================================================ */
.bespoke {
    background: var(--ivory-2);
    position: relative;
    overflow: hidden;
}

/* Subtle decorative gradient corner */
.bespoke::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(176, 140, 83, 0.1), transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

/* Centered section header for this block */
.bespoke .section-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bespoke .section-head .head-right {
    max-width: 580px;
    text-align: center;
}

.bespoke .section-head .label {
    justify-content: center;
}

.bespoke .section-head .label::before {
    display: none;
}

.bespoke-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service {
    background: var(--cream);
    border: 1px solid var(--line);
    padding: 50px 28px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    display: block;
}

.service:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 1;
}

.service::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(176,140,83,.22), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.service:hover::after { opacity: 1; }

/* Circular gold icon container */
.service .icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-deep);
    transition: all 0.4s ease;
}

.service:hover .icon-wrap {
    background: var(--gold);
    color: var(--cream);
    transform: rotate(10deg);
}

.service svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.4;
    fill: none;
}

.service h4 {
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 10px;
}

.service p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

.service .num {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 13px;
    color: var(--muted);
}


/* ================================================================
   14. HERITAGE / ABOUT SECTION
   Brand story with stats grid
   ================================================================ */
.heritage {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.heritage-text .label {
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 24px;
}

.heritage-text h2 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    margin-bottom: 36px;
}

.heritage-text h2 em {
    color: var(--emerald);
}

.heritage-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink-soft);
    margin-bottom: 24px;
    max-width: 560px;
}

/* Stats row */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.stat {
    transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1), filter 0.8s cubic-bezier(.16,1,.3,1);
}

.stat .num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 54px;
    font-weight: 300;
    color: var(--emerald);
    line-height: 1;
    margin-bottom: 8px;
}

.stat .label {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Visual side with watermark text */
.heritage-visual {
    position: relative;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--ivory-2), var(--cream));
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Giant rotated "BELISSE" watermark in background */
.heritage-visual::before {
    content: 'BELISSE';
    position: absolute;
    font-family: 'Cormorant Garamond', serif;
    font-size: 140px;
    font-weight: 300;
    color: rgba(176, 140, 83, 0.08);
    letter-spacing: 0.05em;
    white-space: nowrap;
    transform: rotate(-90deg);
}

.heritage-visual svg {
    width: 55%;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 30px rgba(122, 16, 36, 0.4));
    animation: float 8s ease-in-out infinite;
}


/* ================================================================
   15. NEWSLETTER SECTION
   Email signup on dark background
   ================================================================ */
.newsletter {
    background: var(--ink);
    color: var(--ivory);
    text-align: center;
    padding: 120px 40px;
}

.newsletter h2 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    margin-bottom: 24px;
}

.newsletter h2 em {
    color: var(--gold);
}

.newsletter p {
    font-size: 16px;
    color: rgba(245, 239, 228, 0.6);
    max-width: 520px;
    margin: 0 auto 44px;
}

.newsletter form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(245, 239, 228, 0.3);
}

.newsletter input {
    flex: 1;
    background: none;
    border: none;
    color: var(--ivory);
    font-family: inherit;
    font-size: 14px;
    padding: 16px 8px;
    outline: none;
    letter-spacing: 0.05em;
}

.newsletter input::placeholder {
    color: rgba(245, 239, 228, 0.4);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 11px;
}

.newsletter button {
    background: none;
    border: none;
    color: var(--gold);
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0 8px;
    transition: color 0.3s ease;
}

.newsletter button:hover {
    color: var(--ivory);
}


/* ================================================================
   16. FOOTER
   Brand info, links, social icons, legal
   ================================================================ */
footer {
    background: #0F0C09;
    color: var(--ivory-2);
    padding: 80px 40px 30px;
}

.foot-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(245, 239, 228, 0.1);
}

.foot-brand .logo {
    text-align: left;
    color: var(--ivory);
    font-size: 34px;
    margin-bottom: 20px;
}

.foot-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(245, 239, 228, 0.68);
    max-width: 280px;
    margin-bottom: 24px;
}

/* Social media icons */
.socials {
    display: flex;
    gap: 14px;
}

.socials a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(245, 239, 228, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
    opacity: 1;
}

.socials svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

/* Footer link columns */
.foot-col h5 {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    font-weight: 500;
}

.foot-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.foot-col a {
    font-size: 14px;
    color: rgba(245, 239, 228, 0.65);
}

/* Footer bottom bar */
.foot-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12px;
    color: rgba(245, 239, 228, 0.58);
    letter-spacing: 0.05em;
}

.foot-bottom a:hover {
    color: var(--gold);
}


/* ================================================================
   17. FLOATING WHATSAPP BUTTON
   Persistent contact button (bottom right corner)
   ================================================================ */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 90;
    transition: all 0.3s ease;
    cursor: pointer;
}

.fab:hover {
    transform: scale(1.08);
    opacity: 1;
}

.fab svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* Pulsing ring around the FAB */
.fab::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0.6;
    animation: ring 2s ease-out infinite;
}


/* ================================================================
   18. ANIMATIONS / KEYFRAMES
   ================================================================ */

/* Subtle floating motion for gemstones */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-14px) rotate(1deg); }
}

/* Soft pulsing glow behind hero gem */
@keyframes pulse {
    0%, 100% { transform: scale(1);    opacity: 1; }
    50%      { transform: scale(1.08); opacity: 0.85; }
}

/* Infinite horizontal scroll for marquee */
@keyframes scroll {
    to { transform: translateX(-50%); }
}

/* Expanding ring effect on WhatsApp FAB */
@keyframes ring {
    to { transform: scale(1.4); opacity: 0; }
}

/* Slow ambient color wash drifting behind the hero */
@keyframes auroraDrift {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-2%, 2%) scale(1.06); }
}

/* Twinkling sparkle motes scattered across the hero */
@keyframes sparkTwinkle {
    0%, 100% { opacity: 0;   transform: scale(0.3); }
    50%      { opacity: 1;   transform: scale(1); }
}

/* Headline / copy rising into place on load */
@keyframes heroRise {
    to { opacity: 1; transform: translateY(0); }
}

/* Slow orbiting ring behind the hero gem */
@keyframes spinSlow {
    to { transform: rotate(360deg); }
}

/* Diagonal light sweep crossing the gem facets */
@keyframes gemShine {
    0%   { transform: translateX(-220px); opacity: 0; }
    10%  { opacity: 0.9; }
    38%  { opacity: 0.9; }
    50%  { transform: translateX(220px);  opacity: 0; }
    100% { transform: translateX(220px);  opacity: 0; }
}

/* Respect users who've asked for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero-orbit,
    .hero-orbit-2,
    .gem-shine-sweep,
    .spark,
    .hero-gem {
        animation: none !important;
    }
    .spark { opacity: 0.5; }
    .hero-reveal {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .hero-gem-tilt { transition: none !important; }
}


/* ================================================================
   19. RESPONSIVE / MEDIA QUERIES
   Tablet (<= 1000px) and Mobile (<= 560px)
   ================================================================ */

/* ----- Tablet ----- */
@media (max-width: 1000px) {
    .nav {
        grid-template-columns: auto 1fr auto;
        padding: 18px 24px;
    }
    .nav-links {
        display: none;
    }
    .nav-right {
        gap: 6px;
    }
    section {
        padding: 80px 24px;
    }
    .hero {
        padding: 60px 24px 80px;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-eyebrow {
        justify-content: center;
    }
    .hero p.lead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-stage {
        height: 380px;
        order: -1;
    }
    .hero-gem {
        width: 240px;
    }
    .hero-orbit {
        width: 320px;
        height: 320px;
        margin-top: -160px;
        margin-left: -160px;
    }
    .hero-orbit-2 {
        width: 240px;
        height: 240px;
        margin-top: -120px;
        margin-left: -120px;
    }
    /* Stack all gem cards full width */
    .gem-card.emerald,
    .gem-card.ruby,
    .gem-card.sapphire,
    .gem-card.aquamarine,
    .gem-card.tourmaline {
        grid-column: span 12;
    }
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cat-card {
        border-right: 1px solid rgba(245, 239, 228, 0.15) !important;
    }
    .cat-card:nth-child(2n) {
        border-right: none !important;
    }
    .editorial {
        grid-template-columns: 1fr;
    }
    .editorial-text {
        padding: 60px 30px;
    }
    .bespoke-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .heritage {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .newsletter {
        padding: 80px 24px;
    }
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* ----- Mobile ----- */
@media (max-width: 560px) {
    section {
        padding: 60px 20px;
    }
    .hero {
        padding: 48px 20px 60px;
    }
    .hero h1 {
        font-size: clamp(42px, 12vw, 72px);
    }
    .hero p.lead {
        font-size: 15px;
    }
    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-stage {
        height: 280px;
    }
    .hero-gem {
        width: 180px;
    }
    .hero-orbit {
        width: 240px;
        height: 240px;
        margin-top: -120px;
        margin-left: -120px;
    }
    .hero-orbit-2 {
        width: 180px;
        height: 180px;
        margin-top: -90px;
        margin-left: -90px;
    }
    .spark { display: none; }
    .hero-sparkles .spark:nth-child(-n+6) { display: block; }
    .gem-card.emerald,
    .gem-card.ruby,
    .gem-card.sapphire,
    .gem-card.aquamarine,
    .gem-card.tourmaline {
        grid-column: span 6;
    }
    .gem-card {
        padding: 32px 20px 28px;
    }
    .gem-card h3 {
        font-size: 24px;
    }
    .gem-card .icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    .cat-grid {
        grid-template-columns: 1fr;
    }
    .cat-card {
        border-right: none !important;
        border-bottom: 1px solid rgba(245, 239, 228, 0.15) !important;
        padding: 32px 20px;
    }
    .editorial-img {
        min-height: 300px;
    }
    .editorial-text {
        padding: 40px 20px;
    }
    .editorial-text h2 {
        font-size: clamp(32px, 9vw, 48px);
    }
    .bespoke-grid {
        grid-template-columns: 1fr;
    }
    .service {
        padding: 36px 20px 28px;
    }
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .stat .num {
        font-size: 36px;
    }
    .heritage-visual {
        order: -1;
        aspect-ratio: 4 / 3;
    }
    .newsletter {
        padding: 70px 20px;
    }
    .newsletter form {
        flex-direction: column;
        border-bottom: none;
        gap: 0;
    }
    .newsletter input {
        border-bottom: 1px solid rgba(245, 239, 228, 0.3);
        text-align: center;
        padding: 18px 8px;
    }
    .newsletter button {
        padding: 16px 8px;
        border-top: 1px solid rgba(245, 239, 228, 0.15);
    }
    .foot-grid {
        grid-template-columns: 1fr;
    }
    .foot-bottom {
        flex-direction: column;
        text-align: center;
    }
    .hero-num {
        display: none;
    }
    .section-head h2 {
        font-size: clamp(32px, 9vw, 54px);
    }
    .section-head {
        margin-bottom: 48px;
    }
}

/* ----- Tiny screens ----- */
@media (max-width: 380px) {
    section {
        padding: 50px 16px;
    }
    .hero {
        padding: 40px 16px 50px;
    }
    .gem-card.emerald,
    .gem-card.ruby,
    .gem-card.sapphire,
    .gem-card.aquamarine,
    .gem-card.tourmaline {
        grid-column: span 12;
    }
    .stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .foot-grid {
        grid-template-columns: 1fr;
    }
    .announce {
        font-size: 9px;
        letter-spacing: 0.1em;
        padding: 8px 12px;
    }
}

/* ================================================================
   FLOATING ACTION BUTTONS — mobile sizing
   Covers every phone (not just sub-380px ones) so WhatsApp + Aria
   stay small, evenly spaced, and never compete with page content
   for attention. Both share the same right offset for a clean,
   aligned vertical stack.
   ================================================================ */
@media (max-width: 768px) {
    .fab {
        bottom: 18px;
        right: 14px;
        width: 46px;
        height: 46px;
    }
    .fab svg {
        width: 22px;
        height: 22px;
    }
    .chat-fab-btn {
        bottom: 72px;
        right: 14px;
        width: 46px;
        height: 46px;
    }
    .chat-fab-btn svg { width: 20px; height: 20px; }
    .chat-fab-label { display: none; }
    .chat-unread {
        top: -2px;
        right: -2px;
    }
    .chat-window {
        right: 8px;
        bottom: 124px;
        width: calc(100vw - 16px);
        max-width: 380px;
        height: min(480px, 70vh);
    }
}

/* ================================================================
   MEGA MENU
   Multi-column dropdown panel
   ================================================================ */

/* Container for the dropdown trigger */
.has-mega {
    position: static;            /* allows mega-menu to span full width */
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 0;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
}

.nav-link .chev {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    transition: transform 0.3s ease;
}

.has-mega:hover .nav-link .chev {
    transform: rotate(180deg);
}

/* Animated underline (same style as other nav links) */
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 14px;          /* leave space for chevron */
    bottom: -2px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.has-mega:hover .nav-link::after {
    transform: scaleX(1);
}

/* Mega menu panel — full-width dropdown */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -20px rgba(26, 22, 18, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
    z-index: 49;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Inner grid layout */
.mega-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 60px;
}

.mega-col h6 {
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.mega-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mega-col a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--ink);
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    text-transform: none;
}

.mega-col a:hover {
    color: var(--emerald);
    opacity: 1;
    transform: translateX(4px);
}

[data-gem].mega-gem-active > a {
    color: var(--emerald);
    transform: translateX(4px);
}
[data-gem].mega-gem-active > a .mega-gem {
    box-shadow: 0 0 0 2px var(--gold), inset 0 2px 4px rgba(255,255,255,.3);
}

/* Small gem dot beside gemstone names */
.mega-gem {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3),
                0 2px 6px rgba(0, 0, 0, 0.15);
}

.mega-gem.emerald    { background: radial-gradient(circle at 30% 30%, #3FAA86, #0E5340 60%, #042818); }
.mega-gem.ruby       { background: radial-gradient(circle at 30% 30%, #D33952, #7A1024 60%, #3F0612); }
.mega-gem.sapphire   { background: radial-gradient(circle at 30% 30%, #3D6FB8, #0F2E5A 60%, #06173A); }
.mega-gem.aquamarine { background: radial-gradient(circle at 30% 30%, #9FD6E3, #3C8FA7 60%, #1E5C6F); }
.mega-gem.tourmaline { background: radial-gradient(circle at 30% 30%, #E36BA3, #9C3A6E 60%, #4D1638); }

/* Featured card column */
.mega-featured h6 {
    color: var(--emerald);
}

.mega-card {
    display: grid !important;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: var(--ivory);
    border: 1px solid var(--line);
    transition: all 0.4s ease;
    text-transform: none !important;
}

.mega-card:hover {
    background: #fff;
    border-color: var(--emerald);
    transform: translateX(0) !important;
    box-shadow: 0 20px 30px -15px rgba(14, 83, 64, 0.3);
}

.mega-card-img {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--ivory-2), var(--cream));
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-card-img svg {
    width: 70%;
    filter: drop-shadow(0 8px 12px rgba(14, 83, 64, 0.3));
}

.mega-card-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-card-text .eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 4px;
}

.mega-card-text strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink);
}

.mega-card-text span {
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-top: 8px;
}


/* ================================================================
   MEGA MENU — Mobile (≤ 1000px)
   On mobile we hide the mega menu since nav-links is hidden anyway.
   When you add a hamburger menu later, the mega menu turns into
   an accordion inside the side drawer.
   ================================================================ */
@media (max-width: 1000px) {
    .mega-menu {
        display: none;
    }
}

/* ================================================================
   LOGO — Image + Text
   Works on both desktop and mobile
   ================================================================ */

.logo {
    display: flex;                  /* puts image and text side-by-side */
    align-items: center;             /* vertically centers them */
    justify-content: center;
    gap: 12px;                       /* space between image and text */
    text-decoration: none;
}

.logo-img {
    height: 42px;                    /* logo image size on desktop */
    width: auto;                     /* keeps proportions */
    display: block;
    object-fit: contain;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.28em;
    line-height: 1;
    color: var(--ink);
    text-align: left;
}

.logo-text small {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 8px;
    letter-spacing: 0.4em;
    color: var(--gold-deep);
    margin-top: 4px;
    font-weight: 400;
}


/* ============================================
   LOGO — Tablet (≤ 1000px)
   Slightly smaller, aligned to the left
   ============================================ */
@media (max-width: 1000px) {
    .logo {
        justify-content: flex-start;    /* align to left on mobile */
        gap: 10px;
    }
    .logo-img {
        height: 36px;                   /* smaller image */
    }
    .logo-text {
        font-size: 22px;
    }
    .logo-text small {
        font-size: 7px;
    }
}


/* ============================================
   LOGO — Mobile (≤ 560px)
   Compact size for small screens
   ============================================ */
@media (max-width: 560px) {
    .logo-img {
        height: 32px;
    }
    .logo-text {
        font-size: 18px;
    }
    .logo-text small {
        font-size: 6px;
        letter-spacing: 0.3em;
    }
}


/* ============================================
   LOGO — Tiny screens (≤ 380px)
   Hide the small subtitle to save space
   ============================================ */
@media (max-width: 380px) {
    .logo-text small {
        display: none;
    }
    .logo-text {
        font-size: 16px;
    }
    .logo-img {
        height: 28px;
    }
}


/* ============================================
   LOGO — Footer version (in dark footer)
   Slightly different styling for dark background
   ============================================ */
.foot-brand .logo {
    justify-content: flex-start;
    gap: 10px;
}

.foot-brand .logo-img {
    height: 36px;
}

.foot-brand .logo-text {
    color: var(--ivory);
    font-size: 26px;
}

/* ================================================================
   MOBILE HAMBURGER BUTTON
   Hidden on desktop, visible on tablet/mobile
   ================================================================ */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 60;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* When menu is open, hamburger becomes an X */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* ================================================================
   MOBILE NAVIGATION DRAWER
   Slides in from the left
   ================================================================ */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 380px;
    height: 100%;
    background: var(--cream);
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px -30px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
}

.mobile-nav.open {
    transform: translateX(0);
}

/* Header of the drawer */
.mobile-nav-header {
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.mobile-logo {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.mobile-logo .logo-img {
    height: 32px;
}

.mobile-logo .logo-text {
    font-size: 18px;
}

.mobile-logo .logo-text small {
    font-size: 6px;
}

.mobile-nav-close {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    color: var(--ink);
}

.mobile-nav-close:hover {
    background: var(--ivory-2);
}

.mobile-nav-close svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

/* Body / nav links */
.mobile-nav-body {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

/* Section with expandable submenu */
.mobile-nav-section {
    border-bottom: 1px solid var(--line);
}

.mobile-nav-toggle {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 24px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.02em;
}

.mobile-nav-toggle svg {
    width: 18px;
    height: 18px;
    stroke: var(--gold);
    stroke-width: 1.5;
    fill: none;
    transition: transform 0.3s ease;
}

.mobile-nav-section.open .mobile-nav-toggle svg {
    transform: rotate(180deg);
}

/* Collapsible submenu */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--ivory-2);
}

.mobile-nav-section.open .mobile-submenu {
    max-height: 500px;
}

.mobile-submenu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    color: var(--ink-soft);
    border-bottom: 1px solid rgba(26, 22, 18, 0.06);
    transition: all 0.3s ease;
}

.mobile-submenu a:hover {
    color: var(--emerald);
    padding-left: 38px;
    background: var(--cream);
    opacity: 1;
}

.mobile-submenu a:last-child {
    border-bottom: none;
}

/* Color dot for gemstones */
.m-gem {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3),
                0 1px 3px rgba(0, 0, 0, 0.15);
}

.m-gem.emerald    { background: radial-gradient(circle at 30% 30%, #3FAA86, #0E5340 60%, #042818); }
.m-gem.ruby       { background: radial-gradient(circle at 30% 30%, #D33952, #7A1024 60%, #3F0612); }
.m-gem.sapphire   { background: radial-gradient(circle at 30% 30%, #3D6FB8, #0F2E5A 60%, #06173A); }
.m-gem.aquamarine { background: radial-gradient(circle at 30% 30%, #9FD6E3, #3C8FA7 60%, #1E5C6F); }
.m-gem.tourmaline { background: radial-gradient(circle at 30% 30%, #E36BA3, #9C3A6E 60%, #4D1638); }

/* Simple (non-expanding) links */
.mobile-nav-link {
    display: block;
    padding: 18px 24px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--emerald);
    padding-left: 30px;
    opacity: 1;
}

/* Footer of drawer (action buttons) */
.mobile-nav-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: var(--ivory);
    flex-shrink: 0;
}

.mobile-nav-footer .mobile-action svg {
    stroke-width: 1.5;
    stroke: currentColor;
    fill: none;
}

.mobile-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.mobile-action:hover {
    background: var(--ink);
    color: var(--cream);
    opacity: 1;
}

.mobile-action svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

/* Social icons */
.mobile-nav-socials {
    padding: 16px 24px 24px;
    display: flex;
    justify-content: center;
    gap: 20px;
    background: var(--ivory);
    border-top: 1px solid var(--line);
    flex-shrink: 0;
}

.mobile-nav-socials a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: all 0.3s ease;
}

.mobile-nav-socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--cream);
    opacity: 1;
}

.mobile-nav-socials svg {
    width: 16px;
    height: 16px;
}

/* Backdrop overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 22, 18, 0.5);
    backdrop-filter: blur(2px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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


/* ================================================================
   SHOW HAMBURGER, HIDE NAV LINKS ON MOBILE
   ================================================================ */
@media (max-width: 1000px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        display: none;
    }
    /* Nav becomes: [hamburger+icons] [logo] (logo centered) */
    .nav {
        grid-template-columns: auto 1fr auto;
        padding: 14px 20px;
        gap: 16px;
    }
    /* On tablet/mobile: hide search, account & wishlist — they live in the drawer */
    .nav-icons button[aria-label="Search"],
    .nav-icons button[aria-label="My Account"],
    .nav-icons button[aria-label="Wishlist"] {
        display: none;
    }
    .nav-icons {
        gap: 14px;
    }
    .currency-select {
        display: none;
    }
    .lang-currency-wrap {
        margin-right: 4px;
    }
}

/* On small mobile, reduce nav padding further */
@media (max-width: 560px) {
    .nav {
        padding: 12px 16px;
        gap: 10px;
    }
    .logo-text {
        font-size: 20px;
    }
    .nav-icons {
        gap: 10px;
    }
    .nav-icons svg {
        width: 17px;
        height: 17px;
    }
    .hamburger {
        width: 28px;
        height: 28px;
    }
}

/* Lock body scroll when mobile menu open */
body.menu-open {
    overflow: hidden;
}

/* Lock scroll when any panel/overlay open */
body.panel-open { overflow: hidden; }

/* ================================================================
   SEARCH OVERLAY
   Full-screen dark overlay with centred search input
   ================================================================ */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 10, 6, 0.93);
    z-index: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 120px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.search-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.search-overlay-inner {
    width: 100%;
    max-width: 700px;
    padding: 0 24px;
}
.search-close-btn {
    position: absolute;
    top: 28px;
    right: 32px;
    background: none;
    border: none;
    color: rgba(245, 239, 228, 0.55);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.search-close-btn:hover { color: var(--cream); }
.search-close-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.search-input-row {
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(176, 140, 83, 0.45);
    padding-bottom: 14px;
    margin-bottom: 36px;
}
.search-input-row > svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; }
.search-input-field {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 300;
    color: var(--cream);
    letter-spacing: 0.02em;
}
.search-input-field::placeholder { color: rgba(245, 239, 228, 0.28); }
.search-hint {
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.search-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}
.search-quick-links a {
    padding: 8px 18px;
    border: 1px solid rgba(176, 140, 83, 0.3);
    color: rgba(245, 239, 228, 0.78);
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    letter-spacing: 0.07em;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.search-quick-links a:hover { border-color: var(--gold); color: var(--gold); }
.search-results-list { }
.search-result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(245, 239, 228, 0.07);
    text-decoration: none;
    color: rgba(245, 239, 228, 0.85);
    transition: color 0.2s;
}
.search-result-row:hover { color: var(--gold); }
.search-result-name { font-family: 'Cormorant Garamond', serif; font-size: 19px; }
.search-result-meta { font-family: 'Jost', sans-serif; font-size: 11px; color: rgba(245, 239, 228, 0.38); letter-spacing: 0.06em; text-transform: uppercase; }
.search-no-results { font-family: 'Jost', sans-serif; font-size: 14px; color: rgba(245, 239, 228, 0.32); text-align: center; padding: 32px 0; }

/* ================================================================
   ACCOUNT / CONSULTATION PANEL
   Slides in from right
   ================================================================ */
.account-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: var(--cream);
    z-index: 500;
    transform: translateX(110%);
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px -30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}
.account-panel.open { transform: translateX(0); }
.account-panel-hdr {
    padding: 28px 32px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.account-panel-hdr h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 22px; letter-spacing: 0.05em; }
.panel-close-btn {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: background 0.2s;
}
.panel-close-btn:hover { background: var(--ivory-2); }
.panel-close-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.account-panel-body { padding: 40px 32px; flex: 1; }
.acct-eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.account-panel-body h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 14px;
    color: var(--ink);
}
.account-panel-body > p {
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 36px;
}
.acct-actions { display: flex; flex-direction: column; gap: 12px; }
.acct-action {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    background: var(--ivory);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    font-family: 'Jost', sans-serif;
}
.acct-action:hover { border-color: var(--gold); background: var(--ivory-2); }
.acct-action svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.5; }
.acct-action-text strong { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; margin-bottom: 2px; }
.acct-action-text span { font-size: 11px; color: var(--muted); }
.acct-divider { border: none; border-top: 1px solid var(--line); margin: 28px 0; }
.acct-note { font-family: 'Jost', sans-serif; font-size: 11px; color: var(--muted); line-height: 1.65; text-align: center; }

/* ================================================================
   GLOBAL WISHLIST & CART PANEL
   Shared drawer styles for non-shop pages
   ================================================================ */
.global-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background: var(--cream);
    z-index: 500;
    transform: translateX(110%);
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px -30px rgba(0, 0, 0, 0.3);
}
.global-panel.open { transform: translateX(0); }
.global-panel-hdr {
    padding: 28px 32px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.global-panel-hdr h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 24px; letter-spacing: 0.05em; }
.global-panel-hdr h3 span { color: var(--muted); font-size: 18px; margin-left: 4px; }
.global-panel-body { flex: 1; overflow-y: auto; padding: 0 32px; }
.global-panel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
    gap: 10px;
    padding: 40px 0;
}
.global-panel-empty svg { width: 54px; height: 54px; fill: none; stroke: var(--line); stroke-width: 1; }
.global-panel-empty p { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--muted); }
.global-panel-empty small { font-family: 'Jost', sans-serif; font-size: 12px; color: var(--muted); }
.panel-gem-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.panel-gem-links a {
    padding: 7px 14px;
    border: 1px solid var(--line);
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.panel-gem-links a:hover { border-color: var(--gold); color: var(--gold); }
.panel-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.panel-item-gem {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ivory-2);
    border-radius: 2px;
}
.panel-item-gem svg { width: 38px; height: 38px; }
.panel-item-info { flex: 1; min-width: 0; }
.panel-item-name { font-family: 'Cormorant Garamond', serif; font-size: 15px; line-height: 1.3; color: var(--ink); margin-bottom: 3px; }
.panel-item-meta { font-family: 'Jost', sans-serif; font-size: 11px; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 6px; }
.panel-item-price { font-family: 'Jost', sans-serif; font-size: 13px; color: var(--gold); font-weight: 500; }
.panel-item-btns { display: flex; gap: 6px; margin-top: 8px; }
.panel-item-btn {
    background: none;
    border: 1px solid var(--line);
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 5px 10px;
    cursor: pointer;
    color: var(--ink-soft);
    transition: border-color 0.2s, color 0.2s;
}
.panel-item-btn:hover { border-color: var(--gold); color: var(--gold); }
.panel-item-btn.danger:hover { border-color: #c0392b; color: #c0392b; }
.panel-item-qty { display: flex; align-items: center; gap: 6px; }
.panel-item-qty button { background: none; border: 1px solid var(--line); width: 24px; height: 24px; cursor: pointer; color: var(--ink); font-size: 14px; display: flex; align-items: center; justify-content: center; line-height: 1; transition: border-color 0.2s; }
.panel-item-qty button:hover { border-color: var(--gold); }
.panel-item-qty span { font-family: 'Jost', sans-serif; font-size: 13px; min-width: 18px; text-align: center; }
.global-panel-ftr {
    padding: 24px 32px;
    border-top: 1px solid var(--line);
    flex-shrink: 0;
}
.panel-totals { margin-bottom: 16px; }
.panel-totals .p-row { display: flex; justify-content: space-between; font-family: 'Jost', sans-serif; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.panel-totals .p-row.p-total { font-size: 15px; font-weight: 500; color: var(--ink); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 8px; margin-bottom: 0; }
.panel-totals .p-row.p-total span:last-child { color: var(--gold); }
.panel-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    background: var(--ink);
    color: var(--cream);
    border: none;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s;
    margin-bottom: 10px;
}
.panel-checkout-btn:hover { background: var(--gold); }
.panel-checkout-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.panel-continue-btn {
    display: block;
    text-align: center;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    padding: 8px;
    transition: color 0.2s;
}
.panel-continue-btn:hover { color: var(--gold); }

/* Panel backdrop overlay */
.panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 10, 6, 0.45);
    z-index: 490;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.panel-overlay.active { opacity: 1; pointer-events: all; }

/* ================================================================
   ARIA CHAT ASSISTANT
   ================================================================ */

/* Floating chat button */
.chat-fab-btn {
    position: fixed;
    bottom: 106px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--ink);
    color: var(--cream);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    z-index: 200;
    transition: background 0.25s, transform 0.2s;
}
.chat-fab-btn:hover { background: var(--gold); transform: scale(1.06); }
.chat-fab-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.chat-fab-label {
    font-family: 'Jost', sans-serif;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
    opacity: 0.8;
}
.chat-unread {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--gold);
    color: var(--cream);
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--ivory);
}

/* Chat window */
.chat-window {
    position: fixed;
    bottom: 176px;
    right: 30px;
    width: 370px;
    max-width: calc(100vw - 32px);
    height: 520px;
    max-height: calc(100vh - 200px);
    background: var(--cream);
    border-radius: 4px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22), 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 201;
    display: flex;
    flex-direction: column;
    transform: scale(0.88) translateY(24px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.28s ease;
}
.chat-window.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* Chat header */
.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--ink);
    color: var(--cream);
    flex-shrink: 0;
    border-radius: 4px 4px 0 0;
}
.chat-avatar {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(176, 140, 83, 0.2);
    border-radius: 50%;
    border: 1px solid rgba(176, 140, 83, 0.4);
}
.chat-avatar svg { width: 22px; height: 22px; }
.chat-header-info { flex: 1; }
.chat-header-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.2;
}
.chat-header-sub {
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 5px;
}
.chat-header-sub::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
    display: inline-block;
}
.chat-header-close {
    background: none;
    border: none;
    color: rgba(245, 239, 228, 0.6);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}
.chat-header-close:hover { background: rgba(255,255,255,0.1); color: var(--cream); }
.chat-header-close svg { width: 16px; height: 16px; }

/* Messages area */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

/* Message rows */
.chat-msg { display: flex; flex-direction: column; gap: 6px; max-width: 90%; }
.chat-msg.bot { align-items: flex-start; align-self: flex-start; }
.chat-msg.user { align-items: flex-end; align-self: flex-end; }

/* Bubbles */
.chat-bubble {
    padding: 11px 14px;
    border-radius: 4px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    max-width: 100%;
}
.chat-bubble.bot {
    background: var(--ivory-2);
    color: var(--ink);
    border-radius: 2px 12px 12px 12px;
}
.chat-bubble.user {
    background: var(--ink);
    color: var(--cream);
    border-radius: 12px 2px 12px 12px;
}
.chat-bubble strong { font-weight: 500; }

/* Quick reply chips */
.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 2px;
}
.chat-chip {
    padding: 6px 12px;
    border: 1px solid var(--line);
    background: var(--cream);
    color: var(--ink-soft);
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    letter-spacing: 0.04em;
    cursor: pointer;
    border-radius: 20px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    white-space: nowrap;
}
.chat-chip:hover { border-color: var(--gold); color: var(--gold); background: var(--ivory); }

/* CTA link button within chat */
.chat-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--ink);
    color: var(--cream);
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s;
    border-radius: 2px;
    align-self: flex-start;
}
.chat-link-btn:hover { background: var(--gold); }

/* Typing indicator */
.chat-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
    min-width: 56px;
}
.chat-typing span {
    width: 7px;
    height: 7px;
    background: var(--muted);
    border-radius: 50%;
    animation: chatDot 1.4s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
}

/* Input area */
.chat-input-area {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-top: 1px solid var(--line);
    gap: 10px;
    flex-shrink: 0;
    background: var(--cream);
    border-radius: 0 0 4px 4px;
}
.chat-input {
    flex: 1;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 9px 16px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--gold); }
.chat-input::placeholder { color: var(--muted); font-size: 12px; }
.chat-send-btn {
    width: 36px;
    height: 36px;
    background: var(--ink);
    color: var(--cream);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}
.chat-send-btn:hover { background: var(--gold); }
.chat-send-btn svg { width: 15px; height: 15px; }
.panel-overlay.active { opacity: 1; pointer-events: all; }

/* ================================================================
   SCROLL-REVEAL SYSTEM
   Cards get a dramatic blur+scale+rise; text blocks get a lighter
   fade+rise. Classes are toggled by initScrollAnimations() in main.js.
   ================================================================ */
/* NOTE: transition timing is declared on each target's own rule
   (merged with its existing hover transition) rather than here,
   so this class never clobbers a card's hover transition list. */
.reveal-card {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
    filter: blur(6px);
}
.reveal-card.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}
.reveal-block {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-block.in-view {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal-card, .reveal-block {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

/* ================================================================
   MODERN DISPLAY-TEXT SHIMMER
   Animated gradient sweep for the italic accent word in major
   headings — hero, section heads, editorial, heritage.
   ================================================================ */
.hero h1 em,
.section-head h2 em,
.editorial-text h2 em,
.heritage-text h2 em {
    background: linear-gradient(100deg, var(--emerald) 0%, var(--gold-light) 45%, var(--gold-deep) 55%, var(--emerald) 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textShimmer 7s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% center; }
    50%      { background-position: 100% center; }
}

@media (prefers-reduced-motion: reduce) {
    .hero h1 em,
    .section-head h2 em,
    .editorial-text h2 em,
    .heritage-text h2 em {
        animation: none;
        background-position: 0% center;
    }
}

/* ================================================================
   CHINESE TYPOGRAPHY (zh-CN)
   Loaded only when language is switched to Chinese — does not
   affect English layout. Font-family overrides use !important
   because dozens of selectors elsewhere set font-family directly;
   this keeps the override scoped strictly to [lang="zh-CN"].
   ================================================================ */
[lang="zh-CN"] h1,
[lang="zh-CN"] h2,
[lang="zh-CN"] h3,
[lang="zh-CN"] h4,
[lang="zh-CN"] h5,
[lang="zh-CN"] h6,
[lang="zh-CN"] em,
[lang="zh-CN"] blockquote {
    font-family: 'Noto Serif SC', 'Cormorant Garamond', serif !important;
    font-style: normal !important;
}

[lang="zh-CN"] body,
[lang="zh-CN"] p,
[lang="zh-CN"] span,
[lang="zh-CN"] a,
[lang="zh-CN"] button,
[lang="zh-CN"] label,
[lang="zh-CN"] input,
[lang="zh-CN"] select,
[lang="zh-CN"] textarea,
[lang="zh-CN"] li,
[lang="zh-CN"] div {
    font-family: 'Noto Sans SC', 'Jost', sans-serif !important;
}

/* Decorative Latin gem names (Smaragdus, Rubinus…) stay in Latin serif italic */
[lang="zh-CN"] .latin {
    font-family: 'Cormorant Garamond', serif !important;
    font-style: italic !important;
}

/* Brand wordmark stays Latin */
[lang="zh-CN"] .logo,
[lang="zh-CN"] .logo-text,
[lang="zh-CN"] .logo-text small {
    font-family: 'Jost', sans-serif !important;
}

/* Chinese characters are already evenly spaced — drop wide tracking */
[lang="zh-CN"] .nav-links a,
[lang="zh-CN"] .label,
[lang="zh-CN"] .eyebrow,
[lang="zh-CN"] .hero-eyebrow,
[lang="zh-CN"] button,
[lang="zh-CN"] .btn,
[lang="zh-CN"] .pill,
[lang="zh-CN"] .mobile-nav-link,
[lang="zh-CN"] .chat-fab-label {
    letter-spacing: 0.02em !important;
}

/* Slightly taller line-height improves CJK readability */
[lang="zh-CN"] p,
[lang="zh-CN"] .lead,
[lang="zh-CN"] .modal-desc,
[lang="zh-CN"] .faq-a,
[lang="zh-CN"] .chat-bubble {
    line-height: 1.85;
}

/* Prevent long Chinese headings from breaking mid-character */
[lang="zh-CN"] h1,
[lang="zh-CN"] h2,
[lang="zh-CN"] h3 {
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Mobile: Chinese nav labels are denser, give a touch more breathing room */
@media (max-width: 768px) {
    [lang="zh-CN"] .nav-links a { font-size: 13px; }
    [lang="zh-CN"] .pill { padding-left: 14px; padding-right: 14px; }
}