/* ==========================================================================
   NobleNeedle — Embroidery Atelier · Design System
   Black + Gold luxury · Cormorant Garamond + Jost
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --bg:        #080706;
  --bg-1:      #0e0c0a;
  --bg-2:      #141210;
  --surface:   #1a1714;
  --surface-2: #201d18;
  --line:      #2a2520;
  --line-2:    #3a3028;

  /* Gold + text */
  --gold:      #c9a84c;
  --gold-2:    #d4b55a;
  --gold-deep: #a08030;
  --cream:     #e8e0d0;
  --text:      #e8e0d0;
  --text-2:    #b0a080;
  --text-3:    #8a7a60;
  --text-4:    #6b6050;
  --text-5:    #4a4030;
  --danger:    #c0603a;
  --success:   #7fa05a;

  --gold-grad: linear-gradient(135deg, #f0d98f 0%, #c9a84c 45%, #9c7a2c 100%);
  --gold-sheen: linear-gradient(120deg, rgba(201,168,76,0) 0%, rgba(232,224,208,.55) 50%, rgba(201,168,76,0) 100%);

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .18s;
  --t: .32s;

  /* Z-scale */
  --z-grain: 1;
  --z-header: 60;
  --z-drawer: 80;
  --z-modal: 90;
  --z-toast: 100;

  --shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  --shadow-gold: 0 14px 40px -12px rgba(201,168,76,.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 16px; }
ul { list-style: none; }
::selection { background: rgba(201,168,76,.28); color: #fff; }

/* Film-grain overlay for richness */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; color: var(--cream); letter-spacing: .005em; }
.display { font-size: clamp(2.9rem, 7vw, 6rem); font-weight: 500; line-height: .98; }
h1, .h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
h2, .h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3, .h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
p { color: var(--text-2); }
strong { color: var(--cream); font-weight: 400; }
em { font-style: italic; }

.serif { font-family: var(--serif); }
.italic { font-style: italic; }
.gold { color: var(--gold); }
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  font-family: var(--sans);
  font-size: clamp(.66rem, 1vw, .74rem);
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: .8em;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.center::after {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow.center { justify-content: center; }
.eyebrow.no-rule::before, .eyebrow.no-rule::after { display: none; }

.lead { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--text-2); font-weight: 300; max-width: 56ch; }
.muted { color: var(--text-3); }
.tiny { font-size: .8rem; letter-spacing: .04em; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-tight { max-width: 920px; }
.section { padding-block: clamp(64px, 9vw, 132px); position: relative; }
.section-sm { padding-block: clamp(48px, 6vw, 84px); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1.1rem; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 30px); }
.flex { display: flex; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.divider { height: 1px; background: var(--line); border: 0; }
.divider-grad { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.hairline { height: 1px; width: 64px; background: linear-gradient(90deg, var(--gold), transparent); }
.hairline.center { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head p { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-py: 14px; --btn-px: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: var(--btn-py) var(--btn-px);
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px; cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t), border-color var(--t), box-shadow var(--t), transform var(--t-fast);
  white-space: nowrap; line-height: 1; min-height: 48px;
  position: relative; overflow: hidden;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-gold { background: var(--gold-grad); color: #15110a; box-shadow: var(--shadow-gold); background-size: 160% 160%; }
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 18px 48px -10px rgba(201,168,76,.55); }
.btn-gold:active { transform: translateY(1px); }
.btn-line { border: 1px solid var(--line-2); color: var(--cream); background: rgba(255,255,255,.012); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.06); }
.btn-ghost { color: var(--text-2); padding-inline: 8px; }
.btn-ghost:hover { color: var(--gold); }
.btn-block { width: 100%; }
.btn-sm { --btn-py: 10px; --btn-px: 18px; font-size: .72rem; min-height: 40px; }
.btn-lg { --btn-py: 17px; --btn-px: 34px; font-size: .86rem; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn .spinner { width: 16px; height: 16px; border: 2px solid rgba(0,0,0,.25); border-top-color: #15110a; border-radius: 50%; animation: spin .7s linear infinite; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; color: var(--gold); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; transition: gap var(--t); }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform var(--t); }
.link-arrow:hover { gap: .8em; }
.link-arrow:hover svg { transform: translateX(3px); }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Focus ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t), transform var(--t);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8,7,6,.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 38px; width: auto; }
.brand > span { display: flex; flex-direction: column; justify-content: center; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: .04em; color: var(--cream); line-height: 1; position: relative; top: 3px; }
.brand-name b { color: var(--gold); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; padding: 10px 16px; font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-2); font-weight: 400;
  transition: color var(--t);
}
.nav-links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; color: var(--text-2); transition: color var(--t), background var(--t); position: relative;
}
.icon-btn:hover { color: var(--gold); background: rgba(201,168,76,.07); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-badge {
  position: absolute; top: 5px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--gold-grad); color: #15110a; border-radius: 999px;
  font-size: .64rem; font-weight: 600; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg); transform: scale(0); transition: transform var(--t) var(--ease);
}
.cart-badge.show { transform: scale(1); }

/* Language switcher */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px; color: var(--text-2); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; transition: color var(--t), background var(--t); }
.lang-btn:hover { color: var(--gold); background: rgba(201,168,76,.07); }
.lang-btn svg { width: 18px; height: 18px; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px;
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 6px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px; font-size: .82rem; color: var(--text-2); letter-spacing: .04em; transition: background var(--t), color var(--t); }
.lang-menu button:hover { background: var(--surface); color: var(--cream); }
.lang-menu button.active { color: var(--gold); }
.lang-menu .flag { font-size: 1rem; line-height: 1; }

.burger { display: none; }

/* ---------- Mobile nav ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: var(--z-drawer); visibility: hidden; }
.mobile-nav .backdrop { position: absolute; inset: 0; background: rgba(4,3,3,.6); opacity: 0; transition: opacity var(--t); backdrop-filter: blur(3px); }
.mobile-nav .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 380px);
  background: var(--bg-1); border-left: 1px solid var(--line); padding: 28px 26px;
  transform: translateX(100%); transition: transform var(--t) var(--ease-out);
  display: flex; flex-direction: column; gap: 8px; overflow-y: auto;
}
.mobile-nav.open { visibility: visible; }
.mobile-nav.open .backdrop { opacity: 1; }
.mobile-nav.open .panel { transform: translateX(0); }
.mobile-nav a { padding: 14px 6px; font-family: var(--serif); font-size: 1.6rem; color: var(--cream); border-bottom: 1px solid var(--line); transition: color var(--t); }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .m-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav .m-langs { display: flex; gap: 8px; margin-top: 22px; }
.mobile-nav .m-langs button { flex: 1; padding: 11px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text-2); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; transition: all var(--t); }
.mobile-nav .m-langs button.active { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.06); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(8,7,6,.82) 0%, rgba(8,7,6,.5) 34%, rgba(8,7,6,.12) 64%, rgba(8,7,6,0) 100%),
    linear-gradient(180deg, rgba(8,7,6,.6) 0%, rgba(8,7,6,.18) 30%, rgba(8,7,6,.42) 62%, rgba(8,7,6,.92) 100%),
    radial-gradient(120% 80% at 80% 15%, rgba(201,168,76,.10), transparent 55%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(60px, 9vw, 120px); padding-top: 140px; }
/* subtle text "outline" so hero copy stays readable over any video frame */
.hero .eyebrow, .hero h1, .hero .lead, .hero-trust .ht b, .hero-trust .ht span {
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 26px rgba(0,0,0,.45);
}
.hero h1 { max-width: 16ch; margin-top: 1.4rem; }
.hero .lead { margin-top: 1.6rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: clamp(18px,3vw,40px); margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(201,168,76,.16); }
.hero-trust .ht { display: flex; flex-direction: column; gap: 2px; }
.hero-trust .ht b { font-family: var(--serif); font-size: 1.7rem; color: var(--gold); font-weight: 600; line-height: 1; }
.hero-trust .ht span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-3); font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; }
.scroll-cue .line { width: 1px; height: 38px; background: linear-gradient(180deg, var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100%{transform:scaleY(.4);opacity:.4} 50%{transform:scaleY(1);opacity:1} }
.hero-sound { position: absolute; right: var(--gutter); bottom: 30px; z-index: 2; }

/* ==========================================================================
   MARQUEE (delivery partners / keywords)
   ========================================================================== */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-1); padding: 22px 0; }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; color: var(--text-3); font-family: var(--serif); font-size: 1.5rem; font-style: italic; white-space: nowrap; }
.marquee-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ==========================================================================
   CARDS / FEATURES
   ========================================================================== */
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.feature {
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px); position: relative; overflow: hidden;
  transition: border-color var(--t), transform var(--t) var(--ease), box-shadow var(--t);
}
.feature::after { content:""; position:absolute; inset:0; border-radius:inherit; background: radial-gradient(120% 100% at 50% 0%, rgba(201,168,76,.07), transparent 55%); opacity:0; transition:opacity var(--t); pointer-events:none; }
.feature:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature:hover::after { opacity: 1; }
.feature .ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: rgba(201,168,76,.08); border: 1px solid rgba(201,168,76,.2); color: var(--gold); margin-bottom: 22px; }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 10px; }
.feature p { font-size: .95rem; }
.feature .num { position: absolute; top: 22px; right: 26px; font-family: var(--serif); font-size: 1rem; color: var(--text-5); letter-spacing: .1em; }

/* ==========================================================================
   PRODUCT CARDS / SHOP
   ========================================================================== */
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2);
  transition: all var(--t); cursor: pointer;
}
.chip:hover { border-color: var(--line-2); color: var(--cream); }
.chip.active { background: var(--gold-grad); color: #15110a; border-color: transparent; font-weight: 500; }
.select-sort { background: var(--surface); border: 1px solid var(--line); color: var(--text-2); border-radius: 999px; padding: 11px 16px; font-size: .78rem; letter-spacing: .06em; cursor: pointer; }

.product-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.card {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color var(--t), transform var(--t) var(--ease), box-shadow var(--t);
  display: flex; flex-direction: column; position: relative;
}
.card:hover { border-color: var(--line-2); transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; background: rgba(8,7,6,.7); backdrop-filter: blur(6px); border: 1px solid rgba(201,168,76,.3); color: var(--gold); }
.card-fav { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; background: rgba(8,7,6,.55); backdrop-filter: blur(6px); color: var(--cream); opacity: 0; transform: translateY(-6px); transition: all var(--t); }
.card:hover .card-fav { opacity: 1; transform: translateY(0); }
.card-fav:hover { color: var(--gold); }
.card-quick {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: rgba(8,7,6,.78); backdrop-filter: blur(10px); border: 1px solid var(--line-2);
  color: var(--cream); border-radius: 999px; padding: 12px; text-align: center;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transform: translateY(12px); transition: all var(--t) var(--ease);
}
.card:hover .card-quick { opacity: 1; transform: translateY(0); }
.card-quick:hover { background: var(--gold-grad); color: #15110a; border-color: transparent; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-cat { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-4); }
.card-title { font-family: var(--serif); font-size: 1.28rem; color: var(--cream); font-weight: 500; line-height: 1.15; }
.card-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.price { font-family: var(--serif); font-size: 1.35rem; color: var(--gold); font-weight: 600; }
.price .from { font-family: var(--sans); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-4); margin-right: 6px; }
.price-old { color: var(--text-4); text-decoration: line-through; font-size: .95rem; margin-left: 8px; font-family: var(--sans); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 13px; height: 13px; }

/* ==========================================================================
   SPLIT / SHOWCASE
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 90px); }
.split.rev .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/6; border: 1px solid var(--line); }
.split-media img, .split-media video { width: 100%; height: 100%; object-fit: cover; }
.media-frame { position: relative; }
.media-frame::before { content:""; position:absolute; inset:-1px; border:1px solid rgba(201,168,76,.22); border-radius: inherit; pointer-events:none; z-index:2; }
.badge-float {
  position: absolute; z-index: 3; background: rgba(14,12,10,.82); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow);
}
.badge-float b { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); display: block; line-height: 1; }
.badge-float span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }

/* ==========================================================================
   PROCESS / STEPS
   ========================================================================== */
.steps { counter-reset: step; display: grid; gap: 2px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 28px; padding: 30px 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .sn { counter-increment: step; font-family: var(--serif); font-size: 2.4rem; color: var(--text-5); font-weight: 500; line-height: 1; transition: color var(--t); }
.step .sn::before { content: "0" counter(step); }
.step:hover .sn { color: var(--gold); }
.step h3 { margin-bottom: 8px; }
.step p { max-width: 56ch; font-size: .96rem; }

/* ==========================================================================
   CONFIGURATOR TEASER
   ========================================================================== */
.config-teaser { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(120% 120% at 80% 10%, rgba(201,168,76,.12), transparent 55%), var(--bg-1); }
.config-teaser .ct-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 56px); }
.config-teaser .ct-visual { position: relative; }

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-1); padding: clamp(24px,3vw,40px) 24px; text-align: center; }
.stat b { font-family: var(--serif); font-size: clamp(2.2rem,4vw,3.4rem); color: var(--gold); font-weight: 600; display: block; line-height: 1; }
.stat span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-top: 10px; display: block; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.quote { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px,3vw,38px); position: relative; height: 100%; }
.quote .qm { font-family: var(--serif); font-size: 4rem; color: var(--gold); opacity: .25; line-height: .6; height: 28px; }
.quote p { font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--cream); line-height: 1.5; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.quote .av { width: 42px; height: 42px; border-radius: 999px; background: var(--gold-grad); color: #15110a; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; }
.quote .who b { display: block; color: var(--cream); font-size: .92rem; font-weight: 400; }
.quote .who span { font-size: .72rem; color: var(--text-3); letter-spacing: .06em; }

/* ==========================================================================
   DELIVERY PARTNERS
   ========================================================================== */
.carriers { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
.carrier { aspect-ratio: 16/9; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-1); transition: border-color var(--t), background var(--t); padding: 16px; }
.carrier:hover { border-color: var(--line-2); background: var(--surface); }
.carrier svg, .carrier span { max-width: 100%; }
.carrier .cn { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: .04em; color: var(--text-2); transition: color var(--t); text-align:center; }
.carrier:hover .cn { color: var(--gold); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(201,168,76,.22); text-align: center; padding: clamp(48px,7vw,96px) var(--gutter); background: radial-gradient(100% 140% at 50% 0%, rgba(201,168,76,.14), transparent 60%), var(--bg-1); }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; margin-top: 1.2rem; }
.cta-band .hero-cta { justify-content: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-1); padding-top: clamp(56px,7vw,90px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; max-width: 36ch; }
.footer-col h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-4); margin-bottom: 18px; font-weight: 500; }
.footer-col a { display: block; padding: 7px 0; color: var(--text-2); font-size: .92rem; transition: color var(--t); }
.footer-col a:hover { color: var(--gold); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 999px; display: grid; place-items: center; color: var(--text-2); transition: all var(--t); }
.social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.newsletter { display: flex; gap: 8px; margin-top: 16px; }
.newsletter input { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; color: var(--cream); transition: border-color var(--t); }
.newsletter input:focus { outline: none; border-color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 24px 0; border-top: 1px solid var(--line); }
.footer-bottom p { font-size: .8rem; color: var(--text-4); }
.pay-icons { display: flex; gap: 10px; align-items: center; color: var(--text-4); }
.pay-icons svg { height: 22px; width: auto; opacity: .7; }

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); visibility: hidden; }
.drawer .backdrop { position: absolute; inset: 0; background: rgba(4,3,3,.6); opacity: 0; transition: opacity var(--t); backdrop-filter: blur(3px); }
.drawer .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(92vw, 440px); background: var(--bg-1); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform var(--t) var(--ease-out); display: flex; flex-direction: column; }
.drawer.open { visibility: visible; }
.drawer.open .backdrop { opacity: 1; }
.drawer.open .panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.4rem; }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 22px 24px; border-top: 1px solid var(--line); background: var(--bg-2); }
.cart-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row .ci-media { width: 72px; height: 88px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.cart-row .ci-media img { width: 100%; height: 100%; object-fit: contain; }
.cart-row .ci-title { font-family: var(--serif); font-size: 1.08rem; color: var(--cream); line-height: 1.2; }
.cart-row .ci-meta { font-size: .76rem; color: var(--text-3); margin-top: 4px; line-height: 1.5; }
.cart-row .ci-price { color: var(--gold); font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 10px; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--text-2); transition: color var(--t); }
.qty button:hover { color: var(--gold); }
.qty span { min-width: 28px; text-align: center; font-size: .86rem; color: var(--cream); }
.ci-remove { color: var(--text-4); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; transition: color var(--t); }
.ci-remove:hover { color: var(--danger); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--text-2); font-size: .92rem; }
.summary-row.total { color: var(--cream); font-size: 1.05rem; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 6px; }
.summary-row.total b { font-family: var(--serif); font-size: 1.7rem; color: var(--gold); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-3); }
.empty-state svg { width: 56px; height: 56px; color: var(--text-5); margin: 0 auto 18px; }

/* ==========================================================================
   FORMS (checkout / contact)
   ========================================================================== */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.field label .req { color: var(--gold); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; color: var(--cream); transition: border-color var(--t), background var(--t);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-4); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: var(--bg-2); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .76rem; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fieldset-title { font-family: var(--serif); font-size: 1.5rem; color: var(--cream); margin-bottom: 4px; }
.fieldset-num { color: var(--gold); font-family: var(--serif); }

/* Delivery / payment option cards */
.opt-grid { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer; transition: border-color var(--t), background var(--t);
}
.opt:hover { border-color: var(--line-2); }
.opt.sel { border-color: var(--gold); background: rgba(201,168,76,.05); }
.opt .radio { width: 20px; height: 20px; border-radius: 999px; border: 1px solid var(--line-2); flex: none; display: grid; place-items: center; transition: border-color var(--t); }
.opt.sel .radio { border-color: var(--gold); }
.opt.sel .radio::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--gold-grad); }
.opt .logo { width: 56px; height: 30px; display: grid; place-items: center; flex: none; }
.opt .logo .cn { font-family: var(--serif); font-weight: 700; font-size: 1rem; color: var(--text-2); letter-spacing: .02em; }
.opt .info { flex: 1; }
.opt .info b { color: var(--cream); font-weight: 400; font-size: .96rem; }
.opt .info span { display: block; font-size: .78rem; color: var(--text-3); }
.opt .cost { color: var(--gold); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }

/* Order review aside */
.order-aside { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 100px; }

/* ==========================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-head { padding-top: 150px; padding-bottom: 20px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-4); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb svg { width: 13px; height: 13px; }

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px,4vw,64px); }
.pd-gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 100px; }
.pd-main { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.pd-main img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.pd-thumb { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); cursor: pointer; transition: border-color var(--t); background: var(--bg-2); }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--gold); }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-2); cursor: pointer; position: relative; transition: transform var(--t); }
.swatch.sel { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--gold); }
.swatch:hover { transform: scale(1.08); }
.size-row { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn { min-width: 48px; height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); color: var(--text-2); font-size: .86rem; transition: all var(--t); }
.size-btn:hover { border-color: var(--gold); color: var(--cream); }
.size-btn.sel { background: var(--gold-grad); color: #15110a; border-color: transparent; font-weight: 500; }
.size-btn.oos { opacity: .35; text-decoration: line-through; pointer-events: none; }
.accordion { border-top: 1px solid var(--line); }
.accordion .ac { border-bottom: 1px solid var(--line); }
.accordion .ac-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; cursor: pointer; font-family: var(--serif); font-size: 1.15rem; color: var(--cream); }
.accordion .ac-head svg { width: 18px; height: 18px; color: var(--gold); transition: transform var(--t); }
.accordion .ac.open .ac-head svg { transform: rotate(45deg); }
.accordion .ac-body { max-height: 0; overflow: hidden; transition: max-height var(--t) var(--ease); }
.accordion .ac.open .ac-body { max-height: 320px; }
.accordion .ac-body p { padding-bottom: 18px; font-size: .94rem; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-gallery { columns: 3; column-gap: 16px; }
.about-gallery img { width: 100%; margin-bottom: 16px; border-radius: var(--radius); border: 1px solid var(--line); break-inside: avoid; }
.value-list { display: grid; gap: 0; }
.value { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 26px 0; border-top: 1px solid var(--line); }
.value:last-child { border-bottom: 1px solid var(--line); }
.value h3 { color: var(--cream); }
.value p { font-size: .96rem; max-width: 60ch; }

/* ==========================================================================
   TOAST
   ========================================================================== */
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: var(--z-toast); display: flex; flex-direction: column; gap: 10px; width: min(92vw, 380px); }
.toast {
  display: flex; align-items: center; gap: 12px; background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow);
  transform: translateY(20px); opacity: 0; transition: all var(--t) var(--ease);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast .ti { width: 32px; height: 32px; border-radius: 999px; background: rgba(201,168,76,.12); color: var(--gold); display: grid; place-items: center; flex: none; }
.toast .ti svg { width: 18px; height: 18px; }
.toast b { color: var(--cream); font-weight: 400; font-size: .9rem; }
.toast span { font-size: .8rem; color: var(--text-3); }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .carriers { grid-template-columns: repeat(3,1fr); }
  .config-teaser .ct-inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links, .lang.desktop-only { display: none; }
  .burger { display: inline-flex; }
  .product-grid, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .split-media { order: 0; }
  .split-media { aspect-ratio: 16/11; }
  .pd { grid-template-columns: 1fr; }
  .pd-gallery, .order-aside { position: static; }
  .checkout-grid { grid-template-columns: 1fr !important; }
  .about-gallery { columns: 2; }
}
@media (max-width: 560px) {
  :root { --radius-lg: 16px; }
  .product-grid, .cards-3, .cards-4, .cards-2 { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .carriers { grid-template-columns: repeat(2,1fr); }
  .hero-trust { gap: 18px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .about-gallery { columns: 1; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .btn { width: 100%; }
  .hero-cta .btn, .filters .chip { width: auto; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  /* footer: single column on phones so the newsletter row can't overflow */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > * { min-width: 0; }
  .newsletter { width: 100%; }
  .newsletter input { min-width: 0; }
  .newsletter .btn { width: auto; flex: none; }
}
/* safety net: never allow a horizontal scrollbar / black bar on mobile */
html, body { overflow-x: hidden; }

/* Utilities */
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}.mt-6{margin-top:3rem}
.mb-2{margin-bottom:1rem}.mb-4{margin-bottom:2rem}
.hidden{display:none!important}
.nowrap{white-space:nowrap}
.full{width:100%}
.rel{position:relative}

/* ==========================================================================
   LIGHT THEME (day mode)
   Toggled by adding .theme-light to <html> (persisted in localStorage as nn_theme).
   The design is token-driven, so this is mostly re-colouring the tokens; the rest
   fixes a handful of surfaces that were hard-coded dark.
   ========================================================================== */
html.theme-light {
  --bg:        #f4efe6;   /* warm ivory paper */
  --bg-1:      #efe7d9;
  --bg-2:      #e8dfce;
  --surface:   #fffdf8;
  --surface-2: #f7f1e6;
  --line:      #e3d9c7;
  --line-2:    #d3c6ad;

  --gold:      #a8842f;   /* deepened a touch for contrast on light */
  --gold-2:    #c0993c;
  --gold-deep: #8a6c24;
  --cream:     #2a2118;   /* was a bright foreground → now dark */
  --text:      #241d15;
  --text-2:    #574c3b;
  --text-3:    #7b6f59;
  --text-4:    #9c8f76;
  --text-5:    #c3b69e;

  --shadow:      0 24px 60px -24px rgba(70,52,22,.20);
  --shadow-gold: 0 16px 40px -14px rgba(168,132,47,.30);
}
html.theme-light body { background: var(--bg); color: var(--text); }
html.theme-light body::before { opacity: .02; }                 /* film grain subtler on light */

/* Header — light glass in both states so dark text reads over the hero too */
html.theme-light .site-header,
html.theme-light .site-header.scrolled {
  background: rgba(249,245,237,.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

/* Hero stays cinematic (dark footage) — keep its text light */
html.theme-light .hero .eyebrow,
html.theme-light .hero h1,
html.theme-light .hero .lead { color: #f4ecdc; }
html.theme-light .hero-trust .ht b    { color: var(--gold-2); }
html.theme-light .hero-trust .ht span { color: #dccfb8; }
html.theme-light .scroll-cue          { color: #d8ccb6; }

/* Buttons — outline button must be dark on light sections, light over the hero */
html.theme-light .btn-line { border-color: var(--text-4); color: var(--text); background: transparent; }
html.theme-light .btn-line:hover { border-color: var(--gold); color: var(--gold); background: rgba(168,132,47,.08); }
html.theme-light .hero .btn-line { border-color: rgba(244,236,220,.55); color: #f4ecdc; background: rgba(255,255,255,.05); }
html.theme-light .hero .btn-line:hover { border-color: var(--gold-2); color: var(--gold-2); background: rgba(255,255,255,.10); }
html.theme-light .btn-gold { color: #1c1408; }

/* Product cards — soft warm backing so white garments don't vanish */
html.theme-light .card-media { background: linear-gradient(160deg, #efe7d8, #e3d8c5); }
/* hover-revealed controls: light pills with dark text (gold on hover), not black */
html.theme-light .card-tag { background: rgba(255,253,248,.9); border-color: rgba(168,132,47,.45); color: var(--gold-deep); }
html.theme-light .card-fav { background: rgba(255,253,248,.85); border: 1px solid var(--line); color: var(--text-2); }
html.theme-light .card-fav:hover { color: var(--gold); }
html.theme-light .card-quick { background: rgba(255,253,248,.92); color: var(--text); border-color: var(--line-2); }
html.theme-light .card-quick:hover { background: var(--gold-grad); color: #1c1408; border-color: transparent; }

/* Floating badges → light glass */
html.theme-light .badge-float { background: rgba(255,253,248,.85); border-color: var(--line-2); }
