/* ==========================================================================
   VELMORA — design system
   Everything visual lives here. Tokens first, then components.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  /* ---- palette: forest green · cream · champagne gold ----------------
     The page is green; cards and panels are cream. Text colour flips
     automatically on cream surfaces (see "surface flip" further down).  */
  --forest-900: #0f2417;   /* announce bar, footer, deepest             */
  --forest-800: #16311f;   /* page background                           */
  --forest-700: #1e3b28;   /* raised green panels, filters              */
  --forest-600: #27492f;   /* green hover                               */
  --cream:      #f6f1e6;   /* cards, panels, text on green              */
  --cream-2:    #ece4d2;   /* image beds, subtle fills on cream         */
  --gold:       #c9a961;   /* accents, badges, hover                    */
  --gold-soft:  #e6d3a3;   /* chips, small caps on green                */
  --gold-deep:  #836528;   /* gold text on cream — dark enough to read  */

  /* Defaults describe a GREEN surface. */
  --ink: #f4efe2;
  --ink-2: #ded7c5;
  --ink-3: #b6ae99;
  --line: rgba(246, 241, 230, .16);
  --line-2: rgba(246, 241, 230, .32);
  --paper: var(--forest-800);
  --paper-2: var(--forest-900);
  --paper-3: var(--forest-700);
  --white: var(--cream);
  --black: var(--forest-900);
  --ivory: var(--cream);
  --accent: var(--gold);
  --accent-soft: rgba(201, 169, 97, .16);
  --accent-text: var(--gold-soft);   /* small caps, on green  */
  --btn-bg: var(--cream);            /* buttons on green      */
  --btn-fg: var(--forest-900);
  --gold-wash: rgba(201, 169, 97, .14);
  --good: #7fbf95;
  --bad: #e08a72;

  --font-display: "Playfair Display", "Times New Roman", Times, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(.75rem, .72rem + .12vw, .82rem);
  --step-0: clamp(.9rem, .87rem + .16vw, 1rem);
  --step-1: clamp(1.1rem, 1.02rem + .4vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.25rem + .95vw, 2.1rem);
  --step-3: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --step-4: clamp(2.6rem, 1.5rem + 5.2vw, 6rem);

  --gap: clamp(1rem, .6rem + 1.6vw, 2rem);
  --pad-x: clamp(1.1rem, .4rem + 3.2vw, 4.5rem);
  --maxw: 1500px;
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 74px;
}

/* ---- surface flip -------------------------------------------------------
   Anything cream re-declares the ink and line tokens, so every component
   inside it switches to dark-on-light without needing its own rules.       */
.panel, .card, .drawer, .tile-quiet, .on-cream {
  --ink: #12281a;
  --ink-2: #2f4936;
  --ink-3: #5f6d59;
  --line: #e4dcc8;
  --line-2: #d2c8ae;
  --accent-soft: rgba(201, 169, 97, .18);
  --accent-text: var(--gold-deep);   /* small caps, on cream  */
  --btn-bg: var(--forest-700);       /* buttons on cream      */
  --btn-fg: var(--cream);
  color: var(--ink);
}

/* ------------------------------------------------------------- reset-ish */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
::selection { background: var(--gold-soft); color: var(--black); }

/* ------------------------------------------------------------- utilities */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.wrap-narrow { width: 100%; max-width: 780px; margin-inline: auto; padding-inline: var(--pad-x); }
.stack > * + * { margin-top: 1rem; }
.serif { font-family: var(--font-display); font-weight: 400; }
.eyebrow {
  font-size: var(--step--1); letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-text); font-weight: 500;
}
.muted { color: var(--ink-3); }
.center { text-align: center; }
.section { padding-block: clamp(3rem, 1.5rem + 6vw, 7rem); }
.section-tight { padding-block: clamp(2rem, 1rem + 3.5vw, 3.5rem); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; transition: top .2s;
}
.skip-link:focus { top: 1rem; }
.divider { height: 1px; background: linear-gradient(to right, var(--gold-soft), var(--line) 60%); border: 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border: 1px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-fg);
  font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  border-radius: var(--radius-sm); cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), opacity .2s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--forest-900); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--forest-900); }
.btn-quiet { border-color: var(--line-2); background: transparent; color: var(--ink); }
.btn-quiet:hover { border-color: var(--gold); background: var(--gold-wash); }
.btn-sm { padding: .55rem 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-underline {
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: opacity .2s;
}
.link-underline:hover { opacity: .55; }

/* ----------------------------------------------------------------- fields */
.field { display: block; }
.field > span {
  display: block; font-size: var(--step--1); letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: .4rem;
}
.input, .select, .textarea {
  width: 100%; padding: .8rem .9rem; background: var(--cream);
  color: #12281a;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  transition: border-color .2s;
}
.input::placeholder, .textarea::placeholder { color: #7b8878; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); outline: none; }
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #12281a 50%), linear-gradient(135deg, #12281a 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
.error-text { color: var(--bad); font-size: var(--step--1); }

/* ---------------------------------------------------------------- topbar */
.announce {
  background: var(--black); color: var(--gold-soft); text-align: center;
  font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase;
  padding: .55rem 1rem;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(15, 36, 23, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 97, .22);
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 1rem; min-height: var(--header-h);
}
.brandmark {
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .3em;
  text-transform: uppercase; text-align: center; white-space: nowrap;
  line-height: 1.05;
}
.brandmark small {
  display: block; font-family: var(--font-body); font-size: .52rem;
  letter-spacing: .34em; color: var(--gold); margin-top: .18rem; text-transform: uppercase;
}
@media (max-width: 760px) {
  .brandmark { font-size: 1.05rem; letter-spacing: .16em; }
  .header-actions { gap: .1rem; }
  .icon-btn { width: 36px; height: 36px; }
  /* keep the announcement on one line so it doesn't eat into the hero */
  .announce { font-size: .7rem; letter-spacing: .05em; padding: .45rem .6rem; }
  .announce-extra { display: none; }
}
.nav { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.9rem); }
.nav a {
  font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase;
  position: relative; padding-block: .4rem; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: .35rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; position: relative; transition: background .2s;
}
.icon-btn:hover { background: rgba(246, 241, 230, .12); }
.icon-btn svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.badge {
  position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--gold); color: var(--forest-900); border-radius: 999px;
  font-size: 10px; font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.badge[hidden] { display: none; }
.burger { display: none; }
/* Collapse the links into the menu button before they start crowding the
   wordmark. Below this width the header is the account pill, the burger,
   VELMORA, and the icons — nothing competing for the middle. */
@media (max-width: 1200px) {
  .nav.primary { display: none; }
  .burger { display: inline-grid; }
}

/* ------------------------------------------------------------ account menu */
.header-left { display: flex; align-items: center; gap: clamp(.8rem, 1.6vw, 1.6rem); }
.account-menu { position: relative; flex: none; }
.account-trigger {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .7rem; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); transition: border-color .2s, background .2s;
}
.account-trigger:hover { border-color: var(--gold); background: rgba(201, 169, 97, .12); }
.account-trigger svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.account-trigger svg:last-child { width: 13px; height: 13px; opacity: .7; }
.account-trigger span { max-width: 11ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.account-drop {
  position: absolute; top: calc(100% + .5rem); left: 0; z-index: 95;
  min-width: 220px; padding: .5rem;
  background: var(--cream); border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 16px 40px rgba(0,0,0,.28);
  display: grid; gap: .1rem;
  --ink: #12281a;
}
.account-drop[hidden] { display: none; }
.account-drop a, .account-drop button {
  display: block; width: 100%; text-align: left;
  padding: .6rem .7rem; border-radius: var(--radius-sm);
  color: #12281a; font-size: var(--step-0);
  transition: background .15s;
}
.account-drop a:hover, .account-drop button:hover { background: rgba(201, 169, 97, .18); }
.account-who {
  padding: .55rem .7rem .7rem; font-size: var(--step--1); color: #5f6d59; line-height: 1.45;
}
.account-who strong { color: #12281a; word-break: break-all; }
.account-sep { border: 0; height: 1px; background: #e4dcc8; margin: .35rem .5rem; }

/* Inside the mobile panel it's a plain list, not a floating menu. */
.account-drop.is-inline {
  position: static; box-shadow: none; min-width: 0;
  background: transparent; padding: 0; --ink: var(--cream);
}
.account-drop.is-inline a, .account-drop.is-inline button {
  color: var(--cream); border-bottom: 1px solid var(--line); border-radius: 0;
  padding: .75rem 0; font-family: var(--font-display); font-size: var(--step-1);
}
.account-drop.is-inline a:hover, .account-drop.is-inline button:hover { background: transparent; color: var(--gold-soft); }
.account-drop.is-inline .account-who { color: var(--ink-3); padding-left: 0; }
.account-drop.is-inline .account-who strong { color: var(--cream); }
.account-drop.is-inline .account-sep { display: none; }

@media (max-width: 1200px) {
  .account-menu { display: none; }   /* lives inside the mobile menu instead */
}

/* --------------------------------------------------------- mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 120; background: var(--forest-800);
  padding: 1.2rem var(--pad-x) 2rem;
  transform: translateY(-100%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav ul { margin-top: 2rem; display: grid; gap: .4rem; }
.mobile-nav ul a {
  font-family: var(--font-display); font-size: var(--step-2);
  display: block; padding: .4rem 0; border-bottom: 1px solid var(--line);
}

/* ----------------------------------------------------------- cart drawer */
.scrim {
  position: fixed; inset: 0; background: rgba(20, 19, 15, .42); z-index: 130;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%);
  background: var(--cream); z-index: 140; display: flex; flex-direction: column;
  transform: translateX(101%); transition: transform .45s var(--ease);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .12);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line);
}
.drawer-body { flex: 1; overflow-y: auto; padding: 1.1rem 1.3rem; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1.1rem 1.3rem; display: grid; gap: .8rem; }

/* ------------------------------------------------------------- line items */
.line-item { display: grid; grid-template-columns: 78px 1fr auto; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 78px; height: 104px; object-fit: cover; background: var(--cream-2); border-radius: 8px; }
.line-item .li-title { font-weight: 500; }
.line-item .li-meta { font-size: var(--step--1); color: var(--ink-3); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; transition: background .2s; }
.qty button:hover { background: var(--paper-3); }
.qty span { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; font-size: var(--step--1); }
.li-remove { font-size: var(--step--1); color: var(--ink-3); border-bottom: 1px solid currentColor; }
.li-remove:hover { color: var(--bad); }
.totals { display: grid; gap: .45rem; }
.totals .row { display: flex; justify-content: space-between; font-size: var(--step--1); color: var(--ink-3); }
.totals .row.grand { font-size: var(--step-1); color: var(--ink); font-family: var(--font-display); padding-top: .5rem; border-top: 1px solid var(--line); }

/* -------------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(88vh, 860px); display: grid; align-items: end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: var(--black); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- video hero -------------------------------------------------------
   The film is shot vertical, so on a wide screen it has to crop. The
   object-position keeps the model framed rather than centring on the crop. */
/* Full screen minus the sticky header, so the buttons never fall below the fold. */
.hero-video { min-height: min(calc(100svh - var(--header-h)), 920px); }
.hero-vid {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 30%;
  background: var(--black);
}
@media (max-width: 700px) {
  /* header + announce bar, so the whole hero lands inside the first screen */
  .hero-video { min-height: calc(100svh - var(--header-h) - 34px); }
  .hero-vid { object-position: 50% 50%; }   /* portrait screen, portrait film — no crop needed */
  .hero-video .hero-copy { padding-block: 1.4rem; }
}
/* Anyone who has asked their system to reduce motion gets the still frame. */
@media (prefers-reduced-motion: reduce) {
  .hero-vid { display: none; }
  .hero-media { background: var(--black) url("../video/hero-poster.jpg") center 30% / cover no-repeat; }
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.66), rgba(0,0,0,.14) 62%, rgba(0,0,0,0));
}
/* Video is busier than a still, so the copy needs a second wash from the left. */
.hero-video .hero-media::after {
  background:
    linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.28) 45%, rgba(0,0,0,.10) 75%, rgba(0,0,0,.22)),
    linear-gradient(to right, rgba(0,0,0,.62), rgba(0,0,0,.15) 42%, rgba(0,0,0,0) 65%);
}
.hero-inner { position: relative; }
.hero-copy { padding-block: clamp(2rem, 5vw, 4.5rem); color: #fff; max-width: 720px; }
.hero-copy h1 { font-family: var(--font-display); font-size: var(--step-4); line-height: .95; }
.hero-copy p { margin-top: 1rem; font-size: var(--step-1); opacity: .9; max-width: 46ch; }
.hero-copy .btn-row { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-copy .btn { background: var(--cream); color: var(--forest-900); border-color: var(--cream); }
.hero-copy .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--forest-900); }
.hero-copy .btn-ghost { background: transparent; color: var(--cream); border-color: rgba(246,241,230,.7); }
.hero-copy .btn-ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--forest-900); }

/* ------------------------------------------------------------ section head */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: var(--gap); }
.section-head h2 { font-family: var(--font-display); font-size: var(--step-3); }

/* -------------------------------------------------------------- marquee */
.marquee { border-block: 1px solid rgba(201,169,97,.2); overflow: hidden; padding-block: .9rem; background: var(--forest-700); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: slide 34s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: var(--step-2); letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ------------------------------------------------------------- product grid */
.grid-products {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--cream); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 26px rgba(0,0,0,.14);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 18px 40px rgba(0,0,0,.20); }
.card-media {
  position: relative; display: block; overflow: hidden; background: var(--cream-2);
  aspect-ratio: 3 / 4;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; }
.card:hover .card-media img { transform: scale(1.045); }
/* Cards in a row are the same height; this makes their buttons line up too,
   however many lines the product name takes. */
.card-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.card-title { min-height: 2.6em; }
.card-title { font-size: var(--step-0); font-weight: 500; }
.card-cat { font-size: var(--step--1); color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; }
.card-price { font-variant-numeric: tabular-nums; }
.card-price s { color: var(--ink-3); margin-right: .4rem; }
.tag {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  background: var(--gold); color: var(--forest-900); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; padding: .34rem .7rem; font-weight: 600; border-radius: 999px;
}
.tag.sale { background: var(--forest-700); color: var(--cream); }
.tag.soldout { background: rgba(15,36,23,.7); color: var(--cream); }
.wish-btn {
  position: absolute; top: .55rem; right: .55rem; z-index: 2;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: rgba(246,241,230,.94); border-radius: 50%;
  box-shadow: 0 1px 6px rgba(13,13,13,.07);
  transition: transform .2s, background .2s;
}
.wish-btn:hover { transform: scale(1.08); }
.wish-btn svg { width: 17px; height: 17px; stroke: #12281a; fill: none; stroke-width: 1.5; }
.wish-btn.on svg { fill: var(--gold-deep); stroke: var(--gold-deep); }
.card-quick { margin-top: auto; padding-top: .7rem; }
.swatches { display: flex; gap: .3rem; margin-top: .35rem; }
.swatch { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }

/* ----------------------------------------------------------------- shop */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } }
.filters {
  position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 1.3rem;
  background: var(--forest-700); border-radius: var(--radius); padding: 1.2rem 1.1rem;
}
.filter-group + .filter-group { border-top: 1px solid var(--line); padding-top: 1.1rem; }
@media (max-width: 900px) {
  .filters { position: static; display: none; }
  .filters.open { display: grid; }
}
.filter-group h3 { font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; margin-bottom: .6rem; }
.filter-scroll { max-height: 230px; overflow-y: auto; padding-right: .3rem; }
.check { display: flex; align-items: center; gap: .55rem; padding: .2rem 0; cursor: pointer; font-size: var(--step-0); }
.check input { accent-color: var(--gold); width: 15px; height: 15px; }
.check-count { color: var(--ink-3); font-size: var(--step--1); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem;
  background: var(--gold-soft); color: var(--forest-900); border: 0;
  border-radius: 999px; font-size: var(--step--1); font-weight: 500;
}
.chip button { line-height: 1; }
.empty { padding: 4rem 1rem; text-align: center; color: var(--ink-3); }

/* -------------------------------------------------------------- product */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start; }
@media (max-width: 950px) { .pdp { grid-template-columns: 1fr; } }
.gallery { display: grid; gap: .6rem; }
.gallery-main { background: var(--cream); aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .5rem; }
.gallery-thumbs button { width: 74px; aspect-ratio: 3/4; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; background: var(--cream); }
.gallery-thumbs button[aria-selected="true"] { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.1rem; }
@media (max-width: 950px) { .pdp-info { position: static; } }
.pdp-info h1 { font-family: var(--font-display); font-size: var(--step-3); }
.price-row { display: flex; align-items: baseline; gap: .7rem; font-size: var(--step-1); }
.price-row s { color: var(--ink-3); font-size: var(--step-0); }
.opt-row { display: grid; gap: .5rem; }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; }
.opt-head span:first-child { font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; }
.opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.opt {
  min-width: 48px; padding: .5rem .8rem; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); font-size: var(--step--1); transition: all .2s;
}
.opt:hover { border-color: var(--gold); }
.opt[aria-pressed="true"] { background: var(--forest-700); color: var(--cream); border-color: var(--forest-700); }
.opt[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.opt-color { width: 34px; height: 34px; min-width: 0; padding: 0; border-radius: 50%; position: relative; }
.opt-color[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--gold); background: none; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { padding: .95rem 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.1rem; }
.accordion details[open] summary::after { content: "–"; }
.accordion .acc-body { padding-bottom: 1rem; color: var(--ink-2); }
.stars { color: var(--gold); letter-spacing: .1em; }

/* ------------------------------------------------------------------ misc */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (max-width: 850px) { .split { grid-template-columns: 1fr; } }
.split img { width: 100%; height: 100%; object-fit: cover; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--gap); }
.tile { position: relative; overflow: hidden; aspect-ratio: 4/5; display: grid; border-radius: var(--radius); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); grid-area: 1/1; }
.tile:hover img { transform: scale(1.05); }
.tile-copy { grid-area: 1/1; position: relative; align-self: end; padding: 1.4rem; color: #fff; background: linear-gradient(to top, rgba(20,19,15,.55), transparent 70%); }
.tile-copy h3 { font-family: var(--font-display); font-size: var(--step-2); }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--gap); }
.value h3 { font-size: var(--step-0); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .4rem; }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th, .table td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--line); }
.table thead th { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.table tbody tr:hover { background: rgba(201,169,97,.10); }
.prose p + p { margin-top: 1rem; }
.prose h2 { font-family: var(--font-display); font-size: var(--step-2); margin-top: 2rem; margin-bottom: .6rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.4rem; margin-bottom: .4rem; }
.prose ul { list-style: disc; padding-left: 1.2rem; }
.prose li + li { margin-top: .3rem; }
.breadcrumbs { font-size: var(--step--1); color: var(--ink-3); padding-block: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.panel {
  background: var(--cream); border: 0; border-radius: var(--radius);
  padding: clamp(1.1rem, 2.5vw, 2rem);
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.10);
}
.notice { padding: .9rem 1.1rem; border-left: 3px solid var(--gold); border-radius: var(--radius-sm); background: rgba(201,169,97,.14); font-size: var(--step--1); }
.tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab { padding: .7rem 1rem; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab[aria-selected="true"] { border-bottom-color: var(--gold); color: var(--gold); }

/* ---------------------------------------------------------------- checkout */
.checkout-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.2rem, 3vw, 3rem); align-items: start; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-step + .checkout-step { margin-top: 1rem; }
.checkout-step h2 {
  font-family: var(--font-display); font-size: var(--step-2);
  display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem;
}
.step-num {
  display: grid; place-items: center; width: 30px; height: 30px; flex: none;
  border-radius: 50%; background: var(--forest-700); color: var(--cream);
  font-family: var(--font-body); font-size: .85rem; font-weight: 600;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 560px) { .two-col { grid-template-columns: 1fr; } }
.field small { display: block; margin-top: .3rem; font-size: var(--step--1); }

.pay-methods { display: grid; gap: .6rem; }
.pay-method {
  display: flex; gap: .8rem; align-items: flex-start; padding: 1rem;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.pay-method:hover { border-color: var(--gold); }
.pay-method input { margin-top: .3rem; accent-color: var(--ink); width: 17px; height: 17px; flex: none; }
.pay-method:has(input:checked) { border-color: var(--gold); background: rgba(201,169,97,.14); }
.pay-body { display: grid; gap: .25rem; }
.pay-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.pay-logos { display: flex; gap: .3rem; }
.pay-dot { width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); }
.pay-extra {
  display: none; padding: 1rem 1rem 1.1rem; margin-top: -.2rem;
  border: 1px solid var(--line); border-top: 0; background: var(--paper-2);
}
.pay-extra.show { display: block; }
.net-opt { display: inline-flex; align-items: center; gap: .45rem; }
.net-opt .pay-dot { width: 13px; height: 13px; }

.checkout-summary { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 900px) { .checkout-summary { position: static; } }

.pay-status { display: grid; gap: .8rem; place-items: center; text-align: center; padding: 1.4rem 0; }
.spinner {
  width: 30px; height: 30px; border: 2px solid var(--line-2); border-top-color: var(--ink);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------- product manager */
.dropzone {
  border: 2px dashed var(--line-2); border-radius: var(--radius);
  padding: 1.6rem 1rem; text-align: center; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.over { border-color: var(--gold); background: rgba(201,169,97,.10); }
.dropzone.busy { opacity: .6; pointer-events: none; }
.dropzone p + p { margin-top: .3rem; }

.photo-grid {
  display: grid; gap: .6rem; margin-top: .8rem;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
}
.photo {
  position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--cream-2); aspect-ratio: 3/4;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-main { outline: 2px solid var(--gold); outline-offset: -2px; }
.photo figcaption, .photo button:not(.photo-x) {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(15,36,23,.86); color: var(--cream);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem; text-align: center; width: 100%;
}
.photo button:not(.photo-x):hover { background: var(--gold); color: var(--forest-900); }
.photo-x {
  position: absolute; top: .3rem; right: .3rem; width: 24px; height: 24px;
  border-radius: 50%; background: rgba(15,36,23,.86); color: var(--cream);
  display: grid; place-items: center; font-size: 15px; line-height: 1;
}
.photo-x:hover { background: var(--bad); }

/* -------------------------------------------------------------- newsletter */
.newsletter { background: var(--forest-900); color: var(--cream); border-block: 1px solid rgba(201,169,97,.2); }
.newsletter h2 { font-family: var(--font-display); font-size: var(--step-3); }
.newsletter .eyebrow { color: var(--gold-soft); }
.newsletter .input { background: transparent; border-color: rgba(230,211,163,.45); color: var(--cream); }
.newsletter .input:focus { border-color: var(--gold-soft); }
.newsletter .input::placeholder { color: rgba(251,248,241,.45); }
.newsletter .btn { background: var(--gold); color: var(--forest-900); border-color: var(--gold); }
.newsletter .btn:hover { background: transparent; color: var(--gold); border-color: var(--gold); }
.news-form { display: flex; gap: .5rem; flex-wrap: wrap; max-width: 470px; }
.news-form .input { flex: 1 1 220px; }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid rgba(201,169,97,.25); background: var(--forest-900); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--gap); padding-block: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; margin-bottom: .8rem; }
.footer-grid li + li { margin-top: .4rem; }
.footer-grid a { color: var(--ink-2); }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.2rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--ink-3); }

/* ------------------------------------------------------------------- toast */
.toast-host { position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: .5rem; width: min(420px, calc(100% - 2rem)); }
.toast {
  background: var(--forest-700); color: var(--cream); padding: .85rem 1.1rem; border-radius: var(--radius-sm);
  border-bottom: 2px solid var(--gold);
  display: flex; align-items: center; gap: .7rem; font-size: var(--step--1);
  animation: rise .3s var(--ease);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ------------------------------------------------------------- reveal anim */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ print */
@media print {
  .site-header, .site-footer, .announce, .drawer, .scrim, .toast-host { display: none !important; }
}
