/* Obscure Radiance — mobile first. Shares the OR family system (lunallena.com, tequilalunallena.com.mx):
   Montserrat 900 titles, Raleway text, Luna Llena gold, family black. Obscure Radiance's own note is the
   white ground and the R-and-wheat mark. No radius, no UI shadows, no gradients. */

:root {
  --paper: #FBFAF7;
  --tile: #EEEBE5;          /* the studio backdrop baked into the product photos */
  --ink: #080808;
  --ink-2: #2A2825;
  --mute: #6E6A63;
  --line: #E2DED5;
  --gold: #C6A15B;
  --gold-d: #8F7440;
  --gold-t: #7A6233;        /* gold for small text on white (AA) */
  --on-ink: #F5F3EE;
  --on-ink-mute: #A9A49A;

  --title: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Raleway", "Helvetica Neue", Arial, sans-serif;

  --gut: 16px;
  --top-h: 56px;
  --dock-h: 58px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

@media (min-width: 700px) { :root { --gut: 28px; } }
@media (min-width: 1100px) { :root { --gut: 44px; --top-h: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 60px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--dock-h) + var(--safe-b));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Small uppercase label: codes, counts, captions, prices. The family's "Enjoy responsibly" voice. */
.meta {
  font-family: var(--title); font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold-t);
  font-variant-numeric: tabular-nums;
}
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { left: 8px; }
.muted { color: var(--mute); }

/* Titles */
.display, .display-2, .display-3 {
  font-family: var(--title); font-weight: 900; text-transform: uppercase;
  line-height: 1.02; letter-spacing: 0.035em;
}
.display   { font-size: clamp(32px, 9.6vw, 92px); }
.display-2 { font-size: clamp(26px, 7.2vw, 56px); letter-spacing: 0.05em; }
.display-3 { font-size: clamp(21px, 5.4vw, 36px); letter-spacing: 0.06em; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  background: var(--gold); color: var(--ink);
  border: 1.5px solid var(--gold); border-radius: 0;
  font-family: var(--title); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.16em; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-full { width: 100%; }
.link {
  font-family: var(--title); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.14em;
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.link:hover { color: var(--gold-t); }
.ask-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--title); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em;
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.ask-link:hover { color: var(--gold-t); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  height: var(--top-h); padding: 0 var(--gut);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 28px; height: auto; color: var(--ink); }
.brand-word { font-family: var(--title); font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.2em; }
.top-nav { display: none; }
.top-nav a, .top-nav button {
  background: none; border: 0; padding: 6px 0; cursor: pointer; text-decoration: none;
  font-family: var(--title); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.16em;
  border-bottom: 2px solid transparent;
}
.top-nav a:hover, .top-nav a[aria-current], .top-nav button:hover { border-bottom-color: var(--gold); }
.bag-btn {
  background: none; border: 0; padding: 8px 0;
  font-family: var(--title); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.16em;
}
.top-bag { display: none; }
.bag-count {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 5px; margin-left: 6px;
  font: 700 11px/1 var(--title); letter-spacing: 0;
  border: 1.5px solid currentColor;
}
.bag-count.has { background: var(--gold); border-color: var(--gold); color: var(--ink); }

@media (min-width: 900px) {
  .top-nav { display: flex; gap: 28px; }
  .top-bag { display: inline-flex; align-items: center; }
}

/* Mobile dock (family black) */
.dock {
  position: fixed; inset: auto 0 0 0; z-index: 30;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  height: calc(var(--dock-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: var(--ink); color: var(--on-ink);
}
.dock a, .dock button {
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; color: inherit; text-decoration: none;
  font-family: var(--title); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
}
.dock > * + * { border-left: 1px solid #1f1f1f; }
.dock .bag-count { border-color: #555; }
.dock [data-ask] { color: var(--gold); }
@media (min-width: 900px) { .dock { display: none; } }

/* Shopping assistant button: always visible, above the dock (phones) or bottom-right (desktop) */
.ask-fab {
  position: fixed; right: 14px; bottom: calc(var(--dock-h) + var(--safe-b) + 14px); z-index: 28;
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px 0 14px;
  background: var(--ink); color: #fff; border: 1.5px solid var(--gold); border-radius: 0;
  font-family: var(--title); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em;
  box-shadow: 0 10px 28px rgb(8 8 8 / 0.22);
}
.ask-fab:hover { background: var(--gold); color: var(--ink); }
.ask-fab .ask-fab-mark { width: 22px; height: auto; color: var(--gold); }
.ask-fab:hover .ask-fab-mark { color: var(--ink); }
body.is-product .ask-fab { bottom: calc(78px + var(--safe-b) + 12px); }
@media (min-width: 900px) {
  .ask-fab, body.is-product .ask-fab { right: 28px; bottom: 28px; }
}

/* Hero */
.hero { padding: 26px var(--gut) 0; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hero-kicker .kicker-mark { width: 24px; height: auto; color: var(--gold); }
.hero h1 { max-width: 13ch; }
.hero-lede { margin-top: 18px; font-size: 17px; line-height: 1.6; max-width: 32em; color: var(--ink-2); }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 24px; }
.hero-fig { margin: 30px calc(var(--gut) * -1) 0; background: var(--tile); }
.hero-fig img { width: 100%; aspect-ratio: 16 / 13; object-fit: cover; }
.hero-fig figcaption { padding: 12px var(--gut); background: var(--paper); border-bottom: 1px solid var(--line); }

@media (min-width: 900px) {
  .hero {
    display: grid; grid-template-columns: 5fr 7fr; gap: 0 var(--gut);
    align-items: center; padding-top: 0; min-height: calc(100vh - var(--top-h) - 40px); max-height: 860px;
  }
  .hero-text { padding: 56px 0; }
  .hero-fig { margin: 0 calc(var(--gut) * -1) 0 0; align-self: stretch; display: flex; flex-direction: column; }
  .hero-fig a { flex: 1; display: block; min-height: 0; }
  .hero-fig img { height: 100%; aspect-ratio: auto; }
  .hero-fig figcaption { padding-left: 24px; border-bottom: 0; background: var(--tile); }
}

/* Product lines */
.line { padding: 60px var(--gut) 0; }
.line-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 16px;
  padding-top: 18px; margin-bottom: 24px;
  border-top: 1px solid var(--ink);
}
.line-head .line-logo { width: 116px; height: auto; color: var(--ink); }
.line-count { padding-bottom: 4px; text-align: right; }
.line-blurb { grid-column: 1 / -1; max-width: 36em; color: var(--ink-2); margin-top: 4px; }
.line-more { margin-top: 30px; }
@media (min-width: 900px) {
  .line { padding-top: 96px; }
  .line-head { grid-template-columns: auto 1fr auto; column-gap: 40px; }
  .line-blurb { grid-column: 2; grid-row: 1; margin: 0 0 4px; }
}

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 16px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card a { display: block; text-decoration: none; }
.card-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card a:hover .card-img img { transform: scale(1.03); }
.card-meta { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; padding-top: 12px; }
.card-no { grid-column: 1 / -1; font-size: 10px; }
.card-name {
  grid-column: 1 / -1; font-family: var(--title); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.35;
}
.card-color { font-size: 14px; color: var(--mute); display: flex; align-items: center; min-width: 0; }
.card-price { font-family: var(--title); font-weight: 600; font-size: 13px; align-self: center; font-variant-numeric: tabular-nums; }
@media (max-width: 420px) {
  .card-meta { grid-template-columns: 1fr; }
  .card-price { margin-top: 2px; }
}

.sw {
  flex: none; display: inline-block; width: 12px; height: 12px; margin-right: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.18);
}

/* The mark, annotated (family black) */
.anatomy { margin-top: 80px; background: var(--ink); color: var(--on-ink); }
.anatomy-in { padding: 60px var(--gut) 68px; }
.anatomy h2 { color: #fff; }
.anatomy-fig { position: relative; width: min(72vw, 400px); margin: 36px auto 44px; }
.anatomy-mark { width: 100%; height: auto; color: var(--on-ink); }
.pin {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: var(--ink); font: 800 13px/1 var(--title);
}
.anatomy-list { display: grid; gap: 26px; max-width: 34em; }
.anatomy-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding-top: 16px; border-top: 1px solid #262626; }
.anatomy-list .meta { color: var(--gold); font-size: 13px; padding-top: 2px; }
.anatomy-list h3 { font-family: var(--title); font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px; color: #fff; }
.anatomy-list p { color: var(--on-ink-mute); }
.anatomy-more { margin-top: 34px; }
.anatomy .link { color: #fff; }
.anatomy .link:hover { color: var(--gold); }
@media (min-width: 900px) {
  .anatomy-in { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
  .anatomy h2 { grid-column: 1 / -1; }
  .anatomy-fig { margin: 52px 0; width: min(34vw, 440px); justify-self: center; }
  .anatomy-more { grid-column: 2; }
}

/* Collab */
.collab { padding: 76px var(--gut) 0; display: grid; gap: 28px; }
.collab-imgs { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; align-items: end; }
.collab-imgs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tile); }
.collab-text { display: grid; gap: 14px; justify-items: start; }
.collab-colors { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.collab-colors a { display: inline-flex; align-items: center; font-size: 15px; text-decoration: none; }
.collab-colors a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .collab { grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; padding-top: 112px; }
}

/* Letter */
.letter-teaser { padding: 88px var(--gut) 80px; }
.letter-teaser blockquote p {
  font: italic 300 clamp(25px, 6.6vw, 46px)/1.28 var(--body);
  max-width: 18em;
}
.letter-teaser .sig { margin: 24px 0 20px; font-family: var(--title); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; }
.letter-teaser .sig .meta { display: block; margin-top: 4px; }

/* Shop */
.shop { padding: 30px var(--gut) 0; }
.shop-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 16px; margin-bottom: 18px; }
.chips {
  position: sticky; top: var(--top-h); z-index: 10;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gut) * -1) 24px; padding: 10px var(--gut);
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); text-decoration: none;
  font-family: var(--title); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
}
.chips a .meta { font-size: 10px; letter-spacing: 0.06em; }
.chips a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips a[aria-current] .meta { color: var(--gold); }

/* Product page */
body.is-product { padding-bottom: calc(78px + var(--safe-b)); }
body.is-product .dock { display: none; }
body.is-product .top-bag { display: inline-flex; align-items: center; }
.crumbs { padding: 14px var(--gut); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.pdp-gallery { position: relative; }
.pdp-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pdp-track::-webkit-scrollbar { display: none; }
.pdp-track figure { position: relative; flex: 0 0 100%; scroll-snap-align: start; background: var(--tile); }
.pdp-track img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pdp-track figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--paper); padding: 6px 10px; }
.pdp-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.pdp-dots span { width: 18px; height: 3px; background: rgb(8 8 8 / 0.2); }
.pdp-dots span.on { background: var(--ink); }

.pdp-info { padding: 24px var(--gut) 0; }
.pdp-name {
  margin-top: 10px; font-family: var(--title); font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: clamp(27px, 7.4vw, 44px); line-height: 1.05;
}
.pdp-color { margin-top: 8px; font-size: 17px; color: var(--ink-2); }
.pdp-price { margin-top: 8px; font-family: var(--title); font-weight: 600; font-size: 19px; font-variant-numeric: tabular-nums; }

.opt { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
.opt legend { padding: 0; margin-bottom: 12px; font-family: var(--title); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.16em; }
.opt legend .meta { margin-left: 6px; }
.colors { display: flex; flex-wrap: wrap; gap: 8px; }
.colors a {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 12px;
  border: 1px solid var(--line); text-decoration: none; font-size: 14.5px;
}
.colors a[aria-current] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.sizes span {
  display: grid; place-items: center; min-width: 54px; height: 46px; padding: 0 10px;
  border: 1px solid var(--line); font: 700 13px var(--title); letter-spacing: 0.08em;
}
.sizes input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sizes input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.buybar {
  position: fixed; inset: auto 0 0 0; z-index: 25;
  display: flex; align-items: center; gap: 16px;
  padding: 12px var(--gut) calc(12px + var(--safe-b));
  background: var(--paper); border-top: 1px solid var(--line);
}
.buybar-price { font-family: var(--title); font-weight: 700; font-size: 16px; flex: none; }
.buybar .btn { flex: 1; }

.specs { margin-top: 32px; border-bottom: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.specs dt { font-family: var(--title); font-weight: 600; font-size: 10.5px; line-height: 2; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold-t); }
.specs dd { font-size: 15px; }
.pdp-ask { margin-top: 20px; color: var(--ink-2); font-size: 15px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }

.line-more-from .line-head { border-top-color: var(--line); }

@media (min-width: 900px) {
  body.is-product { padding-bottom: 0; }
  .pdp { display: grid; grid-template-columns: 7fr 5fr; gap: 0 56px; padding: 0 var(--gut); align-items: start; }
  .pdp-track { display: grid; gap: 10px; overflow: visible; }
  .pdp-dots { display: none; }
  .pdp-info { position: sticky; top: calc(var(--top-h) + 28px); padding: 0; }
  .buybar { position: static; padding: 0; margin-top: 30px; border: 0; background: none; }
  .buybar-price { display: none; }
}

/* Story */
.story { padding: 30px var(--gut) 0; }
.story-head .meta { margin-top: 16px; display: block; }
.story-fig { margin: 30px calc(var(--gut) * -1) 0; background: var(--tile); }
.story-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.letter { max-width: 34em; margin-top: 38px; font: 400 18px/1.8 var(--body); }
.letter p + p { margin-top: 1.1em; }
.letter-pull { font-style: italic; font-weight: 300; font-size: 1.4em; line-height: 1.4; padding: 0.3em 0 0.3em 20px; border-left: 3px solid var(--gold); }
.letter .sig { margin-top: 1.6em; }
.letter .sig span { font-family: var(--title); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em; }
.story-cta { padding: 80px var(--gut) 88px; display: grid; gap: 20px; justify-items: start; }
@media (min-width: 900px) {
  .story { display: grid; grid-template-columns: 5fr 6fr; gap: 0 72px; padding-top: 52px; }
  .story-head { grid-column: 1 / -1; }
  .story-fig { margin: 44px 0 0; position: sticky; top: calc(var(--top-h) + 28px); align-self: start; }
  .letter { margin-top: 44px; font-size: 19px; }
  .story + .anatomy { margin-top: 104px; }
}

/* Legal / simple pages */
.legal { padding: 40px var(--gut) 80px; max-width: calc(40em + var(--gut) * 2); }
.legal h1 { margin-bottom: 26px; }
.legal h2 { font-family: var(--title); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; margin: 30px 0 8px; }
.legal p { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal .btn { margin-top: 14px; }
.thanks-mark { width: 64px; height: auto; margin-bottom: 24px; color: var(--gold); }
.order { width: 100%; border-collapse: collapse; margin: 24px 0; }
.order td { padding: 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.order td:first-child { width: 40px; color: var(--mute); }
.order td:last-child { text-align: right; font-family: var(--title); font-weight: 600; }
.order-total td { border-top: 2px solid var(--ink); font-weight: 700; }

/* Footer (family black) */
.foot { margin-top: 32px; background: var(--ink); color: var(--on-ink); }
.foot a { color: inherit; }
.foot-news { padding: 48px var(--gut) 40px; border-bottom: 1px solid #1f1f1f; }
.foot-news-h { font-family: var(--title); font-weight: 900; font-size: clamp(24px, 6.4vw, 40px); line-height: 1.1; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; }
.foot-news p { margin-top: 12px; color: var(--on-ink-mute); }
.news-form { display: flex; margin-top: 20px; max-width: 480px; }
.news-form input[type=email] {
  flex: 1; min-width: 0; height: 50px; padding: 0 14px;
  background: #fff; color: var(--ink); border: 0; border-radius: 0; font-size: 16px;
}
.news-form button {
  height: 50px; padding: 0 18px; background: var(--gold); color: var(--ink); border: 0;
  font-family: var(--title); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em;
}
.news-form button:hover { background: #fff; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 16px; padding: 36px var(--gut); }
.foot-grid h3 { font-family: var(--title); font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); margin-bottom: 12px; }
.foot-grid li + li { margin-top: 7px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--gold); }
.foot-contact { grid-column: 1 / -1; color: var(--on-ink-mute); }
.foot-contact a { color: var(--on-ink); }
.foot-contact p + p { margin-top: 8px; }
.foot-contact .meta { color: var(--on-ink-mute); }
.family { padding: 30px var(--gut) 34px; border-top: 1px solid #1f1f1f; }
.family-h { color: var(--gold); margin-bottom: 18px; display: block; }
.family-list { display: flex; flex-wrap: wrap; gap: 22px 36px; align-items: center; }
.family-list a { display: grid; gap: 8px; text-decoration: none; color: var(--on-ink-mute); font-size: 13.5px; }
.family-list a:hover { color: #fff; }
.family-list .family-logo { width: 74px; height: auto; color: #fff; }
.family-list .family-word { font-family: var(--title); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: #fff; }
.foot-base { display: flex; align-items: center; gap: 14px; padding: 22px var(--gut) 30px; border-top: 1px solid #1f1f1f; }
.foot-mark { width: 26px; height: auto; color: var(--gold); }
.foot-base .meta { color: var(--on-ink-mute); }
@media (min-width: 900px) {
  .foot { display: grid; grid-template-columns: 5fr 7fr; }
  .foot-news { border-bottom: 0; border-right: 1px solid #1f1f1f; padding-top: 64px; padding-bottom: 64px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1.4fr; padding-top: 64px; }
  .foot-contact { grid-column: auto; }
  .family, .foot-base { grid-column: 1 / -1; }
}

/* Cookie notice */
.consent {
  position: fixed; left: 0; right: 0; bottom: calc(var(--dock-h) + var(--safe-b)); z-index: 29;
  padding: 16px var(--gut) 18px; background: var(--ink); color: var(--on-ink);
  border-top: 3px solid var(--gold);
}
.consent[hidden] { display: none; }
.consent p { font-size: 14px; line-height: 1.55; color: var(--on-ink-mute); }
.consent a { color: #fff; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 10px; margin-top: 12px; }
.consent-actions .btn { flex: 1; min-height: 44px; padding: 0 12px; font-size: 11px; }
.consent .btn-ghost { border-color: #555; color: #fff; }
.consent .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
body.is-product .consent { bottom: calc(78px + var(--safe-b)); }
body.consent-open .ask-fab { display: none; }
.foot-link { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.foot-link:hover { color: var(--gold); }
.bag-legal { margin-top: 10px; font-size: 12.5px; color: var(--mute); text-align: center; }
.bag-legal a { color: var(--ink-2); }
@media (min-width: 900px) {
  .consent, body.is-product .consent { left: 28px; right: auto; bottom: 28px; width: 420px; padding: 20px 22px; border: 1.5px solid var(--gold); border-top-width: 3px; }
}

/* Bag */
.bag {
  position: fixed; inset: auto 0 0 0; margin: 0;
  width: 100%; max-width: 100%; max-height: 86vh; padding: 0;
  border: 0; border-top: 3px solid var(--gold);
  background: var(--paper); color: var(--ink);
  display: none; grid-template-rows: auto 1fr auto;
}
.bag[open] { display: grid; animation: bag-up .18s ease-out; }
.bag::backdrop { background: rgb(8 8 8 / 0.55); }
@keyframes bag-up { from { transform: translateY(24px); opacity: 0; } }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gut); border-bottom: 1px solid var(--line); }
.bag-head h2 { font-family: var(--title); font-weight: 900; font-size: 20px; text-transform: uppercase; letter-spacing: 0.08em; }
.bag-close { background: none; border: 0; padding: 8px 0; font-family: var(--title); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.14em; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold); }
.bag-body { overflow-y: auto; padding: 0 var(--gut); }
.bag-empty { padding: 32px 0; }
.bag-empty a { font-weight: 700; }
.bag-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bag-item img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tile); }
.bag-item h3 { font-family: var(--title); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.35; }
.bag-item p { font-size: 14px; color: var(--mute); }
.bag-qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--line); }
.bag-qty button { width: 34px; height: 32px; background: none; border: 0; font-size: 17px; }
.bag-qty span { min-width: 22px; text-align: center; font: 700 13px var(--title); }
.bag-rm { display: block; margin-top: 8px; background: none; border: 0; padding: 0; font-size: 13px; color: var(--mute); text-decoration: underline; }
.bag-line-price { font: 600 13px var(--title); }
.bag-foot { padding: 16px var(--gut) calc(16px + var(--safe-b)); border-top: 1px solid var(--ink); }
.bag-sub { display: flex; justify-content: space-between; font-family: var(--title); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; }
.bag-sub span:last-child { font-size: 16px; letter-spacing: 0; }
.bag-note { font-size: 13px; color: var(--mute); margin: 4px 0 14px; }
.bag-foot .btn[disabled] { opacity: 0.4; pointer-events: none; }
@media (min-width: 900px) {
  .bag { inset: 0 0 0 auto; width: 440px; max-height: none; height: 100vh; border-top: 0; border-left: 3px solid var(--gold); }
  @keyframes bag-up { from { transform: translateX(24px); opacity: 0; } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Stock, set from the admin panel */
.card-img { position: relative; }
.card-tag { position: absolute; left: 8px; top: 8px; background: var(--ink); color: var(--paper); padding: 5px 8px; font-size: 10px; }
.pdp-stock { margin-top: 6px; font-size: 11px; color: var(--gold-t); }
.pdp-stock.is-out { color: var(--ink); }
.sizes label.is-out span { color: var(--mute); border-style: dashed; text-decoration: line-through; cursor: not-allowed; }
.btn:disabled, .btn:disabled:hover { background: var(--line); border-color: var(--line); color: var(--mute); cursor: not-allowed; }
