/* Podium — storefront + shared base.
   World: the medal wall. White wall, steel-black ink, the product photo brings
   the only colour (ribbons). Sections hang from a steel bar. One accent, finish-
   tape red (Bahrain red), reserved for urgency: low stock, errors, badges. */

@font-face {
  font-family: "Archivo";
  src: url("/static/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/static/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Arabic user text (names, addresses, notes). Only Arabic ranges, so Latin never falls here. */
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("/static/fonts/noto-sans-arabic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
  /* colour */
  --wall: #ffffff;          /* page ground: the wall the hanger goes on */
  --plaster: #f1f2f2;       /* image stages, panels, inputs */
  --plaster-2: #e6e8e9;     /* pressed / hover on plaster */
  --rule: #dcdfe1;          /* hairlines between rows */
  --ink: #1b1d20;           /* powder-coated steel */
  --ink-2: #464b51;         /* secondary text 8.9:1 on wall */
  --ink-3: #676d73;         /* muted text 5.3:1 on wall, 4.8:1 on plaster */
  --on-ink: #ffffff;
  --tape: #c8102e;          /* finish-tape red: urgency only */
  --tape-wash: #fcebed;
  --ok: #1d6b45;
  --ok-wash: #e5f2ea;
  --warn: #8a5300;
  --warn-wash: #fbefd9;
  --info: #1f56a3;
  --info-wash: #e7eef9;
  --focus: #1f56a3;
  --selection: #d6e2f5;

  /* type */
  --font: "Archivo", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--2: 0.75rem;
  --step--1: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(2rem, 1.55rem + 2.1vw, 3.25rem);
  --step-4: clamp(2.875rem, 1.9rem + 4.6vw, 5.75rem);
  --display-stretch: 70%;

  /* space (4px base) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --max: 76rem;

  /* shape */
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;
  --bar: 4px;               /* the steel bar everything hangs from */
  --shadow-1: 0 1px 2px rgb(27 29 32 / 0.06), 0 4px 12px rgb(27 29 32 / 0.05);
  --shadow-2: 0 -1px 0 rgb(27 29 32 / 0.06), 0 -10px 30px rgb(27 29 32 / 0.08);
  --shadow-3: 0 2px 4px rgb(27 29 32 / 0.08), 0 16px 40px rgb(27 29 32 / 0.16);

  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --tap: 44px;
  --buybar-h: 0px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { flex: 1; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.12; text-wrap: balance; font-weight: 700; }
p, li, dd { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--selection); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::placeholder { color: var(--ink-3); opacity: 1; }
html { scrollbar-color: #b9bec2 transparent; }
[hidden] { display: none !important; }
.num, .money { font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--on-ink); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm);
}
.skip-link:focus { top: var(--s-3); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.stack > * + * { margin-top: var(--s-4); }
.muted { color: var(--ink-3); }
.small { font-size: var(--step--1); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* display type: condensed heavy, like the cut-steel lettering */
.display {
  font-size: var(--step-4);
  font-weight: 800;
  font-stretch: var(--display-stretch);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.h1 { font-size: var(--step-3); font-weight: 800; font-stretch: 78%; line-height: 0.98; letter-spacing: -0.015em; }
.h2 { font-size: var(--step-2); font-weight: 750; font-stretch: 85%; letter-spacing: -0.01em; }
.h3 { font-size: var(--step-1); font-weight: 650; }
.lede { font-size: var(--step-1); color: var(--ink-2); line-height: 1.45; max-width: 34ch; }

/* The steel bar: a section's heading sits on it and everything hangs below. */
.bar-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4);
  border-top: var(--bar) solid var(--ink);
  padding-top: var(--s-3);
  margin-bottom: var(--s-5);
}
.bar-head > :last-child:not(:first-child) { color: var(--ink-3); font-size: var(--step--1); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--plaster); --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--tap); padding: 0.625rem 1.25rem;
  border: 0; border-radius: var(--r-md);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 650; font-size: var(--step-0); line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition-property: background-color, color, scale, box-shadow; transition-duration: 160ms; transition-timing-function: var(--ease-out);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:hover { --btn-bg: var(--plaster-2); text-decoration: none; }
.btn:active { scale: 0.96; }
.btn--primary { --btn-bg: var(--ink); --btn-fg: var(--on-ink); }
.btn--primary:hover { --btn-bg: #33373c; }
.btn--ghost { --btn-bg: transparent; box-shadow: inset 0 0 0 1px var(--rule); }
.btn--ghost:hover { --btn-bg: var(--plaster); }
.btn--danger { --btn-bg: var(--tape-wash); --btn-fg: var(--tape); }
.btn--danger:hover { --btn-bg: #f8d7dc; }
.btn--lg { min-height: 3.25rem; padding-inline: 1.5rem; font-size: var(--step-1); border-radius: 14px; }
.btn--block { display: flex; width: 100%; }
.btn--icon { padding: 0; width: var(--tap); }
.btn[disabled], .btn[aria-disabled="true"] { --btn-bg: var(--plaster); --btn-fg: var(--ink-3); cursor: not-allowed; scale: 1; }
.btn .icon { width: 1.15em; height: 1.15em; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; min-height: var(--tap); display: inline-flex; align-items: center; gap: var(--s-2); }

/* ---------- forms ---------- */
.field { display: grid; gap: var(--s-2); }
.field + .field, .field + .row, .row + .field, .row + .row { margin-top: var(--s-4); }
.row > .field { margin-top: 0; align-content: start; }
.row { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); }
.label { font-weight: 600; font-size: var(--step--1); color: var(--ink); }
.label .opt { font-weight: 400; color: var(--ink-3); }
.hint { font-size: var(--step--1); color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%; min-height: 3rem; padding: 0.75rem 0.875rem;
  background: var(--plaster); border: 1px solid transparent; border-radius: var(--r-sm);
  font-size: 1rem; /* 16px: no iOS zoom on focus */
  transition-property: border-color, background-color, box-shadow; transition-duration: 140ms;
}
.input:hover, .select:hover, .textarea:hover { background: var(--plaster-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; background: var(--wall); border-color: var(--ink); box-shadow: 0 0 0 3px rgb(31 86 163 / 0.18); }
.textarea { min-height: 6.5rem; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--tape); background: var(--tape-wash); }
.error-text { display: flex; gap: var(--s-2); align-items: flex-start; color: var(--tape); font-size: var(--step--1); font-weight: 550; }
.error-text .icon { margin-top: 0.1em; }
.affix { display: flex; align-items: stretch; }
.affix__pre {
  display: inline-flex; align-items: center; padding-inline: 0.875rem;
  background: var(--plaster-2); border-radius: var(--r-sm) 0 0 var(--r-sm);
  font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-2);
}
.affix .input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.affix .input:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.affix .input:first-child + .affix__pre { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }

.error-summary {
  border-radius: var(--r-md); background: var(--tape-wash); color: var(--ink);
  padding: var(--s-4); margin-bottom: var(--s-5);
}
.error-summary h2 { font-size: var(--step-0); color: var(--tape); display: flex; gap: var(--s-2); align-items: center; }
.error-summary ul { margin-top: var(--s-2); padding-left: 1.25rem; }
.error-summary a { color: var(--ink); }

/* quantity stepper */
.stepper { display: inline-flex; align-items: center; background: var(--plaster); border-radius: var(--r-md); }
.stepper button {
  width: var(--tap); height: var(--tap); display: grid; place-items: center;
  border: 0; background: none; border-radius: var(--r-md); color: var(--ink);
  transition-property: background-color, scale; transition-duration: 140ms;
}
.stepper button:hover:not([disabled]) { background: var(--plaster-2); }
.stepper button:active:not([disabled]) { scale: 0.92; }
.stepper button[disabled] { color: #aeb3b8; cursor: not-allowed; }
.stepper input, .stepper output {
  width: 2.5rem; text-align: center; border: 0; background: none; font-weight: 650;
  font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; padding: 0;
}
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline-offset: 0; }
.no-js .stepper [data-step] { display: none; }
.no-js .stepper input { width: 4.5rem; min-height: var(--tap); }

/* ---------- flash / toast with undo ---------- */
.flash {
  display: flex; align-items: center; gap: var(--s-3); justify-content: space-between; flex-wrap: wrap;
  background: var(--ink); color: var(--on-ink); border-radius: var(--r-md);
  padding: var(--s-2) var(--s-2) var(--s-2) var(--s-4); margin-block: var(--s-4);
  min-height: 3.25rem;
}
.flash .icon { color: #9fe0bb; }
.flash__msg { display: flex; align-items: center; gap: var(--s-2); flex: 1 1 12rem; }
.flash form { display: contents; }
.flash .btn { --btn-bg: rgb(255 255 255 / 0.12); --btn-fg: var(--on-ink); min-height: 2.5rem; padding-inline: 0.875rem; }
.flash .btn:hover { --btn-bg: rgb(255 255 255 / 0.2); }
.flash--error { background: var(--tape); }
.flash--error .icon { color: var(--on-ink); }

/* ---------- stock + status pills ---------- */
.stock { display: inline-flex; align-items: center; gap: 0.4em; font-size: var(--step--1); font-weight: 600; }
.stock::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: currentColor; }
.stock--in { color: var(--ok); }
.stock--low { color: var(--tape); }
.stock--out { color: var(--ink-3); }

/* ============ STOREFRONT ============ */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 3.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; min-height: var(--tap); }
.brand__mark { width: 26px; height: 26px; }
.brand__name { font-weight: 800; font-stretch: 72%; font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1; }
.brand:hover { text-decoration: none; }
.header-nav { display: flex; align-items: center; gap: var(--s-1); }
.header-nav__link { display: none; padding: 0.5rem 0.75rem; min-height: var(--tap); align-items: center; text-decoration: none; font-weight: 550; border-radius: var(--r-sm); }
.header-nav__link:hover { background: var(--plaster); }
.cart-link {
  position: relative; display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: var(--tap); padding: 0 0.875rem; border-radius: var(--r-pill);
  text-decoration: none; font-weight: 600; background: var(--plaster);
}
.cart-link:hover { background: var(--plaster-2); text-decoration: none; }
.cart-link__count {
  min-width: 1.375rem; height: 1.375rem; padding-inline: 0.35rem; border-radius: var(--r-pill);
  display: inline-grid; place-items: center; background: var(--ink); color: var(--on-ink);
  font-size: 0.75rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.cart-link__count[data-empty] { background: var(--plaster-2); color: var(--ink-3); }
@media (min-width: 40em) { .header-nav__link { display: inline-flex; } }

.notice-bar { background: var(--ink); color: var(--on-ink); font-size: var(--step--1); text-align: center; padding: var(--s-2) var(--gutter); }

/* hero */
.hero { padding-top: var(--s-6); overflow: clip; }
.hero__grid { display: grid; gap: var(--s-5); }
.hero__copy { display: grid; gap: var(--s-4); align-content: start; }
.hero__copy .display { max-width: 9ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-2); }
.hero__from { font-size: var(--step--1); color: var(--ink-3); }
.hero__from strong { display: block; color: var(--ink); font-size: var(--step-1); font-weight: 700; font-variant-numeric: tabular-nums; }
.hero__wall { position: relative; margin-inline: calc(var(--gutter) * -1); }
.hero__stage { display: block; background: var(--plaster); padding: clamp(1.25rem, 5vw, 3rem) clamp(1rem, 4vw, 3rem) 0; }
.hero__wall img { width: 100%; max-width: 44rem; margin-inline: auto; mix-blend-mode: multiply; }
.hero__caption { padding-inline: var(--gutter); margin-top: var(--s-3); display: flex; justify-content: space-between; gap: var(--s-4); font-size: var(--step--1); color: var(--ink-3); }
.hero__caption a { color: var(--ink); font-weight: 600; }
@media (min-width: 56em) {
  .hero { padding-top: var(--s-7); }
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: var(--s-7); }
  .hero__copy { padding-bottom: var(--s-6); }
  .hero__wall { margin-inline: 0; }
  .hero__stage { border-radius: var(--r-lg); }
  .hero__caption { padding-inline: 0; }
}

/* facts row (delivery / payment / contact): a results-sheet row, not cards */
.facts { display: grid; gap: 0; margin-block: var(--s-7); border-top: var(--bar) solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 1.5rem 1fr; gap: var(--s-1) var(--s-3); padding-block: var(--s-4); border-bottom: 1px solid var(--rule); }
.facts .icon { grid-row: span 2; margin-top: 0.15rem; color: var(--ink-2); }
.facts dt { font-weight: 650; }
.facts dd { color: var(--ink-3); font-size: var(--step--1); }
@media (min-width: 48em) {
  .facts { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--rule); }
  .facts > div { border-bottom: 0; padding-inline: var(--s-4); }
  .facts > div + div { border-left: 1px solid var(--rule); }
  .facts > div:first-child { padding-left: 0; }
}

/* product grid */
.shop { padding-block: var(--s-7) var(--s-4); }
.grid { list-style: none; padding: 0; display: grid; gap: var(--s-6) var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 30em) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-7) var(--s-5); } }
.card { position: relative; display: grid; gap: var(--s-3); align-content: start; }
.card__stage {
  position: relative; aspect-ratio: 1; border-radius: var(--r-lg); background: var(--plaster); overflow: hidden;
  display: grid; place-items: center;
}
.card__stage img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: scale 400ms var(--ease-out); }
.card:hover .card__stage img { scale: 1.03; }
.card__flag {
  position: absolute; left: var(--s-3); top: var(--s-3);
  padding: 0.25rem 0.625rem; border-radius: var(--r-pill);
  background: var(--wall); font-size: var(--step--2); font-weight: 650; box-shadow: var(--shadow-1);
}
.card__flag--low { color: var(--tape); }
.card__flag--out { color: var(--ink-3); }
.card__flag--sale { left: auto; right: var(--s-3); background: var(--ink); color: var(--on-ink); font-variant-numeric: tabular-nums; }
.was { color: var(--ink-3); font-weight: 400; font-size: 0.85em; text-decoration-thickness: 1px; font-variant-numeric: tabular-nums; }
.sale-tag { align-self: center; padding: 0.2rem 0.6rem; border-radius: var(--r-pill); background: var(--ink); color: var(--on-ink); font-size: var(--step--1); font-weight: 650; font-variant-numeric: tabular-nums; }
.card__title { font-size: var(--step-1); font-weight: 700; line-height: 1.2; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.card__title a:focus-visible { outline: none; }
.card:has(a:focus-visible) .card__stage { outline: 2px solid var(--focus); outline-offset: 3px; }
.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.card__spec { color: var(--ink-3); font-size: var(--step--1); }
.card__price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card--out .card__stage img { opacity: 0.55; }

.empty { text-align: center; padding: var(--s-8) var(--s-4); display: grid; gap: var(--s-4); justify-items: center; }
.empty .icon { width: 2.5rem; height: 2.5rem; color: var(--ink-3); stroke-width: 1.25; }
.empty p { color: var(--ink-3); max-width: 32ch; }

/* product page */
.crumb { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tap); color: var(--ink-2); text-decoration: none; font-size: var(--step--1); font-weight: 550; }
.crumb:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); padding-bottom: var(--s-8); }
.pdp > * { min-width: 0; }
@media (min-width: 56em) {
  .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: start; }
  .pdp__gallery { position: sticky; top: 5rem; }
}
.gallery { margin-inline: calc(var(--gutter) * -1); }
.gallery__track {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; background: var(--plaster);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { scroll-snap-align: center; scroll-snap-stop: always; aspect-ratio: 1; display: grid; place-items: center; }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__thumbs { display: flex; gap: var(--s-2); padding: var(--s-3) var(--gutter) 0; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs a {
  flex: none; width: 3.5rem; height: 3.5rem; border-radius: var(--r-sm); background: var(--plaster); overflow: hidden;
  box-shadow: inset 0 0 0 1px transparent; opacity: 0.7; transition-property: opacity, box-shadow; transition-duration: 160ms;
}
.gallery__thumbs a[aria-current="true"], .gallery__thumbs a:hover { opacity: 1; box-shadow: inset 0 0 0 2px var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
@media (min-width: 56em) {
  .gallery { margin-inline: 0; }
  .gallery__track { border-radius: var(--r-lg); }
  .gallery__thumbs { padding-inline: 0; }
}

.pdp__info { display: grid; gap: var(--s-4); align-content: start; }
.pdp__title { font-size: var(--step-3); font-weight: 800; font-stretch: 74%; line-height: 0.98; letter-spacing: -0.015em; }
.pdp__tagline { color: var(--ink-2); font-size: var(--step-1); line-height: 1.4; }
.pdp__priceline { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.price-lg { font-size: var(--step-2); font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.pdp__desc { color: var(--ink-2); white-space: pre-line; max-width: 62ch; }
.pdp__delivery { display: flex; gap: var(--s-2); align-items: center; font-size: var(--step--1); color: var(--ink-2); }

/* spec sheet: rows like a results sheet, with the width drawn as a measured rule */
.spec { border-top: var(--bar) solid var(--ink); }
.spec__rule { padding-block: var(--s-4) var(--s-3); border-bottom: 1px solid var(--rule); }
.measure { position: relative; height: 1.25rem; margin-inline: 1px; }
.measure::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--ink); }
.measure::after { content: ""; position: absolute; inset: 0; border-inline: 1px solid var(--ink); }
.measure span {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  background: var(--wall); padding-inline: var(--s-2); font-size: var(--step--1); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.spec dl { display: grid; grid-template-columns: auto 1fr; }
.spec dt, .spec dd { padding-block: 0.7rem; border-bottom: 1px solid var(--rule); }
.spec dt { color: var(--ink-3); font-size: var(--step--1); padding-right: var(--s-4); display: flex; align-items: center; }
.spec dd { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

/* buy form: sticky bottom bar on phones, inline block from tablet up */
.buy { display: grid; gap: var(--s-3); }
.buy__row { display: flex; gap: var(--s-3); align-items: center; }
.buy__row .btn { flex: 1; }
.buy__price { display: none; }
@media (max-width: 55.99em) {
  .has-buybar { --buybar-h: 5.5rem; }
  .has-buybar main { padding-bottom: calc(var(--buybar-h) + env(safe-area-inset-bottom)); }
  .buy {
    position: fixed; inset: auto 0 0 0; z-index: 30;
    background: rgb(255 255 255 / 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-2);
    padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom));
  }
  .buy__price { display: grid; line-height: 1.15; white-space: nowrap; }
  .buy__price strong { font-variant-numeric: tabular-nums; font-size: var(--step-0); }
  .buy__price span { font-size: var(--step--2); color: var(--ink-3); }
  .buy__row { gap: var(--s-2); }
  .buy__row .btn { min-height: 3rem; min-width: 0; padding-inline: 1rem; font-size: var(--step-0); }
  .buy__note { display: none; }
}
@media (max-width: 23.5em) { .buy__price { display: none; } }

/* cart */
.page-head { padding-block: var(--s-5) var(--s-4); display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.cart { display: grid; gap: var(--s-6); padding-bottom: var(--s-8); }
@media (min-width: 56em) { .cart { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; gap: var(--s-7); } .summary--sticky { position: sticky; top: 5rem; } }
.lines { list-style: none; padding: 0; border-top: var(--bar) solid var(--ink); }
.line { display: grid; grid-template-columns: 5.5rem 1fr; gap: var(--s-2) var(--s-4); padding-block: var(--s-4); border-bottom: 1px solid var(--rule); }
.line__img { grid-row: span 3; width: 5.5rem; height: 5.5rem; border-radius: var(--r-md); background: var(--plaster); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line__top { display: flex; justify-content: space-between; gap: var(--s-3); align-items: baseline; }
.line__name { font-weight: 650; line-height: 1.3; }
.line__name a { text-decoration: none; }
.line__total { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line__unit { color: var(--ink-3); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.line__controls { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.line__controls form { display: inline-flex; }
.line__warn { grid-column: 2; color: var(--tape); font-size: var(--step--1); font-weight: 550; }
.remove-btn { color: var(--ink-3); font-size: var(--step--1); }
.remove-btn:hover { color: var(--tape); }

.summary { background: var(--plaster); border-radius: var(--r-lg); padding: var(--s-5); display: grid; gap: var(--s-4); }
.totals { display: grid; grid-template-columns: 1fr auto; gap: var(--s-2) 0; }
.totals dt { padding-right: var(--s-4); }
.totals dt { color: var(--ink-2); }
.totals dd { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.totals .free { color: var(--ok); }
.coupon { display: grid; gap: var(--s-2); padding-bottom: var(--s-4); border-bottom: 1px solid var(--rule); }
.coupon__row { display: flex; gap: var(--s-2); }
.coupon__row .input { flex: 1; min-width: 0; text-transform: uppercase; background: var(--wall); }
.coupon__applied { display: flex; align-items: center; gap: var(--s-2); font-size: var(--step--1); color: var(--ok); }
.coupon__applied span { flex: 1; color: var(--ink); }
.totals__total { border-top: 2px solid var(--ink); padding-top: var(--s-3); margin-top: var(--s-1); font-size: var(--step-1); font-weight: 750; color: var(--ink) !important; }
.summary__items { list-style: none; padding: 0; display: grid; gap: var(--s-3); padding-bottom: var(--s-4); border-bottom: 1px solid var(--rule); }
.summary__items li { display: grid; grid-template-columns: 3rem 1fr auto; gap: var(--s-3); align-items: center; font-size: var(--step--1); }
.summary__items img { width: 3rem; height: 3rem; border-radius: var(--r-sm); background: var(--wall); object-fit: contain; mix-blend-mode: multiply; }
.summary__items .qty { color: var(--ink-3); }
.summary__items .money { font-weight: 600; }
.secure-note { display: flex; gap: var(--s-2); align-items: flex-start; font-size: var(--step--1); color: var(--ink-3); }

/* checkout */
.checkout { display: grid; gap: var(--s-6); padding-bottom: var(--s-8); }
@media (min-width: 56em) { .checkout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: start; } }
.form-section + .form-section { margin-top: var(--s-6); }
.form-section > legend, .form-section > h2 { width: 100%; font-size: var(--step-1); font-weight: 700; border-top: var(--bar) solid var(--ink); padding-top: var(--s-3); margin-bottom: var(--s-4); }
.pay-block { margin-top: var(--s-5); display: grid; gap: var(--s-3); }

/* order status */
.order { padding-block: var(--s-6) var(--s-8); display: grid; gap: var(--s-7); }
.finish { display: grid; gap: var(--s-4); }
.finish__tape { height: 3px; background: var(--tape); transform-origin: left center; border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .finish__tape { animation: tape 900ms var(--ease-out) 150ms both; }
  @keyframes tape { from { scale: 0 1; } to { scale: 1 1; } }
}
.finish__number { font-size: var(--step-4); font-weight: 800; font-stretch: 66%; line-height: 0.9; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.finish__meta { color: var(--ink-3); font-size: var(--step--1); }
.order__grid { display: grid; gap: var(--s-6); }
@media (min-width: 56em) { .order__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-7); align-items: start; } }
.splits { list-style: none; padding: 0; border-top: var(--bar) solid var(--ink); }
.splits li { display: grid; grid-template-columns: 1.5rem 1fr auto; gap: var(--s-3); align-items: center; padding-block: 0.8rem; border-bottom: 1px solid var(--rule); color: var(--ink-3); }
.splits .dot { width: 0.75rem; height: 0.75rem; border-radius: 50%; border: 2px solid currentColor; justify-self: center; }
.splits .done { color: var(--ink); }
.splits .done .dot { background: var(--ink); border-color: var(--ink); }
.splits .current { color: var(--ink); font-weight: 650; }
.splits .current .dot { background: var(--tape); border-color: var(--tape); box-shadow: 0 0 0 4px var(--tape-wash); }
.splits time { font-variant-numeric: tabular-nums; font-size: var(--step--1); }
.next-steps { counter-reset: n; list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 1.75rem 1fr; gap: var(--s-3); color: var(--ink-2); }
.next-steps li::before { content: counter(n); width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--plaster); color: var(--ink); font-weight: 700; font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.address { font-style: normal; color: var(--ink-2); line-height: 1.6; }
.waiting { display: grid; gap: var(--s-4); justify-items: start; max-width: 36rem; }
.waiting__bar { width: 100%; height: 4px; background: var(--plaster); border-radius: 2px; overflow: hidden; position: relative; }
.waiting__bar::after { content: ""; position: absolute; inset: 0; width: 30%; background: var(--ink); border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .waiting__bar::after { animation: wait 1.6s var(--ease-out) infinite; }
  @keyframes wait { from { translate: -100% 0; } to { translate: 340% 0; } }
}

/* message pages (error / closed / 404) */
.message { padding-block: var(--s-8); display: grid; gap: var(--s-4); justify-items: start; max-width: 40rem; }
.message__code { font-size: var(--step-4); font-weight: 800; font-stretch: 64%; line-height: 0.9; color: var(--plaster-2); -webkit-text-stroke: 1.5px var(--ink); color: transparent; }
.message p { color: var(--ink-2); max-width: 44ch; }
.message__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }

/* footer */
.site-footer { margin-top: auto; background: var(--ink); color: #d7dadc; padding-block: var(--s-7) calc(var(--s-6) + var(--buybar-h) + env(safe-area-inset-bottom)); }
.site-footer a { color: var(--on-ink); }
.footer__grid { display: grid; gap: var(--s-6); }
@media (min-width: 48em) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand .brand__name { color: var(--on-ink); font-size: 2rem; }
.footer__brand p { margin-top: var(--s-3); color: #aeb3b8; max-width: 30ch; }
.footer__title { font-size: var(--step--1); font-weight: 650; color: #aeb3b8; margin-bottom: var(--s-2); }
.footer__links { list-style: none; padding: 0; display: grid; }
.footer__links a { display: inline-flex; align-items: center; gap: var(--s-3); min-height: var(--tap); text-decoration: none; font-weight: 550; }
.footer__links a:hover { text-decoration: underline; }
.footer__legal { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid #3a3e43; font-size: var(--step--1); color: #9aa0a6; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); justify-content: space-between; }
.site-footer :focus-visible { outline-color: #9cc1f5; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .btn, .input, .select, .textarea, .stepper { border: 1px solid CanvasText; }
  .card__stage img, .gallery__slide img, .hero__wall img { mix-blend-mode: normal; }
}
@media print {
  .site-header, .site-footer, .buy, .btn { display: none !important; }
}

/* small utilities (spacing that belongs to one spot, kept out of inline styles) */
.mt-2 { margin-top: var(--s-2); } .mt-4 { margin-top: var(--s-4); } .mt-6 { margin-top: var(--s-6); }
.mb-2 { margin-bottom: var(--s-2); } .mb-4 { margin-bottom: var(--s-4); }
.message--flush { padding-block: 0; }
.notice { display: flex; gap: var(--s-2); align-items: flex-start; background: var(--warn-wash); color: var(--warn); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); font-weight: 550; }
.notice .icon { margin-top: 0.15em; }
/* single-column grids never grow past the phone width because of a long word or input */
.cart, .checkout, .order, .order__grid, .hero__grid { grid-template-columns: minmax(0, 1fr); }
.cart > *, .checkout > *, .order > *, .order__grid > * { min-width: 0; }
@media (min-width: 56em) {
  .cart { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .checkout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .order__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.help-block { width: 100%; margin-top: var(--s-4); padding: var(--s-5); border-radius: var(--r-lg); background: var(--plaster); display: grid; gap: var(--s-3); }
.help-block p { color: var(--ink-2); }
bdi { unicode-bidi: isolate; }
