/* Storefront styles. Authored tokens, no build step. Mobile-first. */
:root {
  --bg: #FCFAF8;
  --surface: #FFFFFF;
  --ink: #1D191A;
  --muted: #6F6669;
  --border: #EAE3E4;
  --accent: #7B3658;
  --accent-hover: #5E2440;
  --rose: #E8D2D8;
  --champagne: #C49A63;
  --ok: #347A59;
  --danger: #A4262C;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --radius: 2px;
  --tap: 2.75rem; /* 44px minimum hit target */
  --container: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.12; }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0; padding: 0; list-style: none; }
main:focus { outline: none; }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-4); }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-3); top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: var(--space-3) var(--space-4); text-decoration: none;
}
.skip-link:focus { top: var(--space-3); color: #fff; }
.no-scroll { overflow: hidden; }

/* ---------- Type ---------- */
.display, .page-title, .section__title, .product__title, .wordmark, .media__title,
.product-card__title, .brand-index a,
.prose__title, .summary__title, .empty h2, .steps h3 {
  font-family: var(--font-display);
}
.display { font-size: clamp(2.5rem, 9vw, 4.75rem); font-weight: 500; letter-spacing: -0.01em; margin-bottom: var(--space-5); }
.page-title { font-size: clamp(2rem, 6vw, 3.25rem); margin-bottom: var(--space-4); }
.section__title { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-3); font-weight: 600; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { color: var(--accent); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 38rem; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--tap); padding: 0 var(--space-5);
  border: 1px solid var(--accent); border-radius: var(--radius);
  background: var(--accent); color: #fff;
  font: 600 0.9375rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--border); }
.btn--ghost:hover { background: var(--surface); color: var(--accent-hover); border-color: var(--accent); }
.btn--text { background: transparent; border-color: transparent; color: var(--muted); padding-inline: var(--space-3); }
.btn--text:hover { background: transparent; border-color: transparent; color: var(--accent-hover); text-decoration: underline; }
.btn--wide { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 600; text-decoration: none; }
.link-arrow::after { content: "→"; margin-left: var(--space-2); transition: transform 0.15s; }
.link-arrow:hover::after { transform: translateX(3px); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--tap); height: var(--tap); border: 0; background: transparent; color: var(--ink);
  font-size: 1.5rem; cursor: pointer; border-radius: var(--radius);
}
.badge { display: inline-block; min-width: 1.25rem; padding: 0 0.35rem; border-radius: 1rem; background: var(--accent); color: #fff; font-size: 0.75rem; line-height: 1.25rem; text-align: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--border); padding-top: env(safe-area-inset-top); }
.site-header__bar { display: flex; align-items: center; gap: var(--space-3); min-height: 3.75rem; }
.wordmark { font-size: 1.5rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: 0.02em; margin: 0; flex: none; }
a.wordmark:hover { color: var(--accent); }
.basket-link {
  display: none; align-items: center; gap: var(--space-2);
  min-height: var(--tap); padding-inline: var(--space-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem;
}
.basket-link:hover { color: var(--accent); }
.basket-link__count, .bottom-nav__count {
  min-width: 1.5rem; height: 1.5rem; padding: 0 0.4rem; border-radius: 1rem;
  background: var(--ink); color: #fff; font-size: 0.75rem; line-height: 1.5rem; text-align: center;
}
.basket-link__count[data-cart-count="0"] { background: transparent; color: var(--muted); border: 1px solid var(--border); line-height: calc(1.5rem - 2px); }
.site-nav { display: none; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-2); }
.site-nav a {
  display: flex; align-items: center; min-height: var(--tap); padding-inline: var(--space-3);
  color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 500;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }

/* Search is always in the header: it is the primary way in for shoppers new to the site. */
.header-search { position: relative; flex: 1; min-width: 0; }
.header-search input {
  width: 100%; min-height: 3rem; padding: 0 3rem 0 var(--space-4);
  border: 1px solid #CFC5C7; border-radius: 1.5rem; background: var(--surface); font: inherit; font-size: 1rem;
}
.header-search__submit {
  position: absolute; top: 0; right: 0; width: 3rem; height: 3rem; display: grid; place-items: center;
  border: 0; background: transparent; color: var(--accent); cursor: pointer; border-radius: 50%;
}
.header-search__submit svg, .bottom-nav svg, .product-card__buy svg {
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* Bottom navigation: four large targets, reachable by thumb. Hidden on desktop. */
.bottom-nav {
  position: fixed; inset: auto 0 0 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav ul { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 40rem; margin-inline: auto; }
.bottom-nav a {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 3.5rem; padding: var(--space-1) 0; color: var(--muted); text-decoration: none; font-size: 0.75rem; font-weight: 600;
}
.bottom-nav svg { width: 1.5rem; height: 1.5rem; }
.bottom-nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 2px 0 var(--accent); }
.bottom-nav a:hover { color: var(--accent-hover); }
.bottom-nav__count { position: absolute; top: 0.25rem; left: calc(50% + 0.5rem); min-width: 1.25rem; height: 1.25rem; line-height: 1.25rem; padding: 0 0.3rem; background: var(--accent); }
.bottom-nav__count[data-cart-count="0"] { display: none; }
.has-bottom-nav { padding-bottom: calc(3.5rem + env(safe-area-inset-bottom)); }

@media (min-width: 64rem) {
  .site-header__bar { gap: var(--space-5); min-height: 4rem; }
  .wordmark { font-size: 1.75rem; }
  .site-nav { display: block; margin-left: var(--space-3); }
  .header-search { flex: 0 1 18rem; margin-left: auto; }
  .header-search input { min-height: var(--tap); border-radius: var(--radius); font-size: 0.9375rem; }
  .header-search__submit { width: var(--tap); height: var(--tap); }
  .basket-link { display: inline-flex; }
  .bottom-nav { display: none; }
  .has-bottom-nav { padding-bottom: 0; }
}

/* ---------- Messages ---------- */
.messages { padding-top: var(--space-4); }
.message { margin: 0 0 var(--space-3); padding: var(--space-3) var(--space-4); border: 1px solid var(--border); border-left: 3px solid var(--accent); background: var(--surface); }
.message--error { border-left-color: var(--danger); }
.message--success { border-left-color: var(--ok); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-7); }
.section--flush { padding-top: var(--space-4); }
.section--tint { background: var(--surface); border-block: 1px solid var(--border); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2) var(--space-5); margin-bottom: var(--space-5); }
.section__title { margin-bottom: var(--space-5); }
.section__head .section__title { margin-bottom: 0; }
.page-head { padding-top: var(--space-5); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-2); font-size: 0.875rem; color: var(--muted); margin-bottom: var(--space-3); }
.breadcrumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: var(--tap); }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- Home ---------- */
.hero { padding-block: var(--space-5) var(--space-4); }
.hero .display { font-size: clamp(2rem, 8vw, 4rem); margin-bottom: var(--space-3); }
.hero .lead { font-size: 1rem; margin-bottom: var(--space-4); }
.hero .eyebrow { margin-bottom: var(--space-2); }
@media (min-width: 56rem) { .hero { padding-block: var(--space-7) var(--space-5); } .hero .lead { font-size: 1.125rem; } }
.section--first { padding-top: var(--space-4); }

/* Horizontal shortcut chips: scroll sideways on a phone, wrap on desktop. */
.shortcuts-wrap { margin-block: var(--space-3); }
.shortcuts {
  display: flex; gap: var(--space-2); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  margin-inline: calc(var(--space-4) * -1); padding: var(--space-1) var(--space-4);
}
.shortcuts::-webkit-scrollbar { display: none; }
.shortcuts li { flex: none; scroll-snap-align: start; }
.shortcut {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--space-4);
  border: 1px solid var(--border); border-radius: 2rem; background: var(--surface); color: var(--ink);
  font-size: 0.9375rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.shortcut:hover { border-color: var(--accent); color: var(--accent-hover); }
.shortcut[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.shortcut--link { background: transparent; color: var(--muted); }
@media (min-width: 64rem) { .shortcuts { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.steps { display: grid; gap: var(--space-5); counter-reset: step; margin-bottom: var(--space-5); }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: var(--space-3); }
.steps li::before { content: counter(step, decimal-leading-zero); font: 600 0.75rem var(--font-body); letter-spacing: 0.1em; color: var(--champagne); }
.steps h3 { font-size: 1.5rem; margin-block: var(--space-2); }
.steps p { color: var(--muted); margin: 0; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } }
.brand-index { display: flex; flex-wrap: wrap; gap: 0 var(--space-6); }
.brand-index a { display: inline-flex; align-items: center; min-height: var(--tap); font-size: 1.5rem; color: var(--ink); text-decoration: none; }
.brand-index a:hover { color: var(--accent); text-decoration: underline; }
.brand-index--large a { font-size: 2rem; min-height: 3.5rem; }

/* ---------- Product listing ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-3); }
@media (min-width: 48rem) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); } }
@media (min-width: 72rem) { .catalogue__results .product-grid { grid-template-columns: repeat(3, 1fr); } .section .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card__link { display: block; text-decoration: none; color: var(--ink); }
.product-card__link:hover .product-card__title { color: var(--accent); text-decoration: underline; text-underline-offset: 0.15em; }
.product-card__link .media { margin-bottom: var(--space-2); }
.product-card__brand { display: block; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.product-card__title { display: block; font-size: 1.1875rem; line-height: 1.2; margin-top: var(--space-1); }
.product-card__meta { display: flex; flex-direction: column; gap: 0; margin: var(--space-1) 0 var(--space-3); font-size: 1rem; }
.product-card__category { display: none; font-size: 0.875rem; }
.product-card__buy { margin-top: auto; }
.product-card .btn { min-height: 3rem; padding-inline: var(--space-3); }
.product-card > .btn { margin-top: auto; }
@media (min-width: 48rem) {
  .product-card__title { font-size: 1.375rem; }
  .product-card__category { display: block; }
}
.price { font-weight: 600; font-variant-numeric: tabular-nums; }
.price--large { font-size: 1.5rem; }
.status { font-size: 0.875rem; font-weight: 600; margin: 0; }
.status--ok { color: var(--ok); }
.status--off { color: var(--muted); font-weight: 500; }

.media { aspect-ratio: 4 / 5; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--placeholder {
  display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-4);
  background: #F4EEEF; color: var(--accent);
}
.media__brand { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.media__title { font-size: clamp(1.25rem, 3vw, 1.75rem); line-height: 1.1; color: var(--ink); }

/* ---------- Catalogue layout & filters ---------- */
.catalogue__toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-block: var(--space-2) var(--space-3); }
.filters-toggle { min-height: 3rem; }
.catalogue__toolbar p { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.chip {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--space-4);
  border: 1px solid var(--rose); background: #F8EDF0; color: var(--accent-hover); border-radius: 2rem; font-size: 0.875rem; font-weight: 600; text-decoration: none;
}
.chip:hover { border-color: var(--accent); color: var(--accent-hover); }
.chip--reset { background: transparent; border-color: var(--border); color: var(--muted); }

.catalogue__layout { display: block; padding-bottom: var(--space-7); }
.filters { font-size: 0.9375rem; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
.filters__title { font-size: 1.5rem; font-family: var(--font-display); }
.filters__close { display: none; }
.filters__actions { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.filters__actions .btn { flex: 1; }
.choice-group { border: 0; border-top: 1px solid var(--border); margin: 0; padding: var(--space-4) 0; min-width: 0; }
.choice-group legend { padding: 0; margin-bottom: var(--space-2); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--muted); float: left; width: 100%; }
.choice-group legend + * { clear: both; }
.choice { display: flex; align-items: center; gap: var(--space-3); min-height: var(--tap); cursor: pointer; }
.choice input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--accent); flex: none; }
.choice:hover span { color: var(--accent); }

/* Filters are an ordinary visible form without JS; with JS they open as a bottom sheet on mobile. */
.js .filters-toggle { display: inline-flex; }
.filters-toggle { display: none; }
@media (max-width: 63.99rem) {
  .js .filters {
    position: fixed; inset: auto 0 0 0; z-index: 60; max-height: 85vh; max-height: 85dvh;
    background: var(--bg); padding: var(--space-4) var(--space-4) 0; overflow-y: auto;
    border-radius: 1rem 1rem 0 0; border-top: 1px solid var(--border);
    transform: translateY(102%); visibility: hidden; transition: transform 0.2s, visibility 0.2s;
  }
  .js .filters.is-open { transform: none; visibility: visible; }
  .js .filters__close { display: inline-flex; }
  .js .filters__actions {
    position: sticky; bottom: 0; margin: var(--space-4) calc(var(--space-4) * -1) 0;
    padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
    background: var(--bg); border-top: 1px solid var(--border);
  }
  .js .filters__actions .btn { min-height: 3.25rem; }
  .js .filters__actions .btn--primary { flex: 2; }
  .scrim { position: fixed; inset: 0; z-index: 50; background: rgba(29, 25, 26, 0.45); }
  .scrim[hidden] { display: none; }
  .filters { margin-bottom: var(--space-6); }
}
@media (min-width: 64rem) {
  .filters-toggle, .js .filters-toggle { display: none; }
  .catalogue__layout { display: grid; grid-template-columns: 16rem 1fr; gap: var(--space-7); align-items: start; }
  .filters { position: sticky; top: 5rem; max-height: calc(100vh - 6rem); overflow-y: auto; padding-right: var(--space-2); }
  .scrim { display: none; }
}
.pagination { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-7); }
.empty { padding-block: var(--space-7); max-width: 32rem; }
.empty h2 { font-size: 2rem; margin-bottom: var(--space-3); }
.empty .btn { margin: var(--space-2) var(--space-2) 0 0; }

/* ---------- Forms ---------- */
.field { margin-bottom: var(--space-4); }
.field label { display: block; margin-bottom: var(--space-1); font-size: 0.875rem; font-weight: 600; }
input[type="text"], input[type="search"], input[type="email"], input[type="number"], input[type="tel"], select, textarea {
  width: 100%; min-height: var(--tap); padding: var(--space-2) var(--space-3);
  border: 1px solid #CFC5C7; border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit;
}
textarea { min-height: 6rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field--error input, .field--error textarea, .field--error select, [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.875rem; font-weight: 600; margin: var(--space-1) 0 0; }
.field__help { font-size: 0.8125rem; margin: var(--space-1) 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Product page ---------- */
.product { display: grid; gap: var(--space-6); padding-bottom: var(--space-8); }
@media (min-width: 56rem) { .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; } .gallery { position: sticky; top: 5.5rem; } }
.gallery__thumbs { display: flex; gap: var(--space-2); margin-top: var(--space-2); overflow-x: auto; }
.gallery__thumbs a { display: block; width: 4.5rem; aspect-ratio: 4 / 5; border: 1px solid var(--border); overflow: hidden; }
.gallery__thumbs a[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__title { font-size: clamp(2.25rem, 6vw, 3.5rem); margin-bottom: var(--space-4); }
.buy { margin-block: var(--space-5); padding-block: var(--space-5); border-block: 1px solid var(--border); }
.buy .price { margin-bottom: var(--space-1); }
.buy .status { margin-bottom: var(--space-4); }
.variant-picker { border: 0; margin: 0 0 var(--space-4); padding: 0; min-width: 0; }
.variant-picker legend { font-size: 0.875rem; font-weight: 600; padding: 0; margin-bottom: var(--space-2); }
.variant-picker ul { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.variant-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.variant-picker label {
  display: flex; flex-direction: column; justify-content: center; min-width: 6.5rem; min-height: 3.25rem; padding: var(--space-2) var(--space-4);
  border: 1px solid #CFC5C7; border-radius: var(--radius); background: var(--surface); cursor: pointer; font-size: 0.9375rem; font-weight: 600; line-height: 1.3;
}
.variant-picker label .muted { font-weight: 500; font-size: 0.8125rem; }
.variant-picker label:hover { border-color: var(--accent); }
.variant-picker input:checked + label { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: #F8EDF0; }
.variant-picker input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.buy__row { display: flex; align-items: flex-end; gap: var(--space-3); }
.field--qty { margin: 0; width: 5.5rem; flex: none; }
.buy__row .btn { flex: 1; min-height: 3.5rem; font-size: 1rem; }
.unavailable { margin-bottom: var(--space-5); }
.unavailable__title { font: 700 0.75rem var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-1); }
.unavailable li { color: var(--muted); }
.disclosure { border-bottom: 1px solid var(--border); margin-bottom: var(--space-5); }
.disclosure summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 3.25rem; cursor: pointer; font-weight: 600; list-style: none;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after { content: "+"; font-size: 1.25rem; color: var(--accent); }
.disclosure[open] summary::after { content: "−"; }
.disclosure__body { padding-bottom: var(--space-3); color: var(--muted); }
.prose { max-width: 40rem; }
.prose--page { padding-bottom: var(--space-8); }
.prose p { color: var(--ink); }
.prose__title { font-size: 1.75rem; margin: var(--space-6) 0 var(--space-3); }
.prose > .prose__title:first-child { margin-top: 0; }
.contact-list { display: grid; gap: var(--space-4); margin: 0 0 var(--space-5); }
.contact-list dt { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-list dd { margin: 0; font-size: 1.25rem; }

/* ---------- Cart, checkout, confirmation ---------- */
.cart { display: grid; gap: var(--space-6); padding-bottom: var(--space-8); }
@media (min-width: 56rem) { .cart { grid-template-columns: minmax(0, 1fr) 22rem; gap: var(--space-7); align-items: start; } }
.cart__lines { border-top: 1px solid var(--ink); }
.cart-line {
  display: grid; grid-template-columns: 1fr auto; gap: var(--space-2) var(--space-4);
  padding-block: var(--space-4); border-bottom: 1px solid var(--border); align-items: center;
}
.cart-line__info { grid-column: 1 / -1; }
.cart-line__info p { margin: 0; font-size: 0.875rem; }
.cart-line__title { font: 500 1.375rem/1.2 var(--font-display); color: var(--ink); text-decoration: none; }
.cart-line__title:hover { color: var(--accent); text-decoration: underline; }
.cart-line__qty { display: flex; gap: var(--space-2); align-items: center; }
.cart-line__qty input { width: 4.5rem; }
.cart-line__total { margin: 0; text-align: right; }
.cart-line__remove { grid-column: 1 / -1; }
@media (min-width: 40rem) {
  .cart-line { grid-template-columns: 1fr auto 7rem auto; }
  .cart-line__info { grid-column: auto; }
  .cart-line__remove { grid-column: auto; }
}
.summary { background: var(--surface); border: 1px solid var(--border); padding: var(--space-5); }
.summary--flat { max-width: 36rem; margin-block: var(--space-6); }
@media (min-width: 56rem) { .summary:not(.summary--flat) { position: sticky; top: 5.5rem; } }
.summary__title { font-size: 1.625rem; margin-bottom: var(--space-4); }
.summary__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.summary__lines { margin-bottom: var(--space-4); }
.summary__lines li { display: flex; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-3); border-bottom: 1px solid var(--border); font-size: 0.9375rem; }
.summary .btn { margin-block: var(--space-3); }
.summary .btn--primary, .form .btn--primary { min-height: 3.5rem; font-size: 1rem; }
/* One primary action per screen: on a phone the basket's checkout bar stays above the bottom nav. */
@media (max-width: 55.99rem) {
  .cart--basket > .summary {
    position: sticky; bottom: calc(3.5rem + env(safe-area-inset-bottom)); z-index: 20;
    margin-inline: calc(var(--space-4) * -1); padding: var(--space-3) var(--space-4);
    border-inline: 0; box-shadow: 0 -1px 0 var(--border);
  }
  .cart--basket > .summary .summary__title, .cart--basket > .summary .muted, .cart--basket > .summary .link-arrow { display: none; }
  .cart--basket > .summary .btn { margin-block: var(--space-2) 0; }
  .cart-line__qty input { width: 4rem; min-height: 3rem; }
  .cart-line__qty .btn { min-height: 3rem; }
  .cart-line__remove .btn { min-height: var(--tap); }
}
.form { max-width: 36rem; }
.form .btn { margin-top: var(--space-3); }
.confirmation { padding-block: var(--space-7) var(--space-8); }
.reference { font-family: var(--font-body); font-weight: 600; letter-spacing: 0.04em; font-size: 1rem; background: var(--surface); border: 1px solid var(--border); padding: 0.1rem 0.5rem; }

/* ---------- Footer ---------- */
.help-links { margin-bottom: var(--space-5); }
.help-links a { display: flex; align-items: center; min-height: 3.5rem; border-bottom: 1px solid var(--border); font-weight: 600; text-decoration: none; }
.site-footer { margin-top: var(--space-7); padding-block: var(--space-7); border-top: 1px solid var(--border); background: var(--surface); }
.site-footer__grid { display: grid; gap: var(--space-6); }
@media (min-width: 48rem) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-title { font: 700 0.75rem var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-2); }
.site-footer a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer .wordmark { display: block; margin-bottom: var(--space-2); }
.site-footer p.muted { max-width: 24rem; font-size: 0.9375rem; }

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