/* Vellor 2026: a local, accessible editorial layer over the existing storefront. */
:root {
  --paper: #f6f5f0;
  --ink: #242820;
  --muted: #64685f;
  --subtle: #7a7d74;
  --line: #dedfd5;
  --accent: #596445;
  --surface: #eeeee6;
  --surface-raised: #fffefa;
  --surface-photo: #eeede7;
  --line-strong: #b9bdae;
  /* Text-entry boundaries keep 3:1 against paper, raised fields and surface. */
  --line-control: #838779;
  --radius-panel: 16px;
  --radius-field: 10px;
  --radius-button: 6px;
  --space: clamp(20px, 4.4vw, 72px);
  --header-height: 80px;
  --dock-height: 64px;
  --layer-header: 20;
  --layer-dock: 30;
  --layer-notice: 80;
  --layer-toast: 100;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* The root padding is the single header offset; elements add only local sticky bars. */
html { scroll-padding-top: calc(var(--header-height) + 24px); }
body { font-size: 14px; line-height: 1.55; }
main { min-width: 0; }
main :is(a, button, input, select, textarea, summary) {
  scroll-margin-top: 0;
  scroll-margin-bottom: 16px;
}
button, input, select, textarea { line-height: 1.4; }
button, a, input, select, textarea, summary { touch-action: manipulation; }
button, a, summary { -webkit-tap-highlight-color: rgba(89, 100, 69, .1); }
button, .button, .icon-button, .option-button, .thumbnail, .text-link {
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}
button:disabled { opacity: .55; }
input, select, textarea { accent-color: var(--accent); }
input, textarea { caret-color: var(--accent); }
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: var(--ink); background: #dce1cf; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
a, button { -webkit-user-drag: none; }
.skip-link { color: var(--ink); background: var(--surface-raised); border-radius: var(--radius-button); }
/* In preview the store notice replaces the tagline, so only one band sits above the content. */
body:has(#demo-ribbon:not([hidden])) .announcement { display: none; }

/* The header remains familiar, with clear navigation and comfortable hit areas. */
.announcement {
  padding: 9px var(--space);
  background: var(--surface);
  color: #5d6254;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: .025em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--layer-header);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-main { min-width: 0; height: var(--header-height); gap: 28px; }
.wordmark { font-size: 32px; letter-spacing: .17em; font-weight: 500; }
.primary-nav { align-items: center; gap: clamp(22px, 2.6vw, 38px); font-size: 14px; }
.primary-nav a { padding: 27px 0; white-space: nowrap; }
.primary-nav a:after { bottom: 19px; height: 2px; background: var(--accent); }
.header-tools { gap: 8px; }
.icon-button { width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: var(--radius-button); }
.icon-button img { width: 21px; height: 21px; }
.tool-count { top: 2px; right: 0; font-size: 10px; min-width: 17px; height: 17px; line-height: 17px; background: var(--accent); }
.mobile-nav { padding-top: 12px; padding-bottom: 18px; max-height: calc(100dvh - var(--header-height) - 80px); overflow: auto; }
.mobile-nav a { font-size: 16px; padding: 13px 0; }
.mobile-nav a[aria-current="page"] { color: var(--accent); }
.demo-banner { padding: 11px var(--space); background: #e8ebdf; color: #4e5745; font-size: 12px; line-height: 1.55; }

/* Campaign photography and quiet typography share the first screen. */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 0;
  height: clamp(520px, 46vw, 680px);
  min-height: 0;
  max-height: none;
  margin: 24px var(--space) 0;
  border-radius: var(--radius-panel);
  background: #e9eade;
  color: var(--ink);
  isolation: auto;
}
.hero:after { display: none; }
.hero-image {
  position: relative;
  inset: auto;
  grid-area: 1 / 2;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 56% 34%;
  z-index: auto;
}
.hero-content {
  grid-area: 1 / 1;
  padding: clamp(30px, 4.4vw, 70px);
  width: 100%;
  min-width: 0;
  height: auto;
  align-items: flex-start;
  justify-content: center;
}
.hero-kicker { color: var(--accent); font-size: 11px; font-weight: 500; letter-spacing: .13em; line-height: 1.7; margin-bottom: 26px; }
.hero h1 { color: var(--ink); font-size: clamp(43px, 4.8vw, 74px); letter-spacing: -.055em; line-height: 1.04; margin-bottom: 26px; max-width: 540px; }
.hero-description { color: #5b6153; font-size: 15px; line-height: 1.8; max-width: 340px; margin-bottom: 32px; }
.hero-links { gap: 12px; flex-wrap: wrap; width: 100%; }
.button {
  min-height: 48px;
  padding: 13px 22px;
  border-radius: var(--radius-button);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .005em;
  gap: 16px;
  background: var(--ink);
  border-color: var(--ink);
  white-space: normal;
  text-align: center;
}
.button:hover { background: #41473a; border-color: #41473a; }
.button.light, .hero .button.light { background: var(--ink); border-color: var(--ink); color: #fffefa; }
.button.light img, .hero .button.light img { filter: invert(1); }
.button.light:hover { background: #41473a; border-color: #41473a; }
.button.outline, .hero .button.outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button.outline img, .hero .button.outline img { filter: none; }
.button.outline:hover, .hero .button.outline:hover { background: #e3e6d8; color: var(--ink); border-color: var(--accent); }
.button.outline:hover img { filter: none; }
.button.quiet { color: var(--ink); background: transparent; border-color: var(--line-strong); }
.button img { flex-shrink: 0; }
.text-link { min-height: 44px; font-size: 13px; line-height: 1.4; letter-spacing: .005em; gap: 12px; padding: 8px 0; white-space: normal; }
.text-link img { flex-shrink: 0; }
.collection-nav { margin: 0 var(--space); padding: 10px 0 0; }
.collection-nav a { padding-top: 22px; padding-bottom: 22px; font-size: 14px; }
.collection-nav a+a { border-left: 0; }
.collection-nav a:hover { color: var(--accent); }
/* Each category spans its column, so the last arrow meets the hero's right edge. */
@media (min-width: 768px) {
  .collection-nav { column-gap: 32px; }
  .collection-nav a, .collection-nav a+a { padding-left: 0; padding-right: 0; }
}
.section { padding-top: 76px; padding-bottom: 76px; }
.section-header { margin-bottom: 28px; align-items: center; }
.section-header h2 { font-size: clamp(28px, 2.75vw, 40px); line-height: 1.18; letter-spacing: -.04em; }
.section-header p { font-size: 14px; }
.section-header .text-link { flex-shrink: 0; }

/* Product images remain complete. Typography, rather than overlays, carries the card. */
.products-grid { gap: 36px 20px; }
.product-card { min-width: 0; }
.product-picture { border-radius: 12px; background: var(--surface-photo); aspect-ratio: 3 / 4; }
.product-picture img { object-fit: contain; transition: none; }
.product-card:hover .product-picture img { transform: none; }
.favorite-button { top: 10px; right: 10px; background: rgba(255, 254, 250, .94); border-radius: 8px; border: 1px solid rgba(222, 223, 213, .65); }
/* A saved item reads by fill and a light icon, not by a faint tint alone. */
.favorite-button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.favorite-button[aria-pressed="true"] img { filter: invert(1); }
/* Controls over photography carry a double ring that stays visible on any image. */
.product-card .favorite-button:focus-visible, .gallery-step:focus-visible, .gallery-expand:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--surface-raised);
}
.product-meta { padding-top: 15px; }
.product-meta-top { gap: 8px; align-items: flex-start; }
.product-brand { font-size: 12px; font-weight: 500; letter-spacing: .025em; margin-bottom: 5px; line-height: 1.6; overflow-wrap: anywhere; }
.new-label { font-size: 10px; letter-spacing: .035em; line-height: 1.9; color: var(--accent); }
.product-name {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
  min-height: 3em;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.product-price { font-size: 16px; font-weight: 500; line-height: 1.5; }
.gender-edits { gap: 20px; }
.edit { height: clamp(390px, 42vw, 600px); border-radius: var(--radius-panel); padding: 36px; }
.edit h2 { color: white; font-size: clamp(36px, 4vw, 54px); }
.edit .text-link { font-size: 14px; }
.edit img { transition: none; }
.edit:hover img { transform: none; }
.edit:after { background: linear-gradient(transparent 40%, rgba(30, 36, 25, .65)); }
.brand-strip { gap: 16px 28px; }
.brand-strip a, .brand-strip a:nth-child(2), .brand-strip a:nth-child(3) { font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -.025em; padding: 22px 8px; overflow-wrap: anywhere; }
.brand-strip a:hover { color: var(--accent); }
.editorial-note { gap: clamp(32px, 6vw, 90px); }
.editorial-note>img { border-radius: var(--radius-panel); filter: none; }
.editorial-copy h2 { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.18; }
.editorial-copy p { font-size: 15px; line-height: 1.85; }
.service-row { background: var(--surface); border-top: 0; gap: 36px; padding-top: 36px; padding-bottom: 36px; }
.service-row h3 { font-size: 15px; font-weight: 500; margin-bottom: 10px; }
.service-row p { font-size: 14px; line-height: 1.75; max-width: 36ch; }

/* Catalog navigation, filters, and sorting have their own clear working area. */
.page-container { padding-top: 32px; padding-bottom: 80px; }
.breadcrumb { font-size: 12px; line-height: 1.7; gap: 9px; margin-bottom: 28px; }
.breadcrumb a { text-underline-offset: 4px; }
.page-title { font-size: clamp(36px, 4vw, 54px); letter-spacing: -.045em; line-height: 1.12; margin-bottom: 16px; }
.page-lead, .catalog-lead { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 65ch; margin-bottom: 28px; }
.catalog-lead { margin-bottom: 20px; }
/* The active tab rests on the toolbar rule; the inset ring is never clipped by the scroller. */
.catalog-tabs { font-size: 14px; gap: 16px; padding: 0; margin-left: -6px; overflow-x: auto; scrollbar-width: thin; }
.catalog-tabs a { min-height: 44px; flex-shrink: 0; padding: 0 6px; border-bottom: 0; background: linear-gradient(var(--accent), var(--accent)) 50% 100% / 0 2px no-repeat; }
.catalog-tabs a.active { color: var(--accent); font-weight: 500; background-size: calc(100% - 12px) 2px; }
.catalog-tabs a:focus-visible { outline-offset: -2px; }
.catalog-toolbar {
  position: sticky;
  top: var(--header-height);
  z-index: 10;
  min-height: 64px;
  background: var(--paper);
  padding: 10px 0;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 13px;
}
.catalog-toolbar label { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); min-width: 0; }
.catalog-toolbar select { font-size: 14px; padding: 10px 28px 10px 12px; min-width: 0; max-width: 235px; min-height: 44px; border: 1px solid var(--line-control); border-radius: var(--radius-button); background-color: var(--surface-raised); color: var(--ink); }
.catalog-toolbar select:focus { border-color: var(--accent); }
/* Content after the sticky toolbar scrolls into view below it, not underneath. */
.catalog-toolbar ~ * :is(a, button, input, select, summary) { scroll-margin-top: 72px; }
.results-count { font-size: 13px; }
.catalog-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 36px; }
.catalog-products { min-width: 0; }
.catalog-products .products-grid { gap: 36px 20px; }
.filters { min-width: 0; }
.filter-group { margin-bottom: 16px; padding-bottom: 16px; }
.filter-group summary { font-size: 14px; font-weight: 500; margin-bottom: 8px; line-height: 1.5; }
.filter-group summary:after { font-size: 22px; color: var(--muted); }
.filter-options { font-size: 14px; gap: 2px; max-height: 250px; padding-right: 8px; padding-left: 6px; margin-left: -6px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.filter-search {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid var(--line-control);
  border-radius: var(--radius-button);
  background: var(--surface-raised);
  color: var(--ink);
  font-size: 14px;
  -webkit-appearance: none;
  appearance: none;
}
.check-label { gap: 10px; min-height: 44px; }
.check-label input { width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--accent); }
.filter-prices { gap: 8px; }
.filter-prices input { min-height: 44px; font-size: 14px; padding: 10px; border-radius: var(--radius-button); background: var(--surface-raised); border-color: var(--line-control); color: var(--ink); }
.filter-prices input:focus, .filter-search:focus { border-color: var(--accent); }
.filters .button { min-height: 48px; font-size: 13px; padding: 12px 10px; }
.filters>.remove-item { margin-top: 6px; width: 100%; justify-content: center; }
.active-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: -8px 0 24px; }
.filter-chip { min-height: 44px; border-radius: var(--radius-button); background: var(--surface); display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; font-size: 12px; color: var(--ink); overflow-wrap: anywhere; max-width: 100%; }
.filter-chip img { width: 14px; height: 14px; flex-shrink: 0; }
.filter-chip:hover { background: #e0e5d5; }
.load-more { margin-top: 40px; }
.load-more .button { min-width: min(100%, 240px); }
.pagination-status { font-size: 13px; margin-top: 20px; }
.filter-dialog { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 420px); max-width: 100%; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.filter-dialog::backdrop { background: rgba(30, 36, 25, .45); }
.filter-dialog[open] { display: flex; flex-direction: column; }
.filter-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: calc(16px + env(safe-area-inset-top)) 20px 16px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.filter-dialog-header h2 { font-size: 25px; letter-spacing: -.03em; margin: 0; }
#filter-dialog-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); }
.filter-dialog .filters { display: block; margin: 0; }
.filter-dialog .filter-options { max-height: 280px; }
.filter-dialog .filter-group summary { font-size: 16px; }
.filter-dialog .filters>.button { position: sticky; bottom: 0; box-shadow: 0 0 0 8px var(--paper); }

/* Product choices sit close to the price. Photos never lose their edges. */
.product-layout { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); }
.product-gallery { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; }
.thumbnails { gap: 10px; scrollbar-width: thin; }
.thumbnail { border-radius: 6px; opacity: .8; overflow: hidden; border-color: var(--line); padding: 2px; background: var(--surface-photo); }
.thumbnail.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); opacity: 1; }
.thumbnail img { background: var(--surface-photo); }
.thumbnail:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.gallery-main { border-radius: var(--radius-panel); background: var(--surface-photo); }
.gallery-main>img { object-fit: contain; }
.gallery-step { border-radius: var(--radius-button); top: calc(50% - 22px); background: rgba(255, 254, 250, .92); }
/* Beside the frame, the thumbnail column is never taller than the photo it controls. */
@media (min-width: 1101px) {
  .thumbnails { height: 0; min-height: 100%; overflow-y: auto; overscroll-behavior: contain; }
}
/* With a mouse the overlay controls leave the product clear until the photo is hovered or focused. */
@media (hover: hover) and (pointer: fine) {
  .gallery-step, .gallery-expand { opacity: 0; }
  .gallery-main:is(:hover, :focus-within) :is(.gallery-step, .gallery-expand) { opacity: 1; }
}
.gallery-expand { border-radius: var(--radius-button); border-color: var(--line); background: rgba(255, 254, 250, .95); font-size: 12px; }
.product-detail { padding-top: 5px; top: calc(var(--header-height) + 28px); }
.detail-brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 500; letter-spacing: .035em; color: var(--accent); }
.product-detail h1 { font-size: clamp(28px, 2.8vw, 42px); letter-spacing: -.04em; line-height: 1.2; margin: 9px 0 18px; }
.detail-price { font-size: 26px; font-weight: 500; line-height: 1.4; margin-bottom: 12px; }
.availability { font-size: 14px; line-height: 1.7; margin-bottom: 24px; color: var(--muted); }
.option-label { font-size: 14px; align-items: center; gap: 14px; margin-bottom: 10px; line-height: 1.5; }
.option-label .remove-item { min-height: 36px; font-size: 13px; }
.size-options, .color-options { gap: 8px; margin-bottom: 22px; }
.option-button { min-width: 48px; min-height: 46px; padding: 11px 14px; font-size: 14px; border-radius: var(--radius-button); border-color: var(--line-strong); background: var(--surface-raised); overflow-wrap: anywhere; }
/* A chosen size or colour is marked like other selections, leaving solid ink to the main action. */
.option-button.selected { background: #e8ebdf; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--ink); }
#product-quantity { width: 80px !important; min-height: 46px; border: 1px solid var(--line-control) !important; border-radius: var(--radius-button); background: var(--surface-raised) !important; font-size: 16px !important; padding: 10px 12px !important; }
.product-actions { grid-template-columns: minmax(0, 1fr) 52px; gap: 10px; margin-top: 24px; }
.product-actions>.button { min-height: 52px; font-size: 15px; }
.product-actions .favorite-button { width: 52px; min-height: 52px; border-radius: var(--radius-button); border-color: var(--line-strong); }
.product-actions .favorite-button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.product-question { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 18px 0 28px; }
.product-question a { margin-top: 8px; }
.detail-accordion { padding: 12px 0; font-size: 14px; }
.detail-accordion summary { font-size: 15px; font-weight: 500; align-items: center; gap: 18px; }
.detail-accordion summary:after { font-size: 21px; font-weight: 400; }
.detail-accordion p { font-size: 14px; line-height: 1.85; margin-top: 10px; overflow-wrap: anywhere; }
.detail-accordion a { text-decoration: underline; text-underline-offset: 4px; }
.photo-viewer { border-radius: var(--radius-panel); border-color: var(--line); }
.photo-viewer-button { border-radius: var(--radius-button); font-size: 16px; border-color: var(--line-strong); }
.photo-viewer-button:hover { background: #e8ebdf; }
.photo-viewer-close { font-size: 13px; }
.photo-viewer-stage { border-radius: 10px; overflow: hidden; background: var(--surface-photo); }
.photo-viewer-title { font-size: 15px; }
.photo-viewer-counter { font-size: 14px; }

/* The same type and field system follows through to saved items and checkout. */
.cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(28px, 5vw, 72px); margin-top: 32px; }
.cart-row { grid-template-columns: 110px minmax(0, 1fr) auto; gap: 22px; padding: 26px 0; }
.cart-row>a { min-width: 0; }
.cart-image { object-fit: contain; border-radius: 10px; background: var(--surface-photo); }
.cart-info { min-width: 0; }
.cart-info h2 { font-size: 15px; font-weight: 500; margin-top: 1px; margin-bottom: 5px; }
.cart-info p { font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; margin-bottom: 8px; }
.cart-price { font-size: 16px; font-weight: 500; padding-top: 0; white-space: nowrap; }
.quantity-control { border-radius: var(--radius-button); border-color: var(--line-strong); margin-top: 14px; overflow: hidden; }
.quantity-control button { width: 44px; height: 44px; font-size: 20px; }
.quantity-control span { min-width: 32px; font-size: 14px; }
.remove-item { font-size: 13px; line-height: 1.4; text-underline-offset: 4px; }
.order-summary { border-radius: var(--radius-panel); background: var(--surface); padding: 28px; top: calc(var(--header-height) + 28px); }
.order-summary h2 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 24px; }
.summary-line { font-size: 14px; line-height: 1.65; gap: 20px; margin-bottom: 16px; }
.summary-line>span:first-child { min-width: 0; overflow-wrap: anywhere; }
.summary-line>span:last-child { flex-shrink: 0; }
.summary-line.total { font-size: 19px; font-weight: 500; border-color: var(--line-strong); }
.summary-note { font-size: 13px; line-height: 1.8; }
.checkout-form h2 { font-size: 25px; margin-top: 34px; margin-bottom: 24px; }
.form-grid { gap: 22px 18px; }
.field { gap: 9px; font-size: 14px; }
.field input, .field textarea, .field select, .lookup-form input {
  min-height: 50px;
  border: 1px solid var(--line-control);
  border-radius: var(--radius-field);
  padding: 13px 14px;
  background: var(--surface-raised);
  color: var(--ink);
  font-size: 16px;
}
.field input::placeholder, .field textarea::placeholder, .lookup-form input::placeholder,
.filter-prices input::placeholder, .filter-search::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus, .lookup-form input:focus { border-color: var(--accent); }
.field textarea { min-height: 120px; }
.consent { font-size: 14px; line-height: 1.8; gap: 12px; }
.consent input { margin-top: 5px; }
.shipping-option { border-radius: var(--radius-field); padding: 18px; font-size: 15px; gap: 12px; background: var(--surface-raised); }
.shipping-option input { width: 18px; height: 18px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.shipping-option strong { font-weight: 500; }
.shipping-option small { font-size: 13px; line-height: 1.7; }
.shipping-option:has(input:checked) { border-color: var(--accent); background: #edf0e5; }
.notice { font-size: 14px; line-height: 1.8; border-radius: var(--radius-field); border-color: var(--line); background: var(--surface); padding: 16px 20px; }
.notice a { text-underline-offset: 4px; }
.inline-error { font-size: 14px; color: #9a352d; line-height: 1.7; }
.receipt { max-width: 760px; }
.receipt .status-icon { border-radius: var(--radius-field); border-color: var(--line-strong); background: var(--surface); }
.receipt h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.2; }
.receipt>p { font-size: 15px; line-height: 1.85; }
.receipt-token { border-radius: var(--radius-field); font-size: 13px; line-height: 1.8; background: var(--surface); padding: 18px; }
.receipt-token button { min-height: 44px; text-underline-offset: 4px; }
.lookup-form { max-width: 640px; }
.lookup-form .button { flex-shrink: 0; }

/* Brand and service pages keep the same reading rhythm as the collection. */
.info-page { max-width: 760px; margin-top: 12px; }
.info-page h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.2; margin-bottom: 30px; }
.info-page h2 { font-size: 25px; line-height: 1.3; letter-spacing: -.025em; margin-top: 36px; margin-bottom: 16px; }
.info-page p, .info-page li { font-size: 16px; line-height: 1.9; color: var(--muted); }
.info-page a { text-underline-offset: 4px; }
.brand-list { gap: 0 40px; margin-top: 34px; }
.brand-list a { gap: 16px; align-items: center; font-size: 20px; min-height: 84px; padding: 22px 0; }
.brand-list a>span { min-width: 0; overflow-wrap: anywhere; }
.brand-list small { font-size: 13px; margin-top: 0; }
.empty-state { padding: 64px 24px 76px; border-radius: var(--radius-panel); background: var(--surface); margin: 8px 0; }
.empty-state h2 { font-size: 30px; line-height: 1.25; letter-spacing: -.035em; margin-bottom: 14px; }
.empty-state p { font-size: 15px; line-height: 1.8; max-width: 46ch; margin-bottom: 26px; }
.empty-state .button { min-width: min(100%, 200px); }
.error-state { padding-top: 72px; padding-bottom: 80px; }
.error-state h1 { font-size: clamp(30px, 4vw, 44px); }
.error-state p { font-size: 15px; line-height: 1.8; max-width: 60ch; }
.page-loading { padding-top: 40px; }
.page-loading p { font-size: 14px; }
.skeleton { border-radius: var(--radius-panel); background-image: linear-gradient(100deg, #e7e8df 20%, #f3f3ec 40%, #e7e8df 60%); }
.page-enter { animation-duration: 180ms; }

/* Search is an accessible native dialog, with a field large enough for mobile. */
/* bottom:auto pins the dialog to its top offset; otherwise it centres and jumps as results load. */
.search-dialog { top: calc(var(--header-height) + 24px); bottom: auto; width: min(720px, calc(100% - 40px)); max-height: calc(100dvh - var(--header-height) - 56px); padding: 48px 36px 32px; border-radius: var(--radius-panel); background: var(--paper); border: 1px solid var(--line); }
.search-dialog::backdrop { background: rgba(30, 36, 25, .45); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.dialog-close { right: 12px; top: 12px; }
.search-dialog label { font-size: 30px; letter-spacing: -.035em; line-height: 1.2; margin-bottom: 24px; }
.search-field { padding: 6px 0 10px; border-color: var(--line-control); align-items: center; gap: 8px; }
.search-field:focus-within { border-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.search-field input { min-height: 48px; font-size: 18px; padding: 8px 0; }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.search-suggestions { margin-top: 24px; gap: 8px; }
.search-suggestion { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.search-suggestion img { width: 56px; height: 70px; object-fit: contain; background: var(--surface-photo); border-radius: 6px; }
.search-suggestion>span { min-width: 0; overflow-wrap: anywhere; }
.search-suggestion>span:last-child { font-size: 15px; white-space: nowrap; }
.search-suggestion small { font-size: 13px; margin-top: 5px; line-height: 1.5; }
.toast { border-radius: var(--radius-field); font-size: 14px; padding: 15px 22px; bottom: 24px; z-index: var(--layer-toast); background: var(--ink); }
.analytics-consent { border-radius: var(--radius-panel); background: var(--surface-raised); border-color: var(--line-strong); z-index: var(--layer-notice); box-shadow: 0 12px 40px rgba(45, 51, 34, .12); }
.analytics-consent p { font-size: 20px; letter-spacing: -.025em; }
.analytics-consent small { font-size: 14px; line-height: 1.75; }
.analytics-consent>div { flex-wrap: wrap; }
.analytics-consent>a { font-size: 13px; min-height: 44px; align-content: center; margin-top: 10px; text-underline-offset: 4px; }

/* The footer serves as a second navigation point, not a wall of small print. */
.site-footer { background: #eeeee6; padding-top: 50px; border-top: 1px solid var(--line); }
.footer-top { justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 36px; }
.footer-top .wordmark { font-size: 32px; }
.footer-top p { font-size: 14px; margin: 0; line-height: 1.75; }
.footer-grid { grid-template-columns: 1fr 1.15fr 1.15fr; gap: 36px; }
.footer-label { font-size: 13px; font-weight: 500; letter-spacing: .01em; text-transform: none; margin-bottom: 14px; }
.footer-grid a:not(.text-link) { font-size: 14px; display: flex; align-items: center; min-height: 44px; line-height: 1.5; margin-bottom: 0; width: fit-content; }
.footer-note { display: none; }
.footer-bottom { font-size: 12px; line-height: 1.7; gap: 14px 28px; margin-top: 34px; padding-top: 22px; padding-bottom: 24px; align-items: center; flex-wrap: wrap; }
.analytics-settings { min-height: 44px; text-underline-offset: 4px; }
.mobile-dock { display: none; }

@media (hover: hover) {
  .icon-button:hover { background: #e8ebdf; }
  .favorite-button:hover { background: #e7ecd9; }
  .favorite-button[aria-pressed="true"]:hover { background: #4a543a; border-color: #4a543a; }
  .catalog-tabs a:hover { color: var(--accent); }
  .option-button:not(.selected):hover { background: var(--surface); border-color: var(--accent); }
  .quantity-control button:hover { background: #e3e7d8; }
  .search-suggestion:hover { color: var(--accent); }
  .footer-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
}

@media (min-width: 1600px) {
  .hero { margin-left: max(72px, calc((100vw - 1456px) / 2)); margin-right: max(72px, calc((100vw - 1456px) / 2)); }
  .hero-content { padding-left: 70px; }
  .collection-nav { margin-left: max(72px, calc((100vw - 1456px) / 2)); margin-right: max(72px, calc((100vw - 1456px) / 2)); padding-left: 0; padding-right: 0; }
}

@media (max-width: 1100px) {
  .header-main { gap: 18px; }
  .primary-nav { gap: 20px; font-size: 13px; }
  .header-tools { gap: 2px; }
  .wordmark { font-size: 29px; }
  .hero { height: 550px; }
  .hero-content { padding: 34px; }
  .hero h1 { font-size: 51px; }
  .hero-description { font-size: 14px; }
  .hero-links { gap: 10px; }
  .hero .button { padding: 13px 16px; font-size: 13px; gap: 12px; }
  .catalog-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
  .catalog-products .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-gallery { grid-template-columns: minmax(0, 1fr); }
  .thumbnails { order: 2; flex-direction: row; padding-bottom: 6px; }
  .thumbnail { width: 56px; }
  .product-layout { gap: 30px; }
  .product-detail h1 { font-size: 30px; }
  .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; }
  .cart-row { grid-template-columns: 90px minmax(0, 1fr); gap: 18px; }
  .cart-price { grid-column: 2; text-align: left; margin-top: -12px; }
  .order-summary { padding: 24px; }
}

@media (min-width: 768px) and (max-width: 900px) {
  .header-main { grid-template-columns: auto minmax(0, 1fr) auto; gap: 15px; }
  .primary-nav { justify-content: center; gap: 14px; font-size: 12px; }
  .header-tools .account-link { display: none; }
  .wordmark { font-size: 27px; }
  .hero-content { padding: 28px; }
  .hero h1 { font-size: 46px; }
  .hero-kicker { font-size: 10px; margin-bottom: 20px; }
  .hero-links .button { width: 100%; justify-content: space-between; }
  .product-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 767px) {
  :root { --space: 20px; --header-height: 68px; }
  html { scroll-padding-top: 84px; scroll-padding-bottom: calc(var(--dock-height) + env(safe-area-inset-bottom) + 8px); }
  body { padding-bottom: calc(var(--dock-height) + env(safe-area-inset-bottom)); font-size: 14px; }
  .announcement { font-size: 11px; padding: 8px 20px; }
  /* Equal side columns centre the wordmark on the screen, not within the middle track. */
  .header-main { height: var(--header-height); grid-template-columns: 90px minmax(0, 1fr) 90px; gap: 8px; }
  .header-main>.wordmark { font-size: 27px; letter-spacing: .14em; }
  .primary-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .header-tools { gap: 2px; }
  .header-tools .account-link, .header-tools>a[href="/favorites"] { display: none; }
  .header-main .icon-button { width: 44px; }
  .demo-banner { font-size: 12px; padding: 10px 20px; }
  .hero { margin: 16px 16px 0; height: auto; min-height: 0; max-height: none; grid-template-columns: 1fr; grid-template-rows: auto auto; border-radius: 14px; }
  .hero-image { grid-area: 1 / 1; height: 265px; width: 100%; object-position: 52% 34%; }
  .hero-content { grid-area: 2 / 1; padding: 26px 24px 28px; }
  .hero-kicker { font-size: 10px; line-height: 1.6; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(37px, 10.5vw, 58px); line-height: 1.04; letter-spacing: -.05em; margin-bottom: 16px; }
  .hero-description { font-size: 14px; line-height: 1.7; margin-bottom: 22px; max-width: 35ch; }
  .hero-links { gap: 10px; flex-wrap: nowrap; }
  .hero-links .button { flex: 1; padding: 12px; font-size: 13px; gap: 8px; min-width: 0; }
  .button { min-height: 48px; font-size: 14px; padding: 13px 18px; gap: 12px; }
  .collection-nav { margin: 0 20px; padding-top: 10px; grid-template-columns: 1fr 1fr; column-gap: 0; }
  .collection-nav a { font-size: 14px; padding: 19px 12px 19px 0; }
  .collection-nav a+a { padding-left: 16px; }
  .collection-nav a:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .collection-nav a:nth-child(4) { border-top: 1px solid var(--line); }
  .section { padding: 48px 20px; }
  .section-header { gap: 16px; margin-bottom: 24px; align-items: flex-start; }
  .section-header h2 { font-size: 28px; line-height: 1.16; max-width: 12ch; }
  .section-header .text-link { font-size: 12px; line-height: 1.5; gap: 8px; max-width: 105px; flex-shrink: 0; min-height: 38px; padding: 4px 0; }
  .section-header .text-link img { width: 15px; }
  .products-grid, .catalog-products .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .product-picture { border-radius: 10px; }
  .favorite-button { top: 7px; right: 7px; width: 44px; height: 44px; border-radius: 7px; }
  .favorite-button img { width: 18px; height: 18px; }
  .product-meta { padding-top: 12px; }
  .product-meta-top { display: block; position: relative; padding-right: 0; }
  .product-brand { font-size: 11px; margin-bottom: 4px; line-height: 1.55; letter-spacing: .01em; }
  .new-label { display: none; }
  .product-name { font-size: 13px; line-height: 1.5; min-height: 3em; margin-bottom: 7px; }
  .product-price { font-size: 16px; line-height: 1.5; }
  .gender-edits { padding: 0 20px; gap: 12px; grid-template-columns: 1fr 1fr; }
  .edit { height: 320px; padding: 20px 16px; border-radius: 12px; }
  .edit h2 { font-size: 29px; line-height: 1.15; margin-bottom: 10px; }
  .edit .text-link { font-size: 12px; gap: 8px; align-items: flex-start; }
  .edit .text-link img { width: 15px; }
  .brand-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; gap: 0 24px; }
  .brand-strip a, .brand-strip a:nth-child(2), .brand-strip a:nth-child(3) { font-size: 22px; padding: 19px 0; }
  .brand-strip a:last-child { grid-column: auto; }
  .editorial-note { grid-template-columns: 1fr; gap: 28px; }
  .editorial-note>img { aspect-ratio: 1.18; border-radius: 12px; }
  .editorial-copy h2 { font-size: 33px; line-height: 1.17; margin-bottom: 20px; }
  .editorial-copy p { font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
  .service-row { grid-template-columns: 1fr; padding: 32px 20px; gap: 24px; }
  .service-row h3 { font-size: 15px; }
  .service-row p { font-size: 14px; max-width: 45ch; }
  .service-row p br { display: none; }
  .page-container { padding: 24px 20px 52px; }
  .breadcrumb { font-size: 11px; gap: 8px; margin-bottom: 24px; }
  .page-title { font-size: clamp(32px, 9vw, 40px); line-height: 1.12; margin-bottom: 14px; }
  .page-lead, .catalog-lead { font-size: 14px; line-height: 1.75; margin-bottom: 20px; }
  .catalog-lead { margin-bottom: 16px; }
  .catalog-tabs { font-size: 13px; gap: 10px; padding: 0 20px 0 0; margin-right: -20px; }
  .catalog-tabs a { min-height: 44px; }
  /* Count on top, controls below. When stuck, the count slides under the header and only
     the 55px control row stays on screen (top = header + 1px rule - 33px count row). */
  .catalog-toolbar { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "count count" "filters sort"; align-items: center; min-height: 0; gap: 6px 8px; padding: 8px 0 10px; margin-bottom: 20px; top: calc(var(--header-height) - 32px); }
  .results-count { grid-area: count; font-size: 12px; line-height: 1.5; }
  .filters-toggle { grid-area: filters; display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; min-width: 104px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-button); background: var(--surface-raised); text-decoration: none; font-size: 14px; }
  /* The select keeps its aria-label; the visible word yields its width to the full option text. */
  .catalog-toolbar label { grid-area: sort; display: flex; font-size: 0; gap: 0; }
  .catalog-toolbar select { flex: 1; width: 100%; max-width: none; font-size: 16px; padding: 9px 30px 9px 12px; background-color: var(--surface-raised); }
  .catalog-toolbar ~ * :is(a, button, input, select, summary) { scroll-margin-top: 64px; }
  .catalog-layout { display: block; }
  .catalog-layout>.filters { display: none; }
  .active-filters { margin-top: -2px; margin-bottom: 20px; gap: 8px; }
  .filter-chip { min-height: 44px; font-size: 12px; }
  .filter-prices input, .filter-search { font-size: 16px; }
  .filter-dialog .filters { display: block; }
  .filter-dialog .filter-options { font-size: 15px; }
  .filter-dialog .filter-group { margin-bottom: 14px; }
  .pagination-status { font-size: 13px; }
  .product-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .product-gallery { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gallery-main, .gallery-main.gallery-landscape, .gallery-main.gallery-square { aspect-ratio: 1; max-height: 420px; width: 100%; border-radius: 12px; }
  .gallery-main.gallery-landscape { aspect-ratio: 4 / 3; }
  .gallery-main>img { height: 100%; width: 100%; }
  .thumbnails { flex-direction: row; order: 2; gap: 8px; max-height: 90px; padding: 2px 2px 6px; }
  .thumbnail { width: 54px; min-width: 54px; min-height: 68px; }
  .gallery-expand { font-size: 12px; padding: 10px 12px; }
  .product-detail { position: static; padding-top: 0; }
  .detail-brand { font-size: 12px; min-height: 44px; }
  .product-detail h1 { font-size: 29px; line-height: 1.2; margin: 8px 0 16px; }
  .detail-price { font-size: 26px; margin-bottom: 10px; }
  .availability { font-size: 14px; line-height: 1.7; margin-bottom: 22px; }
  .option-label { font-size: 14px; }
  .option-button { font-size: 14px; min-width: 48px; }
  .product-actions { margin-top: 22px; }
  .product-actions>.button { font-size: 14px; }
  .product-question { font-size: 14px; }
  .detail-accordion p { font-size: 14px; }
  .photo-viewer { border-radius: 0; }
  .photo-viewer-title { font-size: 13px; }
  .photo-viewer-stage { border-radius: 8px; }
  .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 26px; }
  .cart-row { grid-template-columns: 86px minmax(0, 1fr); gap: 16px; padding: 22px 0; }
  .cart-info h2 { font-size: 14px; }
  .cart-info p { font-size: 13px; }
  .cart-price { grid-column: 2; text-align: left; font-size: 16px; margin-top: -10px; }
  .quantity-control { margin-top: 12px; }
  .quantity-control button { width: 44px; height: 44px; }
  .quantity-control span { font-size: 14px; }
  .remove-item { font-size: 13px; }
  .order-summary { position: static; padding: 24px; border-radius: 12px; }
  .order-summary h2 { font-size: 25px; }
  .summary-line { font-size: 14px; }
  .summary-line.total { font-size: 19px; }
  .summary-note { font-size: 13px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .field.full { grid-column: auto; }
  .field { font-size: 14px; }
  .field input, .field select, .field textarea, .lookup-form input { font-size: 16px; }
  .checkout-form h2 { font-size: 24px; margin-top: 32px; margin-bottom: 22px; }
  .notice { font-size: 14px; padding: 15px 17px; }
  .receipt-token { font-size: 12px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .receipt h1 { font-size: 32px; }
  .receipt>p { font-size: 15px; }
  .lookup-form { flex-direction: column; max-width: none; }
  .info-page { margin-top: 0; }
  .info-page h1 { font-size: 34px; margin-bottom: 26px; }
  .info-page h2 { font-size: 24px; margin-top: 30px; }
  .info-page p, .info-page li { font-size: 15px; line-height: 1.85; }
  .info-page ul { padding-left: 22px; }
  .brand-list { grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 26px; }
  .brand-list a { font-size: 17px; min-height: 80px; padding: 20px 0; }
  .brand-list small { font-size: 12px; }
  .empty-state { padding: 40px 18px 46px; border-radius: 12px; }
  .empty-state h2 { font-size: 27px; }
  .empty-state p { font-size: 14px; }
  .search-dialog { top: calc(16px + env(safe-area-inset-top)); width: calc(100% - 24px); max-height: calc(100dvh - var(--dock-height) - env(safe-area-inset-bottom) - 44px); padding: 58px 20px 24px; border-radius: 14px; }
  .search-dialog label { font-size: 28px; margin-bottom: 20px; }
  .search-field input { font-size: 16px; }
  .search-suggestion { grid-template-columns: 50px minmax(0, 1fr); gap: 8px 12px; font-size: 14px; padding: 12px 0; }
  .search-suggestion img { width: 50px; height: 66px; grid-row: 1 / 3; }
  .search-suggestion small { font-size: 13px; }
  .search-suggestion>span:last-child { display: block; grid-column: 2; font-size: 15px; }
  .site-footer { padding-top: 36px; }
  .footer-top { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 30px; }
  .footer-top .wordmark { font-size: 30px; }
  .footer-top p { margin: 0; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-label { font-size: 13px; margin-bottom: 12px; }
  .footer-grid a:not(.text-link) { font-size: 13px; min-height: 44px; line-height: 1.6; }
  .footer-grid>div:nth-child(3) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .footer-grid>div:nth-child(3)>.footer-label { grid-column: 1 / -1; }
  .footer-bottom { font-size: 12px; gap: 12px 20px; margin-top: 26px; padding-top: 18px; padding-bottom: 24px; justify-content: flex-start; }
  .footer-bottom .analytics-settings { flex-basis: 100%; text-align: left; }
  .mobile-dock { position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--layer-dock); min-height: calc(var(--dock-height) + env(safe-area-inset-bottom)); padding: 5px max(8px, env(safe-area-inset-left)) calc(5px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-dock>a, .mobile-dock>button { min-width: 0; min-height: 54px; padding: 5px 2px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; border-radius: var(--radius-button); font-size: 10px; line-height: 1.3; letter-spacing: .005em; color: #555d4b; }
  .mobile-dock img { width: 21px; height: 21px; }
  .mobile-dock [aria-current="page"] { background: #e9eddf; color: var(--ink); font-weight: 500; }
  .toast { bottom: calc(var(--dock-height) + env(safe-area-inset-bottom) + 12px); font-size: 14px; width: max-content; max-width: calc(100% - 32px); padding: 14px 18px; }
  .analytics-consent { left: 12px; right: 12px; bottom: calc(var(--dock-height) + env(safe-area-inset-bottom) + 12px); padding: 22px; }
  .analytics-consent p { font-size: 20px; }
  .analytics-consent small { font-size: 14px; }
}

@media (max-width: 359px) {
  :root { --space: 16px; }
  .announcement { padding-left: 16px; padding-right: 16px; font-size: 10px; }
  .header-main { padding-left: 12px; padding-right: 12px; gap: 4px; }
  .header-main>.wordmark { font-size: 23px; letter-spacing: .12em; }
  .hero { margin-left: 12px; margin-right: 12px; }
  .hero-image { height: 230px; }
  .hero-content { padding: 24px 20px; }
  .hero h1 { font-size: 36px; }
  .hero .button { font-size: 12px; gap: 8px; }
  .hero-kicker { font-size: 9px; }
  .section { padding-left: 16px; padding-right: 16px; }
  .section-header h2 { font-size: 25px; }
  .section-header .text-link { font-size: 11px; max-width: 92px; }
  .page-container { padding-left: 16px; padding-right: 16px; }
  .catalog-tabs { margin-right: -16px; padding-right: 16px; gap: 8px; }
  .filters-toggle { min-width: 0; padding: 8px 12px; }
  .gender-edits { padding-left: 16px; padding-right: 16px; gap: 10px; }
  .edit { height: 290px; padding: 18px 12px; }
  .edit h2 { font-size: 27px; }
  .edit .text-link { font-size: 11px; }
  .cart-row { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .cart-info p { font-size: 13px; }
  .brand-list { gap: 0 18px; }
  .brand-list a { font-size: 16px; }
  .product-detail h1 { font-size: 27px; }
}

/* Short viewports (landscape phones, 200–400% zoom): nothing stays pinned over the content. */
@media (max-height: 560px) {
  html { scroll-padding-top: 16px; scroll-padding-bottom: 16px; }
  body { padding-bottom: 0; }
  .site-header, .catalog-toolbar { position: relative; top: auto; }
  .catalog-toolbar ~ * :is(a, button, input, select, summary) { scroll-margin-top: 0; }
  .product-detail, .order-summary { position: static; }
  .mobile-dock { position: static; }
  .toast, .analytics-consent { bottom: 12px; }
}

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