/* ============================================================
   BilgeAura — Premium VTON E-commerce
   Warm editorial design system
   ============================================================ */

:root {
  /* palette (overridden at runtime by Tweaks) */
  --bg:        #FAF9F6;
  --surface:   #FFFFFF;
  --ink:       #0A0A0A;
  --ink-soft:  #2b2926;
  --muted:     #7d776e;
  --line:      #e5e0d8;
  --accent:    #C76B4F; /* terracotta */
  --gold:      #D4AF37;
  --olive:     #6B8E23;
  --terracotta:#C76B4F;

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --u: 1;            /* density multiplier */
  --max: 1280px;
  --rail: clamp(20px, 5vw, 72px);

  --shadow-card: 0 1px 2px rgba(10,10,10,.04);
  --shadow-hover: 0 22px 48px -18px rgba(10,10,10,.28);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#app-root { min-height: 100vh; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

/* ---------- shared atoms ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--rail); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.eyebrow.muted { color: var(--muted); }

.lead {
  font-size: clamp(18px, 2.1vw, 22px);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 46ch;
}

.rule { height: 1px; background: var(--line); border: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg);
  border-radius: 0;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn.light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.sm { padding: 12px 22px; font-size: 12px; }

.link-underline {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 4px; border-bottom: 1px solid var(--ink);
  transition: gap .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.link-underline:hover { gap: 14px; color: var(--accent); border-color: var(--accent); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding-inline: var(--rail);
  height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links.right { justify-content: flex-end; }
.nav-link {
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); position: relative; padding: 6px 0; background: none; border: 0;
  transition: color .2s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--accent);
  transition: width .25s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--ink); }

.brand {
  font-family: var(--font-head); font-weight: 600;
  font-size: 25px; letter-spacing: .14em; text-align: center;
  background: none; border: 0; color: var(--ink);
}
.brand small { font-size: 9px; letter-spacing: .4em; display: block; color: var(--muted); font-family: var(--font-body); font-weight: 600; margin-top: 2px; }

.nav-icons { display: flex; gap: 18px; justify-content: flex-end; align-items: center; }
.icon-btn { background: none; border: 0; padding: 4px; color: var(--ink); display: inline-flex; position: relative; transition: color .2s; }
.icon-btn:hover { color: var(--accent); }
.cart-count {
  position: absolute; top: -6px; right: -8px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--accent); color: #fff; border-radius: 9px; font-family: var(--font-body);
  font-size: 10px; font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.nav-burger { display: none; background: none; border: 0; color: var(--ink); padding: 4px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: calc(100vh - 76px); min-height: 600px; overflow: hidden; background: #15120e; }
.hero-media { position: absolute; inset: 0; }
.hero-media image-slot { width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(10,10,10,.42) 0%, rgba(10,10,10,.12) 36%, rgba(10,10,10,.05) 60%, rgba(10,10,10,.55) 100%);
  pointer-events: none;
}
.hero-content {
  position: absolute; inset: 0; z-index: 3;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--rail);
  display: flex; flex-direction: column; justify-content: space-between; padding-block: 46px;
}
.hero-top { max-width: 600px; }
.hero-top .eyebrow { color: #f3d27a; }
.hero h1 {
  color: #fdfcf9; font-size: clamp(44px, 7vw, 92px); font-weight: 500; margin-top: 18px;
  line-height: .98; letter-spacing: -.02em;
}
.hero h1 em { font-style: italic; color: #f3d27a; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.hero-bottom .lead { color: rgba(253,252,249,.86); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-play {
  position: absolute; z-index: 3; right: var(--rail); top: 50%; transform: translateY(-50%);
  width: 92px; height: 92px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.08); backdrop-filter: blur(4px); color: #fff;
  display: grid; place-items: center; transition: transform .3s var(--ease), background .3s;
}
.hero-play:hover { transform: translateY(-50%) scale(1.06); background: rgba(255,255,255,.18); }
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px; color: #fdfcf9; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 4px rgba(107,142,35,.3); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(107,142,35,0); } }

/* ============================================================
   MARQUEE / strip
   ============================================================ */
.strip { background: var(--ink); color: var(--bg); overflow: hidden; padding: 16px 0; }
.strip-track { display: flex; gap: 56px; white-space: nowrap; animation: marquee 26s linear infinite; width: max-content; }
.strip-track span { font-family: var(--font-head); font-style: italic; font-size: 19px; opacity: .9; display: inline-flex; align-items: center; gap: 56px; }
.strip-track span::after { content: "✦"; color: var(--gold); font-style: normal; font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ============================================================
   SECTION scaffolding
   ============================================================ */
section { padding-block: calc(96px * var(--u)); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 52px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 56px); margin-top: 14px; }
.section-head .lead { margin-top: 0; }

/* intro band */
.intro { background: var(--surface); border-block: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro h2 { font-size: clamp(30px, 4vw, 50px); }
.intro-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 14px; }
.stat .n { font-family: var(--font-head); font-size: clamp(34px, 4vw, 48px); color: var(--ink); line-height: 1; }
.stat .l { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.intro-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.intro-media image-slot:first-child { grid-row: span 2; }

/* ============================================================
   PRODUCT GRID + CARD
   ============================================================ */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 30px) clamp(14px, 1.6vw, 24px); }
.grid-products.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card { position: relative; cursor: pointer; }
.card-media { position: relative; overflow: hidden; background: #ece7df; aspect-ratio: 3/4; }
.card-media image-slot { width: 100%; height: 100%; transition: transform .7s var(--ease); }
.card:hover .card-media image-slot { transform: scale(1.045); }
.card-fav {
  position: absolute; top: 12px; right: 12px; z-index: 4; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.85); border: 0; color: var(--ink); display: grid; place-items: center;
  opacity: 0; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s;
}
.card:hover .card-fav { opacity: 1; transform: none; }
.card-fav:hover { background: #fff; color: var(--accent); }
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 4; background: var(--bg); color: var(--ink);
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px;
}
.card-badge.olive { background: var(--olive); color: #fff; }
.card-badge.gold { background: var(--gold); color: #1a1407; }
.card-quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 4;
  background: var(--bg); color: var(--ink); border: 0; padding: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  opacity: 0; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s, color .2s;
}
.card:hover .card-quick { opacity: 1; transform: none; }
.card-quick:hover { background: var(--ink); color: var(--bg); }
.card-info { padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card-name { font-family: var(--font-head); font-size: 19px; line-height: 1.18; }
.card-cat { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.card-price { font-family: var(--font-body); font-weight: 600; font-size: 16px; white-space: nowrap; }

/* card on dark for editorial wide tiles */
.card.translate-up { transition: transform .35s var(--ease); }
.card.translate-up:hover { transform: translateY(-4px); }

/* ============================================================
   VTON teaser band
   ============================================================ */
.vton-band { background: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.vton-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.vton-band .eyebrow { color: var(--gold); }
.vton-band h2 { color: var(--bg); font-size: clamp(34px, 4.6vw, 60px); }
.vton-band .lead { color: rgba(250,249,246,.78); }
.vton-visual { position: relative; }
.vton-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vton-pair .tag { position: absolute; top: 14px; left: 14px; background: rgba(250,249,246,.9); color: var(--ink); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; z-index: 5; }
.vton-pair > div { position: relative; }
.vton-pair image-slot { width: 100%; aspect-ratio: 3/4; }
.vton-scan { position: absolute; left: 0; right: 0; height: 2px; background: var(--gold); box-shadow: 0 0 18px 4px rgba(212,175,55,.6); top: 0; z-index: 6; animation: scan 3.4s var(--ease) infinite; }
@keyframes scan { 0%,100% { top: 4%; } 50% { top: 96%; } }
@media (prefers-reduced-motion: reduce) { .vton-scan { display: none; } }

/* ============================================================
   STORY / values
   ============================================================ */
.story { background: var(--surface); border-block: 1px solid var(--line); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 60px); margin-top: 56px; }
.value .vn { font-family: var(--font-head); font-size: 13px; color: var(--accent); letter-spacing: .04em; }
.value h3 { font-size: 24px; margin: 14px 0 12px; }
.value p { color: var(--muted); font-size: 16px; }
.value .vline { width: 38px; height: 2px; background: var(--ink); margin-bottom: 22px; }

.story-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; margin-top: 30px; }
.story-feature image-slot { width: 100%; aspect-ratio: 4/5; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--surface); border: 1px solid var(--line); padding: 34px 32px; display: flex; flex-direction: column; gap: 18px; }
.stars { display: flex; gap: 3px; color: var(--gold); }
.review-text { font-family: var(--font-head); font-size: 20px; font-style: italic; line-height: 1.4; color: var(--ink-soft); }
.review-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-av { width: 42px; height: 42px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-family: var(--font-head); font-size: 17px; color: var(--accent); border: 1px solid var(--line); }
.review-name { font-weight: 600; font-size: 15px; }
.review-loc { font-size: 13px; color: var(--muted); }
.review-verified { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); font-weight: 700; display: inline-flex; gap: 5px; align-items: center; }

/* ============================================================
   NEWSLETTER + FOOTER
   ============================================================ */
.news { background: var(--accent); color: #fff; }
.news-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.news h2 { color: #fff; font-size: clamp(30px, 4vw, 50px); }
.news p { color: rgba(255,255,255,.85); margin-top: 16px; }
.news-form { display: flex; gap: 10px; max-width: 460px; }
.news-form input { flex: 1; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); color: #fff; padding: 16px 18px; font-family: var(--font-body); font-size: 15px; }
.news-form input::placeholder { color: rgba(255,255,255,.7); }
.news-form input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.22); }
.news-form button { background: #fff; color: var(--accent); border: 0; padding: 0 26px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.news-form button:hover { background: var(--ink); color: #fff; }
.news-note { font-size: 12.5px; color: rgba(255,255,255,.7); margin-top: 12px; }

.footer { background: var(--ink); color: rgba(250,249,246,.7); padding-block: 76px 34px; }
.footer .brand { color: var(--bg); text-align: left; font-size: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.footer h4 { color: var(--bg); font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 15px; color: rgba(250,249,246,.66); transition: color .2s; }
.footer ul a:hover { color: var(--gold); }
.footer-contact li { font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(250,249,246,.2); border-radius: 50%; display: grid; place-items: center; color: var(--bg); transition: background .2s, color .2s, border-color .2s; }
.footer-social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(250,249,246,.12); margin-top: 56px; padding-top: 26px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom .pay { display: flex; gap: 14px; align-items: center; color: rgba(250,249,246,.5); flex-wrap: wrap; }
.footer-bottom .pay b { color: rgba(250,249,246,.8); font-weight: 600; }

/* ============================================================
   COLLECTION screen
   ============================================================ */
.page-head { padding-top: calc(58px * var(--u)); padding-bottom: 30px; }
.page-head h1 { font-size: clamp(40px, 6vw, 78px); margin-top: 14px; }
.breadcrumb { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; }
.breadcrumb button { background: none; border: 0; color: var(--muted); padding: 0; }
.breadcrumb button:hover { color: var(--accent); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-block: 1px solid var(--line); flex-wrap: wrap; position: sticky; top: 76px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); z-index: 30; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { background: none; border: 1px solid var(--line); padding: 9px 18px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); border-radius: 0; transition: all .2s var(--ease); white-space: nowrap; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.sort { display: flex; align-items: center; gap: 10px; }
.sort label { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sort select { font-family: var(--font-body); font-size: 14px; padding: 9px 32px 9px 14px; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237d776e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--ink); appearance: none; }
.sort select:focus { outline: none; border-color: var(--ink); }
.result-count { font-size: 13px; color: var(--muted); }

/* ============================================================
   PRODUCT detail
   ============================================================ */
.pd { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(34px, 5vw, 80px); align-items: start; padding-top: calc(40px * var(--u)); }
.pd-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-gallery image-slot { width: 100%; aspect-ratio: 3/4; }
.pd-gallery image-slot:first-child { grid-column: span 2; aspect-ratio: 4/4.4; }
.pd-info { position: sticky; top: 100px; }
.pd-cat { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.pd-info h1 { font-size: clamp(32px, 4vw, 46px); margin: 12px 0 16px; }
.pd-price { font-size: 26px; font-family: var(--font-body); font-weight: 600; display: flex; align-items: baseline; gap: 12px; }
.pd-price .old { font-size: 18px; color: var(--muted); text-decoration: line-through; font-weight: 400; }
.pd-desc { color: var(--ink-soft); margin-top: 22px; font-size: 16.5px; line-height: 1.65; }
.pd-block { margin-top: 30px; }
.pd-block .lbl { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; cursor: pointer; }
.swatch.active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ink); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { min-width: 50px; padding: 12px 8px; border: 1px solid var(--line); background: none; font-size: 14px; font-weight: 600; transition: all .15s var(--ease); }
.size:hover { border-color: var(--ink); }
.size.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.size.out { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.pd-actions { display: flex; gap: 12px; margin-top: 30px; }
.pd-actions .btn { flex: 1; justify-content: center; }
.pd-vton { width: 100%; justify-content: center; margin-top: 12px; background: none; border: 1px dashed var(--accent); color: var(--accent); }
.pd-vton:hover { background: var(--accent); color: #fff; border-style: solid; }

.accordion { margin-top: 34px; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; background: none; border: 0; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-size: 19px; color: var(--ink); text-align: left; }
.acc-head .pm { font-family: var(--font-body); font-size: 22px; color: var(--accent); transition: transform .25s; }
.acc-item.open .acc-head .pm { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc-item.open .acc-body { max-height: 460px; }
.acc-inner { padding-bottom: 22px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.acc-inner ul { margin: 0; padding-left: 18px; }
.acc-inner li { margin-bottom: 7px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-table th, .size-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.size-table th { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.pd-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.pd-meta .m { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink-soft); }
.pd-meta .m svg { color: var(--olive); flex: none; }

/* reviews on product */
.pr-reviews { margin-top: 30px; }
.pr-summary { display: flex; gap: 30px; align-items: center; padding: 30px 0; border-block: 1px solid var(--line); flex-wrap: wrap; }
.pr-score { font-family: var(--font-head); font-size: 56px; line-height: 1; }
.pr-bars { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 7px; }
.pr-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.pr-bar .track { flex: 1; height: 6px; background: var(--line); overflow: hidden; }
.pr-bar .fill { height: 100%; background: var(--gold); }

/* ============================================================
   VTON screen
   ============================================================ */
.vton-hero { background: var(--ink); color: var(--bg); padding-top: calc(72px * var(--u)); padding-bottom: calc(80px * var(--u)); }
.vton-hero .eyebrow { color: var(--gold); }
.vton-hero h1 { color: var(--bg); font-size: clamp(40px, 6vw, 80px); margin-top: 16px; max-width: 16ch; }
.vton-hero .lead { color: rgba(250,249,246,.78); margin-top: 24px; }

.vton-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.vstep { position: relative; }
.vstep .num { font-family: var(--font-head); font-size: 15px; color: var(--accent); border: 1px solid var(--accent); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; }
.vstep h3 { font-size: 25px; margin-bottom: 12px; }
.vstep p { color: var(--muted); font-size: 16px; }

.vton-studio { background: var(--surface); border-block: 1px solid var(--line); }
.studio-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(34px, 5vw, 76px); align-items: center; }
.studio-upload image-slot { width: 100%; aspect-ratio: 3/4; }
.studio-result { position: relative; }
.studio-result image-slot { width: 100%; aspect-ratio: 3/4; }
.studio-result .scan { position: absolute; left: 0; right: 0; height: 2px; background: var(--gold); box-shadow: 0 0 18px 4px rgba(212,175,55,.6); animation: scan 3.4s var(--ease) infinite; z-index: 5; }
.studio-pick { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.studio-pick image-slot { width: 64px; height: 80px; cursor: pointer; border: 1px solid var(--line); }
.studio-pick image-slot.active { box-shadow: 0 0 0 2px var(--accent); }

/* ============================================================
   QUICK VIEW modal
   ============================================================ */
.modal-scrim { position: fixed; inset: 0; background: rgba(10,10,10,.55); backdrop-filter: blur(4px); z-index: 200; display: grid; place-items: center; padding: 24px; opacity: 0; animation: fade .3s var(--ease) forwards; }
@keyframes fade { to { opacity: 1; } }
.modal { background: var(--bg); max-width: 880px; width: 100%; max-height: 88vh; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; position: relative; transform: translateY(16px); animation: rise .4s var(--ease) forwards; }
@keyframes rise { to { transform: none; } }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.modal-close:hover { background: var(--ink); color: var(--bg); }
.modal image-slot { width: 100%; height: 100%; min-height: 420px; }
.modal-body { padding: 44px 40px; display: flex; flex-direction: column; }

/* ============================================================
   TOAST
   ============================================================ */
.toast-wrap { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { background: var(--ink); color: var(--bg); padding: 14px 22px; font-size: 14px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-hover); animation: toastin .3s var(--ease); }
.toast svg { color: var(--gold); }
@keyframes toastin { from { opacity: 0; transform: translateY(14px); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-contact-col { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-links:not(.right) { display: none; }
  .nav-links.right { display: flex; }
  .nav-burger { display: inline-flex; padding: 12px; margin: -8px; }
  .nav-inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .brand { text-align: left; }
  .intro-grid, .vton-grid, .story-feature, .news-inner, .pd, .studio-grid { grid-template-columns: 1fr; }
  .pd-info { position: static; }
  .modal { grid-template-columns: 1fr; }
  .modal image-slot { min-height: 300px; aspect-ratio: 4/3; }
  .vton-steps, .values { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .intro-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .swatch { width: 44px; height: 44px; }
  .icon-btn { padding: 12px; margin: -8px; }
}
@media (max-width: 768px) {
  .filters {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100vw;
    margin-left: calc(-1 * var(--rail));
    margin-right: calc(-1 * var(--rail));
    padding-left: var(--rail);
    padding-right: var(--rail);
    flex-wrap: nowrap !important;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .filters::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 680px) {
  :root { --u: .82; }
  .grid-products, .grid-products.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-play { display: none; }
  .section-head { margin-bottom: 36px; }
  .vton-steps, .values, .reviews-grid { grid-template-columns: 1fr; gap: 24px; }
  .v-only-wide { display: none; }
}
@media (max-width: 460px) {
  .brand { font-size: 20px; }
  .brand small { font-size: 8px; letter-spacing: .25em; }
  .nav-icons { gap: 10px; }
  .modal-body { padding: 24px 20px; }
  .pd-gallery { gap: 6px; }
  .pd-gallery image-slot:first-child { aspect-ratio: 1/1; }
  .news-form { flex-direction: column; }
  .news-form button { padding: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .intro-stats { grid-template-columns: 1fr; gap: 14px; }
}

/* mobile drawer */
.drawer-scrim { position: fixed; inset: 0; background: rgba(10,10,10,.4); z-index: 90; opacity: 0; animation: fade .25s forwards; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: var(--bg); z-index: 95; padding: 30px; transform: translateX(100%); animation: drawerin .35s var(--ease) forwards; display: flex; flex-direction: column; gap: 4px; }
@keyframes drawerin { to { transform: none; } }
.drawer a, .drawer button.dlink { font-family: var(--font-head); font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; background: none; border-left: 0; border-right: 0; border-top: 0; color: var(--ink); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

/* ============================================================
   WORKSHOP VIDEOS DESIGN
   ============================================================ */
.workshop-videos {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.video-card {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 0;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.video-media-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.atelier-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
  opacity: 0.82;
}
.video-card:hover .atelier-video {
  transform: scale(1.05);
  opacity: 0.95;
}
.video-overlay-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 20%, rgba(10,10,10,.25) 55%, rgba(10,10,10,.82) 100%);
  pointer-events: none;
  z-index: 2;
}
.video-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 26px;
  z-index: 3;
  color: #fff;
}
.vtag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.video-details h3 {
  font-family: var(--font-head);
  font-size: 22px;
  color: #fff;
  margin: 0 0 6px 0;
}
.video-details p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.5;
  max-width: 90%;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
