/* ============================================================================
   SOHRAAZ — LUXURY DESIGN SYSTEM
   ----------------------------------------------------------------------------
   Chocolate Brown × Cream × Champagne Gold
   Injected into every page by build.mjs, AFTER shared.css, so these rules
   win over the per-page legacy styles (equal specificity, later in the cascade).

   Palette (owner brief, 11 Nov 2026) — 55% cream/ivory · 25% chocolate ·
   10% var(--theme-on-dark) · 10% champagne gold. No gradients on brand surfaces.
   ============================================================================ */

:root{
  /* ---- brand palette ---- */
  --choco:var(--d1);        /* primary chocolate brown  */
  --choco-dark:var(--bg2);   /* dark chocolate           */
  --mocha:var(--gold2);        /* secondary mocha          */
  --gold:var(--gold);         /* champagne gold           */
  --gold-light:var(--gold2);   /* light champagne          */
  --cream:var(--ink);        /* cream background         */
  --ivory:var(--bg2);        /* soft ivory               */
  --var(--theme-on-dark):var(--theme-on-dark);
  --ink:var(--ink);          /* primary text             */
  --ink-2:var(--mute);        /* secondary text (brand)   */
  --ink-2s:var(--mute);       /* secondary text, small sizes (AA on cream) */
  --line:var(--line);         /* border colour            */
  --muted-bg:var(--d1);     /* muted background         */

  /* ---- legacy aliases remapped onto the new palette (so legacy rules follow) ---- */
  --cream-2:var(--bg2);
  --cream-solid:var(--bg2);
  --paper:var(--bg2);
  --tan:var(--line);
  --brown-950:var(--bg2);
  --brown-900:var(--bg2);
  --brown-850:var(--d1);
  --brown-700:var(--gold2);
  --gold-text:var(--gold2);
  --line-dark:color-mix(in srgb, var(--theme-scrim) 16%, transparent);
  --green:var(--ok);
  --green-bg:var(--ok-bg);
  --red:var(--err);

  /* ---- type ---- */
  --serif:'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --caps:'Manrope', 'Helvetica Neue', Arial, sans-serif;

  --shell:1280px;
  --gutter:28px;
  --r-sm:3px;
  --r-md:3px;
  --r-lg:3px;
  --shadow-1:0 2px 10px color-mix(in srgb, var(--theme-scrim) 5%, transparent);
  --shadow-2:0 18px 44px color-mix(in srgb, var(--theme-scrim) 10%, transparent);
  --shadow-3:0 30px 70px color-mix(in srgb, var(--theme-scrim) 14%, transparent);
}

/* ---------- base typography ---------- */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--caps);
  font-size:var(--fs-xl);
  line-height:var(--lh-roomy);
  color:var(--ink);
  background:var(--cream);
  font-weight:var(--fw-regular);
  letter-spacing:.005em;
}
h1,h2,h3,h4,h5{
  font-family:var(--serif);
  font-weight:var(--fw-regular);
  color:var(--ink);
  letter-spacing:.005em;
  line-height:1.08;
}
h1{font-size:clamp(40px,5.4vw,64px)}
h2{font-size:clamp(30px,3.6vw,44px)}
h3{font-size:var(--fs-3xl)}
p{color:var(--ink)}
::selection{background:var(--gold);color:var(--theme-on-dark)}

/* eyebrow / overline — the one place small caps gold is allowed */
.overline{
  font-family:var(--caps);
  font-size:var(--fs-p10_5);
  font-weight:var(--fw-semibold);
  letter-spacing:var(--ls-e0_32);
  text-transform:uppercase;
  color:var(--mocha);
}

/* ---------- buttons (premium system) ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:var(--gap-3xl);
  font-family:var(--caps);
  font-size:var(--fs-base);
  font-weight:var(--fw-semibold);
  letter-spacing:var(--ls-6xl);
  text-transform:uppercase;
  padding:var(--gap-6xl) var(--gap-15xl);
  min-height:46px;
  border-radius:var(--r-md);
  border:1px solid transparent;
  cursor:pointer;
  text-decoration:none;
  transition:background-color .3s ease,color .3s ease,border-color .3s ease,box-shadow .3s ease,transform .2s ease;
  line-height:var(--lh-none);
  white-space:nowrap;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
}
.btn svg{width:16px;height:16px;stroke-width:1.7;fill:none;stroke:currentColor;flex:none}
.btn:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.btn:active{transform:translateY(1px)}
.btn:disabled,.btn[aria-disabled="true"],.btn.is-disabled{opacity:.5;cursor:not-allowed;pointer-events:none;box-shadow:none;transform:none}
.btn.is-loading{pointer-events:none;opacity:.75}

/* sizes */
.btn-sm{min-height:var(--gap-p38);padding:var(--gap-2xl) var(--gap-11xl);font-size:var(--fs-sm);letter-spacing:var(--ls-5xl);gap:var(--gap-xl)}
.btn-lg{min-height:52px;padding:var(--gap-9xl) var(--gap-18xl);letter-spacing:var(--ls-7xl)}

/* primary — chocolate ground, ink text (brand voice) */
/* Contrast guard: on dark themes these buttons get a dark surface from this
   file, so their ink must be light. The gold gradient buttons keep --on. */
.btn-dark,.btn-solid,.btn-outline,.btn-ghost,.btn,.buy-button,.view-link,
.coupon-apply,.btn-gold,.success-ctas a,.acct-viewall,.wa-cta,.ob-name{
  color:var(--btn-studio-on, var(--on));
}
.btn-dark,.btn-solid{
  background:var(--choco);
  color:var(--ink);
  border-color:var(--choco);
  box-shadow:0 1px 0 rgba(var(--ovl-rgb),.05) inset, var(--shadow-2);
}
/* --ink is cream on the four dark themes; on ivory it is dark (correct). */
.btn-dark:hover,.btn-solid:hover{background:var(--mocha);border-color:var(--mocha);color:var(--ink);box-shadow:0 1px 0 rgba(var(--ovl-rgb),.05) inset, var(--shadow-3);}

/* on photography */
.btn-cream{
  background:var(--ivory);
  color:var(--ink);
  border-color:var(--ink);
}
.btn-cream:hover{background:var(--gold);border-color:var(--gold);color:var(--on)}

/* secondary — ghost/outline: text must follow the page surface */
.btn-ghost,.btn-outline{
  background:transparent;
  color:var(--ink);
  border-color:var(--gold);
}
.btn-ghost:hover,.btn-outline:hover{background:var(--choco);color:var(--ink);box-shadow:var(--shadow-2)}

/* accent — gold: dark ink on gold passes contrast in all five themes */
.btn-gold{
  background:var(--gold);
  color:var(--on);
  border-color:var(--gold);
  box-shadow:0 10px 26px color-mix(in srgb, var(--gold) 35%, transparent);
}
.btn-gold:hover{background:var(--mocha);border-color:var(--mocha);color:var(--theme-on-dark);box-shadow:0 14px 32px color-mix(in srgb, var(--gold) 40%, transparent)}

/* ---------- top bands (announce + offer) ----------
   Same rhythm on every page: dark chocolate → chocolate → dark chocolate header.
   All flat — no gradients on brand surfaces. */
.announce{background:var(--choco-dark);color:var(--ink);border-bottom:1px solid rgba(var(--gold-rgb),.22)}
.announce-track span{color:var(--gold2)}
.announce-track b{color:var(--gold)}
.offer-bar{background:var(--choco);color:var(--ink);border-top:0}
.offer-bar .ob-text{color:var(--gold2)}
.offer-bar .ob-name{background:var(--gold);color:var(--ink)}
.offer-bar .ob-timer{color:var(--theme-on-dark)}

/* ---------- header (brief §4) ---------- */
/* The header is the one dark band that frames the page: dark chocolate ground,
   cream type, champagne hairline. The gold mark reads far better on chocolate
   than it did on cream. */
.header{
  position:sticky;top:0;z-index:50;
  background:var(--choco-dark);
  border-bottom:1px solid rgba(var(--gold-rgb),.38);
  box-shadow:0 1px 0 rgba(var(--gold-rgb),.14);
  transition:box-shadow .3s ease;
}
.header.scrolled{box-shadow:0 10px 32px color-mix(in srgb, var(--theme-scrim) 32%, transparent)}
.header-in{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:var(--gap-11xl);
  height:76px;
}
.nav{grid-column:1;justify-self:start;min-width:0}
/* 6 items ≈ 450px of type + 5 gaps = 530px, which fits inside the 1fr side
   track (≈554px at the 1320px container cap). Keeping the nav narrower than
   its track is what stops the grid from pushing the logo off-centre. */
.nav ul{display:flex;gap:var(--gap-9xl)}
.nav a{
  font-family:var(--caps);
  font-size:var(--fs-md);
  font-weight:var(--fw-medium);
  letter-spacing:var(--ls-2xl);
  text-transform:uppercase;
  color:var(--ink);
  padding:var(--gap-xl) 0;
  border-bottom:1px solid transparent;
  transition:color .25s ease,border-color .25s ease;
  white-space:nowrap;
  text-decoration:none;
}
.nav a:hover{color:var(--gold-light);border-bottom-color:var(--gold)}

/* The logo is the anchor of the header: it must sit dead-centre at EVERY width.
   A 3-column grid (1fr auto 1fr) guarantees that — the logo column is sized by
   the mark itself, the two side tracks share the remaining space evenly, so the
   wordmark stays centred no matter how wide the nav or the action icons get.
   This block owns the logo's appearance for every page (the !important beats
   the legacy per-page rules that predate the design system). */
.logo{
  grid-column:2 !important;justify-self:center !important;
  position:static !important;transform:none !important;left:auto;top:auto;
  display:flex;align-items:center;justify-content:center;
  min-width:0;max-width:min(38vw,180px);overflow:hidden;
}
.logo img{
  height:52px !important;width:auto !important;max-width:100% !important;
  object-fit:contain !important;display:block;
}

.actions{grid-column:3;justify-self:end;display:flex;align-items:center;gap:var(--gap-13xl)}
.actions .act{
  color:var(--ink);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;min-height:30px;
  position:relative;
  transition:color .25s ease;
}
.actions .act:hover{color:var(--gold-light)}
.actions .icon{width:20px;height:20px;stroke-width:1.5;fill:none;stroke:currentColor}
.actions .count{
  position:absolute;top:-7px;right:-3px;
  min-width:16px;height:16px;border-radius:var(--radius-xl);
  background:var(--gold);color:var(--ink);
  font-family:var(--caps);font-weight:var(--fw-bold);font-size:var(--fs-2xs);
  display:flex;align-items:center;justify-content:center;padding:0 var(--gap-xs);
  line-height:var(--lh-none);box-sizing:border-box;
}
.actions .count:empty{display:none}

.burger{display:none;color:var(--ink);background:none;border:0;padding:var(--gap-md);cursor:pointer}
.burger .icon{width:22px;height:22px;stroke-width:1.5;fill:none;stroke:currentColor}
.burger.open svg{stroke:var(--gold)}

/* ---------- mega menu — dark chocolate panel, cream type ---------- */
/* `.nav .mega` (0,2,0) is the rule that actually paints the panel, so the
   panel colour must be set with the same specificity — otherwise the legacy
   dark rule and the new light text rules meet and the links vanish. */
.nav .mega{
  position:absolute;top:100%;left:0;
  display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:var(--gap-18xl);
  padding:var(--gap-18xl) var(--gap-p38);
  min-width:660px;
  background:var(--choco-dark);
  border:1px solid rgba(var(--gold-rgb),.30);
  border-top:2px solid var(--gold);
  box-shadow:0 30px 70px color-mix(in srgb, var(--theme-scrim) 55%, transparent);
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .28s ease,transform .28s ease,visibility .28s;
  z-index:60;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega{opacity:1;visibility:visible;transform:translateY(0)}
.mega-h{
  display:block;
  font-family:var(--caps);font-size:var(--fs-sm);font-weight:var(--fw-semibold);
  letter-spacing:.28em;text-transform:uppercase;color:var(--gold);
  margin-bottom:var(--gap-7xl);padding-bottom:var(--gap-2xl);border-bottom:var(--gap-p1) solid rgba(var(--gold-rgb),.28);
}
.mega-col a{
  display:block;padding:var(--gap-lg) 0;
  font-family:var(--caps);font-size:var(--fs-p12_5);font-weight:var(--fw-regular);
  letter-spacing:.06em;text-transform:none;color:var(--gold2);
  transition:color .22s ease,transform .22s ease;
}
.mega-col a:hover{color:var(--gold-light);transform:translateX(4px)}

/* mobile panel */
.mnav{
  position:absolute;top:100%;left:0;right:0;z-index:49;
  background:var(--choco-dark);
  border-bottom:1px solid rgba(var(--ovl-rgb),.14);
  max-height:78vh;overflow-y:auto;
  transform:translateY(-12px);opacity:0;pointer-events:none;
  transition:transform .3s ease,opacity .3s ease;
  box-shadow:0 26px 44px color-mix(in srgb, var(--theme-scrim) 40%, transparent);
}
.mnav.open{transform:translateY(0);opacity:1;pointer-events:auto}
.mnav a{
  display:flex;align-items:center;gap:var(--gap-7xl);
  padding:var(--gap-8xl) var(--gap-14xl);
  font-family:var(--caps);font-size:var(--fs-base);font-weight:var(--fw-medium);
  letter-spacing:var(--ls-6xl);text-transform:uppercase;
  border-top:1px solid rgba(var(--ovl-rgb),.08);
  color:var(--ink);text-decoration:none;
  transition:background .25s,padding-left .25s;
}
.mnav a svg{width:20px;height:20px;stroke:var(--gold-light);flex:none;fill:none}
.mnav a small{margin-left:auto;color:var(--mute);font-size:var(--fs-p10_5);letter-spacing:var(--ls-7xl);text-transform:uppercase}
.mnav a:hover{background:rgba(var(--gold-rgb),.12);color:var(--theme-on-dark);padding-left:var(--gap-17xl)}
.mnav-scrim{position:fixed;inset:0;z-index:48;background:color-mix(in srgb, var(--theme-scrim) 55%, transparent);opacity:0;pointer-events:none;transition:opacity .3s}
.mnav-scrim.open{opacity:1;pointer-events:auto}
.burger.open{transform:rotate(90deg)}

@media (max-width:1320px){
  .nav{display:none}
  .burger{display:inline-flex;flex:none}
  /* same 3-column grid as desktop — only the nav is swapped for the burger,
     so the logo stays exactly centred on phones and tablets too */
  .header-in{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:var(--gap-5xl);height:64px}
  .burger{grid-column:1;justify-self:start}
  .logo{grid-column:2 !important;justify-self:center !important;max-width:min(34vw,124px)}
  .logo img{height:44px !important}
  .actions{grid-column:3;justify-self:end;gap:var(--gap-7xl)}
}

/* narrow phones: keep the mark clear of the icons */
@media (max-width:520px){
  .logo img{height:38px !important}
  .actions{gap:var(--gap-4xl)}
  .actions .icon{width:19px;height:19px}
}
@media (max-width:430px){
  .actions{gap:var(--gap-5xl)}
}
@media (max-width:360px){
  .actions .act[aria-label="My account"]{display:none}
  /* The winning rule is in motion_system.css (#header, loaded last). Keep this
     in sync: 70px mark, header hugs it with no empty band. */
  .logo img{height:70px !important}
  .header-in{height:auto;min-height:0;padding-top:0;padding-bottom:0;align-items:center}
  .logo{max-width:none !important}
}

/* ---------- footer (brief §11) ---------- */
.footer{
  background:var(--choco-dark);
  color:var(--ink);
  padding:76px 0 0;
  border-top:2px solid var(--gold);
}
.foot-grid{
  display:grid;
  grid-template-columns:1.55fr 1fr 1fr 1fr 1.2fr;
  gap:var(--gap-20xl);
  padding-bottom:54px;
}
.flogo{
  font-family:var(--serif);
  font-size:var(--fs-7xl);
  font-weight:var(--fw-medium);
  letter-spacing:.30em;
  color:var(--ink);
  margin-bottom:var(--gap-9xl);
}
.foot-brand p{color:var(--mute);font-size:var(--fs-p13_5);line-height:var(--lh-spacious);max-width:330px}
.foot-contact{color:var(--mute)!important;gap:8px!important}
.foot-contact a{color:var(--gold-light)!important;text-decoration:none;border-bottom:1px solid rgba(var(--gold-rgb),.4);display:inline-block;min-height:26px;line-height:26px}
.f-col h4{
  font-family:var(--caps);
  font-size:var(--fs-p10_5);font-weight:var(--fw-semibold);
  letter-spacing:var(--ls-10xl);text-transform:uppercase;
  color:var(--gold);
  margin:0 0 var(--gap-11xl);
}
.f-col ul{list-style:none;margin:0;padding:0}
.f-col li{margin-bottom:var(--gap-xs)}
.f-col a{
  display:inline-block;min-height:26px;line-height:26px;
  font-family:var(--caps);font-size:var(--fs-md);font-weight:var(--fw-regular);
  color:var(--mute);text-decoration:none;
  transition:color .25s ease;
}
.f-col a:hover{color:var(--gold-light)}
.socials{display:flex;gap:var(--gap-3xl);margin-top:var(--gap-7xl)}
.socials a{
  width:36px;height:36px;border-radius:var(--radius-round);
  border:1px solid rgba(var(--gold-rgb),.45);
  display:flex;align-items:center;justify-content:center;
  color:var(--gold-light);
  transition:background .25s ease,border-color .25s ease,color .25s ease;
}
.socials a:hover{background:var(--gold);border-color:var(--gold);color:var(--theme-on-dark)}
.socials .icon{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.6}
.foot-bottom{
  display:flex;align-items:center;justify-content:space-between;gap:var(--gap-11xl);
  padding:var(--gap-13xl) 0 var(--gap-17xl);
  border-top:1px solid rgba(var(--ovl-rgb),.12);
  font-size:var(--fs-p12_5);color:var(--mute);
}
.foot-bottom .socials{margin-top:0}

@media (max-width:1000px){
  .foot-grid{grid-template-columns:repeat(2,1fr);gap:var(--gap-18xl)}
}
@media (max-width:620px){
  .footer{padding-top:52px}
  .foot-grid{grid-template-columns:1fr;gap:var(--gap-17xl)}
  .foot-bottom{flex-direction:column;text-align:center}
  .foot-bottom .socials{justify-content:center}
}

/* ---------- generic section furniture ---------- */
.sec-head{margin-bottom:var(--gap-md)}
.sec-head h2{color:var(--ink)}
.sec-sub{
  font-family:var(--caps);
  font-size:var(--fs-p13_5);
  line-height:1.8;
  color:var(--ink-2s);
  max-width:640px;
  margin:0 auto var(--gap-18xl);
  text-align:center;
  font-style:normal;
  letter-spacing:var(--ls-2xs);
}
.overline.gold{color:var(--gold)}

/* ---------- product cards (brief §7) ---------- */
.prod{
  background:var(--ivory);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  overflow:hidden;
  cursor:pointer;
  transition:border-color .35s ease,box-shadow .35s ease,transform .35s ease;
}
.prod:hover{border-color:var(--gold);box-shadow:var(--shadow-2);transform:translateY(-3px)}
.prod-img{position:relative;aspect-ratio:4/5;overflow:hidden;background:var(--muted-bg)}
.prod-img img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .9s cubic-bezier(.2,.7,.3,1);
}
.prod:hover .prod-img img{transform:scale(1.05)}
.prod-meta{padding:var(--gap-11xl) var(--gap-11xl) var(--gap-12xl)}
.prod-name{
  font-family:var(--serif);
  font-size:var(--fs-3xl);
  line-height:var(--lh-cosy);
  color:var(--ink);
  margin:0 0 var(--gap-xl);
  font-weight:var(--fw-medium);
}
.prod-prices{display:flex;align-items:baseline;gap:var(--gap-2xl);flex-wrap:wrap}
.prod-prices .price{
  font-family:var(--caps);font-size:var(--fs-xl);font-weight:var(--fw-bold);color:var(--choco);
  font-variant-numeric:tabular-nums;
}
.prod-prices .mrp{
  font-family:var(--caps);font-size:var(--fs-p12_5);color:var(--ink-2s);
  text-decoration:line-through;opacity:.75;
}
.prod-prices .pct-off{
  font-family:var(--caps);font-size:var(--fs-xs);font-weight:var(--fw-bold);letter-spacing:var(--ls-2xl);
  text-transform:uppercase;color:var(--mocha);
  border:var(--gap-p1) solid var(--line);border-radius:var(--gap-3xs);padding:var(--gap-3xs) var(--gap-md);background:var(--ivory);
}
.prepaid-tag{font-family:var(--caps);font-size:var(--fs-xs);letter-spacing:var(--ls-xl);color:var(--ink-2s)}
.swatches{display:flex;gap:var(--gap-md);margin-top:var(--gap-5xl)}
.swatches i{width:12px;height:12px;border-radius:50%;border:1px solid color-mix(in srgb, var(--theme-scrim) 14%, transparent);display:block}
.prod .wish{
  position:absolute;top:12px;right:12px;
  width:34px;height:34px;border-radius:var(--radius-round);
  background:rgba(var(--ovl-rgb),.92);border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  color:var(--choco);cursor:pointer;
  transition:background .25s ease,color .25s ease,border-color .25s ease;
}
.prod .wish:hover{background:var(--choco);color:var(--ink);border-color:var(--choco)}
.prod .wish .icon{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}

/* ---------- animations (brief §15) ---------- */
@keyframes sohraazFadeUp{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
@keyframes sohraazFade{from{opacity:0}to{opacity:1}}
@keyframes sohraazZoom{from{transform:scale(1.04)}to{transform:scale(1)}}

.fade-up{animation:sohraazFadeUp .9s cubic-bezier(.2,.7,.3,1) both}
.fade-in{animation:sohraazFade .8s ease both}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
    scroll-behavior:auto!important;
  }
}

/* ---------- icon utilities ---------- */
.icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.4;fill:none;stroke-linecap:round;stroke-linejoin:round}
.ic{width:1em;height:1em;flex:none;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.14em}
.ic-13{width:13px;height:13px}
.ic-14{width:14px;height:14px}
.ic-15{width:15px;height:15px}
.ic-16{width:16px;height:16px}
.ic-18{width:18px;height:18px}
.ic-20{width:20px;height:20px}
.ic-22{width:22px;height:22px}
.ic-24{width:24px;height:24px}
.ic-gold{stroke:var(--gold)}
.ic-green{stroke:var(--green)}
.ic-ink{stroke:var(--choco-dark)}
.ic-solid{fill:currentColor;stroke:none}

/* ---------- newsletter form (footer) ---------- */
.news{margin-top:var(--gap-13xl);max-width:360px}
.news label{display:block;font-family:var(--caps);font-size:var(--fs-p10_5);font-weight:var(--fw-semibold);letter-spacing:var(--ls-9xl);text-transform:uppercase;color:var(--gold);margin-bottom:var(--gap-2xl)}
.news input{width:100%;padding:var(--gap-5xl) var(--gap-6xl);border:var(--gap-p1) solid rgba(var(--gold-rgb),.38);border-radius:var(--radius-xs);background:rgba(var(--ovl-rgb),.05);color:var(--ink);font-family:var(--caps);font-size:var(--fs-p13_5);outline:none;transition:border-color .25s}
.news input:focus-visible{outline:2px solid var(--gold,var(--gold));outline-offset:2px}
.news input:focus{border-color:var(--gold)}
.news input::placeholder{color:var(--mute)}
.news button{background:var(--gold);color:var(--theme-on-dark);border:0;border-radius:3px;cursor:pointer;transition:background .25s}
.news button:hover{background:var(--mocha)}

/* ---------- Watch & Buy reel strip ---------- */
.wb-strip{display:flex;gap:var(--gap-9xl);overflow-x:auto;padding:var(--gap-xs) var(--gap-xs) var(--gap-11xl);scroll-snap-type:x mandatory;scrollbar-width:none}
.wb-strip::-webkit-scrollbar{display:none}
.wb-tile{
  position:relative;flex:0 0 172px;aspect-ratio:9/16;
  border-radius:var(--radius-xs);overflow:hidden;scroll-snap-align:start;
  border:1px solid var(--line);box-shadow:var(--shadow-2);display:block;
  background:var(--choco-dark);transition:transform .35s cubic-bezier(.2,.7,.3,1),box-shadow .35s;
}
.wb-tile:hover{transform:translateY(-5px);box-shadow:var(--shadow-3)}
.wb-tile{cursor:pointer}
.wb-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .9s cubic-bezier(.2,.7,.3,1),opacity .35s ease}
.wb-tile:hover img{transform:scale(1.06)}

/* full-bleed hit area: a click anywhere on the thumbnail plays the reel */
.wb-hit{
  position:absolute;inset:0;z-index:2;
  background:transparent;border:0;padding:0;margin:0;
  cursor:pointer;-webkit-appearance:none;appearance:none;
}
.wb-hit:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}

/* --- inline reel player: the film plays inside the tile, the poster hides --- */
.wb-video{
  position:absolute;inset:0;width:100%;height:100%;z-index:1;
  object-fit:cover;display:block;
  opacity:0;pointer-events:none;
  transition:opacity .4s ease;
  background:var(--choco-dark);
}
.wb-tile.playing .wb-video{opacity:1}
.wb-tile.playing .wb-thumb{opacity:0}
.wb-tile.playing{border-color:var(--gold);box-shadow:0 16px 40px color-mix(in srgb, var(--theme-scrim) 45%, transparent)}
.wb-tile.playing:hover img{transform:none}

.wb-play{
  position:absolute;top:12px;right:12px;z-index:4;width:40px;height:40px;border-radius:var(--radius-round);
  background:color-mix(in srgb, var(--theme-scrim) 78%, transparent);border:1px solid var(--gold);
  display:flex;align-items:center;justify-content:center;color:var(--gold);
  box-shadow:0 6px 18px color-mix(in srgb, var(--theme-scrim) 55%, transparent);
  cursor:pointer;padding:0;
  transition:background .25s ease,transform .25s ease,opacity .25s ease;
}
/* slow pulse so the control reads as "press me" */
.wb-play::after{
  content:"";position:absolute;inset:-5px;border-radius:var(--radius-round);
  border:1px solid rgba(var(--gold-rgb),.55);
  animation:sohraazRing 2.6s ease-out infinite;
  pointer-events:none;
}
@keyframes sohraazRing{
  0%{transform:scale(.88);opacity:.75}
  65%{transform:scale(1.3);opacity:0}
  100%{transform:scale(1.3);opacity:0}
}
.wb-play:hover{background:var(--gold);transform:scale(1.1)}
.wb-play:hover svg{fill:var(--on)}
.wb-play svg{width:var(--gap-9xl);height:var(--gap-9xl);fill:var(--gold);margin-left:var(--gap-3xs)}
.wb-tile.playing .wb-play{opacity:0;pointer-events:none}

/* loading state while the reel streams in */
.wb-tile.loading .wb-play svg{animation:sohraazPulse 1s ease-in-out infinite}
@keyframes sohraazPulse{0%,100%{opacity:.35}50%{opacity:1}}

/* close / cut button — homepage reel tiles only; the full-screen player has
   its own visible chrome (pages/store.css) */
.wb-tile .wb-close{
  position:absolute;top:12px;left:12px;z-index:5;width:32px;height:32px;border-radius:var(--radius-round);
  background:color-mix(in srgb, var(--theme-scrim) 62%, transparent);border:1px solid rgba(var(--gold-rgb),.55);
  display:flex;align-items:center;justify-content:center;color:var(--ink);
  backdrop-filter:blur(var(--gap-xs));cursor:pointer;padding:0;
  opacity:0;pointer-events:none;
  transition:opacity .25s ease,background .25s ease,transform .25s ease;
}
.wb-close svg{width:14px;height:14px;stroke:var(--ink);fill:none;stroke-width:2;stroke-linecap:round}
.wb-close:hover{background:rgba(var(--gold-rgb),.92);transform:scale(1.08)}
.wb-tile.playing .wb-close{opacity:1;pointer-events:auto}

.wb-cap{
  position:absolute;left:0;right:0;bottom:0;z-index:6;padding:var(--gap-18xl) var(--gap-7xl) var(--gap-7xl);
  background:linear-gradient(transparent,color-mix(in srgb, var(--theme-scrim) 86%, transparent));
  color:var(--ink);font-family:var(--caps);font-size:var(--fs-sm);line-height:var(--lh-text);
  text-decoration:none;display:block;
}
.wb-cap b{display:block;font-family:var(--serif);font-size:var(--fs-xl);font-weight:var(--fw-medium);color:var(--ink);margin-bottom:var(--gap-3xs)}
.wb-cap small{color:var(--gold-light);font-size:var(--fs-p10_5)}
.wb-strip-cta{text-align:center;margin-top:var(--gap-md)}

/* ---------- shared chrome re-skin (drawer / chat / floats) ---------- */
.drawer{background:var(--ivory);border-left:1px solid var(--line)}
.drawer-foot{background:var(--ivory);border-top:1px solid var(--line)}
.popup-card{background:var(--ivory);border:1px solid var(--line)}
.float-handle{background:var(--choco);color:var(--gold-light)}
.float-tip{background:var(--choco-dark)}
.chat-head{background:var(--choco-dark);color:var(--ink)}
.chat-chip{border-color:var(--line);color:var(--ink)}
.chat-chip:hover{background:var(--choco);color:var(--ink);border-color:var(--choco)}
.chat-inputrow button{background:var(--choco);color:var(--ink)}

/* ============================================================================
   CANONICAL PAGE FURNITURE — injected into EVERY page
   ----------------------------------------------------------------------------
   The homepage is the reference for the site's voice. These rules used to
   live only in homepage.css (homepage) or in each page's own legacy block
   (store, story), which is why the three pages drifted apart: the store
   rendered every section title as uppercase Manrope while the homepage
   rendered the same component as a Cormorant Garamond serif heading.

   This file is injected LAST by build.mjs, so these rules also settle every
   legacy conflict that used to survive the cascade.
   ========================================================================== */

/* ---------- layout shell ---------- */
.container{max-width:1320px;margin:0 auto;padding:0 var(--gap-p48)}

/* ---------- section title system (one voice for every page) ---------- */
.sec-head{display:block;text-align:center;margin-bottom:var(--gap-9xl)}
/* the legacy rules drew a hairline either side of the title — the homepage
   never had them, so they are switched off rather than re-declared */
.sec-head::before,.sec-head::after{content:none}
.sec-head .overline{display:block;margin-bottom:var(--gap-9xl)}
.sec-head h2{
  font-family:var(--serif);
  font-weight:var(--fw-regular);
  font-size:clamp(30px,3.6vw,44px);
  line-height:var(--lh-n1_12);
  letter-spacing:.005em;
  text-transform:none;
  text-indent:0;
  text-align:center;
  color:var(--ink);
}
.sec-head .rule{width:54px;height:var(--gap-p1);background:var(--gold);margin:var(--gap-12xl) auto 0}
.sec-sub{
  text-align:center;
  font-family:var(--caps);
  font-style:normal;
  font-size:var(--fs-p13_5);
  line-height:var(--lh-open);
  letter-spacing:var(--ls-2xs);
  color:var(--ink-2s);
  max-width:660px;
  margin:var(--gap-11xl) auto var(--gap-20xl);
}
/* the product page's "you may also like" block keeps its tighter scale */
.like-section .sec-head::before,.like-section .sec-head::after{content:none}
.like-section .sec-head h2{font-size:var(--fs-5xl)}
.like-section .sec-head p{
  font-family:var(--caps);font-style:normal;font-size:var(--fs-p13_5);
  letter-spacing:.02em;color:var(--ink-2s);margin-top:var(--gap-xl);
}

/* ---------- page head (the H1 block every page opens with) ---------- */
.page-head{
  text-align:center;
  padding:56px 0 var(--gap-18xl);
  margin-bottom:var(--gap-xs);
}
.page-head .overline{display:block;margin-bottom:var(--gap-7xl)}
.page-head h1{
  font-family:var(--serif);
  font-weight:var(--fw-regular);
  font-size:clamp(34px,4.4vw,52px);
  line-height:1.08;
  letter-spacing:.005em;
  color:var(--ink);
  margin:0;
}
.page-head .rule{width:54px;height:var(--gap-p1);background:var(--gold);margin:var(--gap-12xl) auto 0}
.page-head .page-sub a,
.page-link{
  font-family:var(--caps);
  font-size:var(--fs-md);
  letter-spacing:var(--ls-lg);
  color:var(--choco);
  border-bottom:1px solid var(--gold);
  text-decoration:none;
  cursor:pointer;
  transition:color .25s ease,border-color .25s ease;
}
.page-head .page-sub a:hover,.page-link:hover{color:var(--mocha);border-bottom-color:var(--mocha)}
.page-head .page-sub{
  font-family:var(--caps);
  font-size:var(--fs-p13_5);
  line-height:1.8;
  letter-spacing:var(--ls-2xs);
  color:var(--ink-2s);
  max-width:620px;
  margin:var(--gap-11xl) auto 0;
}

/* ---------- product grid (homepage + store read the same way) ---------- */
.prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--gap-13xl)}
.prod-grid .prod-meta{padding:var(--gap-11xl) var(--gap-11xl) var(--gap-12xl);text-align:left}
.prod-grid .prod-prices{justify-content:flex-start}

/* ---------- gallery ---------- */
.gal-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:var(--gap-5xl);margin-top:var(--gap-xl)}
.gal{position:relative;aspect-ratio:3/3.7;overflow:hidden;background:var(--muted-bg);display:block}
.gal img{width:100%;height:100%;object-fit:cover;transition:transform 1s cubic-bezier(.2,.7,.3,1)}
.gal:hover img{transform:scale(1.07)}

/* ---------- occasion cards ---------- */
.occ-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--gap-11xl)}
.occ{position:relative;aspect-ratio:3/4.1;overflow:hidden;background:var(--muted-bg);display:block}
.occ span{
  position:absolute;z-index:2;left:0;right:0;bottom:26px;text-align:center;
  color:var(--ink);font-family:var(--serif);font-size:var(--fs-5xl);line-height:var(--lh-base);letter-spacing:var(--ls-2xs);
  padding:0 var(--gap-5xl);
}
.occ span small{
  display:block;margin-top:var(--gap-xl);
  font-family:var(--caps);font-size:var(--fs-p10_5);font-weight:var(--fw-medium);
  letter-spacing:.26em;text-transform:uppercase;color:var(--gold2);
}
.occ img{width:100%;height:100%;object-fit:cover;transition:transform 1s cubic-bezier(.2,.7,.3,1)}
.occ:hover img{transform:scale(1.07)}
.occ::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,color-mix(in srgb, var(--theme-scrim) 0%, transparent) 42%,color-mix(in srgb, var(--theme-scrim) 86%, transparent) 100%)}

/* ---------- announcement bar (identical rhythm everywhere) ---------- */
.announce-track{height:36px}
.announce-track span{
  font-family:var(--caps);
  font-size:var(--fs-xs);font-weight:var(--fw-medium);
  letter-spacing:var(--ls-10xl);text-transform:uppercase;
  color:var(--gold2);
  padding:0 var(--gap-9xl);
  white-space:nowrap;
}
.announce-track b{color:var(--gold);font-weight:600}

/* ---------- legacy chrome corrections -------------------------------------
   These three blocks used to be re-declared per page with different values.
   The design system is the single source now. */
.nav a{font-size:var(--fs-md);letter-spacing:var(--ls-2xl);color:var(--ink);padding:var(--gap-xl) 0}
.nav a:hover{color:var(--gold-light);border-bottom-color:var(--gold)}
.nav ul{gap:var(--gap-9xl)}
.mnav a{color:var(--ink);letter-spacing:.18em;border-top:1px solid rgba(var(--ovl-rgb),.08)}
.mnav a:hover{background:rgba(var(--gold-rgb),.12);color:var(--theme-on-dark)}
.mnav a small{color:var(--mute)}
.mnav a svg{stroke:var(--gold-light);width:20px;height:20px}
.mnav-scrim{background:color-mix(in srgb, var(--theme-scrim) 55%, transparent)}
/* On a dark ground (story hero, cta band, dark sections) chocolate type on a
   chocolate field is unreadable, so the outline inverts to cream. This mirrors
   the story page's own intent, which the design system was silently overriding. */
.hero .btn-outline,.cta-band .btn-outline,.love .btn-outline,.footer .btn-outline,.film .btn-outline{
  color:var(--ink);border-color:rgba(var(--ovl-rgb),.55);
}
.hero .btn-outline:hover,.cta-band .btn-outline:hover,.love .btn-outline:hover,.footer .btn-outline:hover,.film .btn-outline:hover{
  background:var(--cream);color:var(--ink);border-color:var(--ink);
}
.flogo{font-family:var(--serif);font-size:var(--fs-7xl);font-weight:var(--fw-medium);letter-spacing:.30em;color:var(--ink)}
.f-col h4{font-family:var(--caps);font-size:var(--fs-p10_5);font-weight:var(--fw-semibold);letter-spacing:var(--ls-10xl);text-transform:uppercase;color:var(--gold)}
.f-col a{font-family:var(--caps);font-size:var(--fs-md);color:var(--mute)}
.f-col a:hover{color:var(--gold-light)}
.foot-brand p{color:var(--mute);font-size:var(--fs-p13_5);line-height:var(--lh-spacious)}
.foot-contact{color:var(--mute)!important}
.foot-contact a{color:var(--gold-light)!important}
.foot-bottom{font-size:var(--fs-p12_5);color:var(--mute);border-top:1px solid rgba(var(--ovl-rgb),.12)}
/* the wishlist keeps its own layout, but speaks with the same voice */
.wl-head h1{font-family:var(--serif);font-weight:400;color:var(--ink)}
.acct-hero h2{font-family:var(--serif);font-weight:400;color:var(--ink)}
.news input{background:rgba(var(--ovl-rgb),.05);border:1px solid rgba(var(--gold-rgb),.38);color:var(--ink);font-family:var(--caps)}
.news input::placeholder{color:var(--mute)}
.chat-head{background:var(--choco-dark);color:var(--ink)}
.chat-chip{border-color:var(--line);color:var(--ink)}
.chat-chip:hover{background:var(--choco);color:var(--ink);border-color:var(--choco)}
.chat-inputrow button{background:var(--choco);color:var(--ink)}
.float-handle{background:var(--choco);color:var(--gold-light)}
.float-tip{background:var(--choco-dark)}
.drawer{background:var(--ivory)}
.drawer-foot{background:var(--ivory)}

/* ---------- responsive furniture (same breakpoints on every page) ---------- */
@media (max-width:1100px){
  .occ-grid{grid-template-columns:repeat(2,1fr)}
  .prod-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:900px){
  .container{padding:0 var(--gap-15xl)}
}
@media (max-width:640px){
  .container{padding:0 var(--gap-12xl)}
  .page-head{padding:var(--gap-p36) 0 var(--gap-14xl)}
  .page-head h1{font-size:clamp(28px,8vw,38px)}
  .occ-grid{grid-template-columns:repeat(2,1fr);gap:var(--gap-5xl)}
  .occ{aspect-ratio:3/4}
  .occ span{font-size:var(--fs-p17);bottom:18px}
  .occ span small{font-size:var(--fs-p10_5);letter-spacing:var(--ls-6xl);margin-top:var(--gap-md)}
  .prod-grid{grid-template-columns:repeat(2,1fr);gap:var(--gap-5xl)}
  .prod-grid .prod-meta{padding:var(--gap-7xl) var(--gap-7xl) var(--gap-9xl)}
  .gal-grid{grid-template-columns:repeat(3,1fr);gap:var(--gap-xl)}
}
@media (max-width:400px){
  .prod-grid{grid-template-columns:1fr}
}

/* ---------- heading anchors and the touch helpers ---------- */
h1, h2, h3, h4 { scroll-margin-top: 96px; }
a, button, [role="button"], input, select, textarea { touch-action: manipulation; }
::selection { background: var(--gold); color: var(--theme-on-dark); }

/* ---------- screen-reader only ---------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -var(--gap-p1);
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- inline links inside a sentence ---------- */
.link-inline{display:inline-block;min-height:26px;line-height:26px}

/* ---------- the skip link ---------- */
.skip-link{position:absolute;left:-9999px;top:var(--gap-12xl);z-index:1000;background:var(--gold);color:var(--ink);padding:var(--gap-5xl) var(--gap-9xl);min-height:var(--gap-20xl);display:inline-flex;align-items:center;font-family:var(--caps);text-transform:uppercase;font-size:var(--fs-base);letter-spacing:var(--ls-4xl)}
.skip-link:focus{left:20px}

/* ---------- the mark stays in the middle at every width ---------- */
@media (max-width:1320px){
  .header-in{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:var(--gap-3xl)}
  .actions{gap:var(--gap-xl)}
  .actions .act{min-width:28px;min-height:28px}
}
@media (max-width:520px){
  .header-in{gap:var(--gap-md)}
  .actions{gap:var(--gap-xs)}
  .actions .act{min-width:26px;min-height:26px}
  .actions .icon{width:18px;height:18px}
}
@media (max-width:400px){
  .actions{gap:var(--gap-3xs)}
  .actions .act{min-width:24px;min-height:24px}
  .actions .icon{width:17px;height:17px}
}

/* ---------- device visibility utilities (admin-controlled) ---------- */
@media (max-width:1024px){
  .hide-m{display:none !important}
  .show-m-block{display:block !important}
  .show-m-flex{display:inline-flex !important}
  .sz-hide-mobile{display:none !important}
}
@media (min-width:1025px){
  .hide-d{display:none !important}
  .sz-hide-desktop{display:none !important}
}
