:root {
  --color-bg: #f5f1e9;
  --color-fg: #171816;
  --color-muted: #5f6058;
  --color-accent: #ff5b2e;
  --color-accent-fg: #171816;
  --color-border: #d8d3c6;
  --color-line: #d8d3c6;
  --color-sale: #b9341a;
  --color-surface: #fffdf8;
  --color-ink: #171816;
  --color-ink-fg: #f5f1e9;
  --color-link: #171816;
  --color-accent-text: #ca3500;
  --color-accent-on-ink: #ff5b2e;
  --color-tint-a: #b5c4b2;
  --color-tint-a-fg: #171816;
  --color-tint-b: #c7f25b;
  --color-tint-b-fg: #171816;
  --color-tint-c: #d6c8b1;
  --color-tint-c-fg: #171816;
  --gutter: 1rem;
  --gutter-wide: 2rem;
  --font-heading: "Arial Black", Arial, "Helvetica Neue", sans-serif;
  --font-body: Arial, "Helvetica Neue", sans-serif;
  --type-scale: 1.25;
  --display-size: clamp(3rem, 14vw, 7.00rem);
  --display-2-size: clamp(2rem, 7vw, 2.60rem);
  --heading-weight: 900;
  --button-radius: 0;
  --section-gap: clamp(5rem, 11vw, 7rem);
  --motion-fast: 150ms;
  --motion: 250ms;
  --radius: 0px;
  --space: 8px;
  --max-width: 1500px;
  --text-sm: 0.8000rem;
  --text-0: 1.0000rem;
  --text-1: 1.2500rem;
  --text-2: 1.5625rem;
  --text-3: 1.9531rem;
  --text-4: 2.4414rem;
  --font-accent: Georgia, "Times New Roman", serif;
}
:root .accent {
  padding: 0;
  background: none;
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-accent-text);
}
:root .on-ink .accent {
  color: var(--color-accent-on-ink);
}
[data-section="ticker-1"] { --ticker-duration: 40s; }
/* Generated by packages/ui/scripts/font-fallback.ts. Do not edit. Every face is font-display: optional (ZCD-SF-017). */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-display: optional;
  font-weight: 200 900;
  src: url("/assets/fonts/source-serif-4-latin-wght.woff2") format("woff2");
  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;
}
/* Source Serif 4 measured: average width 0.4842 em, ascent 1.036, descent 0.335; Georgia scaled to it. Regular and bold faces, so a bold heading is not synthesised. */
@font-face {
  font-family: "Source Serif 4 Fallback";
  font-weight: 100 599;
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 108.6%;
  ascent-override: 95.4%;
  descent-override: 30.9%;
  line-gap-override: 0.0%;
}
@font-face {
  font-family: "Source Serif 4 Fallback";
  font-weight: 600 900;
  src: local("Georgia Bold"), local("Times New Roman Bold");
  size-adjust: 108.6%;
  ascent-override: 95.4%;
  descent-override: 30.9%;
  line-gap-override: 0.0%;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: optional;
  font-weight: 200 900;
  src: url("/assets/fonts/source-sans-3-latin-wght.woff2") format("woff2");
  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;
}
/* Source Sans 3 measured: average width 0.4033 em, ascent 1.024, descent 0.400; Arial scaled to it. Regular and bold faces, so a bold heading is not synthesised. */
@font-face {
  font-family: "Source Sans 3 Fallback";
  font-weight: 100 599;
  src: local("Arial"), local("Roboto"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 90.2%;
  ascent-override: 113.5%;
  descent-override: 44.3%;
  line-gap-override: 0.0%;
}
@font-face {
  font-family: "Source Sans 3 Fallback";
  font-weight: 600 900;
  src: local("Arial Bold"), local("Roboto Bold"), local("Helvetica Neue Bold"), local("Liberation Sans Bold");
  size-adjust: 90.2%;
  ascent-override: 113.5%;
  descent-override: 44.3%;
  line-gap-override: 0.0%;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-display: optional;
  font-weight: 100 700;
  src: url("/assets/fonts/ibm-plex-sans-latin-wght.woff2") format("woff2");
  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;
}
/* IBM Plex Sans measured: average width 0.4540 em, ascent 1.025, descent 0.275; Arial scaled to it. Regular and bold faces, so a bold heading is not synthesised. */
@font-face {
  font-family: "IBM Plex Sans Fallback";
  font-weight: 100 599;
  src: local("Arial"), local("Roboto"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 101.6%;
  ascent-override: 100.9%;
  descent-override: 27.1%;
  line-gap-override: 0.0%;
}
@font-face {
  font-family: "IBM Plex Sans Fallback";
  font-weight: 600 900;
  src: local("Arial Bold"), local("Roboto Bold"), local("Helvetica Neue Bold"), local("Liberation Sans Bold");
  size-adjust: 101.6%;
  ascent-override: 100.9%;
  descent-override: 27.1%;
  line-gap-override: 0.0%;
}
/* Base theme "lantern" (SPECS 10.3). Colours, type and spacing come from the custom properties that tokensCss() writes
   per theme_gen. Logical properties throughout (ZCD-NFR-017). style-src is 'self': nothing here depends on inline style. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* A focused or targeted element below a sticky header must not hide under it (ZCD-SF-019.AC3). */
:root:has(.site-header[data-sticky]) {
  scroll-padding-block-start: 8rem;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

img {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

/* A file's focal point (P8, ZCD-SF-013.AC3): the part of a cropped picture to keep in view. style-src is 'self', so the
   point is two classes on a 5 % grid (picture.ts), never a style attribute. One class deep: a theme section's own
   `[data-section] .banner-image` rule is stronger and wins. */
.focal {
  object-position: var(--fx, 50%) var(--fy, 50%);
}
.fx-0 {
  --fx: 0%;
}
.fx-5 {
  --fx: 5%;
}
.fx-10 {
  --fx: 10%;
}
.fx-15 {
  --fx: 15%;
}
.fx-20 {
  --fx: 20%;
}
.fx-25 {
  --fx: 25%;
}
.fx-30 {
  --fx: 30%;
}
.fx-35 {
  --fx: 35%;
}
.fx-40 {
  --fx: 40%;
}
.fx-45 {
  --fx: 45%;
}
.fx-50 {
  --fx: 50%;
}
.fx-55 {
  --fx: 55%;
}
.fx-60 {
  --fx: 60%;
}
.fx-65 {
  --fx: 65%;
}
.fx-70 {
  --fx: 70%;
}
.fx-75 {
  --fx: 75%;
}
.fx-80 {
  --fx: 80%;
}
.fx-85 {
  --fx: 85%;
}
.fx-90 {
  --fx: 90%;
}
.fx-95 {
  --fx: 95%;
}
.fx-100 {
  --fx: 100%;
}
.fy-0 {
  --fy: 0%;
}
.fy-5 {
  --fy: 5%;
}
.fy-10 {
  --fy: 10%;
}
.fy-15 {
  --fy: 15%;
}
.fy-20 {
  --fy: 20%;
}
.fy-25 {
  --fy: 25%;
}
.fy-30 {
  --fy: 30%;
}
.fy-35 {
  --fy: 35%;
}
.fy-40 {
  --fy: 40%;
}
.fy-45 {
  --fy: 45%;
}
.fy-50 {
  --fy: 50%;
}
.fy-55 {
  --fy: 55%;
}
.fy-60 {
  --fy: 60%;
}
.fy-65 {
  --fy: 65%;
}
.fy-70 {
  --fy: 70%;
}
.fy-75 {
  --fy: 75%;
}
.fy-80 {
  --fy: 80%;
}
.fy-85 {
  --fy: 85%;
}
.fy-90 {
  --fy: 90%;
}
.fy-95 {
  --fy: 95%;
}
.fy-100 {
  --fy: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight, 700);
  line-height: 1.2;
  margin-block: 0 calc(var(--space) * 1.5);
}
h1 {
  font-size: calc(var(--text-2) * 1.1);
}
h2 {
  font-size: var(--text-1);
}
h3 {
  font-size: 1.1rem;
}

p {
  margin-block: 0 var(--space);
}

a {
  color: var(--color-link);
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--color-link);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--space);
  inset-block-start: -4rem;
  padding: var(--space) calc(var(--space) * 2);
  background: var(--color-accent);
  color: var(--color-accent-fg);
  z-index: 10;
}
.skip-link:focus {
  inset-block-start: var(--space);
}

.wrap {
  inline-size: 100%;
  max-inline-size: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter, 1rem);
}

/* Header, footer and the editorial sections: sections.css */

main {
  min-block-size: 50vh;
}

/* Banner */
.banner {
  position: relative;
  background: var(--color-border);
}
.banner-image {
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 8 / 3;
  object-fit: cover;
}
.banner-text {
  padding-block: calc(var(--space) * 4);
}
.banner-text h1 {
  margin-block-end: calc(var(--space) * 2);
}

/* Buttons and form controls */
.button {
  display: inline-block;
  padding: calc(var(--space) * 1.25) calc(var(--space) * 3);
  border: 2px solid var(--color-accent);
  border-radius: var(--button-radius, var(--radius));
  background: var(--color-accent);
  color: var(--color-accent-fg);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button--quiet {
  background: transparent;
  border-color: var(--color-link);
  color: var(--color-link);
}

input[type='number'],
select {
  font: inherit;
  padding: calc(var(--space) * 0.75);
  border: 1px solid var(--color-muted);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-fg);
  max-inline-size: 100%;
}
input[type='checkbox'],
input[type='radio'] {
  inline-size: 1.15rem;
  block-size: 1.15rem;
  accent-color: var(--color-accent);
  margin-inline-end: 0.4rem;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-block: calc(var(--space) * 2);
  font-size: 0.9rem;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li + li::before {
  content: '/';
  margin-inline: 0.5rem;
  color: var(--color-muted);
}
.breadcrumbs [aria-current] {
  color: var(--color-muted);
}

/* Grid and cards */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(var(--space) * 2);
  margin: 0 0 calc(var(--space) * 3);
  padding: 0;
  list-style: none;
}
.card {
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
}
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.card-media {
  position: relative;
  display: block;
  background: var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.ratio-square .card-media,
.ratio-square .card-placeholder {
  aspect-ratio: 1;
}
.ratio-four_five .card-media,
.ratio-four_five .card-placeholder {
  aspect-ratio: 4 / 5;
}
.ratio-portrait .card-media,
.ratio-portrait .card-placeholder {
  aspect-ratio: 2 / 3;
}
.card-image {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.card-placeholder {
  display: block;
  aspect-ratio: 4 / 3;
}
.card-sale {
  position: absolute;
  inset-block-start: var(--space);
  inset-inline-start: var(--space);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--color-ink);
  color: var(--color-ink-fg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card-labels {
  position: absolute;
  inset-block-start: var(--space);
  inset-inline-start: var(--space);
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--space) * 0.5);
}
.card-label {
  padding: 0.15rem 0.6rem;
  background: var(--color-bg);
  color: var(--color-fg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card-media--labelled .card-sale {
  inset-inline-start: auto;
  inset-inline-end: var(--space);
}
.product-sale .card-sale {
  position: static;
  display: inline-block;
}
.card-body {
  display: grid;
  margin-block-start: var(--space);
}
.card-body--end {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space);
  align-items: start;
}
.card-vendor {
  display: block;
  color: var(--color-muted);
  font-size: 0.85rem;
}
.card-title {
  display: block;
  font-weight: 600;
}
.card-link:hover .card-title {
  text-decoration: underline;
}
.card-price,
.card-badge,
.card-ships {
  display: block;
  font-size: 0.95rem;
}
.card-ships {
  color: var(--color-muted);
}
.card-action {
  margin: var(--space) 0 0;
}
.quick-add {
  display: grid;
  gap: calc(var(--space) * 0.5);
}
.quick-add-label {
  font-size: 0.85rem;
  color: var(--color-muted);
}
.quick-add-select {
  font: inherit;
  padding: calc(var(--space) * 0.6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-fg);
  inline-size: 100%;
}
.quick-add-details {
  font-size: 0.85rem;
}
.card-action .button {
  inline-size: 100%;
  text-align: center;
}
.featured {
  margin-block-start: var(--section-gap, calc(var(--space) * 5));
}

/* Price and badge */
.price {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0 0.6rem;
  align-items: baseline;
}
.price-now {
  font-weight: 700;
}
.price--sale .price-now {
  color: var(--color-sale);
}
.price-was {
  color: var(--color-muted);
  text-decoration: line-through;
  font-weight: 400;
}
.product-tiers {
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--color-muted);
  font-size: 0.9rem;
}
.badge {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border: 1px solid currentcolor;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
}
.badge--in-stock {
  color: var(--color-link);
}
.badge--low-stock {
  color: var(--color-sale);
}
.badge--out-of-stock {
  color: var(--color-muted);
}

/* Collection */
.collection-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: calc(var(--space) * 3);
}
/* Filters (ZCD-SF-024): one closed pill below 40rem, a plain panel from 40rem; groups are <details>. */
.facet-form {
  display: block;
  padding-block-end: calc(var(--space) * 2);
}
.filters-toggle {
  display: flex;
  align-items: center;
  gap: var(--space);
  min-block-size: 2.75rem;
  padding: 0 calc(var(--space) * 2);
  border-radius: 999px;
  background: var(--color-fg);
  color: var(--color-bg);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.filters-toggle::-webkit-details-marker {
  display: none;
}
.filters-toggle > span:first-child {
  flex: 1;
}
.filters-count:not(:empty),
.facet-count:not(:empty) {
  display: inline-grid;
  place-items: center;
  min-inline-size: 1.5rem;
  block-size: 1.5rem;
  padding-inline: 0.35rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-accent-fg);
  font-size: 0.8rem;
  font-weight: 700;
}
.filters-caret {
  inline-size: 0;
  block-size: 0;
  border-inline: 0.35rem solid transparent;
  border-block-start: 0.45rem solid currentColor;
}
.filters[open] > .filters-toggle .filters-caret {
  transform: rotate(180deg);
}
.filters-body {
  display: grid;
  gap: var(--space);
  padding-block-start: calc(var(--space) * 2);
}
.facet-group {
  border-block-end: 1px solid var(--color-border);
}
.facet-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space);
  min-block-size: 2.75rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.facet-group > summary::-webkit-details-marker {
  display: none;
}
.facet-group > summary::after {
  content: '+';
  margin-inline-start: auto;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1;
}
.facet-group[open] > summary::after {
  content: '\2212';
}
.facet-group > summary .facet-count {
  order: 2;
}
.facet-group > summary::after {
  order: 3;
}
.facet-fields {
  margin: 0;
  padding: 0 0 calc(var(--space) * 2);
  border: 0;
  min-inline-size: 0;
}
.facet-heading {
  font-size: 1rem;
  margin: 0;
}
.facet-values {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}
.facet-values label {
  display: flex;
  align-items: center;
  gap: var(--space);
  min-block-size: 2.75rem;
}
.facet-sort {
  display: grid;
  gap: 0.35rem;
}
.facet-submit {
  justify-self: start;
}
@media (min-width: 40rem) {
  /* The panel is always open from 40rem: the summary goes, the content stays. */
  .filters > .filters-toggle {
    display: none;
  }
  .filters::details-content {
    content-visibility: visible;
    display: block;
  }
  .filters-body {
    padding-block-start: 0;
  }
}

/* Price: a dual-handle slider from two native range inputs over one track, the exact fields and the quick ranges. */
.price-slider {
  display: grid;
  gap: calc(var(--space) * 1.5);
}
.price-readout {
  margin: 0;
  font-weight: 600;
}
.range {
  position: relative;
  block-size: 2.75rem;
  --thumb: 2.75rem;
}
.range-track {
  position: absolute;
  inset-inline: calc(var(--thumb) / 2);
  inset-block-start: calc(50% - 2px);
  inline-size: calc(100% - var(--thumb));
  block-size: 4px;
  overflow: visible;
}
.range-rail {
  fill: var(--color-border);
}
.range-fill {
  fill: var(--color-fg);
}
.range input[type='range'] {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  margin: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: none;
  accent-color: var(--color-fg);
}
.range input[type='range']::-webkit-slider-runnable-track {
  background: transparent;
  block-size: 100%;
}
.range input[type='range']::-moz-range-track {
  background: transparent;
  block-size: 100%;
}
.range input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  inline-size: var(--thumb);
  block-size: var(--thumb);
  border: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--color-bg) 0 0.45rem,
    var(--color-fg) 0.45rem 0.8rem,
    transparent 0.85rem
  );
  pointer-events: auto;
  cursor: grab;
}
.range input[type='range']::-moz-range-thumb {
  inline-size: var(--thumb);
  block-size: var(--thumb);
  border: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--color-bg) 0 0.45rem,
    var(--color-fg) 0.45rem 0.8rem,
    transparent 0.85rem
  );
  pointer-events: auto;
  cursor: grab;
}
.range input[type='range']:focus-visible {
  outline: none;
}
.range input[type='range']:focus-visible::-webkit-slider-thumb {
  outline: 3px solid var(--color-link);
  outline-offset: -4px;
}
.range input[type='range']:focus-visible::-moz-range-thumb {
  outline: 3px solid var(--color-link);
  outline-offset: -4px;
}
.price-exact {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: var(--space);
}
.price-field {
  display: grid;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}
.price-input {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding-inline: 0.6rem;
  border: 1px solid var(--color-muted);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-fg);
}
.price-input input {
  inline-size: 5.5rem;
  min-block-size: 2.5rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.price-ranges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space);
  margin: 0;
  padding: 0;
  list-style: none;
}
.price-range-link {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  padding-inline: 0.9rem;
  border: 1px solid var(--color-muted);
  border-radius: 999px;
  color: var(--color-fg);
  text-decoration: none;
}
.price-range-link[aria-current] {
  background: var(--color-fg);
  border-color: var(--color-fg);
  color: var(--color-bg);
}

/* Active filter chips: plain links, each removes one value. */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space);
  margin: 0 0 calc(var(--space) * 2);
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-block-size: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--color-fg);
  border-radius: 999px;
  color: var(--color-fg);
  text-decoration: none;
}
.chip:hover {
  background: var(--color-fg);
  color: var(--color-bg);
}
.chip-x {
  font-size: 1.1rem;
  line-height: 1;
}
.chip--clear {
  border-color: var(--color-muted);
  color: var(--color-muted);
}
.listing-count {
  color: var(--color-muted);
  font-size: 0.95rem;
}
.pagination-status {
  margin: 0 0 var(--space);
  color: var(--color-muted);
  font-size: 0.95rem;
}
.pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pagination a,
.pagination [aria-current] {
  display: inline-block;
  min-inline-size: 2.75rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
}
.pagination [aria-current] {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  border-color: var(--color-accent);
}

/* Product */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: calc(var(--space) * 3);
}
.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space);
  align-content: start;
}
.gallery-image {
  inline-size: 100%;
  border-radius: var(--radius);
  background: var(--color-border);
}
.gallery--empty {
  aspect-ratio: 4 / 3;
  background: var(--color-border);
  border-radius: var(--radius);
}
.product-vendor {
  color: var(--color-muted);
}
.variant-panel {
  margin-block: calc(var(--space) * 2);
}
.option {
  margin: 0 0 calc(var(--space) * 2);
  padding: 0;
  border: 0;
  min-inline-size: 0;
}
.option legend {
  font-weight: 600;
  margin-block-end: var(--space);
}
.option-values {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space);
}
.option-value {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--color-muted);
  border-radius: var(--radius);
  cursor: pointer;
}
.option-value:has(input:checked) {
  border-color: var(--color-accent);
  outline: 2px solid var(--color-accent);
}
.option-value--sold-out {
  color: var(--color-muted);
  border-style: dashed;
  text-decoration: line-through;
  background: var(--color-border);
}
.product-price {
  font-size: var(--text-1);
  margin-block: var(--space);
}
.product-stock,
.product-ships,
.product-sku {
  color: var(--color-muted);
  font-size: 0.95rem;
}
.product-ships {
  margin-block: 0;
}
.product-description {
  margin-block-start: calc(var(--space) * 3);
}
.product-description a {
  text-underline-offset: 2px;
}

.rich-text {
  margin-block: var(--section-gap, calc(var(--space) * 6));
  max-inline-size: 48rem;
}
.rich-text--callout {
  padding: calc(var(--space) * 3);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}

/* The gutter of a wide screen is a theme setting (80rem up); below it the gutter is 1rem. */
@media (min-width: 80rem) {
  .wrap {
    padding-inline: var(--gutter-wide, 1rem);
  }
}

@media (min-width: 40rem) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 60rem) {
  .grid,
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .collection-layout {
    grid-template-columns: 16rem minmax(0, 1fr);
  }
  .product-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a,
  .button {
    transition:
      color var(--motion-fast, 0.15s),
      background-color var(--motion-fast, 0.15s);
  }
}

/* Header, footer and the editorial sections of S7a.2 (SD-155, SD-165, SD-166). Tokens come from tokensCss(); per-section
   numbers (ticker speed, focal points) come from rules on [data-section] in the same stylesheet. Logical properties
   throughout; no rule depends on an inline style (style-src 'self'). Every animation sits inside
   prefers-reduced-motion: no-preference, so the default rendering is the static one. */

/* Surfaces */
.on-ink {
  background: var(--color-ink);
  color: var(--color-ink-fg);
}
.on-ink a {
  color: inherit;
}
/* A filled button on an ink surface keeps its own pair (accent on accent-fg, 4.5:1 by the palette rules), not the
   surface's light text on the accent fill. */
.on-ink .button:not(.button--quiet):not(.button--ink) {
  color: var(--color-accent-fg);
}
.accent {
  font-style: normal;
  padding-inline: 0.12em;
  background: var(--color-accent);
  color: var(--color-accent-fg);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
/* On an ink surface the accent is the text colour; on an accent surface a mark would vanish. */
.on-ink .accent {
  padding-inline: 0;
  background: none;
  color: var(--color-accent-on-ink, var(--color-accent));
}
.cta-band--accent .accent {
  background: none;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
}
.eyebrow {
  margin-block: 0 var(--space);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.8;
}
.display {
  font-size: var(--display-size);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.display-2 {
  font-size: var(--display-2-size);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space) calc(var(--space) * 2);
  margin-block-end: calc(var(--space) * 3);
}
.section-head h2 {
  margin: 0;
  font-size: var(--display-2-size);
  line-height: 1.05;
}
.hero,
.split,
.pull-quote,
.tiles-section,
.gallery-section,
.logo-strip,
.slideshow,
.banner {
  margin-block: var(--section-gap);
}
.button--ink {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-ink-fg);
}

/* Announcement bar: messages in one row on a wide screen (at most 40 px high at 1,280 px) */
.announcement {
  padding-block: calc(var(--space) * 0.75);
  font-size: 0.85rem;
}
.announcement--accent {
  background: var(--color-accent);
  color: var(--color-accent-fg);
}
.announcement--ink {
  background: var(--color-ink);
  color: var(--color-ink-fg);
}
.announcement--surface {
  background: var(--color-surface);
  color: var(--color-fg);
  border-block-end: 1px solid var(--color-line);
}
.announcement a {
  color: inherit;
}
.announcement-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 calc(var(--space) * 4);
  padding-inline: 1rem;
}
.announcement p {
  margin: 0;
  padding-inline: 0;
  text-align: center;
}

/* Header (SD-165). Phone: the menu button, the logo and the cart in one row; from 48rem the menu moves to its own
   row under the logo row and the button goes away. */
.site-header {
  position: relative;
  z-index: 30;
  background: var(--color-surface);
  border-block-end: 1px solid var(--color-line);
}
.site-header[data-sticky] {
  position: sticky;
  inset-block-start: 0;
}
.header-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: 'toggle logo actions';
  align-items: center;
  gap: 0 calc(var(--space) * 2);
  padding-block: var(--space);
}
.nav-toggle {
  grid-area: toggle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: var(--button-radius, var(--radius));
  background: transparent;
  color: var(--color-fg);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  inline-size: 1.4rem;
  block-size: 2px;
  background: currentcolor;
  content: '';
}
.nav-toggle-bars {
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  inset-inline-start: 0;
}
.nav-toggle-bars::before {
  inset-block-start: -0.45rem;
}
.nav-toggle-bars::after {
  inset-block-start: 0.45rem;
}
.logo {
  grid-area: logo;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  font-family: var(--font-heading);
  font-size: var(--text-1);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-fg);
  text-decoration: none;
}
/* An accent character of a text wordmark (`{0}MVP`): readable accent text on light surfaces, the lightened one on ink. */
.wordmark-accent {
  color: var(--color-accent-text, var(--color-link));
}
.on-ink .wordmark-accent,
.site-footer--ink .wordmark-accent {
  color: var(--color-accent-on-ink, var(--color-accent));
}
.logo-image {
  display: block;
  max-inline-size: 15rem;
}
.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: calc(var(--space) * 0.5);
}
.header-account {
  display: flex;
}
.header-nav {
  display: none;
  grid-area: nav;
}
.menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 calc(var(--space) * 3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu a {
  display: inline-block;
  padding-block: calc(var(--space) * 0.75);
  color: var(--color-fg);
  text-decoration: none;
}
.menu a:hover {
  text-decoration: underline;
}
.menu li ul {
  display: none;
}

/* The phone menu: a popover panel from the inline start, the full viewport high. Without popover support the
   element is a plain block and its links show in the flow at the end of the header (ZCD-SF-020.AC4). */
.nav-drawer {
  inline-size: min(22rem, 90vw);
  block-size: 100dvh;
  max-block-size: none;
  margin: 0;
  inset: 0 auto 0 0;
  padding: calc(var(--space) * 2);
  border: 0;
  border-inline-end: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-fg);
  overflow: auto;
}
.nav-drawer:dir(rtl) {
  inset: 0 0 0 auto;
}
.nav-drawer::backdrop {
  background: rgb(0 0 0 / 45%);
}
.nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  margin-block-end: var(--space);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-fg);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.menu--drawer ul {
  display: block;
}
.menu--drawer li {
  border-block-end: 1px solid var(--color-line);
}
.menu--drawer a,
.menu--drawer summary {
  display: flex;
  align-items: center;
  min-block-size: 2.75rem;
  padding-block: 0;
  font-size: 1.1rem;
  cursor: pointer;
}
.menu--drawer details ul {
  display: block;
  padding-inline-start: var(--space);
}
.menu--drawer details li:last-child {
  border-block-end: 0;
}
@supports not selector(:popover-open) {
  .nav-toggle,
  .nav-close {
    display: none;
  }
  .nav-drawer {
    inline-size: auto;
    block-size: auto;
    padding-inline: 1rem;
    border: 0;
  }
}

@media (min-width: 48rem) {
  .header-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      'logo actions'
      'nav nav';
  }
  .nav-toggle,
  .nav-drawer {
    display: none;
  }
  .header-nav {
    display: block;
    border-block-start: 1px solid var(--color-line);
  }
  .header-nav .menu a {
    padding-block: calc(var(--space) * 1.1);
    font-size: 0.9rem;
  }
}

/* Header layouts and caps (a data attribute of the header; from 60rem the menu joins the logo row, below it the
   two-row header above stays), and the menu panels of the `dropdown` and `mega` styles: the panel is hidden, and
   `:hover` or `:focus-within` of its item shows it, so the keyboard and a touch tap (the parent is a link) work with no
   script. It sits at its static position under the link (no gap to cross); the mega panel spans the header. */
.site-header[data-nav-case='caps'] .header-nav .menu > ul > li > a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (min-width: 60rem) {
  .site-header[data-layout='nav_center'] .header-row,
  .site-header[data-layout='logo_center'] .header-row {
    padding-block: 0;
  }
  .site-header[data-layout='nav_center'] .header-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: 'logo nav actions';
  }
  .site-header[data-layout='logo_center'] .header-row {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: 'nav logo actions';
  }
  .site-header[data-layout='logo_center'] .logo {
    justify-self: center;
  }
  .site-header[data-layout='logo_center'] .header-actions {
    justify-self: end;
  }
  .site-header[data-layout='nav_center'] .header-nav,
  .site-header[data-layout='logo_center'] .header-nav {
    border-block-start: 0;
  }
  .site-header[data-layout='nav_center'] .menu ul {
    justify-content: center;
  }
  .site-header[data-layout='nav_center'] .header-nav .menu > ul > li > a,
  .site-header[data-layout='logo_center'] .header-nav .menu > ul > li > a {
    display: inline-flex;
    align-items: center;
    min-block-size: 3.25rem;
    padding-block: 0;
  }
}
.menu-panel {
  display: none;
  position: absolute;
  z-index: 40;
  background: var(--color-surface);
  color: var(--color-fg);
  border: 1px solid var(--color-line);
  box-shadow: 0 0.75rem 1.5rem color-mix(in srgb, var(--color-fg) 12%, transparent);
}
.menu li:hover > .menu-panel,
.menu li:focus-within > .menu-panel {
  display: grid;
}
.menu .menu-panel ul {
  display: block;
  margin: 0;
  padding: 0;
}
.menu .menu-panel li {
  break-inside: avoid;
}
.menu .menu-panel a {
  display: block;
  color: inherit;
}
.menu--dropdown li {
  position: relative;
}
.menu--dropdown .menu-panel {
  inset-inline-start: 0;
  min-inline-size: 14rem;
  padding: var(--space) calc(var(--space) * 2);
}
.menu--mega .menu-panel {
  inset-inline: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: minmax(12rem, 18rem);
  gap: calc(var(--space) * 3);
  padding: calc(var(--space) * 3)
    max(var(--gutter, 1rem), calc((100% - var(--max-width)) / 2 + var(--gutter, 1rem)));
  border-inline: 0;
  background: var(--color-ink);
  color: var(--color-ink-fg);
}
/* From 80rem the page content sits at the wide gutter; the panel's columns start there too (walk G-N20-a N4). */
@media (min-width: 80rem) {
  .menu--mega .menu-panel {
    padding-inline: max(
      var(--gutter-wide, 1rem),
      calc((100% - var(--max-width)) / 2 + var(--gutter-wide, 1rem))
    );
  }
}
.menu--mega .menu-panel ul {
  columns: 11rem 3;
  column-gap: calc(var(--space) * 3);
}
.menu-feature {
  padding-inline-start: calc(var(--space) * 3);
  border-inline-start: 1px solid color-mix(in srgb, currentcolor 25%, transparent);
}
.menu-feature p {
  margin-block: 0 var(--space);
}
.menu-feature-heading {
  font-family: var(--font-heading);
  font-size: var(--text-2);
  font-weight: 700;
}
.menu .menu-feature-link {
  display: inline-block;
  text-decoration: underline;
}

/* Footer */
.site-footer {
  margin-block-start: var(--section-gap);
  padding-block: calc(var(--space) * 5);
  border-block-start: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-muted);
}
.site-footer--ink {
  background: var(--color-ink);
  color: var(--color-ink-fg);
}
.site-footer .menu a {
  color: var(--color-fg);
}
.site-footer--ink .menu a {
  color: var(--color-ink-fg);
}
.footer-grid {
  display: grid;
  gap: calc(var(--space) * 4);
  grid-template-columns: minmax(0, 1fr);
}
.footer-title {
  margin-block-end: var(--space);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-wordmark {
  margin-block-end: var(--space);
  font-family: var(--font-heading);
  font-size: var(--text-2);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-fg);
}
.site-footer--ink .footer-wordmark {
  color: var(--color-ink-fg);
}
.menu--column ul {
  display: grid;
  gap: 0;
}
.copyright {
  margin-block-start: calc(var(--space) * 4);
  font-size: 0.85rem;
}
@media (min-width: 48rem) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }
}

/* Ticker: static by default (a wrapped row, one copy); a moving band only without a reduced-motion preference */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--color-line);
  padding-block: calc(var(--space) * 1.5);
}
.ticker--ink {
  background: var(--color-ink);
  color: var(--color-ink-fg);
  border-color: var(--color-ink);
}
.ticker-track {
  display: flex;
}
.ticker-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space) calc(var(--space) * 4);
  margin: 0;
  padding: 0 1rem;
  list-style: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ticker-list[aria-hidden='true'] {
  display: none;
}
.ticker a {
  color: inherit;
}

/* Hero */
.hero {
  display: grid;
  gap: calc(var(--space) * 4);
  margin-block-start: calc(var(--section-gap) * 0.6);
}
.hero-subtitle {
  max-inline-size: 36rem;
  font-size: var(--text-1);
}
.hero-caption {
  margin-block-start: calc(var(--space) * 3);
  text-align: end;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.hero-image,
.split-image,
.tile-image {
  inline-size: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (min-width: 60rem) {
  .hero--image {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }
}

/* Slider arrows (slideshow and featured slider): an ink disc with a light ring and a stroked chevron, so the control
   reads over any photo (ink_fg on ink is a palette-checked pair; the ring lifts the disc off a dark photo). 44 px
   touch target. Hover and focus-visible turn the disc to the accent pair; the focus ring is a double outline. */
.slider-step,
.slide-step {
  align-items: center;
  justify-content: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border: 2px solid color-mix(in srgb, var(--color-ink-fg) 70%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-ink) 82%, transparent);
  color: var(--color-ink-fg);
  box-shadow: 0 2px 10px color-mix(in srgb, var(--color-ink) 45%, transparent);
  line-height: 0;
  text-decoration: none;
}
.slide-step {
  display: inline-flex;
}
.slider-step:hover,
.slide-step:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-fg);
}
.slider-step:focus-visible,
.slide-step:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--color-ink);
}
.step-chevron {
  inline-size: 1.5rem;
  block-size: 1.5rem;
  pointer-events: none;
}
:dir(rtl) > .step-chevron {
  scale: -1 1;
}

/* Slideshow: a scroll-snap track; the arrows and dots are links to the slides (no script, no autoplay) */
.slideshow {
  --slide-arrow: 2.75rem;
  --slide-arrow-inset: var(--space);
  --slide-arrow-gap: calc(var(--space) * 2);
  position: relative;
  margin-block: 0 var(--section-gap);
}
.slides {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.slides::-webkit-scrollbar {
  display: none;
}
.slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  block-size: 22.5rem;
  overflow: hidden;
  background: var(--color-border);
}
.slideshow--medium .slide {
  block-size: 35rem;
}
.slideshow--tall .slide {
  block-size: 45rem;
}
.slide-image {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.slide-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  padding-block: calc(var(--space) * 5);
  /* Clear of the arrows on both sides: the arrow's inset, its width and a gap */
  padding-inline: calc(var(--slide-arrow-inset) + var(--slide-arrow) + var(--slide-arrow-gap));
  color: var(--color-ink-fg);
}
.slide-text > .wrap {
  padding-inline: 0;
}
.slide-text > .wrap > * {
  max-inline-size: 36rem;
}
.overlay-none {
  align-items: center;
  color: var(--color-fg);
}
.overlay-none .wrap {
  padding-block: calc(var(--space) * 3);
  background: var(--color-surface);
  max-inline-size: 28rem;
  margin-inline-start: max(1rem, calc((100% - var(--max-width)) / 2));
}
.overlay-left-gradient {
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--color-ink) 88%, transparent),
    transparent 75%
  );
  align-items: center;
}
.overlay-bottom-gradient {
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--color-ink) 88%, transparent),
    transparent 70%
  );
}
.slide-step {
  position: absolute;
  inset-block-start: 50%;
  translate: 0 -50%;
}
.slide-prev {
  inset-inline-start: var(--slide-arrow-inset);
}
.slide-next {
  inset-inline-end: var(--slide-arrow-inset);
}
/* The position control (SD-244, ZCD-CNT-009.AC4): up to SLIDE_DOTS_MAX slides get dots, more get "n / total" and a
   segmented bar. Both sit on a dark translucent plate so the marks keep 3:1 on any photo. The control never moves the
   slides; the dots are the same anchor links as before. Where scroll-driven animations are missing the first mark is
   the current one and stays so (no worse than a control with no state). */
.slide-dots,
.slide-count {
  --mark-size: 0.5rem;
  --mark-wide: 1.6rem;
  --mark-off: var(--color-ink-fg);
  --mark-on: var(--color-accent);
  position: absolute;
  inset-inline: 0;
  inset-block-end: var(--space);
  inline-size: fit-content;
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-ink) 68%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--color-ink-fg);
}
.slide-dots a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 2rem;
  block-size: 1.5rem;
  min-inline-size: 24px;
  min-block-size: 24px;
}
.slide-dots a::before {
  content: '';
  inline-size: var(--mark-size);
  block-size: var(--mark-size);
  border-radius: 999px;
  background: var(--mark-off);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-ink) 45%, transparent);
}
.slide-dots a:first-child::before {
  inline-size: var(--mark-wide);
  background: var(--mark-on);
  box-shadow: 0 0 0 1.5px var(--color-ink-fg);
}
.slide-count {
  gap: 0.75rem;
  padding-block: 0.375rem;
  padding-inline: 0.875rem;
  font-size: 0.8125rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.slide-count-text {
  display: flex;
  gap: 0.375rem;
}
.slide-count-cur {
  display: grid;
}
.slide-count-cur > * {
  grid-area: 1 / 1;
  text-align: end;
  opacity: 0;
}
.slide-count-cur > :first-child {
  opacity: 1;
}
.slide-count-bar {
  display: flex;
  gap: 2px;
  inline-size: 5rem;
  block-size: 0.25rem;
}
.slide-count-bar > * {
  flex: 1 1 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-ink-fg) 40%, transparent);
}
.slide-count-bar > :first-child {
  background: var(--mark-on);
}

/* The current mark follows the scroll: each slide has a named view timeline (inline axis) that is 50 % when the slide
   sits in the viewport; the slide's mark animates on it. Eight names: the slideshow's block limit. */
@supports (animation-timeline: view()) {
  @supports (timeline-scope: --a) {
    .slideshow {
      timeline-scope:
        --slide-1, --slide-2, --slide-3, --slide-4, --slide-5, --slide-6, --slide-7, --slide-8;
    }
    .slide:nth-child(1) {
      view-timeline: --slide-1 inline;
    }
    .slide:nth-child(2) {
      view-timeline: --slide-2 inline;
    }
    .slide:nth-child(3) {
      view-timeline: --slide-3 inline;
    }
    .slide:nth-child(4) {
      view-timeline: --slide-4 inline;
    }
    .slide:nth-child(5) {
      view-timeline: --slide-5 inline;
    }
    .slide:nth-child(6) {
      view-timeline: --slide-6 inline;
    }
    .slide:nth-child(7) {
      view-timeline: --slide-7 inline;
    }
    .slide:nth-child(8) {
      view-timeline: --slide-8 inline;
    }
    .slide-dots > :nth-child(1),
    .slide-count-cur > :nth-child(1),
    .slide-count-bar > :nth-child(1) {
      --tl: --slide-1;
    }
    .slide-dots > :nth-child(2),
    .slide-count-cur > :nth-child(2),
    .slide-count-bar > :nth-child(2) {
      --tl: --slide-2;
    }
    .slide-dots > :nth-child(3),
    .slide-count-cur > :nth-child(3),
    .slide-count-bar > :nth-child(3) {
      --tl: --slide-3;
    }
    .slide-dots > :nth-child(4),
    .slide-count-cur > :nth-child(4),
    .slide-count-bar > :nth-child(4) {
      --tl: --slide-4;
    }
    .slide-dots > :nth-child(5),
    .slide-count-cur > :nth-child(5),
    .slide-count-bar > :nth-child(5) {
      --tl: --slide-5;
    }
    .slide-dots > :nth-child(6),
    .slide-count-cur > :nth-child(6),
    .slide-count-bar > :nth-child(6) {
      --tl: --slide-6;
    }
    .slide-dots > :nth-child(7),
    .slide-count-cur > :nth-child(7),
    .slide-count-bar > :nth-child(7) {
      --tl: --slide-7;
    }
    .slide-dots > :nth-child(8),
    .slide-count-cur > :nth-child(8),
    .slide-count-bar > :nth-child(8) {
      --tl: --slide-8;
    }
    /* Right-to-left pages keep the first mark current: Chrome's inline view timelines run mirrored there (slide k
       drives the mark of slide n + 1 - k, measured in Chrome 2026-11), and a mirrored current mark would be a lie. */
    .slideshow:dir(ltr) .slide-dots a:first-child::before {
      inline-size: var(--mark-size);
      background: var(--mark-off);
      box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-ink) 45%, transparent);
    }
    .slideshow:dir(ltr) .slide-count-cur > :first-child {
      opacity: 0;
    }
    .slideshow:dir(ltr) .slide-count-bar > :first-child {
      background: color-mix(in srgb, var(--color-ink-fg) 40%, transparent);
    }
    @media (prefers-reduced-motion: no-preference) {
      .slideshow:dir(ltr) .slide-dots a::before {
        animation: slide-mark linear both;
        animation-timeline: var(--tl);
      }
      .slideshow:dir(ltr) .slide-count-cur > * {
        animation: slide-num linear both;
        animation-timeline: var(--tl);
      }
      .slideshow:dir(ltr) .slide-count-bar > * {
        animation: slide-reached linear both;
        animation-timeline: var(--tl);
      }
    }
    /* Reduced motion: the same state, but it flips when more than half of the slide is in view; nothing is interpolated */
    @media (prefers-reduced-motion: reduce) {
      .slideshow:dir(ltr) .slide-dots a::before {
        animation: slide-mark-step linear both;
        animation-timeline: var(--tl);
      }
      .slideshow:dir(ltr) .slide-count-cur > * {
        animation: slide-num linear both;
        animation-timeline: var(--tl);
      }
      .slideshow:dir(ltr) .slide-count-bar > * {
        animation: slide-reached-step linear both;
        animation-timeline: var(--tl);
      }
    }
  }
}
@keyframes slide-mark {
  0%,
  25%,
  75%,
  100% {
    inline-size: var(--mark-size);
    background: var(--mark-off);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-ink) 45%, transparent);
  }
  50% {
    inline-size: var(--mark-wide);
    background: var(--mark-on);
    box-shadow: 0 0 0 1.5px var(--color-ink-fg);
  }
}
@keyframes slide-mark-step {
  0%,
  24.99%,
  75%,
  100% {
    inline-size: var(--mark-size);
    background: var(--mark-off);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-ink) 45%, transparent);
  }
  25%,
  74.99% {
    inline-size: var(--mark-wide);
    background: var(--mark-on);
    box-shadow: 0 0 0 1.5px var(--color-ink-fg);
  }
}
@keyframes slide-num {
  0%,
  24.99%,
  75%,
  100% {
    opacity: 0;
  }
  25%,
  74.99% {
    opacity: 1;
  }
}
@keyframes slide-reached {
  0%,
  25% {
    background: color-mix(in srgb, var(--color-ink-fg) 40%, transparent);
  }
  50%,
  100% {
    background: var(--mark-on);
  }
}
@keyframes slide-reached-step {
  0%,
  24.99% {
    background: color-mix(in srgb, var(--color-ink-fg) 40%, transparent);
  }
  25%,
  100% {
    background: var(--mark-on);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .slides {
    scroll-behavior: smooth;
  }
}

/* Image and text */
.split {
  display: grid;
  gap: calc(var(--space) * 4);
  align-items: center;
}
.split-media {
  margin: 0;
}
.split-media figcaption {
  margin-block-start: var(--space);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}
@media (min-width: 48rem) {
  .split:not(.split--text) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* The image side follows the reading direction (grid order, no left/right): `start` puts the image first. */
  .split--start .split-media {
    order: -1;
  }
}

/* Quote */
.pull-quote figure {
  margin: 0;
}
.pull-quote blockquote {
  margin: 0;
  max-inline-size: 60rem;
}
.pull-quote blockquote h2 {
  margin: 0;
}
.pull-quote figcaption {
  margin-block-start: calc(var(--space) * 2);
  color: var(--color-muted);
}

/* Category tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(var(--space) * 3) calc(var(--space) * 2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tile {
  display: grid;
  gap: calc(var(--space) * 0.5);
  padding-block-start: var(--space);
  border-block-start: 2px solid var(--color-fg);
  color: var(--color-fg);
  text-decoration: none;
}
.tile:hover .tile-title {
  text-decoration: underline;
}
.tile-title {
  font-size: var(--text-2);
  font-weight: 700;
}
.tile-text {
  color: var(--color-muted);
  font-size: 0.9rem;
}
/* A filled tile (the tone of a tile): the colour and the text colour of the pair travel together, so the contrast is
   the palette's. A tint the palette does not set reads as the panel colour. */
.tile--filled {
  padding: calc(var(--space) * 2);
  border-block-start: 0;
  border-radius: var(--radius);
}
.tile--filled:hover,
.tile--filled:focus-visible {
  outline-color: currentColor;
}
.tile--surface {
  background: var(--color-surface);
  color: var(--color-fg);
}
.tile--ink {
  background: var(--color-ink);
  color: var(--color-ink-fg);
}
.tile--accent {
  background: var(--color-accent);
  color: var(--color-accent-fg);
}
.tile--tint-a {
  background: var(--color-tint-a, var(--color-surface));
  color: var(--color-tint-a-fg, var(--color-fg));
}
.tile--tint-b {
  background: var(--color-tint-b, var(--color-surface));
  color: var(--color-tint-b-fg, var(--color-fg));
}
.tile--tint-c {
  background: var(--color-tint-c, var(--color-surface));
  color: var(--color-tint-c-fg, var(--color-fg));
}
.tile--filled .tile-text {
  color: inherit;
}
.tile-rank {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.tiles--card .tile {
  align-content: start;
  padding: calc(var(--space) * 2);
  border-block-start: 0;
  border-radius: var(--radius);
}
.tiles--card .tile:not(.tile--filled) {
  background: var(--color-surface);
}
.tiles--card .tile-title::after {
  content: ' \2192' / '';
}
@media (min-width: 48rem) {
  .tiles--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tiles--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Image gallery: square pictures (no layout shift: the image carries width and height as well); the link is the
   picture and a stretched ::after makes the whole figure, caption included, its target */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space);
  margin: 0;
  padding: 0;
  list-style: none;
}
.image-gallery figure {
  position: relative;
  margin: 0;
}
.image-gallery-image {
  inline-size: 100%;
  aspect-ratio: 1 / 1;
  block-size: auto;
  object-fit: cover;
  border-radius: var(--radius);
}
.image-gallery-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.image-gallery-link::after {
  content: '';
  position: absolute;
  inset: 0;
}
.image-gallery-link:focus-visible {
  outline: none;
}
.image-gallery-link:focus-visible::after {
  outline: 3px solid var(--color-link);
  outline-offset: 2px;
  border-radius: var(--radius);
}
.image-gallery-link:hover ~ .image-gallery-caption {
  text-decoration: underline;
}
.image-gallery-caption {
  margin-block-start: calc(var(--space) * 0.75);
  font-size: 0.9rem;
}
@media (min-width: 48rem) {
  .image-gallery--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .image-gallery--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Logo strip */
.logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space);
  margin: 0;
  padding: 0;
  list-style: none;
}
.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 10rem;
  block-size: 5rem;
  padding: var(--space);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}
.logo-card-image {
  max-block-size: 100%;
  object-fit: contain;
}

/* Band */
.cta-band {
  margin-block: var(--section-gap) 0;
  padding-block: calc(var(--space) * 8);
}
.cta-band--accent {
  background: var(--color-accent);
  color: var(--color-accent-fg);
}
.cta-band--surface {
  background: var(--color-surface);
}
.cta-body {
  max-inline-size: 32rem;
  font-size: var(--text-1);
}
/* Email sign-up form inside a band (P9c) */
.signup {
  display: grid;
  gap: var(--space);
  margin-block: calc(var(--space) * 2) 0;
  max-inline-size: 32rem;
}
.signup-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space);
}
.signup-input {
  flex: 1 1 14rem;
  font: inherit;
  padding: calc(var(--space) * 0.75);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-fg);
}
.signup-consent,
.signup-done,
.signup-error {
  margin: 0;
  font-size: 0.85rem;
}
.signup-error {
  font-weight: 600;
}
.cta-caption {
  margin-block: calc(var(--space) * 3) 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Image banner */
.banner {
  display: grid;
}
.banner > * {
  grid-area: 1 / 1;
}
.banner--short .banner-image,
.banner--medium .banner-image,
.banner--tall .banner-image {
  block-size: 22.5rem;
  aspect-ratio: auto;
}
.banner--medium .banner-image {
  block-size: 35rem;
}
.banner--tall .banner-image {
  block-size: 45rem;
}
.banner--screen .banner-image {
  block-size: 40.625rem;
  aspect-ratio: auto;
}
.banner--plain {
  background: var(--color-surface);
}
.banner--pos-center .banner-text {
  align-self: center;
}
.banner--pos-bottom-start .banner-text {
  align-self: end;
}
.banner--gradient .banner-text,
.banner--gradient-bottom .banner-text {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--color-ink) 88%, transparent),
    transparent 75%
  );
  max-inline-size: none;
}
/* The scrim is at the bottom, so the light text sits there by default (WCAG 1.4.3); Centre still centres it. */
.banner--gradient-bottom .banner-text {
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--color-ink) 88%, transparent),
    transparent 75%
  );
}
.banner--pos-center.banner--gradient-bottom .banner-text {
  justify-content: center;
}
.banner--pos-bottom-start.banner--gradient .banner-text {
  justify-content: flex-end;
}
.banner--gradient,
.banner--gradient-bottom {
  background: var(--color-border);
  color: var(--color-ink-fg);
}
.banner-caption {
  max-inline-size: none;
  margin-block: calc(var(--space) * 3) 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-align: end;
  text-transform: uppercase;
}
@media (min-width: 48rem) {
  .banner--screen .banner-image {
    block-size: 47.5rem;
  }
}
.banner--gradient .banner-text > *,
.banner--gradient-bottom .banner-text > * {
  max-inline-size: 36rem;
}
/* The text block is a stretching flex column: a button sizes to its content, as in the other overlays (D1, walk G-N20-a). */
.banner--gradient .banner-text > .button,
.banner--gradient-bottom .banner-text > .button {
  align-self: flex-start;
}
.banner--gradient .banner-text > .banner-caption,
.banner--gradient-bottom .banner-text > .banner-caption {
  max-inline-size: none;
}
.banner-body {
  max-inline-size: 36rem;
}

/* Collection header, sort toolbar, pills */
.collection-header {
  margin-block-end: calc(var(--space) * 3);
}
.collection-title {
  font-size: var(--text-3);
  margin-block-end: var(--space);
}
.collection-header--display .collection-title {
  font-size: var(--display-2-size);
  line-height: 1;
  letter-spacing: -0.02em;
}
.collection-description {
  max-inline-size: 40rem;
  white-space: pre-line;
  color: var(--color-muted);
  font-size: var(--text-1);
}
.collection-banner {
  margin-block-end: calc(var(--space) * 3);
  overflow: hidden;
  border-radius: var(--radius);
}
.collection-banner-image {
  inline-size: 100%;
  block-size: 13.75rem;
  object-fit: cover;
}
.collection-banner--medium .collection-banner-image {
  block-size: 22.5rem;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space);
  margin: 0;
  padding: 0;
  list-style: none;
}
.subcollections {
  margin-block-end: calc(var(--space) * 3);
}
.subcollections .pill span {
  color: var(--color-muted);
}
.subcollections .pill:hover span {
  color: inherit;
}
.pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid var(--color-fg);
  border-radius: 999px;
  color: var(--color-fg);
  text-decoration: none;
}
.pill:hover {
  background: var(--color-fg);
  color: var(--color-bg);
}
.listing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space) calc(var(--space) * 3);
  margin-block-end: calc(var(--space) * 2);
}
/* Segmented control (ZCD-SF-024): a pill row from 40rem, a <details> dropdown below it. */
.seg-row {
  display: none;
}
.seg-label {
  font-size: 0.85rem;
  color: var(--color-muted);
}
.seg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.seg-links a {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  padding-inline: 1rem;
  border-radius: 999px;
  color: var(--color-fg);
  text-decoration: none;
}
.seg-links a:hover {
  background: var(--color-border);
}
.seg-links a[aria-current] {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  font-weight: 700;
}
.seg-menu {
  position: relative;
}
.seg-menu > summary {
  display: flex;
  align-items: center;
  gap: var(--space);
  min-block-size: 2.75rem;
  padding-inline: 1rem;
  border: 1px solid var(--color-fg);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
}
.seg-menu > summary::-webkit-details-marker {
  display: none;
}
.seg-menu > summary::after {
  content: '';
  margin-inline-start: auto;
  border-inline: 0.3rem solid transparent;
  border-block-start: 0.4rem solid currentColor;
}
.seg-current {
  font-weight: 700;
}
.seg-menu .seg-links {
  flex-direction: column;
  margin-block-start: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
}
@media (min-width: 40rem) {
  .seg-row {
    display: flex;
    align-items: center;
    gap: var(--space);
  }
  .seg-menu {
    display: none;
  }
}
@media (max-width: 39.99rem) {
  .listing-toolbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  }
}
/* Grid / List buttons (ZCD-SF-024.AC13): two plain links, the current one filled. */
.view-switch {
  display: inline-flex;
  gap: 0.25rem;
  margin-inline-start: auto;
}
.view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border: 1px solid var(--color-fg);
  border-radius: 999px;
  color: var(--color-fg);
  text-decoration: none;
}
.view-button:hover {
  background: var(--color-border);
}
.view-button[aria-current] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-fg);
}
.view-button svg {
  inline-size: 1.25rem;
  block-size: 1.25rem;
  fill: currentColor;
}
/* List layout (ZCD-SF-024.AC14): one row per product, the picture on the left in the shape of the grid's. */
.grid.grid--list {
  --list-media: 7.5rem;
  --list-gap: calc(var(--space) * 2);
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.card--row {
  padding-block: calc(var(--space) * 2);
  border-block-end: 1px solid var(--color-border);
}
.card--row .card-link {
  display: grid;
  grid-template-columns: var(--list-media) minmax(0, 1fr);
  column-gap: var(--list-gap);
  align-content: start;
  align-items: start;
}
.card--row .card-link > * {
  grid-column: 2;
}
.card--row .card-media,
.card--row .card-placeholder {
  grid-column: 1;
  grid-row: 1 / span 6;
}
.card--row .card-body {
  margin-block-start: 0;
}
.card--row .card-body--end {
  grid-template-columns: minmax(0, 1fr);
}
.card-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-block-start: 0.25rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}
.card-swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-block-start: 0.4rem;
}
.card-dot {
  inline-size: 1rem;
  block-size: 1rem;
}
.card-dot--light circle {
  stroke: var(--color-muted);
  stroke-width: 1;
}
.card-dot-more {
  color: var(--color-muted);
  font-size: 0.8rem;
}
.card--row .card-badge,
.card--row .card-ships {
  margin-block-start: 0.25rem;
}
.card--row .card-action {
  margin-inline-start: calc(var(--list-media) + var(--list-gap));
}
.card--row .card-action .button {
  inline-size: auto;
}
@media (min-width: 40rem) {
  .grid.grid--list {
    --list-media: 12rem;
  }
}
.facet-values--pills,
.facet-values--swatches {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space);
}
.facet-values--pills label,
.facet-values--swatches label {
  min-block-size: 0;
}
.facet-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-inline-size: 2.75rem;
  min-block-size: 2.75rem;
  justify-content: center;
  padding-inline: 0.8rem;
  border: 1px solid var(--color-muted);
  border-radius: 999px;
  cursor: pointer;
}
.facet-values input[type='checkbox'] {
  accent-color: var(--color-fg);
}
.facet-pill input,
.swatch input {
  position: absolute;
  opacity: 0;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  margin: 0;
  cursor: pointer;
}
.facet-pill:has(input:checked) {
  background: var(--color-fg);
  border-color: var(--color-fg);
  color: var(--color-bg);
}
.facet-pill:has(input:focus-visible),
.swatch:has(input:focus-visible) {
  outline: 3px solid var(--color-link);
  outline-offset: 2px;
}
/* Colour swatches: the colour is the circle's fill attribute; the ring and the check come from here. The product page's option
   swatches are the same label (P5 D5); a picture swatch is a round image, a sold-out one is struck through (not colour alone). */
.facet-values .swatch,
.option-values .swatch {
  position: relative;
  display: inline-grid;
  place-items: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border-radius: 50%;
  cursor: pointer;
}
.swatch-dot {
  inline-size: 2.25rem;
  block-size: 2.25rem;
  overflow: visible;
}
.swatch-dot circle {
  stroke: var(--color-border);
  stroke-width: 1;
}
.swatch-dot--light circle {
  stroke: var(--color-muted);
  stroke-width: 1.5;
}
.swatch-check {
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}
.swatch-dot--light .swatch-check {
  stroke: #111;
}
.swatch:has(input:checked) {
  box-shadow: inset 0 0 0 3px var(--color-fg);
}
.swatch:has(input:checked) .swatch-check {
  opacity: 1;
}
.swatch-image {
  inline-size: 2.25rem;
  block-size: 2.25rem;
  border: 1px solid var(--color-muted);
  border-radius: 50%;
  object-fit: cover;
}
.option-values .option-value.swatch {
  padding: 0;
  border: 0;
  background: none;
}
/* The theme's checked accent outline is not the swatch's ring (the ring is the inset shadow above); the keyboard focus ring
   of `.swatch:has(input:focus-visible)` stays visible (WCAG 2.4.7, R2 M5): only a checked, unfocused swatch has no outline. */
.option-values .option-value.swatch:has(input:checked):not(:has(input:focus-visible)) {
  outline: 0;
}
.option-values .swatch.option-value--sold-out > :is(.swatch-dot, .swatch-image) {
  opacity: 0.5;
}
.option-values .swatch.option-value--sold-out::after {
  content: '';
  position: absolute;
  inset: 0.3rem;
  border-radius: 50%;
  background: linear-gradient(
    to top right,
    transparent calc(50% - 1px),
    var(--color-fg) calc(50% - 1px) calc(50% + 1px),
    transparent calc(50% + 1px)
  );
  pointer-events: none;
}

/* Product page */
.gallery--four_five .gallery-image,
.gallery--square .gallery-image {
  object-fit: cover;
}
.gallery--four_five .gallery-image {
  aspect-ratio: 4 / 5;
}
.gallery--square .gallery-image {
  aspect-ratio: 1;
}
.product-vendor {
  margin-block-end: 0;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.product-delivery {
  color: var(--color-muted);
  font-size: 0.95rem;
}
.product-specs {
  margin-block-start: calc(var(--space) * 4);
}
.product-specs table {
  inline-size: 100%;
  border-collapse: collapse;
}
.product-specs th,
.product-specs td {
  padding: calc(var(--space) * 1.25) var(--space);
  border-block-end: 1px solid var(--color-line);
  text-align: start;
  vertical-align: top;
}
.product-specs th {
  inline-size: 40%;
  font-weight: 700;
}
.product-related {
  margin-block-start: var(--section-gap);
}

/* Reveal: scroll-driven, only where the browser supports it and motion is welcome; otherwise static (SF-023.AC2) */
@keyframes reveal-in {
  from {
    translate: 0 1.5rem;
  }
  to {
    translate: 0 0;
  }
}
@keyframes ticker-move {
  to {
    translate: -50% 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ticker-track {
    inline-size: max-content;
    animation: ticker-move var(--ticker-duration, 40s) linear infinite;
  }
  .ticker-list {
    flex-wrap: nowrap;
    flex: none;
    gap: calc(var(--space) * 4);
    padding-inline: calc(var(--space) * 2);
  }
  .ticker-list[aria-hidden='true'] {
    display: flex;
  }
  .ticker:hover .ticker-track,
  .ticker:focus-within .ticker-track {
    animation-play-state: paused;
  }
  .nav-drawer {
    transition:
      translate var(--motion) ease-out,
      overlay var(--motion) allow-discrete,
      display var(--motion) allow-discrete;
  }
  .nav-drawer:popover-open {
    @starting-style {
      translate: -100% 0;
    }
  }
  .nav-drawer:not(:popover-open) {
    translate: -100% 0;
  }
  .tile,
  .pill,
  .button {
    transition:
      color var(--motion-fast) cubic-bezier(0.4, 0, 0.2, 1),
      background-color var(--motion-fast) cubic-bezier(0.4, 0, 0.2, 1);
  }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      /* `forwards`, not `both`: before it enters, a section is its normal, visible self (print, find-in-page, a
         full-page capture) and the first frame of the animation starts where it touches the viewport edge. */
      animation: reveal-in linear forwards;
      animation-timeline: view();
      /* A length, not a share of the section's height, and no opacity: a section that straddles the fold at load is
         only offset, never faded, so its text keeps its contrast (P-F1). */
      animation-range: entry 0% entry 8rem;
    }
  }
}

/* Preview bar (SD-163): above everything, not sticky (the header is) */
.preview-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space) calc(var(--space) * 2);
  padding: var(--space) 1rem;
  background: var(--color-ink);
  color: var(--color-ink-fg);
  font-size: 0.9rem;
}
.preview-bar p {
  margin: 0;
}
.preview-bar form {
  margin: 0;
}
.preview-bar .button--quiet {
  padding-block: 0.4rem;
  border-color: var(--color-ink-fg);
  color: var(--color-ink-fg);
}

/* Ticker, large (Edge: about 24 px, mixed case) */
.ticker--large .ticker-list {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
}

/* Card eyebrow: "01 / Brand" above the title */
.card-eyebrow {
  display: block;
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Product title at display size (catalogue 2.6: about 72 px on Edge) */
.product-title--display {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* Gallery with thumbnails: one image on the stage, a strip below; the radios switch it (no script) */
.gallery--thumbs {
  gap: calc(var(--space) * 1.5);
}
.gallery-radio {
  position: absolute;
  opacity: 0;
  inline-size: 1px;
  block-size: 1px;
  margin: 0;
  pointer-events: none;
}
.gallery--thumbs .gallery-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.gallery--thumbs .gallery-image {
  display: none;
}
.gallery--thumbs .gallery-radio:nth-of-type(1):checked ~ .gallery-stage .gallery-image:nth-child(1),
.gallery--thumbs .gallery-radio:nth-of-type(2):checked ~ .gallery-stage .gallery-image:nth-child(2),
.gallery--thumbs .gallery-radio:nth-of-type(3):checked ~ .gallery-stage .gallery-image:nth-child(3),
.gallery--thumbs .gallery-radio:nth-of-type(4):checked ~ .gallery-stage .gallery-image:nth-child(4),
.gallery--thumbs .gallery-radio:nth-of-type(5):checked ~ .gallery-stage .gallery-image:nth-child(5),
.gallery--thumbs .gallery-radio:nth-of-type(6):checked ~ .gallery-stage .gallery-image:nth-child(6),
.gallery--thumbs .gallery-radio:nth-of-type(7):checked ~ .gallery-stage .gallery-image:nth-child(7),
.gallery--thumbs .gallery-radio:nth-of-type(8):checked ~ .gallery-stage .gallery-image:nth-child(8),
.gallery--thumbs .gallery-radio:nth-of-type(9):checked ~ .gallery-stage .gallery-image:nth-child(9),
.gallery--thumbs
  .gallery-radio:nth-of-type(10):checked
  ~ .gallery-stage
  .gallery-image:nth-child(10) {
  display: block;
}
.gallery-thumbs {
  display: flex;
  gap: var(--space);
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
.gallery-thumbs label {
  flex: 0 0 auto;
  scroll-snap-align: start;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 0;
}
.gallery-thumb {
  inline-size: 3.5rem;
  block-size: 3.5rem;
  object-fit: cover;
  border-radius: 0;
}
.gallery--thumbs .gallery-radio:nth-of-type(1):checked ~ .gallery-thumbs label:nth-child(1),
.gallery--thumbs .gallery-radio:nth-of-type(2):checked ~ .gallery-thumbs label:nth-child(2),
.gallery--thumbs .gallery-radio:nth-of-type(3):checked ~ .gallery-thumbs label:nth-child(3),
.gallery--thumbs .gallery-radio:nth-of-type(4):checked ~ .gallery-thumbs label:nth-child(4),
.gallery--thumbs .gallery-radio:nth-of-type(5):checked ~ .gallery-thumbs label:nth-child(5),
.gallery--thumbs .gallery-radio:nth-of-type(6):checked ~ .gallery-thumbs label:nth-child(6),
.gallery--thumbs .gallery-radio:nth-of-type(7):checked ~ .gallery-thumbs label:nth-child(7),
.gallery--thumbs .gallery-radio:nth-of-type(8):checked ~ .gallery-thumbs label:nth-child(8),
.gallery--thumbs .gallery-radio:nth-of-type(9):checked ~ .gallery-thumbs label:nth-child(9),
.gallery--thumbs .gallery-radio:nth-of-type(10):checked ~ .gallery-thumbs label:nth-child(10) {
  border-color: var(--color-fg);
}
.gallery-radio:focus-visible ~ .gallery-thumbs label {
  outline: 3px solid var(--color-link);
  outline-offset: 2px;
}

/* Featured collection slider: one row in a scroll-snap scroller (no script, no autoplay). Two cards and a peek of
   a third below 40rem, three from 40rem, four from 64rem; the step links appear from 64rem and point at the first
   card of the neighbouring group of four. Only the scroller scrolls, never the page. */
.slider {
  --slider-n: 2.4;
  --slider-gap: calc(var(--space) * 2);
  --slider-r: 0.75;
  margin: 0 0 calc(var(--space) * 3);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  scrollbar-width: thin;
}
.slider.ratio-square {
  --slider-r: 1;
}
.slider.ratio-four_five {
  --slider-r: 1.25;
}
.slider.ratio-portrait {
  --slider-r: 1.5;
}
.slider:focus-visible {
  outline: 2px solid var(--color-fg);
  outline-offset: 2px;
}
.slider-track {
  display: flex;
  gap: var(--slider-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.slider .card {
  position: relative;
  flex: 0 0 calc((100% - (var(--slider-n) - 1) * var(--slider-gap)) / var(--slider-n));
  scroll-snap-align: start;
  container-type: inline-size;
}
.slider-step {
  position: absolute;
  inset-block-start: calc(50cqw * var(--slider-r) - 1.375rem);
  display: none;
}
.slider-prev {
  inset-inline-start: var(--space);
}
.slider-next {
  inset-inline-end: var(--space);
}
@media (min-width: 40rem) {
  .slider {
    --slider-n: 3;
  }
}
@media (min-width: 64rem) {
  .slider {
    --slider-n: 4;
  }
  .slider-step {
    display: inline-flex;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .slider {
    scroll-behavior: smooth;
  }
}

/* Header search (S7b, ZCD-SRCH-003): a plain form in the actions row; the suggestions drop under the field. On a phone
   the field takes the free width of the row; from 48rem it has a fixed width. */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(var(--space) * 0.5);
  min-inline-size: 0;
}
.search-input {
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 11rem;
  min-block-size: 2.75rem;
  padding: 0 calc(var(--space) * 1.25);
  border: 1px solid var(--color-muted);
  border-radius: var(--button-radius, var(--radius));
  background: var(--color-bg);
  color: var(--color-fg);
  font: inherit;
}
.search-input::-webkit-search-decoration {
  appearance: none;
}
.search-submit {
  min-block-size: 2.75rem;
  padding-block: 0;
  padding-inline: calc(var(--space) * 1.5);
}
.suggest {
  position: absolute;
  inset-block-start: 100%;
  inset-inline: 0;
  z-index: 40;
}
.suggest-list {
  margin: calc(var(--space) * 0.5) 0 0;
  padding: calc(var(--space) * 0.5) 0;
  list-style: none;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: 0 0.75rem 1.5rem color-mix(in srgb, var(--color-fg) 12%, transparent);
}
.suggest-link {
  display: flex;
  justify-content: space-between;
  gap: var(--space);
  min-block-size: 2.75rem;
  padding: calc(var(--space) * 0.75) calc(var(--space) * 1.5);
  color: var(--color-fg);
  text-decoration: none;
}
.suggest-link:hover,
.suggest-link:focus-visible {
  background: color-mix(in srgb, var(--color-fg) 6%, var(--color-surface));
  outline-offset: -3px;
}
.suggest-kind {
  color: var(--color-muted);
  font-size: 0.85rem;
}
.suggest-all {
  border-block-start: 1px solid var(--color-line);
  color: var(--color-link);
}
/* On a phone the search form takes a row of its own under the logo row: the actions box dissolves into the grid
   (`display: contents`) so the account and cart links keep their place at the end of the first row. */
@media (max-width: 47.99rem) {
  .header-row:has(.header-search) {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas:
      'toggle logo account cart'
      'search search search search';
    row-gap: var(--space);
  }
  .header-row:has(.header-search) .header-actions {
    display: contents;
  }
  .header-search {
    grid-area: search;
  }
  .header-account {
    grid-area: account;
  }
  .cart-nav {
    grid-area: cart;
  }
  .search-input {
    flex: 1;
    max-inline-size: none;
  }
}
@media (min-width: 48rem) {
  .search-input {
    inline-size: 14rem;
    max-inline-size: none;
  }
}

/* The search results page (S7b): the count with its notes, "did you mean", the collection and page hits. */
.search-notes {
  display: grid;
  gap: var(--space);
  margin-block-end: calc(var(--space) * 2);
}
.search-notes .listing-count {
  margin: 0;
}
.did-you-mean {
  margin: 0;
  font-size: 1.1rem;
}
.did-you-mean-link {
  font-weight: 600;
}
.search-other .pills {
  margin: 0;
}

/* Content pages (S7f.1, SD-237, ZCD-CNT-036, ZCD-CNT-037): the page_content article. Width is a class (style-src 'self');
   tokens only, logical properties. 42rem is the reading width, 64rem the wide one; the gutter follows the theme. */
.page-content {
  inline-size: 100%;
  max-inline-size: 42rem;
  margin-inline: auto;
  margin-block: var(--section-gap, calc(var(--space) * 6));
  padding-inline: var(--gutter, 1rem);
}
.page-content--wide {
  max-inline-size: 64rem;
}
@media (min-width: 80rem) {
  .page-content {
    padding-inline: var(--gutter-wide, 1rem);
  }
}
.page-title {
  font-size: var(--text-3);
  margin-block-end: var(--space);
}
.page-updated {
  margin-block: 0 calc(var(--space) * 2);
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.page-toc {
  margin-block-end: calc(var(--space) * 3);
  padding: calc(var(--space) * 2);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}
.page-toc ol {
  margin: 0;
  padding-inline-start: calc(var(--space) * 2.5);
}
.page-body > :last-child {
  margin-block-end: 0;
}
.page-body h2 {
  margin-block: calc(var(--space) * 4) var(--space);
  font-size: var(--text-2);
}
.page-body h3 {
  margin-block: calc(var(--space) * 3) var(--space);
}
.page-body > :first-child {
  margin-block-start: 0;
}
.page-body ul,
.page-body ol {
  margin-block: 0 var(--space);
  padding-inline-start: calc(var(--space) * 3);
}
.page-body li + li {
  margin-block-start: calc(var(--space) * 0.5);
}
.page-body blockquote {
  margin-block: 0 var(--space);
  margin-inline: 0;
  padding-inline-start: calc(var(--space) * 2);
  border-inline-start: 3px solid var(--color-line);
}
.page-body blockquote footer {
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.page-body hr {
  margin-block: calc(var(--space) * 3);
  border: 0;
  border-block-start: 1px solid var(--color-line);
}
.page-body code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
}
.callout {
  margin-block: var(--space);
  padding: calc(var(--space) * 2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
}
.callout p:last-child {
  margin-block-end: 0;
}
.page-button {
  margin-block: calc(var(--space) * 2);
}
.page-figure {
  margin-block: 0 var(--space);
  margin-inline: 0;
}
.page-figure figcaption {
  margin-block-start: calc(var(--space) * 0.5);
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.faq {
  border-block-end: 1px solid var(--color-line);
}
.faq:first-of-type {
  border-block-start: 1px solid var(--color-line);
}
.faq > summary {
  padding-block: calc(var(--space) * 1.5);
  font-weight: 600;
  cursor: pointer;
}
.faq-answer {
  padding-block-end: var(--space);
}
.faq-answer p:last-child {
  margin-block-end: 0;
}

/* Cart, checkout, return and account pages (SPECS 10.1). Same tokens as lantern.css; logical properties only. */

/* Header icons (SD-247): the bag and the person are 2.75 rem round targets with a stroke icon; the visible text is
   gone (the name is an aria-label or visually hidden text). The count is a badge on the bag's inline-end top corner. */
.icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border-radius: 999px;
  color: var(--color-fg);
  text-decoration: none;
}
.icon-link:hover {
  background: color-mix(in srgb, var(--color-fg) 8%, transparent);
}
.icon-link .icon {
  display: block;
  inline-size: 1.375rem;
  block-size: 1.375rem;
}
.cart-nav {
  display: flex;
  align-items: center;
}
.cart-count:not(:empty) {
  position: absolute;
  inset-block-start: 0.15rem;
  inset-inline-end: 0;
  min-inline-size: 1.25rem;
  padding-inline: 0.3rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-accent-fg);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
}

/* The cart drawer (ZCD-SF-022, SD-165). The node is filled by the server's answer, so it is content-driven, not a
   popover. From 40rem: a panel at the inline end, the full viewport high, min(26rem, 100%) wide, over a dimming
   backdrop that closes it. Below 40rem the same panel, min(26rem, 92 %) wide (a strip of the dimmed page stays at the
   start edge to tap), slides in from the right too: no bottom sheet at any width (owner 2026-11-03). */
.cart-drawer:empty {
  display: none;
}
.cart-drawer:not(:empty) {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  background: rgb(0 0 0 / 45%);
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: default;
}
.drawer {
  position: relative;
  inline-size: min(26rem, 100%);
  block-size: 100%;
  overflow: auto;
  padding: calc(var(--space) * 2.5);
  border-inline-start: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-fg);
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space);
  padding-block-end: var(--space);
  margin-block-end: calc(var(--space) * 1.5);
  border-block-end: 1px solid var(--color-line);
}
.drawer-head h2 {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.drawer h2:focus {
  outline: none;
}
.drawer-lines {
  list-style: none;
  margin: 0 0 var(--space);
  padding: 0;
}
.drawer-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space) calc(var(--space) * 1.5);
  padding-block: var(--space);
  border-block-end: 1px solid var(--color-line);
}
.drawer-line--media {
  grid-template-columns: 3rem 1fr auto;
}
.drawer-image {
  inline-size: 3rem;
  block-size: 3rem;
  object-fit: cover;
  border-radius: var(--radius);
}
.drawer-line-title {
  min-inline-size: 0;
}
.drawer-line-amount {
  font-weight: 600;
}
.drawer-subtotal {
  display: flex;
  justify-content: space-between;
  gap: var(--space);
  margin-block: var(--space) calc(var(--space) * 2);
  font-weight: 700;
}
.drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space);
  margin: 0 0 var(--space);
}
.drawer-actions .button {
  flex: 1 1 8rem;
  text-align: center;
}
.drawer-close {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  padding-inline: var(--space);
  color: var(--color-fg);
}

@media (width < 40rem) {
  .drawer {
    inline-size: min(26rem, 92%);
  }
  .drawer-actions {
    flex-direction: column;
  }
  .drawer-actions .button {
    flex: none;
    inline-size: 100%;
    padding-block: calc(var(--space) * 1.75);
  }
}

/* Slide-in: the starting style applies once when htmx inserts the node; there is no exit (the node is replaced). */
@media (prefers-reduced-motion: no-preference) {
  .cart-drawer:not(:empty) {
    transition: background-color var(--motion) ease-out;
    @starting-style {
      background: rgb(0 0 0 / 0%);
    }
  }
  .drawer {
    transition: translate var(--motion) ease-out;
    @starting-style {
      translate: 100% 0;
    }
  }
  .drawer:dir(rtl) {
    @starting-style {
      translate: -100% 0;
    }
  }
}

/* Back in stock (ZCD-INV-014) */
.stock-alert {
  display: grid;
  gap: var(--space);
  margin-block: calc(var(--space) * 2);
  max-inline-size: 26rem;
}
.stock-alert-title {
  font-size: 1.1rem;
  margin: 0;
}
.stock-alert-field {
  display: grid;
  gap: calc(var(--space) * 0.5);
}
.stock-alert input[type='email'],
.stock-alert input[type='text'] {
  font: inherit;
  padding: calc(var(--space) * 0.75);
  border: 1px solid var(--color-muted);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-fg);
  max-inline-size: 100%;
}
.stock-alert-consent,
.stock-alert-done {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}
.stock-alert-error {
  margin: 0;
  color: var(--color-sale);
}
.stock-alert .button {
  justify-self: start;
}

/* Add to cart */
.add-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: calc(var(--space) * 1.5);
  margin-block: calc(var(--space) * 2);
}
.add-qty {
  display: grid;
  gap: calc(var(--space) * 0.5);
}
.add-qty input {
  inline-size: 5rem;
}
.cart-notice:empty {
  display: none;
}
.cart-notice,
.pay-notice:not(:empty),
.form-errors {
  margin-block: var(--space);
  padding: calc(var(--space) * 1.5);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
}
.cart-notice--error,
.pay-notice--error,
.form-errors {
  border-color: var(--color-sale);
}
.cart-notice p,
.form-errors p {
  margin: 0;
}
.offers {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space);
  list-style: none;
  margin: var(--space) 0 0;
  padding: 0;
}

/* Cart lines */
.cart-lines {
  list-style: none;
  margin: 0 0 calc(var(--space) * 3);
  padding: 0;
}
.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space) calc(var(--space) * 2);
  padding-block: calc(var(--space) * 2);
  border-block-end: 1px solid var(--color-border);
}
.line-backorder {
  color: var(--color-muted);
  font-size: 0.95rem;
}
.cart-line-main p,
.cart-line-amount {
  margin: 0;
}
.cart-line-title {
  font-weight: 600;
}
.cart-line-sku,
.cart-line-price,
.cart-note {
  color: var(--color-muted);
  font-size: 0.9rem;
}
.cart-line-amount {
  font-weight: 600;
}
.line-controls {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space) calc(var(--space) * 2);
}
.qty-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space);
}
.qty-form input {
  inline-size: 5rem;
}
.line-alert {
  margin-block: calc(var(--space) * 0.5);
  color: var(--color-sale);
  font-weight: 600;
}
.button--disabled,
.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
/* In-flight add (SD-232): htmx puts .htmx-request on the form (hx-indicator="this") and disables the button
   (hx-disabled-elt); the labels swap here. Nothing moves, so reduced motion needs no exception. */
.label-busy {
  display: none;
}
.htmx-request .label-busy {
  display: inline;
}
.htmx-request .label-idle {
  display: none;
}
.htmx-request .button:disabled {
  cursor: progress;
}
.free-ship {
  margin-block-end: calc(var(--space) * 2);
}
.free-ship progress {
  inline-size: 100%;
  block-size: 0.6rem;
  accent-color: var(--color-accent);
}

/* Discount codes (S7d): the field with its Apply button, the codes on the cart with their notes. */
.cart-codes {
  margin-block: calc(var(--space) * 2);
}
.cart-codes-title {
  margin: 0 0 var(--space);
  font-size: 1rem;
}
.code-list {
  display: grid;
  gap: var(--space);
  margin: 0 0 var(--space);
  padding: 0;
  list-style: none;
}
.code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(var(--space) * 0.5) var(--space);
}
.code-name {
  font-weight: 600;
  letter-spacing: 0.04em;
}
.code-row--off .code-name {
  color: var(--color-muted);
  text-decoration: line-through;
}
.code-saving {
  font-weight: 600;
}
.code-remove {
  margin-inline-start: auto;
}
.code-note {
  flex-basis: 100%;
  margin: 0;
  color: var(--color-muted);
}
.code-form {
  display: grid;
  gap: calc(var(--space) * 0.5);
}
.code-form label {
  font-weight: 600;
}
.code-field {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space);
}
.code-field input {
  flex: 1 1 10rem;
  min-inline-size: 0;
  text-transform: uppercase;
}
.drawer-saving,
.totals-row--save {
  color: var(--color-sale);
}

/* Totals */
.totals {
  margin: 0 0 calc(var(--space) * 2);
}
.totals-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space);
  padding-block: calc(var(--space) * 0.5);
}
.totals-row dt,
.totals-row dd {
  margin: 0;
}
.totals-row--grand {
  border-block-start: 1px solid var(--color-border);
  font-weight: 700;
}

/* Checkout */
.checkout-layout {
  display: grid;
  gap: calc(var(--space) * 4);
}
@media (min-width: 60rem) {
  .checkout-layout {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: start;
  }
}
.step {
  margin-block-end: calc(var(--space) * 3);
  padding-block-end: calc(var(--space) * 2);
  border-block-end: 1px solid var(--color-border);
}
.step--todo .step-heading {
  color: var(--color-muted);
}
.step-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space);
}
.step-number {
  display: inline-grid;
  place-items: center;
  inline-size: 1.8rem;
  block-size: 1.8rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-accent-fg);
  font-size: 0.95rem;
}
.step--todo .step-number {
  background: var(--color-muted);
}
.step-edit {
  margin-inline-start: auto;
  font-size: 0.95rem;
  font-weight: 400;
}
.step-summary,
.step-aside {
  color: var(--color-muted);
}
.step-form {
  display: grid;
  gap: calc(var(--space) * 1.5);
}
.checkout-summary {
  padding: calc(var(--space) * 2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.field {
  display: grid;
  gap: calc(var(--space) * 0.5);
}
.field label {
  font-weight: 600;
}
.field-optional {
  color: var(--color-muted);
  font-weight: 400;
}
.field input:not([type='checkbox']):not([type='radio']),
.field select,
.field textarea {
  inline-size: 100%;
  font: inherit;
  padding: calc(var(--space) * 0.9);
  border: 1px solid var(--color-muted);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-fg);
}
.field--invalid input,
.field--invalid select {
  border: 2px solid var(--color-sale);
}
.field-error {
  margin: 0;
  color: var(--color-sale);
  font-weight: 600;
}
.field--check label,
.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-weight: 400;
}
fieldset {
  min-inline-size: 0;
  margin: 0;
  padding: calc(var(--space) * 1.5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.rates,
.saved-addresses {
  display: grid;
  gap: var(--space);
}
.billing {
  padding-block: var(--space);
}
.payment-island {
  min-block-size: 3rem;
}
.button--pay {
  inline-size: 100%;
}
.pay-notice--changed {
  border-color: var(--color-accent);
}

/* Return, thank-you, messages */
.return-status progress {
  inline-size: 100%;
}
.return,
.thanks,
.message,
.account,
.cart,
.checkout {
  padding-block: calc(var(--space) * 3);
}

/* Account */
.account-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(var(--space) * 2);
  list-style: none;
  margin: 0 0 calc(var(--space) * 2);
  padding: 0;
}
.account-nav [aria-current] {
  font-weight: 700;
}
.orders {
  inline-size: 100%;
  border-collapse: collapse;
}
.orders th,
.orders td {
  padding: calc(var(--space) * 0.75);
  border-block-end: 1px solid var(--color-border);
  text-align: start;
}
.saved-list {
  padding-inline-start: 1.2rem;
}
/* The fulfilment word and the parcel lines of the order list (P3 R2) */
.orders .fulfilment {
  margin: calc(var(--space) * 0.25) 0 0;
  font-weight: 600;
}
ul.shipments {
  margin: calc(var(--space) * 0.25) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875em;
  overflow-wrap: anywhere;
}
ul.shipments li + li {
  margin-block-start: calc(var(--space) * 0.25);
}

/* Product thumbnails in the cart, the drawer and the checkout summary */
.cart-line--media {
  grid-template-columns: 4rem 1fr auto;
}
.cart-line-image {
  inline-size: 4rem;
  block-size: 4rem;
  object-fit: cover;
  border-radius: var(--radius);
}
.field-hint {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}
