/* generated by tools/scss.py from theme.scss (Dart Sass 1.105.2) — edit theme.scss, never this file */
/* ─────────────────────────────────────────────────────────────────────────────
   OLYMPIAN — design lab theme (hikmastream-commerce spec/theme-batch-plan.md, sports b1 slot 3)
   Drawn by the theme equation (spec/theme-equation.md §8g; equation/sports-1.json): address, palette, fonts,
   factor corner, rows, regions and the hero's composition drawn — only the world, the words and the signature written.
   World: the trophy room of an old Lahore hockey club at night — gold cups, team photographs, a lamp over the cabinet. Signature: a gold medal ribbon — a small chevron of two colours — marks every section title.
   Type: Playfair Display + Albert Sans. Layout from handicrafts/rilli. Factors change TOKENS ONLY (TL-R2).
   lineup: hero=overlay card=drawn world=hockey-club */
@import url("family/family.css");
@import url("shared/vendor/fonts/playfair-display.css");
@import url("shared/vendor/fonts/albert-sans.css");
@import url("shared/vendor/fonts/noto-naskh-arabic.css");
html[data-f-size=S] {
  font-size: calc(14.5px * var(--ft-scale, 1));
  --dsc: 0.86;
}

html[data-f-size=L] {
  font-size: calc(17.5px * var(--ft-scale, 1));
  --dsc: 1.16;
}

html[data-f-size=XL] {
  font-size: calc(20px * var(--ft-scale, 1));
  --dsc: 1.3;
}

html[data-f-size=XL] svg:has(> use[href*="icons.svg#"]) {
  zoom: 1.35;
}

html[data-f-size=XL] :is(.btn, button:not(.mode-switch):not(.rail-btn):not(.pg-dots button), select,
input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]), .acts a, .acts .mode-switch) {
  min-height: 56px;
}

html[data-f-size=XL] .acts :is(a, .mode-switch) {
  min-width: 56px;
  justify-content: center;
}

html[data-f-size=XL] .rail-btn {
  width: 56px;
  height: 56px;
}

html[data-f-size=XL][data-f-size] {
  --cols: 3;
}

html[data-f-size=XL][data-view=compact] {
  --cols: 4;
}

html[data-f-size=XL][data-view=large] {
  --cols: 2;
}

@media (max-width: 1023px) {
  html[data-f-size=XL][data-f-size] {
    --cols: 2;
  }
  html[data-f-size=XL][data-view=compact] {
    --cols: 3;
  }
  html[data-f-size=XL][data-view=large] {
    --cols: 1;
  }
}
@media (max-width: 599px) {
  html[data-f-size=XL][data-f-size] {
    --cols: 1;
  }
  html[data-f-size=XL][data-view=compact] {
    --cols: 2;
  }
  html[data-f-size=XL][data-view=large] {
    --cols: 1;
  }
  html[data-f-size=XL] .grid[style*="--cols"] {
    --cols: 1 !important;
  }
  html[data-f-size=XL] {
    --dsc: 1;
  }
  html[data-f-size=XL] .top > * {
    min-width: 0;
  }
  html[data-f-size=XL] .top .mark {
    zoom: 0.8;
    white-space: normal;
    flex-wrap: wrap;
    max-width: 50vw;
  }
  html[data-f-size=XL] .acts {
    gap: 0;
  }
  html[data-f-size=XL] .acts :is(a, .mode-switch) {
    min-width: 40px;
  }
  html[data-f-size=XL] .menu {
    max-width: 100%;
  }
  html[data-f-size=XL] .menu a {
    overflow-wrap: anywhere;
  }
  html[data-f-size=XL] .shead :is(h2, .kick) {
    white-space: normal;
  }
  html[data-f-size=XL] :is(.hero-copy, .lhead, .shead) {
    min-width: 0;
  }
  html[data-f-size=XL] :is(.hero-cta, .news form) {
    flex-wrap: wrap;
  }
  html[data-f-size=XL] form :is(input, select, button) {
    min-width: 0;
    max-width: 100%;
  }
}
html[data-view=compact] {
  --cols: 7;
}

html[data-view=large] {
  --cols: 3;
}

html[data-f-details=minimal] .d-m,
html[data-f-details=minimal] .d-r {
  display: none !important;
}

html[data-f-details=moderate] .d-r {
  display: none !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

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

p {
  margin: 0;
}

button, input, select {
  font: inherit;
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
svg[viewBox="0 0 24 24"] {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hs-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

a {
  color: inherit;
  text-decoration-color: var(--mist);
  text-underline-offset: 3px;
}

:root {
  --ts: var(--ts-ratio, 1.25);
  --fs-1: calc(1rem * var(--ts));
  --fs-2: calc(var(--fs-1) * var(--ts));
  --fs-3: calc(var(--fs-2) * var(--ts));
  --fs-4: calc(var(--fs-3) * var(--ts));
  --fs-5: calc(var(--fs-4) * var(--ts));
  --fs-6: calc(var(--fs-5) * var(--ts));
  --fs-7: calc(var(--fs-6) * var(--ts));
}

@media (max-width: 860px) {
  :root {
    --ts: var(--ts-ratio-phone, 1.18);
  }
}
.hero-copy, .lhead, .buy {
  container-type: inline-size;
  min-inline-size: 0;
  inline-size: -webkit-fill-available;
  inline-size: -moz-available;
  inline-size: stretch;
}

.hero-copy h1 {
  font-size: clamp(var(--fs-3), 10.5cqi, var(--fs-7));
  overflow-wrap: break-word;
}

.lhead h1 {
  font-size: clamp(var(--fs-3), 8cqi, var(--fs-5));
  overflow-wrap: break-word;
}

.buy h1 {
  font-size: clamp(var(--fs-2), 7cqi, var(--fs-4));
  overflow-wrap: break-word;
}

.count:not(:empty) {
  display: inline-block;
  box-sizing: border-box;
  min-inline-size: 1.6em;
  block-size: auto;
  padding: calc((1.6em - 1cap) / 2) 0.42em;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
  text-indent: 0;
  font-family: var(--text);
  font-variant-numeric: tabular-nums lining-nums;
  text-box: trim-both cap alphabetic;
}

.search input::placeholder {
  color: var(--stone);
}

.acts a.only-narrow {
  display: none;
}

.acts .mode-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.mode-switch .ms-sun, html[data-mode=dark] .mode-switch .ms-moon {
  display: none;
}

html[data-mode=dark] .mode-switch .ms-sun {
  display: block;
}

.mode-switch:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail > * {
  scroll-snap-align: start;
}

.rail {
  scroll-padding-inline: var(--edge);
}

.rail-wrap {
  position: relative;
}

.rail-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.rail-btn.prev {
  inset-inline-start: calc(var(--edge) - 20px);
}

.rail-btn.next {
  inset-inline-end: calc(var(--edge) - 20px);
}

.rail-btn[disabled] {
  opacity: 0;
  pointer-events: none;
}

.card-name a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.price {
  font-variant-numeric: tabular-nums;
}

.card {
  position: relative;
}

.filter > summary::-webkit-details-marker {
  display: none;
}

.fgroup {
  display: grid;
  gap: 10px;
  align-content: start;
}

.chips input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.facts .clear {
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--stone);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.views label:hover svg {
  color: var(--ink);
}

.more {
  display: grid;
  place-items: center;
  padding-top: calc(var(--sec) * 0.5);
}

.views i {
  position: absolute;
}

@media (max-width: 599px) {
  .grid[style*="--cols"] {
    --cols: 2 !important;
  }
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.facts {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--mist);
  padding-top: 14px;
}

.grid.ed .card {
  display: flex;
  flex-direction: column;
}

.dots {
  display: flex;
  gap: 10px;
}

.dots input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.pills input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.st-row {
  display: inline-flex;
  gap: 2px;
}

.alt-card > span {
  display: grid;
  gap: 2px;
  justify-items: start;
}

.rev-sum {
  display: grid;
  gap: 8px;
  align-content: start;
  justify-items: start;
}

.rev-sum .btn {
  margin-top: 8px;
}

.rev-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.rev-list p {
  max-width: 58ch;
}

.pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shipline {
  font-size: 0.88rem;
  color: var(--stone);
}

.accs details {
  border-bottom: 1px solid var(--mist);
}

.accs details[open] summary::after {
  content: "–";
}

.accs p, .accs ul {
  color: var(--stone);
  font-size: 0.92rem;
  padding-bottom: 16px;
  margin: 0;
}

.stars small {
  color: var(--stone);
}

.choice small {
  grid-column: 2;
  color: var(--stone);
}

.co .sum {
  position: static;
}

.co-items div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.fs {
  display: grid;
  gap: 14px;
  border: 0;
  padding: 0;
  margin: 0;
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fld {
  display: grid;
  gap: 5px;
}

.choice {
  display: grid;
  gap: 10px;
}

.co-items {
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}

:where(html) {
  --foot: var(--well);
  --foot-ink: var(--ink);
  --foot-stone: var(--stone);
}

.foot-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  align-items: center;
  padding: 16px var(--edge);
  border-top: 1px solid var(--mist);
}

.fs-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fs-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--foot-stone);
  margin-inline-end: 4px;
}

.fs-social a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--mist);
  border-radius: 50%;
  color: var(--foot-stone);
}

.fs-social svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.fs-seal svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

@media (max-width: 599px) {
  .foot-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .foot-grid > div {
    order: 0 !important;
  }
  .foot-grid a, .foot-grid li {
    overflow-wrap: anywhere;
  }
}
.news input::placeholder {
  color: var(--foot-stone);
}

.hs-consent {
  display: grid;
  gap: 0.6em;
  padding: var(--pad, 1rem) var(--gut, 1rem);
  background: var(--well);
  color: var(--ink);
  border-bottom: 1px solid var(--edge);
  font-size: 0.95rem;
  line-height: 1.45;
}

.hs-consent[hidden] {
  display: none;
}

.hs-consent h2 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}

.hs-consent p {
  margin: 0;
  color: var(--ink);
  max-width: 70ch;
}

.hs-consent-purposes {
  display: grid;
  gap: 0.5em;
}

.hs-consent-purposes[hidden] {
  display: none;
}

.hs-consent-purpose {
  display: flex;
  gap: 0.6em;
  align-items: flex-start;
  color: var(--ink);
  cursor: pointer;
}

.hs-consent-purpose input {
  width: 1.25em;
  height: 1.25em;
  margin: 0.1em 0 0;
  flex: none;
  accent-color: var(--accent);
}

.hs-consent-purpose strong {
  color: var(--ink);
}

.hs-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  align-items: center;
}

.hs-consent-button {
  min-height: 44px;
  padding: 0.55em 1.2em;
  border: 0;
  border-radius: var(--r, 6px);
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.hs-consent-more, .hs-consent-again {
  min-height: 44px;
  padding: 0.55em 0.4em;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.hs-consent-again {
  display: block;
  margin: 0.75em auto;
  padding: 0.45em 1em;
  font-size: 0.85rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--edge);
  border-radius: 999px;
  text-decoration: none;
}

.hs-consent :focus-visible, .hs-consent-again:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 599px) {
  [data-page=product] .crumb {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-block: 4px;
    margin-block: 0;
    font-size: 0.82rem;
  }
  [data-page=product] .pdp {
    padding-top: 8px;
    gap: 10px;
  }
  [data-page=product] .pdp .pg {
    gap: 0;
    position: relative;
  }
  [data-page=product] .pdp .pg-main {
    display: none;
  }
  [data-page=product] .pdp .pg-thumbs {
    display: flex;
    gap: 0;
    padding: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  [data-page=product] .pdp .pg-thumbs::-webkit-scrollbar {
    display: none;
  }
  [data-page=product] .pdp .pg-thumbs > img {
    flex: 0 0 100%;
    width: 100%;
    height: var(--pg-h, 40svh);
    aspect-ratio: auto;
    object-fit: contain;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    background: var(--well);
    border: 0;
    border-radius: var(--r, 0);
    cursor: auto;
    opacity: 1;
    outline: 0;
  }
  [data-page=product] .pdp .buy {
    row-gap: 8px;
  }
  [data-page=product] .pdp .buy > :is(.card-brand, h1, div:has(> .price), .opt, .btn) {
    order: -1;
  }
  [data-page=product] .pdp .buy > .btn {
    position: sticky;
    bottom: 10px;
    z-index: 6;
    width: 100%;
    box-shadow: 0 0 0 10px var(--paper);
  }
  .pg-dots {
    position: absolute;
    inset-inline: 0;
    bottom: 4px;
    display: flex;
    justify-content: center;
    gap: 2px;
    pointer-events: none;
  }
  .pg-dots button {
    pointer-events: auto;
  }
  .pg-dots button {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    display: grid;
    place-items: center;
  }
  .pg-dots button::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mist);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--paper) 70%, transparent);
  }
  .pg-dots button[aria-current=true]::before {
    background: var(--ink);
  }
  html[data-phone-listing=one]:has(> body[data-page^=listing]) {
    scroll-snap-type: y proximity;
  }
  html[data-phone-listing=one] [data-page^=listing] .grid {
    --cols: 1 !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html[data-phone-listing=one] [data-page^=listing] .grid > .card {
    height: calc(100svh - var(--hs-top, 0px));
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    scroll-margin-top: var(--hs-top, 0px);
    padding-bottom: 72px;
  }
  html[data-phone-listing=one] [data-page^=listing] .grid > .card :is(.card-meta, .card-brand) {
    display: none;
  }
  html[data-phone-listing=one] [data-page^=listing] .grid > .card > .card-media {
    flex: 1 1 0;
    min-height: 0;
    aspect-ratio: auto;
    display: flex;
  }
  html[data-phone-listing=one] [data-page^=listing] .grid > .card > .card-media > img {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
  }
}
.hs-pager {
  position: fixed;
  inset-inline: 0;
  bottom: 14px;
  margin-inline: auto;
  width: max-content;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--ink) 25%, transparent);
}

.hs-pager[hidden] {
  display: none;
}

.hs-pager output {
  padding-inline: 8px;
  min-width: 4.5em;
  text-align: center;
}

.hs-pager button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.hs-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

.hs-pager button:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: -4px;
}

.hs-install {
  position: fixed;
  z-index: 60;
  inset-inline: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  margin-inline: auto;
  max-inline-size: 440px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  column-gap: 12px;
  row-gap: 10px;
  padding: 14px 14px 14px 16px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--mist);
  border-radius: calc(var(--r, 4px) + 10px);
  box-shadow: 0 10px 32px color-mix(in srgb, var(--ink) 22%, transparent);
  font-family: var(--text);
  font-size: 0.92rem;
  line-height: 1.4;
  animation: hs-install-in 0.22s ease-out;
}

body[data-page=product] .hs-install {
  bottom: auto;
  top: calc(12px + env(safe-area-inset-top, 0px));
}

.hs-install-icon {
  inline-size: 48px;
  block-size: 48px;
  border-radius: 22%;
  grid-row: span 2;
}

.hs-install-words strong {
  display: block;
  font-family: var(--display);
  font-size: 1.02rem;
}

.hs-install-words p {
  margin: 2px 0 0;
  color: var(--stone);
}

.hs-install-acts {
  grid-column: 2/-1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.hs-install-acts button {
  min-block-size: 44px;
  padding-inline: 16px;
  font: inherit;
  cursor: pointer;
}

.hs-install-later {
  background: none;
  border: 0;
  color: var(--stone);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hs-install-x {
  grid-column: 3;
  grid-row: 1;
  inline-size: 44px;
  block-size: 44px;
  margin: -10px -8px 0 0;
  border: 0;
  background: none;
  color: var(--stone);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.hs-install button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@keyframes hs-install-in {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hs-install {
    animation: none;
  }
}
.hs-push {
  grid-template-columns: 1fr auto;
}

.hs-push .hs-install-words {
  grid-column: 1;
}

.hs-push .hs-install-acts {
  grid-column: 1/-1;
}

.hs-push .hs-install-x {
  grid-column: 2;
}

.hs-push-on {
  row-gap: 4px;
  padding-block: 10px;
}

.hs-push-on .hs-install-words p {
  margin: 0;
  color: var(--ink);
}

/* ── tokens ── */
html {
  --foot-stone: #C1A89E;
  --foot-ink: #FEE5DC;
  --foot: #180D09;
  --tone-1: #FFFFFF;
  --tone-2: #180D09;
  --tone-3: #180D09;
  --r: 12px;
  --pink: #B63132;
  --mustard: #008482;
  --cobalt: #180D09;
  --signal-ink: #FFFFFF;
  --signal: #B63132;
  --accent-ink: #FFFFFF;
  --accent: #177371;
  --paper: #FBF1ED;
  --well: #F6E3DC;
  --ink: #322019;
  --stone: #745D54;
  --mist: #E2CEC6;
  --mark: #008482;
  --mark-ink: #FFFFFF;
  --display: "Playfair Display", "Inter", system-ui, "Noto Naskh Arabic", sans-serif;
  --text: "Albert Sans", system-ui, "Noto Naskh Arabic", sans-serif;
  --gap: 18px;
  --pad: 24px;
  --sec: 86px;
  --gut: clamp(20px, 4vw, 56px);
  --edge: max(var(--gut), calc((100% - 1460px) / 2 + var(--gut)));
  font-size: calc(16px * var(--ft-scale, 1));
  --dsc: 1;
  --cols: 5;
  background: var(--paper);
}

html[data-f-spacing=compact] {
  --gap: 10px;
  --pad: 16px;
  --sec: 50px;
}

html[data-f-spacing=wide] {
  --gap: 30px;
  --pad: 32px;
  --sec: 132px;
}

@media (max-width: 1023px) {
  html {
    --cols: 3;
  }
  html[data-view=compact] {
    --cols: 4;
  }
  html[data-view=large] {
    --cols: 2;
  }
}
@media (max-width: 599px) {
  html {
    --cols: 2;
  }
  html[data-view=compact] {
    --cols: 3;
  }
  html[data-view=large] {
    --cols: 1;
  }
}
html[data-mode=dark] {
  --tone-3: #180D09;
  --tone-2: #180D09;
  --foot-stone: #C1A89E;
  --foot-ink: #FEE5DC;
  --foot: #180D09;
  --pink: #EB827B;
  --mustard: #55CDC9;
  --cobalt: #180D09;
  --signal-ink: #180D09;
  --signal: #EB827B;
  --accent-ink: #180D09;
  --accent: #55CDC9;
  --paper: #180D09;
  --well: #251711;
  --ink: #FEE5DC;
  --stone: #C1A89E;
  --mist: #42312B;
  --mark: #55CDC9;
  --mark-ink: #180D09;
}

/* ── base ── */
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.028em;
}

a:hover {
  text-decoration-color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--mark);
  outline-offset: 1px;
}

::selection {
  background: var(--mark);
  color: var(--mark-ink);
}

input[type=radio], input[type=checkbox] {
  accent-color: var(--ink);
}

.wrap {
  max-width: 1460px;
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* kicker: a chartreuse register chip — bold grotesque, sentence case */
.kick {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  font-style: normal;
  display: inline-block;
  background: var(--mark);
  color: var(--mark-ink);
  padding: 3px 10px;
}

/* section head: a 3px register rule, bold flag-left title, link ranged right */
.shead {
  border-top: 3px solid var(--ink);
  padding-top: 12px;
  margin-top: var(--sec);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.shead .kick {
  background: none;
  color: var(--ink);
  padding: 0;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.02em;
}

.shead a {
  font-size: 0.92rem;
  color: var(--stone);
  font-weight: 500;
}

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  padding: 0.8em 1.9em;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  transition: box-shadow 0.12s ease;
}

.btn:hover {
  box-shadow: 4px 4px 0 var(--mark);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
}

/* ── chrome: one strict row — mark left, nav right ── */
.note {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px var(--edge);
  background: var(--ink);
  color: var(--paper);
}

.top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 16px var(--edge);
  border-bottom: 1px solid var(--mist);
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 93%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.mark {
  grid-column: 1;
  justify-self: start;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.mark::after {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--mark);
}

.menu {
  grid-column: 2;
  display: flex;
  justify-content: end;
  gap: clamp(10px, 1.6vw, 26px);
  flex-wrap: wrap;
}

.menu a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  position: relative;
  padding-block: 2px;
}

.menu a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 4px;
  background: var(--mark);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.15s ease;
}

.menu a:hover::after, .menu a[aria-current=page]::after {
  transform: scaleX(1);
}

.acts {
  grid-column: 3;
  display: flex;
  gap: 14px;
  justify-self: end;
  align-items: center;
}

.acts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.9rem;
}

.acts svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.count {
  background: var(--mark);
  color: var(--mark-ink);
  font-size: 0.72rem;
  font-weight: 700;
}

.search {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--mist);
  padding-inline: 10px 6px;
}

.search:focus-within {
  border-color: var(--ink);
}

.search input {
  border: 0;
  background: none;
  padding: 6px 0;
  width: 12ch;
  transition: width 0.2s ease;
  font-size: 0.9rem;
}

.search input:focus {
  outline: none;
  width: 17ch;
}

.search button {
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  padding: 4px;
}

.search svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

@media (max-width: 1023px) {
  .search {
    display: none;
  }
  .acts a.only-narrow {
    display: inline-flex;
  }
}
@media (max-width: 860px) {
  .top {
    grid-template-columns: auto auto;
  }
  .menu {
    order: 3;
    grid-column: 1/-1;
    justify-content: start;
    padding-top: 8px;
    border-top: 1px solid var(--mist);
  }
  .acts {
    grid-column: 2;
  }
}
/* footer */
.foot {
  margin-top: var(--sec);
  border-top: 3px solid var(--ink);
}

.foot-sign {
  padding: calc(var(--sec) * 0.5) var(--edge) 0;
}

.foot-sign h2 {
  font-size: calc(clamp(32px, 4.8vw, 62px) * var(--dsc));
  letter-spacing: -0.03em;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gap);
  padding: 40px var(--edge) 28px;
}

.foot-grid h3 {
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.foot-grid a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--foot-stone);
}

.foot-grid a:hover {
  color: var(--foot-ink);
}

.news p {
  color: var(--foot-stone);
  font-size: 0.92rem;
  max-width: 34ch;
  margin-bottom: 12px;
}

.news form {
  display: flex;
  border: 2px solid var(--ink);
  max-width: 330px;
}

.news input {
  flex: 1;
  border: 0;
  background: none;
  padding: 10px 12px;
}

.news button {
  border: 0;
  background: var(--mark);
  color: var(--mark-ink);
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  padding-inline: 16px;
}

.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px var(--edge) 22px;
  color: var(--stone);
  font-size: 0.8rem;
  border-top: 1px solid var(--mist);
}

@media (max-width: 860px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
/* ── hero: typographic, flag-left, over a strict pair of plates ── */
.hero {
  display: grid;
  gap: 26px;
  padding: calc(var(--sec) * 0.5) var(--edge) 0;
}

.hero-copy {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.hero-copy h1 {
  letter-spacing: -0.035em;
}

.hero-copy h1 em {
  font-style: normal;
  box-shadow: inset 0 -0.28em 0 var(--mark);
}

.hero-meta {
  color: var(--stone);
  font-size: 0.88rem;
}

.hero-art {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--gap);
  margin: 0;
}

.hero-art img {
  width: 100%;
  height: clamp(280px, 36vw, 480px);
  object-fit: cover;
  background: var(--well);
}

@media (max-width: 599px) {
  .hero-art {
    grid-template-columns: 1fr;
  }
  .hero-art img:last-child {
    display: none;
  }
}
/* rail */
.rail {
  list-style: none;
  margin: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(180px, 21vw, 290px);
  gap: var(--gap);
  overflow-x: auto;
  padding: 22px var(--edge) 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

/* Q36 — the rail snaps to the content edge, not the screen's: without it the first card is snapped to x=0 on load */
/* full-bleed look: the image with a chartreuse register block */
.look {
  position: relative;
  margin-top: var(--sec);
}

.look img {
  width: 100%;
  height: clamp(320px, 48vw, 580px);
  object-fit: cover;
}

.look-copy {
  position: absolute;
  inset-inline-start: var(--edge);
  bottom: 0;
  background: var(--mark);
  color: var(--mark-ink);
  padding: var(--pad);
  max-width: min(420px, 80vw);
  display: grid;
  gap: 10px;
}

.look-copy .kick {
  background: var(--mark-ink);
  color: var(--mark);
}

.look-copy h2 {
  font-size: calc(clamp(24px, 2.8vw, 38px) * var(--dsc));
  letter-spacing: -0.025em;
}

.look-copy a {
  font-weight: 600;
  text-decoration-color: var(--mark-ink);
}

/* category tiles: sharp, labels as chips */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding-top: 22px;
}

.cats a {
  position: relative;
  text-decoration: none;
}

.cats img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  background: var(--well);
}

.cats span {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--paper);
  padding: 8px 16px;
  border-top: 3px solid var(--ink);
}

@media (max-width: 599px) {
  .cats {
    grid-template-columns: 1fr;
  }
}
/* quote: flag-left, huge, between register rules */
.quote {
  margin-top: var(--sec);
  padding: 0 var(--edge);
  text-align: start;
}

.quote p {
  font-family: var(--display);
  font-weight: 700;
  font-style: normal;
  font-size: calc(clamp(28px, 4vw, 54px) * var(--dsc));
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 18ch;
  border-block: 3px solid var(--ink);
  padding-block: 30px;
}

.quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  color: var(--stone);
  font-size: 0.9rem;
}

/* ── product card: sharp 4:5 crop, name left / price right, hover register bar ── */
.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: var(--gap);
  padding: 22px 0 0;
  list-style: none;
  margin: 0;
}

.card-media {
  position: relative;
  overflow: hidden;
  background: var(--well);
  aspect-ratio: 4/5;
}

.card-media::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 5px;
  background: var(--mark);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.18s ease;
}

.card:hover .card-media::after, .card:focus-within .card-media::after {
  transform: scaleX(1);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding-top: 9px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  align-items: baseline;
}

.card-brand {
  grid-column: 1/-1;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--stone);
}

.card-name {
  grid-column: 1;
  font-family: var(--text);
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0;
}

.card-name a {
  text-decoration: none;
}

.card-price {
  grid-column: 2;
  justify-self: end;
  font-size: 0.93rem;
  font-weight: 600;
}

.card-price del {
  color: var(--stone);
  font-weight: 400;
  margin-inline-start: 6px;
}

.card-price .off {
  background: var(--mark);
  color: var(--mark-ink);
  padding: 0 4px;
}

.card-meta {
  grid-column: 1/-1;
  font-size: 0.8rem;
  color: var(--stone);
}

.tag {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  background: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 10px;
  z-index: 1;
}

.tag.sale {
  background: var(--mark);
  color: var(--mark-ink);
}

.sw {
  grid-column: 1/-1;
  display: flex;
  gap: 6px;
  padding-top: 4px;
}

.sw i {
  width: 12px;
  height: 12px;
  border: 1px solid var(--mist);
}

.rate {
  grid-column: 1/-1;
  font-size: 0.8rem;
  color: var(--stone);
}

.qadd {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  translate: 0 101%;
  transition: translate 0.16s ease;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 11px;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.88rem;
  z-index: 1;
}

.card:hover .qadd, .card:focus-within .qadd {
  translate: 0 0;
}

/* ── listing ── */
.crumb {
  padding: 18px 0 0;
  font-size: 0.84rem;
  color: var(--stone);
}

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

.crumb a:hover {
  color: var(--ink);
}

.lhead {
  padding-top: 22px;
  display: grid;
  justify-items: start;
  gap: 10px;
}

.lhead h1 {
  letter-spacing: -0.035em;
}

.lhead h1 small {
  font-family: var(--text);
  font-weight: 500;
  font-size: 0.32em;
  color: var(--stone);
  letter-spacing: 0;
  margin-inline-start: 0.6em;
  vertical-align: 0.5em;
}

.lhead > p {
  color: var(--stone);
  max-width: 58ch;
}

.toolbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--mist);
  margin-top: 24px;
  padding-block: 10px;
  flex-wrap: wrap;
}

.tb-start {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  flex-wrap: wrap;
}

.sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--stone);
}

.sort select {
  border: 0;
  background: none;
  padding: 6px 2px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 500;
}

/* filters (Q12): a 2px square control */
.filter > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: var(--display);
  font-weight: 700;
  border: 2px solid var(--ink);
  padding: 5px 14px;
}

.filter > summary svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.filter > summary small {
  color: var(--stone);
  font-family: var(--text);
  font-weight: 400;
}

.filter[open] > summary {
  background: var(--mark);
  color: var(--mark-ink);
  border-color: var(--ink);
}

.filter[open] > summary small {
  color: var(--mark-ink);
}

.filter-panel {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 40;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-top: 0;
  padding: var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--gap) * 1.2);
}

.fgroup > span {
  font-size: 0.85rem;
  color: var(--stone);
  font-weight: 600;
}

.chips label {
  position: relative;
  border: 1px solid var(--ink);
  padding: 6px 13px;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
}

.chips label:has(input:checked) {
  background: var(--mark);
  border-color: var(--ink);
  color: var(--mark-ink);
}

@media (max-width: 860px) {
  .filter > summary small {
    display: none;
  }
  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 599px) {
  .filter-panel {
    grid-template-columns: 1fr;
  }
}
/* the view widget: square cells, chartreuse active */
.views {
  display: flex;
  border: 2px solid var(--ink);
}

.views label {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 32px;
  cursor: pointer;
}

.views label + label {
  border-inline-start: 2px solid var(--ink);
}

.views input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.views svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  color: var(--stone);
  position: relative;
}

.views label:has(input:checked) {
  background: var(--mark);
}

.views input:checked + svg {
  color: var(--mark-ink);
}

.views input:focus-visible + svg {
  outline: 3px solid var(--mark);
  outline-offset: 5px;
}

/* editorial: Runway Grid's rhythm — a full runway strip every nine */
.grid.ed > .card:nth-child(9n+1) {
  grid-column: span 3;
}

.grid.ed > .card:nth-child(9n+1) .card-media {
  aspect-ratio: 3/1.15;
}

.grid.ed > .card:nth-child(9n+5) {
  grid-row: span 2;
}

.grid.ed > .card:nth-child(9n+5) .card-media {
  aspect-ratio: auto;
  height: 100%;
}

.grid.ed .card-media {
  flex: 1;
}

.grid.ed .card-body {
  flex: none;
}

@media (max-width: 1023px) {
  .grid.ed > .card:nth-child(9n+1) {
    grid-column: span 2;
  }
  .grid.ed > .card:nth-child(9n+1) .card-media {
    aspect-ratio: 3/1.5;
  }
}
@media (max-width: 599px) {
  html[data-view=large] .grid.ed > .card {
    grid-column: auto;
    grid-row: auto;
  }
  html[data-view=large] .grid.ed > .card:nth-child(9n+1) .card-media {
    aspect-ratio: 3/2;
  }
  html[data-view=large] .grid.ed > .card:nth-child(9n+5) .card-media {
    aspect-ratio: 3/4.6;
    height: auto;
  }
  .grid.ed > .card:nth-child(9n+1) {
    grid-column: span 2;
  }
}
/* ── product page ── */
.pdp {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: calc(var(--gap) * 2);
  padding-top: 26px;
}

.pg {
  display: grid;
  gap: var(--gap);
}

.pg-main img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--well);
}

.pg-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--gap) * 0.6);
}

.pg-thumbs img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  background: var(--well);
  border: 1px solid var(--mist);
  cursor: pointer;
}

.buy {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 18px;
}

.buy .card-brand {
  font-size: 0.85rem;
}

.buy h1 {
  letter-spacing: -0.03em;
}

.buy .price {
  font-size: 1.3rem;
  font-weight: 700;
}

.buy .taxline {
  color: var(--stone);
  font-size: 0.82rem;
  margin-top: 2px;
  font-weight: 400;
}

.opt {
  display: grid;
  gap: 8px;
}

.opt > span {
  font-size: 0.88rem;
  color: var(--stone);
  font-weight: 500;
}

.dots label {
  position: relative;
  width: 26px;
  height: 26px;
  cursor: pointer;
  border: 1px solid var(--mist);
}

.dots label span {
  border-radius: 0 !important;
}

.dots input:checked + i {
  position: absolute;
  inset: -6px;
  border: 2px solid var(--ink);
}

.pills label {
  position: relative;
  border: 1px solid var(--ink);
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
}

.pills label:has(input:checked) {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 3px 3px 0 var(--mark);
}

.pills label:has(input:disabled) {
  color: var(--mist);
  border-color: var(--mist);
  text-decoration: line-through;
  cursor: not-allowed;
}

.buy .btn {
  padding-block: 1.05em;
  text-align: center;
}

.accs {
  border-top: 3px solid var(--ink);
}

.accs summary {
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
}

.accs summary::after {
  content: "+";
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1;
}

.accs ul {
  padding-inline-start: 18px;
}

@media (max-width: 860px) {
  .pdp {
    grid-template-columns: 1fr;
  }
  .buy {
    position: static;
  }
}
/* ── bag ── */
.bag {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: calc(var(--gap) * 2);
  padding-top: 26px;
}

.lines {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 3px solid var(--ink);
}

.line {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: var(--gap);
  padding-block: var(--pad);
  border-bottom: 1px solid var(--mist);
  align-items: start;
}

.line img {
  width: 104px;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--well);
}

.line-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.line-opts {
  color: var(--stone);
  font-size: 0.85rem;
  margin-top: 4px;
}

.line-acts {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.qty {
  display: inline-flex;
  border: 1px solid var(--ink);
}

.qty button {
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  cursor: pointer;
  font-weight: 600;
}

.qty span {
  width: 34px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  border-inline: 1px solid var(--mist);
}

.line-remove {
  font-size: 0.84rem;
  color: var(--stone);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.line .price {
  justify-self: end;
  font-weight: 600;
}

.sum {
  border: 2px solid var(--ink);
  padding: var(--pad);
  display: grid;
  gap: 12px;
  align-self: start;
  position: sticky;
  top: 96px;
}

.sum h2 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.sum dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  margin: 0;
  font-size: 0.93rem;
}

.sum dd {
  margin: 0;
  text-align: end;
  font-variant-numeric: tabular-nums;
}

.sum .total {
  border-top: 3px solid var(--ink);
  padding-top: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}

.sum .hint {
  color: var(--stone);
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .bag {
    grid-template-columns: 1fr;
  }
  .sum {
    position: static;
  }
}
/* ── checkout ── */
.co {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: calc(var(--gap) * 2.5);
  padding-top: 26px;
}

.co-form {
  display: grid;
  gap: calc(var(--sec) * 0.35);
}

.fs legend {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  padding: 0;
  margin-bottom: 6px;
  border-top: 3px solid var(--ink);
  padding-top: 10px;
  width: 100%;
}

.fld span {
  font-size: 0.84rem;
  color: var(--stone);
  font-weight: 500;
}

.fld input, .fld select {
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 11px 12px;
  width: 100%;
}

.fld input:focus, .fld select:focus {
  outline: 3px solid var(--mark);
  outline-offset: -1px;
}

.choice label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: baseline;
  border: 1px solid var(--ink);
  padding: 14px 16px;
  cursor: pointer;
}

.choice label:has(input:checked) {
  border-width: 2px;
  box-shadow: 4px 4px 0 var(--mark);
}

.co-items span:last-child {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 860px) {
  .co {
    grid-template-columns: 1fr;
  }
  .frow {
    grid-template-columns: 1fr;
  }
}
[dir=rtl] .shead, [dir=rtl] .lhead, [dir=rtl] .quote p {
  text-align: start;
}

/* icon set: Lucide (ISC) — one line set per theme, rounded caps (quality Q24) */
/* ── the selling layer (elements catalogue): rating, share, up/down-sell, recommendations, reviews ── */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
}

.icn-star {
  width: 15px;
  height: 15px;
  fill: var(--ink);
  stroke: none;
}

.share {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--mist);
  padding-top: 14px;
}

.share > span {
  font-size: 0.88rem;
  color: var(--stone);
}

.share a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--mist);
  border-radius: 0;
}

.share a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.share svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.alt {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--mist);
  padding-top: 14px;
}

.alt-head {
  font-size: 0.88rem;
  color: var(--stone);
}

.alt-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--mist);
  border-radius: 0;
  padding: 8px 10px;
  text-decoration: none;
}

.alt-card:hover {
  border-color: var(--ink);
}

.alt-card img {
  width: 54px;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--well);
  border-radius: 0;
}

.alt-card em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--mark);
  color: var(--mark-ink);
  padding: 1px 8px;
  border-radius: 0;
}

.alt-card strong {
  font-size: 0.92rem;
}

.alt-card .price {
  font-size: 0.88rem;
  color: var(--stone);
}

.rev {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: calc(var(--gap) * 2);
  padding-top: 22px;
}

.rev-sum strong {
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 1;
}

.rev-list li {
  border-top: 1px solid var(--mist);
  padding-block: 16px;
  display: grid;
  gap: 8px;
}

.rev-list footer {
  font-size: 0.84rem;
  color: var(--stone);
}

@media (max-width: 860px) {
  .rev {
    grid-template-columns: 1fr;
  }
}
/* Q26 (review 2026-10-30): the view switch's empty indicator <i> must not create a grid
   row inside the label — absolutely positioned, the icon sits optically centred. */
/* Q29 — the count badge: the digit sits dead-centre; two digits (up to 99) stretch the
   circle into a pill, never squeeze the number */
.count {
  border-radius: 999px;
}

/* Q30 — the search box is wide enough to use: full placeholder at rest, wider in focus */
.search input {
  width: 17ch;
}

.search input:focus {
  width: 24ch;
}

/* Q29b — optical centring of the badge digit: the glyph box sits high with
   line-height 1, so a hair of top padding drops it onto the true centre */
/* Q31 — the hero fits the fold */
.hero-copy {
  padding-block: clamp(36px, 7svh, 72px);
}

.hero-art img {
  min-height: clamp(300px, 52svh, 520px);
  max-height: calc(100svh - 210px);
}

@media (max-width: 860px) {
  .hero-art img {
    min-height: 240px;
    max-height: 52svh;
  }
}
/* Q32 — the product rail is a slider (arrows injected by shared/slider.js);
   category tiles, offers and trust bands always show whole */
.rail-btn {
  position: absolute;
  top: 44%;
  translate: 0 -50%;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--mist);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 0;
  padding-bottom: 0.1em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

@media (max-width: 860px) {
  .rail-btn {
    display: none;
  }
}
/* hero variant — mirrored: the image leads, the words answer */
.hero > .hero-copy {
  order: 2;
}

.hero > .hero-art {
  order: 1;
}

@media (max-width: 860px) {
  .hero > .hero-copy {
    order: 1;
  }
  .hero > .hero-art {
    order: 2;
  }
}
/* footer variant — inverted: the small print on top, the sign-off at the bottom */
.foot {
  display: flex;
  flex-direction: column;
}

.foot-base {
  order: -1;
  border-top: 0;
  border-bottom: 1px solid var(--mist);
}

.foot-sign {
  order: 2;
  padding-bottom: calc(var(--sec) * 0.4);
}

.foot-grid {
  order: 1;
  padding-top: calc(var(--sec) * 0.45);
}

/* Q34 — the trust bar: couriers and payments accepted by tijara, socials optional */
.fs-chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--foot-stone);
  border: 1px solid var(--mist);
  border-radius: 5px;
  padding: 3px 10px;
  white-space: nowrap;
}

.fs-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.fs-seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--foot-stone);
  border: 1px solid var(--mist);
  border-radius: 5px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* ── mode-switch (storefront-cutover C4c, Q28) ── */
/* A fixed-count rail (cross-sell, recommendations: style="--cols:4") takes the phone's two columns (storefront-cutover C6b-3). */
/* On a phone the footer's columns stack, one under the other, and long words wrap — nothing scrolls sideways (SE3 harness, golden words: clean, airy). */
/* On a phone a bag line keeps its picture small and its quantity buttons wrap (SE3 harness). */
@media (max-width: 599px) {
  .line {
    grid-template-columns: 72px minmax(0, 1fr) auto !important;
  }
  .line img {
    width: 72px !important;
  }
  .line-acts {
    flex-wrap: wrap;
    gap: 10px;
  }
}
/* ── FOLIO signature: the riso magazine ── */
.note {
  background: var(--cobalt);
  color: var(--foot-stone);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.note a {
  color: inherit;
}

.mark {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.03em;
  font-size: 1.85rem;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.mark::after {
  content: "";
  display: inline-block;
  width: 0.3em;
  height: 0.3em;
  border-radius: 50%;
  background: var(--mark);
  margin-inline-start: 0.06em;
}

h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -0.02em;
}

.btn {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: var(--tone-1);
  border-radius: 999px;
  font-family: var(--text);
}

.btn:hover {
  box-shadow: 4px 4px 0 var(--mark);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

/* the hero — a magazine cover: the cobalt column of words, the reading room beside it, a book across the seam */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  padding: 0;
  position: relative;
  background: var(--cobalt);
  color: var(--tone-1);
  border: 0;
}

.hero > .hero-copy {
  order: 0;
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 20px;
  padding: clamp(40px, 7vw, 96px) clamp(28px, 4vw, 64px) clamp(40px, 7vw, 96px) var(--edge);
}

.hero-copy .kick {
  background: var(--mark);
  color: var(--mark-ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.hero-copy h1 {
  line-height: 0.94;
  font-weight: 600;
  color: var(--pink);
  letter-spacing: -0.035em;
}

.hero-copy h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--mist);
  box-shadow: none;
}

.hero .hero-meta {
  color: var(--foot-stone);
}

.hero .btn {
  background: var(--tone-1);
  color: var(--tone-3);
  border-color: var(--tone-1);
}

.hero .btn.ghost {
  background: transparent;
  color: var(--foot-stone);
  border-color: color-mix(in srgb, var(--tone-1) 60%, transparent);
}

.hero > .hero-art {
  order: 1;
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
}

.hero > .hero-art img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(380px, 46vw, 660px);
  max-height: none;
  object-fit: cover;
  object-position: 30% 50%;
}

.hero > .hero-art img + img {
  position: absolute;
  z-index: 3;
  width: clamp(130px, 14vw, 210px);
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 3/4;
  object-fit: cover;
  inset-inline-start: calc(clamp(130px, 14vw, 210px) * -0.5);
  bottom: 9%;
  rotate: -6deg;
  background: var(--well);
  box-shadow: 10px 12px 0 var(--mark), 0 26px 50px color-mix(in srgb, var(--tone-2) 35%, transparent);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero > .hero-art {
    order: -1;
  }
  .hero > .hero-art img:first-child {
    min-height: 0;
    height: auto;
    aspect-ratio: 16/9;
  }
  .hero > .hero-art img + img {
    display: block;
    width: 92px;
    inset-inline-start: auto;
    inset-inline-end: var(--gut);
    bottom: -44px;
    rotate: 5deg;
  }
  .hero > .hero-copy {
    padding: 56px var(--gut) 40px;
  }
}
/* section heads — numbered coral print dots */
body {
  counter-reset: folio;
}

.shead {
  border-top: 3px solid var(--cobalt);
}

.shead .kick {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: calc(1.6rem * var(--dsc));
  text-transform: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.shead .kick::before {
  counter-increment: folio;
  content: counter(folio, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  width: 2.1em;
  height: 2.1em;
  border-radius: 50%;
  background: var(--mark);
  color: var(--tone-1);
  font-family: var(--text);
  font-style: normal;
  font-weight: 700;
  font-size: 0.5em;
  letter-spacing: 0;
}

.shead a {
  color: var(--pink);
  font-weight: 600;
}

/* cards — lift onto a coral print shadow */
.card-media {
  transition: translate 0.2s ease, box-shadow 0.2s ease;
}

.card:hover .card-media, .card:focus-within .card-media {
  translate: -4px -4px;
  box-shadow: 8px 8px 0 var(--mark);
}

.card-media::after {
  background: var(--cobalt);
}

.card-name {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
}

.card-brand {
  color: var(--pink);
  letter-spacing: 0.02em;
}

.tag {
  background: var(--mark);
  color: var(--tone-1);
  border-radius: 999px;
}

/* the banner — a coral sticker on the ledge */
.look-copy {
  background: var(--mark);
  color: var(--tone-1);
  rotate: -1.5deg;
  box-shadow: 10px 10px 0 var(--cobalt);
  bottom: 28px;
  padding: 22px 26px;
  max-width: min(440px, 100% - 2 * var(--gut));
}

.look-copy .kick {
  background: var(--tone-1);
  color: var(--mark);
}

.look-copy h2 {
  color: var(--tone-1);
  font-weight: 600;
}

.look-copy a {
  color: var(--tone-1);
  text-decoration-color: var(--tone-1);
}

/* the quote — a coral sun behind the words */
.quote {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding-block: clamp(60px, 9vw, 130px);
}

.quote::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: clamp(200px, 26vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mark);
  opacity: 0.9;
}

.quote p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  max-width: 22ch;
  margin-inline: auto;
  font-size: calc(clamp(30px, 4.4vw, 64px) * var(--dsc));
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.quote cite {
  color: var(--ink);
  font-weight: 600;
}

/* tiles — cobalt pills */
.cats span {
  background: var(--cobalt);
  color: var(--tone-1);
  border-radius: 999px;
  margin: 14px;
  padding: 7px 16px;
  font-weight: 600;
}

/* the footer — cobalt, its own inks */
.foot {
  background: var(--cobalt);
  color: var(--foot-stone);
  border-top: 0;
  --ink: var(--tone-1);
  --stone: color-mix(in srgb, var(--tone-1) 74%, transparent);
  --mist: color-mix(in srgb, var(--tone-1) 24%, transparent);
}

.foot-sign h2 {
  font-style: italic;
  font-weight: 500;
}

.foot a {
  color: var(--stone);
}

.foot a:hover {
  color: var(--tone-1);
}

.foot .news button, .foot .news input {
  border-color: color-mix(in srgb, var(--tone-1) 50%, transparent);
}

/* ── RILLI signature: the quilting circle ── */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.mark {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.btn {
  border-radius: var(--r);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

/* a patchwork strip of triangles under every title — one square in the signal breaks the pattern */
.shead {
  position: relative;
  padding-bottom: 22px;
}

.shead::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: min(100%, 360px);
  height: 12px;
  background: linear-gradient(var(--signal), var(--signal)) 168px 0/12px 12px no-repeat, conic-gradient(from 45deg at 50% 100%, var(--accent) 0 25%, transparent 0 75%, var(--mustard) 0) 0 0/24px 12px repeat-x, linear-gradient(var(--pink), var(--pink)) 0 0/100% 12px;
}

.shead .kick {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--ink);
}

/* cards: a stitched border of running stitch */
.card-media {
  border-radius: var(--r);
  outline: 2px dashed color-mix(in srgb, var(--accent) 60%, transparent);
  outline-offset: -10px;
}

.hero-art img {
  border-radius: var(--r);
}

.quote {
  background: var(--well);
  border-inline-start: 12px solid var(--accent);
  border-image: linear-gradient(var(--accent) 0 33%, var(--mustard) 33% 66%, var(--cobalt) 66%) 1;
}

.foot {
  border-top: 12px solid transparent;
  border-image: conic-gradient(from 45deg at 50% 100%, var(--accent) 0 25%, var(--paper) 0 75%, var(--mustard) 0) 0 0 12 0/0 0 12px 0 round;
}

.cats img {
  border-radius: var(--r);
}

/* Q5 · Q7 · Q30 */
.kick, .card-brand, .alt-head, .opt > span, .fgroup > span, .share > span, .fs-label, .hero-meta {
  text-transform: none;
  letter-spacing: 0.01em;
}

h1 em, h2 em {
  color: var(--accent);
}

.search input {
  width: 23ch;
}

.search input:focus {
  width: 30ch;
}

/* ── OLYMPIAN signature: the medal ribbon ── */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h1 em, h2 em {
  color: var(--accent);
}

.btn {
  border-radius: var(--r);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

/* a medal ribbon — a chevron of two colours — marks every section title */
.shead .kick::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 20px;
  margin-inline-end: 10px;
  vertical-align: -3px;
  background: linear-gradient(90deg, var(--accent) 0 50%, var(--signal) 50% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}

.shead .kick {
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink);
}

.kick, .card-brand, .alt-head, .opt > span, .fgroup > span, .share > span, .fs-label, .hero-meta {
  text-transform: none;
  letter-spacing: 0.01em;
}

.search input {
  width: 23ch;
}

.search input:focus {
  width: 30ch;
}

/* the italic line in the club teal on the paper panel (the base gave it its own ground's pale colour) */
.hero-copy h1 em {
  color: var(--accent);
}

/* fit on small screens (Q37): a long product name in the crumb ends in an ellipsis; a card's name wraps inside its column */
.crumb {
  min-width: 0;
}

.crumb span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grid > .card, .rail > .card {
  min-width: 0;
}

.card-name {
  overflow-wrap: break-word;
}

/* regions (theme-equation §8e): header brand-left · footer centred · body bands · card framed · icons lucide · hero split-text-right — tools/regions.py */
@media (min-width: 861px) {
  body .top {
    grid-template-columns: auto 1fr auto;
  }
  body .top > .mark {
    order: -1;
    justify-self: start;
  }
  body .top > .menu {
    justify-self: center;
  }
}
body .foot {
  text-align: center;
}

body .foot .foot-grid {
  justify-items: center;
  justify-content: center;
}

body .foot .foot-grid ul {
  padding-inline: 0;
}

body .foot .foot-base, body .foot .foot-strip, body .foot .news form {
  justify-content: center;
}

body main:has(> [data-row=hero]) > [data-row]:not([data-row=hero]):nth-child(even) {
  background: var(--well);
  padding-block: calc(var(--sec) * 0.5);
  padding-inline: var(--band-inset, clamp(16px, 3vw, 36px));
}

body .card {
  border: 1px solid var(--mist);
  background: var(--paper);
  border-radius: var(--r, 0);
}

body .card {
  padding: var(--card-inset, 10px) var(--card-inset, 10px) calc(var(--card-inset, 10px) + 4px);
}

body .card > .card-media {
  margin: 0;
}

@media (min-width: 861px) {
  body .hero {
    display: grid;
    position: relative;
    min-height: 0;
    grid-template-areas: none;
    grid-auto-flow: row;
  }
  body .hero > :is(.hero-copy, .hero-art) {
    position: relative;
    inset: auto;
    transform: none;
    translate: none;
    rotate: none;
    margin: 0;
    max-width: none;
    min-height: 0;
    z-index: auto;
    grid-area: auto;
    justify-self: stretch;
    align-self: auto;
  }
  body .hero > .hero-art {
    width: auto;
    height: auto;
    aspect-ratio: auto;
    max-height: none;
  }
  body .hero > .hero-art img {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    transform: none;
    rotate: none;
    object-fit: cover;
  }
  body .hero > .hero-art > img ~ img {
    display: none;
  }
  body .hero > .hero-art img {
    filter: none;
  }
  body .hero > .hero-art::after {
    content: none;
  }
  body .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(24px, 4vw, 64px);
  }
  body .hero > .hero-art {
    grid-column: 1;
    grid-row: 1;
    height: clamp(300px, 56svh, 520px);
  }
  body .hero > .hero-copy {
    grid-column: 2;
    grid-row: 1;
  }
}
/* /regions */
html body .foot {
  --foot-stone: var(--stone);
} /* Q49: the footer's words hold on its ground, both modes — over a region's arrangement too (tools/aa_apply.py) */
