/* (C)2026 Badger Commerce Limited, a subsidiary of Kedos Consulting Limited */

/* ==========================================================================================
   DEPOT
   A dense, catalogue-first storefront theme for buyers who know what they need: a persistent
   filter rail, a sticky slim header with the search field always in view, cards that carry SKU,
   stock and a quantity + Add control, and a list view that turns a listing into a quick-buy
   SKU table. Graphite and one signal colour, small radii, condensed headings, monospaced
   numbers. Layered over Nova: Nova's bdgr.css loads first, this file second, the Design
   Brief's theme.css (brand colour / font / shape) last.

   Principles
   1. Signal amber (--color-primary) marks the action: Add, Checkout, Pay, the search button and the
      current position. Everything else is graphite, paper and hairlines.
   2. Facts before decoration: SKU, brand, stock and price are always in the same place on a card.
   3. Numbers are monospaced and tabular, so a column of prices or quantities lines up.
   4. Nothing is shown that the catalogue can't back up: no invented specs, breaks or stock.

   Nova token re-points come first (so Nova templates Depot has not overridden - basket, checkout,
   account, blog - pick up the Depot look), then Depot's own role tokens, which are defined in
   terms of Nova's names so the Design Brief keeps working (it only ever writes Nova's names).
   ========================================================================================== */

:root {
  /* ── Nova tokens, re-pointed ─────────────────────────────────────────────────────────── */
  --color-primary: #FFB800;
  --color-primary-dark: #D99A00;
  --color-primary-light: #FFE08A;
  --color-primary-50: #FFF6DB;
  --color-primary-ring: rgba(255, 184, 0, 0.3);
  --color-primary-tint: rgba(255, 184, 0, 0.08);

  /* A warm graphite ramp. */
  --color-gray-50: #F7F7F4;
  --color-gray-100: #EBEBE6;
  --color-gray-200: #DCDBD3;
  --color-gray-300: #C6C5BC;
  --color-gray-400: #9A9C9A;
  --color-gray-500: #5B6169;
  --color-gray-600: #4A525B;
  --color-gray-700: #39424C;
  --color-gray-800: #232930;
  --color-gray-900: #15181C;
  --color-gray-950: #0D0F12;

  --color-success: #1B7A37;
  --color-error: #B3261E;
  --color-error-dark: #8F1D17;
  --color-warning: #A85F00;

  --font-family-base: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-family-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-family-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --font-weight-heading: 700;
  --letter-spacing-heading: 0.01em;

  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --radius-xl: 6px;
  --radius-2xl: 8px;

  --shadow-xs: 0 1px 0 rgba(21, 24, 28, 0.06);
  --shadow-sm: 0 1px 2px rgba(21, 24, 28, 0.1);
  --shadow-md: 0 4px 12px rgba(21, 24, 28, 0.14);
  --shadow-lg: 0 8px 24px rgba(21, 24, 28, 0.18), 0 1px 0 rgba(21, 24, 28, 0.06);
  --shadow-xl: 0 8px 24px rgba(21, 24, 28, 0.22), 0 1px 0 rgba(21, 24, 28, 0.06);

  --product-image-ratio: 1 / 1;
  --container-max-width: 1440px;
  --container-padding: clamp(12px, 2vw, 24px);

  /* ── Depot roles ─────────────────────────────────────────────────────────────────────── */
  --d-ink: var(--color-text-strong);
  --d-text: var(--color-gray-700);
  --d-muted: var(--color-gray-500);
  --d-line: var(--color-gray-200);
  --d-line-strong: #B7B6AD;
  --d-sunken: var(--color-gray-100);
  --d-tile: var(--d-sunken);
  --d-canvas: #F3F3EF;
  --d-subtle: var(--d-canvas);
  --d-surface: var(--color-surface);
  --d-dark: var(--color-gray-900);        /* not inverted by a dark Design Brief surface */
  --d-slate: var(--color-gray-800);
  --d-slate-2: var(--color-gray-700);
  --d-slate-3: #56606B;
  --d-on-dark: #F3F3EF;
  --d-on-dark-muted: #AEB5BD;

  --d-signal: var(--color-primary);
  --d-signal-lo: var(--color-primary-dark);
  --d-buy: var(--color-primary);
  --d-buy-hover: color-mix(in srgb, var(--color-primary) 86%, #FFFFFF);
  --d-on-buy: #15181C;                    /* dark text on the signal colour, whatever the brief sets */
  --d-sale: var(--color-error);
  --d-ok: var(--color-success);
  --d-warn: var(--color-warning);
  --d-star: #E58A00;

  --d-focus-ring: 0 0 0 2px var(--d-ink), 0 0 0 4px var(--d-signal);
  --d-control: 40px;
  --d-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --d-header-offset: 0px;                /* set by depot.js to the sticky header's height */
}

/* ==========================================================================================
   BASE
   ========================================================================================== */

body {
  background: var(--d-canvas);
  color: var(--d-text);
  font-family: var(--font-family-base);
  font-size: 14px;
  line-height: 1.4;
  text-rendering: optimizeLegibility;
}

a { color: var(--d-ink); }
a:hover { color: var(--d-ink); }
/* Links inside running copy (tenant content) stay recognisable. */
:where(p, li, dd, td) > a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--d-focus-ring);
  border-radius: var(--radius-sm);
}

.depot-wrap {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.depot-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Numbers: monospaced and tabular so columns of prices, SKUs and quantities line up. */
.depot-num,
.depot-sku,
.depot-price__now,
.depot-price__was,
.depot-step input {
  font-family: var(--font-family-mono);
  font-variant-numeric: tabular-nums;
}

.depot-icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.depot-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--d-ink);
  color: var(--d-surface);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: top 150ms var(--d-ease);
}
.depot-skip:focus { top: 12px; color: var(--d-surface); }
#depot-content:focus { outline: none; }

.depot-main { padding-bottom: 48px; }

/* ==========================================================================================
   BUTTONS
   ========================================================================================== */

.depot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--d-ink);
  border-radius: var(--radius-md);
  background: var(--d-surface);
  color: var(--d-ink);
  font: 600 14px/1.1 var(--font-family-base);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms var(--d-ease), border-color 150ms var(--d-ease), color 150ms var(--d-ease);
}
.depot-btn:hover { background: var(--d-sunken); color: var(--d-ink); }
.depot-btn .depot-icon { font-size: 17px; }
.depot-btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* The action colour: Add, Checkout, Search. Dark text keeps it legible on amber. */
.depot-btn--pri,
.depot-btn--buy { background: var(--d-buy); border-color: var(--d-signal-lo); color: var(--d-on-buy); font-weight: 700; }
.depot-btn--pri:hover,
.depot-btn--buy:hover { background: var(--d-buy-hover); color: var(--d-on-buy); }

.depot-btn--dark,
.depot-btn--ink { background: var(--d-ink); color: var(--d-on-dark); }
.depot-btn--dark:hover,
.depot-btn--ink:hover { background: var(--d-slate-2); color: var(--d-on-dark); }

.depot-btn--outline { background: var(--d-surface); }
.depot-btn--quiet { background: var(--d-subtle); border-color: var(--d-line-strong); }
.depot-btn--quiet:hover { background: var(--d-sunken); }

.depot-btn--block { display: flex; width: 100%; }
.depot-btn--sm { min-height: 32px; padding: 0 12px; font-size: 13px; }
.depot-btn--lg { min-height: 44px; font-size: 16px; padding: 0 20px; }
.depot-btn--lg .depot-icon { font-size: 19px; }

.depot-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--d-ink);
  font-size: 22px;
  cursor: pointer;
}
.depot-iconbtn:hover { background: var(--d-sunken); }

.depot-linkbtn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--d-ink);
  font: 500 13px/1.3 var(--font-family-base);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* ==========================================================================================
   HEADER: utility strip (announcement + promises), bar, category row
   The header is one slate block with a signal rule under it: brand, an always-visible search
   field, account and basket. The category row sits inside it, a shade lighter.
   ========================================================================================== */

.depot-announce {
  background: var(--d-dark);
  color: var(--d-on-dark);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  padding-block: 6px;
}
.depot-announce a { color: var(--d-on-dark); text-decoration: underline; text-underline-offset: 2px; }

.depot-promise {
  background: var(--d-dark);
  color: var(--d-on-dark-muted);
  font-size: 12px;
}
.depot-announce + .depot-promise { border-top: 1px solid var(--d-slate-2); }
.depot-promise__list {
  display: flex;
  justify-content: flex-end;
  gap: 4px 24px;
  margin: 0 auto;
  padding-block: 6px;
  list-style: none;
}
.depot-promise__item { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.depot-promise__item .depot-icon { font-size: 15px; color: var(--d-signal); }
@media (max-width: 719px) {
  .depot-promise__list { justify-content: flex-start; }
  .depot-promise__item:not(:first-child) { display: none; }
}

.depot-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--d-slate);
  color: var(--d-on-dark);
  border-bottom: 3px solid var(--d-signal);
}
.depot-header .depot-iconbtn { color: var(--d-on-dark); }
.depot-header .depot-iconbtn:hover { background: var(--d-slate-2); }
.depot-header :where(a, button, input):focus-visible { box-shadow: 0 0 0 2px var(--d-signal); }

.depot-header__bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand search actions";
  align-items: center;
  column-gap: clamp(12px, 2vw, 24px);
  min-height: 56px;
  padding-block: 8px;
}
.depot-header__menu { display: none; grid-area: menu; margin-left: -8px; }

.depot-header__brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: var(--d-on-dark);
}
.depot-header__brand:hover { color: var(--d-on-dark); }
.depot-header__logo {
  display: block;
  height: 36px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}
.depot-header__name {
  font-family: var(--font-family-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  white-space: nowrap;
}
.depot-header__name--with-logo { font-size: 18px; }

.depot-header__search {
  grid-area: search;
  width: 100%;
  max-width: 760px;
  justify-self: center;
}

.depot-header__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Account + basket */
.depot-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--d-on-dark);
  text-decoration: none;
  transition: background-color 150ms var(--d-ease);
}
.depot-action:hover { background: var(--d-slate-2); color: var(--d-on-dark); }
.depot-action__icon { font-size: 22px; }
.depot-action__iconwrap { position: relative; display: inline-flex; }
.depot-action__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.depot-action__label { font-size: 13px; font-weight: 600; white-space: nowrap; }
.depot-action__caption { font-size: 11px; color: var(--d-on-dark-muted); white-space: nowrap; }
.depot-action__count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--d-ink);
  color: var(--d-signal);
  font-family: var(--font-family-mono);
  font-size: 11px;
  font-weight: 600;
}
/* The basket is the one filled control in the header. */
.depot-action--basket { background: var(--d-signal); border-color: var(--d-signal-lo); color: var(--d-on-buy); }
.depot-action--basket:hover { background: var(--d-buy-hover); color: var(--d-on-buy); }
.depot-header .depot-action--basket,
.depot-header .depot-action--basket:hover { color: var(--d-on-buy); }
.depot-action--basket .depot-action__caption { color: var(--d-slate); font-family: var(--font-family-mono); }
.depot-action--basket:not(.has-items) .depot-action__count { display: none; }
/* Search field (fallback form and the searchBar extension share these classes) */
.depot-searchbar { position: relative; }
.depot-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  padding: 0 4px 0 14px;
  gap: 10px;
  background: var(--d-surface);
  border: 1.5px solid var(--d-line-strong);
  border-radius: var(--radius-md);
  transition: border-color 150ms var(--d-ease), box-shadow 150ms var(--d-ease);
}
.depot-search:hover { border-color: var(--color-gray-400); }
.depot-search:focus-within {
  border-color: var(--d-ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--d-ink) 12%, transparent);
}
.depot-search__icon { font-size: 20px; color: var(--d-muted); }
.depot-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--d-ink);
  font-size: 16px;                        /* 16px stops iOS zooming the page on focus */
  outline: none;
}
.depot-search__input::placeholder { color: var(--d-muted); opacity: 1; }
/* the header search scope (fragment/search-scope) reads like the text it sits beside */
.depot-search__scope { color: var(--d-ink); }
.depot-search__input:focus-visible { box-shadow: none; }
.depot-search__input::-webkit-search-decoration,
.depot-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.depot-search__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--d-muted);
  font-size: 18px;
  cursor: pointer;
}
.depot-search__clear[hidden] { display: none; }
.depot-search__clear:hover { background: var(--d-tile); color: var(--d-ink); }
.depot-search__submit {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: calc(var(--radius-md) - 2px);
  background: var(--d-ink);
  color: var(--d-surface);
  font: 600 14px/1 var(--font-family-base);
  cursor: pointer;
  transition: background-color 150ms var(--d-ease);
}
.depot-search__submit:hover { background: var(--color-gray-800); }

/* Suggestions panel (rendered by Nova's searchBar.js) */
.depot-search__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 1100;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: 6px;
  background: var(--d-surface);
  border: 1px solid var(--d-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.depot-search__panel[hidden] { display: none; }
.depot-searchbar .nova-searchbar__section-title {
  padding: 10px 12px 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--d-muted);
}
.depot-searchbar .nova-searchbar__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: var(--d-ink);
  text-decoration: none;
}
.depot-searchbar .nova-searchbar__option:hover,
.depot-searchbar .nova-searchbar__option.is-active { background: var(--d-subtle); }
.depot-searchbar .nova-searchbar__thumb {
  width: 48px;
  height: 60px;
  flex: none;
  object-fit: contain;
  background: var(--d-tile);
  border-radius: var(--radius-sm);
  mix-blend-mode: multiply;
}
.depot-searchbar .nova-searchbar__cat-icon {
  width: 48px;
  height: 48px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--d-tile);
  color: var(--d-ink);
}
.depot-searchbar .nova-searchbar__option-text { flex: 1 1 auto; min-width: 0; }
.depot-searchbar .nova-searchbar__name {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.depot-searchbar .nova-searchbar__brand {
  font-size: 12px;
  color: var(--d-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.depot-searchbar .nova-searchbar__price-row { display: flex; align-items: baseline; gap: 8px; flex: none; }
.depot-searchbar .nova-searchbar__price { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.depot-searchbar .nova-searchbar__compare { font-size: 12px; color: var(--d-muted); text-decoration: line-through; }
.depot-searchbar .nova-searchbar__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 12px;
  border-top: 1px solid var(--d-line);
  color: var(--d-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.depot-searchbar .nova-searchbar__footer:hover,
.depot-searchbar .nova-searchbar__footer.is-active { background: var(--d-subtle); }
.depot-searchbar .nova-searchbar__empty { padding: 20px 12px; text-align: center; color: var(--d-muted); font-size: 14px; }

/* Category row + mega menu (desktop) */
.depot-header__nav { position: relative; }
.depot-header__nav .depot-menu {
  display: flex;
  align-items: stretch;
  gap: 4px;
  margin: 0 0 0 -12px;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.depot-header__nav .depot-menu::-webkit-scrollbar { display: none; }
.depot-header__nav .depot-menu__item { position: static; }
.depot-header__nav .depot-menu__row {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
}
.depot-header__nav .depot-menu__link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  color: var(--d-ink);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.depot-header__nav .has-panel .depot-menu__link { padding-right: 2px; }
.depot-menu__link--button {
  gap: 6px;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}
.depot-header__nav .has-panel .depot-menu__link--button { padding-right: 12px; }
.depot-menu__caret { font-size: 15px; color: var(--d-muted); transition: transform 200ms var(--d-ease); }
.depot-menu__item.is-open .depot-menu__caret { transform: rotate(180deg); }
.depot-drawer .depot-menu__link--button { justify-content: space-between; width: 100%; text-align: left; }
.depot-drawer .depot-menu__link--button .depot-menu__caret { font-size: 20px; color: var(--d-ink); }
.depot-header__nav .depot-menu__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 32px;
  margin-right: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--d-muted);
  font-size: 15px;
  cursor: pointer;
}
.depot-header__nav .depot-menu__toggle .depot-icon { transition: transform 200ms var(--d-ease); }
.depot-header__nav .depot-menu__row::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--d-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--d-ease);
}
.depot-header__nav .depot-menu__item:hover .depot-menu__row::after,
.depot-header__nav .depot-menu__item.is-open .depot-menu__row::after,
.depot-header__nav .depot-menu__item.is-current .depot-menu__row::after { transform: scaleX(1); }
.depot-header__nav .depot-menu__item.is-open .depot-menu__toggle .depot-icon { transform: rotate(180deg); }

.depot-header__nav .depot-menu__panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1020;
  max-height: calc(100vh - var(--d-header-offset) - 24px);
  overflow-y: auto;
  background: var(--d-surface);
  border-top: 1px solid var(--d-line);
  box-shadow: 0 28px 40px -28px rgba(19, 23, 20, 0.28);
}
.depot-header__nav .depot-menu__item.is-open > .depot-menu__panel { display: block; animation: depot-drop 180ms var(--d-ease); }
html:not(.depot-js) .depot-header__nav .depot-menu__item:hover > .depot-menu__panel,
html:not(.depot-js) .depot-header__nav .depot-menu__item:focus-within > .depot-menu__panel { display: block; }
@keyframes depot-drop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.depot-menu__inner { padding-block: 28px 24px; }
.depot-menu__groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 28px 40px;
}
.depot-menu__group--leaves:has(.depot-menu__list--flow) { grid-column: 1 / -1; }
/* A heading-less list of links sits beside headed columns: start it on their first link's line. */
.depot-header__nav .depot-menu__group--leaves:not(:has(.depot-menu__heading)) { padding-top: 26px; }
.depot-menu__heading {
  display: block;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--d-muted);
  text-decoration: none;
}
.depot-menu__heading--link { color: var(--d-ink); }
.depot-menu__heading--link:hover { text-decoration: underline; text-underline-offset: 3px; }
.depot-menu__list { margin: 0; padding: 0; list-style: none; }
.depot-menu__list--flow { columns: 180px auto; column-gap: 40px; }
.depot-menu__list li { break-inside: avoid; }
.depot-menu__sublink,
.depot-menu__more {
  display: block;
  padding: 5px 0;
  color: var(--d-text);
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
}
.depot-menu__sublink:hover { color: var(--d-ink); text-decoration: underline; text-underline-offset: 3px; }
.depot-menu__more { color: var(--d-ink); font-weight: 600; }
.depot-menu__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--d-line);
  color: var(--d-ink);
  font-weight: 600;
  text-decoration: none;
}
.depot-menu__all .depot-icon { transition: transform 150ms var(--d-ease); }
.depot-menu__all:hover .depot-icon { transform: translateX(3px); }
.depot-header__nav .depot-menu__all { display: flex; width: 100%; }


/* ==========================================================================================
   DEPOT SKIN FOR THE SEARCH FIELD AND THE CATEGORY ROW
   The rules above (kept from the layered-theme mechanics: suggestion panel, hover-intent mega
   menu) are recoloured here for a dark header.
   ========================================================================================== */

/* Search: a white field on the slate header with a signal button on its right edge. */
.depot-search {
  height: 40px;
  padding: 0 0 0 12px;
  gap: 8px;
  border: 1px solid var(--d-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.depot-search:hover { border-color: var(--d-surface); }
.depot-search:focus-within {
  border-color: var(--d-signal);
  box-shadow: 0 0 0 3px var(--color-primary-ring);
}
.depot-search__icon { font-size: 18px; }
.depot-search__input { font-size: 16px; }
.depot-search__clear { height: 28px; width: 28px; }
.depot-search__submit {
  align-self: stretch;
  height: auto;
  padding: 0 18px;
  border-radius: 0;
  background: var(--d-signal);
  color: var(--d-on-buy);
  font-weight: 700;
}
.depot-search__submit:hover { background: var(--d-buy-hover); }
.depot-search__panel {
  color: var(--d-ink);
  border-color: var(--d-line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.depot-searchbar .nova-searchbar__section-title { font-family: var(--font-family-display); font-size: 12px; letter-spacing: 0.1em; }
.depot-searchbar .nova-searchbar__thumb { width: 40px; height: 40px; }
.depot-searchbar .nova-searchbar__price { font-family: var(--font-family-mono); }

/* Category row: a lighter slate band with hairline-tight links; the mega panel stays white. */
.depot-header__nav { background: var(--d-slate-2); color: var(--d-on-dark); }
.depot-header__nav .depot-menu { margin: 0 0 0 -12px; gap: 0; }
.depot-header__nav .depot-menu__row { height: 40px; }
.depot-header__nav .depot-menu__link {
  color: var(--d-on-dark);
  font-size: 13px;
  font-weight: 500;
}
.depot-header__nav .depot-menu__link:hover { color: var(--d-on-dark); }
.depot-header__nav .depot-menu__toggle,
.depot-menu__caret { color: var(--d-on-dark-muted); }
.depot-header__nav .depot-menu__item:hover > .depot-menu__row,
.depot-header__nav .depot-menu__item.is-open > .depot-menu__row { background: var(--d-slate-3); }
.depot-header__nav .depot-menu__row::after { left: 0; right: 0; height: 3px; background: var(--d-signal); }
.depot-header__nav .depot-menu__panel {
  color: var(--d-text);
  border-top: 0;
  border-bottom: 3px solid var(--d-signal);
  box-shadow: var(--shadow-lg);
}
.depot-menu__inner { padding-block: 20px 16px; }
.depot-menu__heading { font-family: var(--font-family-display); font-size: 14px; letter-spacing: 0.08em; }
.depot-menu__sublink,
.depot-menu__more { font-size: 14px; padding: 4px 0; }
/* ==========================================================================================
   MOBILE / TABLET HEADER + DRAWER
   ========================================================================================== */

@media (max-width: 1023px) {
  .depot-header__bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "menu brand actions"
      "search search search";
    column-gap: 8px;
    row-gap: 0;
    min-height: 0;
    padding-top: 6px;
  }
  .depot-header__menu { display: inline-flex; }
  .depot-header__brand { justify-self: start; min-height: 48px; }
  .depot-header__logo { height: 32px; max-width: 150px; }
  .depot-header__name { font-size: 19px; }
  .depot-header__search {
    max-width: none;
    padding-block: 6px 12px;
    transition: margin-top 220ms var(--d-ease), opacity 220ms var(--d-ease);
  }
  .depot-search { height: 44px; }
  .depot-search__submit { display: none; }
  .depot-action { padding: 0; width: 44px; min-height: 44px; justify-content: center; }
  .depot-action__text { display: none; }
  .depot-header__nav { display: none; }
}

@media (min-width: 1024px) {
  .depot-drawer { display: none !important; }
}

.depot-drawer { position: fixed; inset: 0; z-index: 1060; }
.depot-drawer[hidden] { display: none; }
.depot-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 14, 12, 0.5);
  opacity: 0;
  transition: opacity 240ms var(--d-ease);
}
.depot-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(420px, 88vw);
  display: flex;
  flex-direction: column;
  background: var(--d-surface);
  box-shadow: var(--shadow-xl);
  transform: translateX(-100%);
  transition: transform 280ms var(--d-ease);
}
.depot-drawer.is-open .depot-drawer__scrim { opacity: 1; }
.depot-drawer.is-open .depot-drawer__panel { transform: none; }
.depot-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 8px 0 20px;
  border-bottom: 1px solid var(--d-line);
}
.depot-drawer__title { font-size: 17px; font-weight: 650; color: var(--d-ink); }
.depot-drawer__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; }
.depot-drawer__foot { border-top: 1px solid var(--d-line); padding: 8px 0; background: var(--d-subtle); }
.depot-drawer__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  color: var(--d-ink);
  font-weight: 500;
  text-decoration: none;
}
.depot-drawer__link .depot-icon { font-size: 22px; }

.depot-drawer .depot-menu { margin: 0; padding: 0; list-style: none; }
.depot-drawer .depot-menu__item { border-bottom: 1px solid var(--d-line); }
.depot-drawer .depot-menu__row { display: flex; align-items: stretch; }
.depot-drawer .depot-menu__link {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 20px;
  color: var(--d-ink);
  font-size: 17px;
  font-weight: 550;
  text-decoration: none;
}
.depot-drawer .depot-menu__toggle {
  flex: none;
  width: 60px;
  border: 0;
  border-left: 1px solid var(--d-line);
  background: transparent;
  color: var(--d-ink);
  font-size: 20px;
  cursor: pointer;
}
.depot-drawer .depot-menu__toggle .depot-icon { transition: transform 200ms var(--d-ease); }
.depot-drawer .depot-menu__item.is-open .depot-menu__toggle .depot-icon { transform: rotate(180deg); }
.depot-drawer .depot-menu__panel { display: none; background: var(--d-subtle); border-top: 1px solid var(--d-line); }
.depot-drawer .depot-menu__item.is-open > .depot-menu__panel { display: block; }
.depot-drawer .depot-menu__inner { padding: 16px 20px 20px; }
.depot-drawer .depot-menu__groups { display: block; }
.depot-drawer .depot-menu__group + .depot-menu__group { margin-top: 20px; }
.depot-drawer .depot-menu__list--flow { columns: 2 130px; column-gap: 20px; }
.depot-drawer .depot-menu__sublink { padding: 8px 0; font-size: 16px; }
.depot-drawer .depot-menu__all { margin-top: 16px; }

html.depot-drawer-open { overflow: hidden; }
/* ==========================================================================================
   BREADCRUMB (Nova markup)
   ========================================================================================== */

.nova-breadcrumb { margin: 20px 0 4px; }
.nova-breadcrumb__list { font-size: 13px; }
.nova-breadcrumb__item { color: var(--d-muted); }
.nova-breadcrumb__item + .nova-breadcrumb__item::before { content: "/"; color: var(--d-line-strong); font-weight: 400; }
.nova-breadcrumb__link { color: var(--d-muted); }
.nova-breadcrumb__link:hover,
.nova-breadcrumb__link:focus-visible { color: var(--d-ink); text-decoration: underline; text-underline-offset: 3px; }
.nova-breadcrumb__current { color: var(--d-ink); }

/* Content-page (/p/...) trail: sits between the header and any hero, so keep it tight. */
.nova-page-crumbs .nova-breadcrumb { margin: 12px 0; }

/* ==========================================================================================
   NOVA COMPATIBILITY
   Nova templates Depot hasn't replaced yet still render. These keep them on-system: buttons
   follow the one-colour rule and page sections sit on Depot's grid.
   ========================================================================================== */

.nova-container { max-width: var(--container-max-width); padding-inline: var(--container-padding); }
.nova-btn { border-radius: var(--radius-md); font-weight: 600; }
.nova-btn-secondary,
.nova-btn-outline { border-color: var(--d-ink); color: var(--d-ink); }
.nova-btn-outline:hover { background: var(--d-ink); color: var(--d-surface); }

/* ==========================================================================================
   MOTION
   ========================================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

/* ==========================================================================================
   FORMS (Nova's .nova-input is used by quantity, checkout and account forms)
   ========================================================================================== */

.nova-input,
.depot-input {
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--d-line-strong);
  border-radius: var(--radius-md);
  background-color: var(--d-surface);
  color: var(--d-ink);
  font-size: 16px;                        /* no iOS zoom on focus */
}
.nova-input:hover,
.depot-input:hover { border-color: var(--color-gray-400); }
.nova-input:focus,
.depot-input:focus {
  outline: none;
  border-color: var(--d-ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--d-ink) 12%, transparent);
}
select.nova-input { min-height: 48px; }

/* Nova pages Depot doesn't override (basket, checkout, account, blog): keep the action colour legible.
   Nova's own primary button is white text on --color-primary; Depot's primary is amber, so the text
   goes dark, and the controls take Depot's tighter shape. */
.nova-btn-primary,
.btn-primary { color: var(--d-on-buy); font-weight: 700; border-color: var(--d-signal-lo); }
.nova-btn-primary:hover:not(:disabled),
.btn-primary:hover:not(:disabled) { color: var(--d-on-buy); }
.nova-btn { min-height: 40px; }
.nova-input,
.depot-input { min-height: 40px; padding: 8px 12px; border-width: 1px; }
select.nova-input { min-height: 40px; }
:where(h1, h2, h3) { letter-spacing: var(--letter-spacing-heading); }
   FILTERED LISTINGS (search, merchandising nodes)
   ========================================================================================== */

.depot-plp-head--search { margin-top: 28px; }
.depot-plp-head__eyebrow { margin: 0 0 4px; font-size: 14px; font-weight: 550; color: var(--d-muted); }

.depot-toolbar__filters { position: relative; }
.depot-toolbar__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--d-ink);
  color: var(--d-surface);
  font-size: 12px;
  font-weight: 700;
}
.depot-btn--outline:hover .depot-toolbar__badge { background: var(--d-surface); color: var(--d-ink); }
.depot-toolbar__filters + .depot-toolbar__count { margin-right: auto; }

.depot-applied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -8px 0 24px;
  padding: 0;
  list-style: none;
}
.depot-chip--applied { background: var(--d-subtle); border-color: var(--d-line-strong); gap: 8px; padding-right: 12px; }
.depot-chip--applied .depot-icon { font-size: 15px; }
.depot-applied__clear { font-size: 14px; font-weight: 600; color: var(--d-ink); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }

.depot-listing { display: block; }
@media (min-width: 1024px) {
  .depot-listing.has-rail { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 40px; align-items: start; }
  .depot-listing.has-rail .depot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .depot-toolbar__filters { display: none; }
  .depot-filters { position: sticky; top: calc(var(--d-header-offset) + 76px); max-height: calc(100vh - var(--d-header-offset) - 96px); overflow-y: auto; scrollbar-width: thin; }
  .depot-filters__head, .depot-filters__foot, .depot-filters__scrim { display: none; }
}
@media (min-width: 1440px) {
  .depot-listing.has-rail .depot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Small screens: the rail is a slide-in panel */
@media (max-width: 1023px) {
  .depot-filters { position: fixed; inset: 0; z-index: 1060; visibility: hidden; }
  .depot-filters.is-open { visibility: visible; }
  .depot-filters__scrim { position: absolute; inset: 0; background: rgba(11, 14, 12, 0.5); opacity: 0; transition: opacity 240ms var(--d-ease); }
  .depot-filters.is-open .depot-filters__scrim { opacity: 1; }
  .depot-filters__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 92vw);
    display: flex;
    flex-direction: column;
    background: var(--d-surface);
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform 280ms var(--d-ease);
  }
  .depot-filters.is-open .depot-filters__panel { transform: none; }
  .depot-filters__head { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 8px 0 20px; border-bottom: 1px solid var(--d-line); }
  .depot-filters__title { font-size: 17px; font-weight: 650; color: var(--d-ink); }
  .depot-filters__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px; }
  .depot-filters__foot { display: flex; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--d-line); }
  .depot-filters__done { flex: 1 1 auto; }
}

.depot-facet { border-bottom: 1px solid var(--d-line); }
.depot-facet__title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 650;
  color: var(--d-ink);
}
.depot-facet__title::-webkit-details-marker { display: none; }
.depot-facet__title > span:first-child { flex: 1 1 auto; }
.depot-facet__selected { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--d-ink); color: var(--d-surface); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.depot-facet__chevron { font-size: 18px; color: var(--d-muted); transition: transform 200ms var(--d-ease); }
.depot-facet[open] .depot-facet__chevron { transform: rotate(180deg); }
.depot-facet__values { margin: 0; padding: 0 0 14px; list-style: none; }
html.depot-js .depot-facet__values.is-long:not(.is-expanded) li:nth-child(n+7) { display: none; }
.depot-facet__value {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 4px 0;
  color: var(--d-text);
  font-size: 15px;
  text-decoration: none;
}
.depot-facet__value:hover { color: var(--d-ink); }
.depot-facet__box {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--d-line-strong);
  border-radius: var(--radius-sm);
  background: var(--d-surface);
  color: transparent;
  font-size: 14px;
  transition: border-color 150ms var(--d-ease), background-color 150ms var(--d-ease);
}
.depot-facet__box .depot-icon { stroke-width: 2.5; }
.depot-facet__value:hover .depot-facet__box { border-color: var(--d-ink); }
.is-selected > .depot-facet__value { color: var(--d-ink); font-weight: 600; }
.is-selected > .depot-facet__value .depot-facet__box { background: var(--d-ink); border-color: var(--d-ink); color: var(--d-surface); }
.depot-facet__label { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.depot-facet__count { flex: none; font-size: 13px; color: var(--d-muted); font-variant-numeric: tabular-nums; }
.depot-facet__more { margin: -6px 0 16px; padding: 4px 0; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--d-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* "More filters (n)": the groups past the visible cap, closed until asked for */
.depot-facets-more { border-bottom: 1px solid var(--d-line); }
.depot-facets-more__toggle { display: flex; align-items: center; gap: 8px; min-height: 48px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 650; color: var(--d-ink); text-decoration: underline; text-underline-offset: 3px; }
.depot-facets-more__toggle::-webkit-details-marker { display: none; }
.depot-facets-more__toggle > span { flex: 1 1 auto; }
.depot-facets-more[open] > .depot-facets-more__toggle .depot-facet__chevron { transform: rotate(180deg); }
.depot-facets-more > .depot-facet:last-child { border-bottom: 0; }
/* Price: min/max inputs under the buckets, a plain GET form */
/* Price min/max form. Its own block name: .depot-price is the product card's price line, whose later
   rules (baseline alignment, wrapping) used to override this form's layout. Labels sit above the
   inputs; the dash and Go line up with the inputs, not the labels. */
.depot-pricefilter { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; grid-template-rows: auto var(--d-control); column-gap: 8px; row-gap: 4px; align-items: center; padding: 0 0 16px; }
.depot-pricefilter__field { display: contents; }
.depot-pricefilter__caption { grid-row: 1; font-size: 12px; color: var(--d-muted); }
.depot-pricefilter__field:first-of-type .depot-pricefilter__caption { grid-column: 1; }
.depot-pricefilter__field:last-of-type .depot-pricefilter__caption { grid-column: 3; }
.depot-pricefilter__input { grid-row: 2; display: flex; align-items: center; gap: 4px; height: var(--d-control); padding: 0 8px; border: 1.5px solid var(--d-line-strong); border-radius: var(--radius-sm); background: var(--d-surface); }
.depot-pricefilter__field:first-of-type .depot-pricefilter__input { grid-column: 1; }
.depot-pricefilter__field:last-of-type .depot-pricefilter__input { grid-column: 3; }
.depot-pricefilter__input:focus-within { border-color: var(--d-ink); box-shadow: var(--d-focus-ring); }
.depot-pricefilter__symbol { color: var(--d-muted); font-size: 14px; }
.depot-pricefilter__input input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--d-ink); font-size: 16px; font-variant-numeric: tabular-nums; outline: none; }
.depot-pricefilter__to { grid-row: 2; grid-column: 2; color: var(--d-muted); }
.depot-pricefilter__go { grid-row: 2; grid-column: 4; height: var(--d-control); }
.depot-toolbar__count { white-space: nowrap; }
@media (max-width: 519px) {
  /* Filter + sort need the room; the filter panel's "Show N products" button carries the count. */
  .depot-toolbar__filters + .depot-toolbar__count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .depot-toolbar__filters { margin-right: auto; }
}

/* ==========================================================================================
   PRODUCT RAILS (trending, featured, recently viewed)
   ========================================================================================== */

.depot-rail { padding-block: 48px; }
.depot-rail__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 20px; }
.depot-rail__title { margin: 0; font-size: clamp(22px, 1vw + 16px, 28px); letter-spacing: -0.025em; color: var(--d-ink); }
.depot-rail__subtitle { margin: 0; font-size: 15px; color: var(--d-muted); }
.depot-rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 42%);
  gap: 16px;
  margin-inline: calc(var(--container-padding) * -1);
  padding: 0 var(--container-padding) 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--container-padding);
  scrollbar-width: none;
}
.depot-rail__track::-webkit-scrollbar { display: none; }
.depot-rail__track > .depot-card { scroll-snap-align: start; }
@media (min-width: 720px) { .depot-rail__track { grid-auto-columns: minmax(180px, 28%); } }
@media (min-width: 1100px) {
  .depot-rail__track { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-columns: auto; margin-inline: 0; padding: 0; overflow: visible; gap: 24px; }
  .depot-rail__track > .depot-card:nth-child(n+6) { display: none; }
}
.depot-card--rail .depot-card__title { font-size: 14px; }


/* ==========================================================================================
   LISTING: heading, toolbar, grid / list, product card
   ========================================================================================== */

.depot-plp-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 8px 0 12px;
}
.depot-plp-head__title {
  margin: 0;
  font-family: var(--font-family-display);
  font-size: clamp(28px, 1.6vw + 20px, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--d-ink);
}
.depot-plp-head__count { margin: 0; font-size: 13px; color: var(--d-muted); }
.depot-plp-head__desc { flex-basis: 100%; max-width: 70ch; margin: 0; font-size: 14px; color: var(--d-text); }
/* Search within a category: under the heading, full width on phones, a compact field on desktop */
.depot-scope-search { flex-basis: 100%; display: flex; align-items: stretch; max-width: 420px; margin: 6px 0 0; border: 1.5px solid var(--d-line-strong); border-radius: var(--radius-sm); background: var(--d-surface); }
.depot-scope-search:focus-within { border-color: var(--d-ink); box-shadow: var(--d-focus-ring); }
.depot-scope-search__input { flex: 1 1 auto; min-width: 0; height: var(--d-control); padding: 0 10px; border: 0; background: transparent; color: var(--d-ink); font-size: 16px; outline: none; }
.depot-scope-search__btn { flex: none; width: var(--d-control); border: 0; background: transparent; color: var(--d-ink); cursor: pointer; }
.depot-scope-search__btn .depot-icon { font-size: 18px; }
.depot-plp-head--search { margin-top: 12px; }
.depot-plp-head__eyebrow { flex-basis: 100%; margin: 0; font-size: 13px; font-weight: 600; color: var(--d-muted); }

.depot-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
  padding: 8px 12px;
  background: var(--d-surface);
  border: 1px solid var(--d-line);
  border-radius: var(--radius-md);
}
.depot-toolbar__count { margin: 0; font-size: 13px; color: var(--d-muted); white-space: nowrap; }
.depot-toolbar__r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-left: auto; }
.depot-toolbar__filters + .depot-toolbar__count { margin-right: 0; }

.depot-sort { display: flex; align-items: center; gap: 8px; margin: 0; }
.depot-sort__label { font-size: 13px; color: var(--d-muted); white-space: nowrap; }
.depot-select { position: relative; display: inline-flex; }
.depot-select__control {
  height: 32px;
  padding: 0 30px 0 8px;
  border: 1px solid var(--d-line-strong);
  border-radius: var(--radius-sm);
  background: var(--d-surface);
  color: var(--d-ink);
  font: 500 13px/1 var(--font-family-base);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.depot-select__control:hover { border-color: var(--d-ink); }
.depot-select__chevron {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--d-ink);
  pointer-events: none;
}
@media (max-width: 479px) { .depot-sort__label { display: none; } }

/* Grid / list switch */
.depot-seg { display: inline-flex; border: 1px solid var(--d-line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.depot-seg button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border: 0;
  background: var(--d-surface);
  color: var(--d-ink);
  font: 500 13px/1 var(--font-family-base);
  cursor: pointer;
}
.depot-seg button + button { border-left: 1px solid var(--d-line-strong); }
.depot-seg button[aria-pressed="true"] { background: var(--d-ink); color: var(--d-on-dark); }
.depot-seg .depot-icon { font-size: 15px; }
.depot-view[hidden] { display: none !important; }
@media (max-width: 719px) { .depot-view { display: none !important; } }

/* Applied filters */
.depot-applied { margin: 0 0 8px; }
.depot-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--d-line-strong);
  border-radius: var(--radius-sm);
  background: var(--d-surface);
  color: var(--d-ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.depot-chip:hover { border-color: var(--d-ink); color: var(--d-ink); }
.depot-chip--applied { background: var(--d-slate); border-color: var(--d-slate); color: var(--d-on-dark); padding: 0 8px; }
.depot-chip--applied:hover { background: var(--d-slate-2); color: var(--d-on-dark); }
.depot-chip--applied .depot-icon { font-size: 13px; }
.depot-applied__clear { font-size: 13px; font-weight: 500; color: var(--d-muted); }

/* Rail (persistent on desktop, sheet on small screens - mechanics above) */
.depot-listing.has-rail { grid-template-columns: 244px minmax(0, 1fr); gap: 16px; }
.depot-listing.has-rail .depot-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.depot-listing__main { min-width: 0; container-type: inline-size; }
.depot-filters__panel { font-size: 13px; }
@media (min-width: 1024px) {
  .depot-filters {
    top: calc(var(--d-header-offset) + 12px);
    max-height: calc(100vh - var(--d-header-offset) - 28px);
  }
  .depot-filters__panel {
    background: var(--d-surface);
    border: 1px solid var(--d-line);
    border-radius: var(--radius-md);
  }
  .depot-filters__body { padding: 0 12px; }
}
@media (max-width: 1023px) {
  /* A bottom sheet, like a phone's own filter drawer. */
  .depot-filters__panel {
    top: auto;
    left: 0;
    right: 0;
    width: auto;
    max-height: 84vh;
    border-top: 3px solid var(--d-signal);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transform: translateY(105%);
  }
  .depot-filters__title { font-family: var(--font-family-display); font-size: 20px; text-transform: uppercase; letter-spacing: 0.04em; }
}

.depot-facet__title { min-height: 44px; font-family: var(--font-family-display); font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.depot-facet__value { min-height: 32px; font-size: 13px; }
.depot-facet__count { font-family: var(--font-family-mono); font-size: 12px; }
.depot-facet__box { width: 16px; height: 16px; font-size: 12px; border-radius: var(--radius-sm); }
.is-selected > .depot-facet__value .depot-facet__box { background: var(--d-ink); border-color: var(--d-ink); color: var(--d-signal); }
.depot-facet__selected { background: var(--d-signal); color: var(--d-on-buy); }
.depot-toolbar__badge { background: var(--d-signal); color: var(--d-on-buy); }
.depot-btn--outline:hover .depot-toolbar__badge { background: var(--d-signal); color: var(--d-on-buy); }

/* Category tree (collection and category page rail); above the filters it is ruled off from them */
.depot-tree { padding: 12px 0; font-size: 13px; }
.depot-tree + .depot-facets { margin-top: 4px; border-top: 1px solid var(--d-line); }
.depot-tree__title { margin: 0 0 8px; font-family: var(--font-family-display); font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--d-ink); }
.depot-tree__up { display: flex; align-items: center; gap: 4px; padding: 3px 0; color: var(--d-text); text-decoration: none; }
.depot-tree__up:hover { color: var(--d-ink); text-decoration: underline; }
.depot-tree__up .depot-icon { font-size: 14px; }
.depot-tree__current {
  margin: 2px -8px;
  padding: 3px 8px;
  background: var(--d-sunken);
  border-left: 3px solid var(--d-signal);
  font-weight: 700;
  color: var(--d-ink);
}
.depot-tree__list { margin: 0 0 0 12px; padding: 0 0 0 8px; border-left: 1px solid var(--d-line); list-style: none; }
.depot-tree__list a { display: block; padding: 3px 0; color: var(--d-text); text-decoration: none; }
/* The current collection inside its siblings' list: the signal bar sits over the list's guide line. */
.depot-tree__list .depot-tree__current { display: block; margin: 2px 0 2px -9px; padding: 3px 8px 3px 6px; }
.depot-tree__list a:hover { color: var(--d-ink); text-decoration: underline; }
.depot-tree__list--siblings { margin-left: 0; padding-left: 0; border-left: 0; }
.depot-tree__list--siblings .depot-tree__current { margin: 2px 0; }
/* A category with its result count, pushed to the right like a facet value's. */
.depot-tree__list .depot-tree__item { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.depot-tree__item > span:first-child { min-width: 0; overflow-wrap: anywhere; }
/* "Results for … in …" on a category page searched with q, and its way out to the whole shop. */
.depot-plp-head__scope { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; color: var(--d-text); }
.depot-plp-head__scope a { color: var(--d-ink); }

/* ── Results: grid and list ─────────────────────────────────────────────────────────── */

.depot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 8px;
}
@media (max-width: 519px) { .depot-grid { grid-template-columns: minmax(0, 1fr); } }
/* Beats the rail's .depot-listing.has-rail .depot-grid column counts, which would otherwise lay list rows out as a grid. */
.depot-grid.is-list,
.depot-listing.has-rail .depot-grid.is-list { grid-template-columns: minmax(0, 1fr); }

.depot-list-head {
  display: none;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--d-muted);
}
.depot-list-head[hidden] { display: none !important; }

.depot-empty {
  max-width: 480px;
  margin: 48px auto;
  padding: 32px 24px;
  text-align: center;
  color: var(--d-muted);
}
.depot-empty__title { margin: 0 0 8px; font-family: var(--font-family-display); font-size: 26px; text-transform: uppercase; color: var(--d-ink); }
.depot-empty .depot-btn { margin-top: 16px; }

/* ── Product card ───────────────────────────────────────────────────────────────────── */

.depot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--d-surface);
  border: 1px solid var(--d-line);
  border-radius: var(--radius-md);
}
.depot-card:hover { border-color: var(--d-slate-3); }

.depot-card__media {
  position: relative;
  display: block;
  aspect-ratio: var(--product-image-ratio);
  overflow: hidden;
  border-bottom: 1px solid var(--d-line);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--d-surface);
  isolation: isolate;
}
.depot-card__img,
.depot-card__img > div,
.depot-card__placeholder {
  position: absolute;
  inset: 0;
}
.depot-card__img img,
.depot-card__placeholder {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  mix-blend-mode: multiply;
  transition: opacity 300ms var(--d-ease);
}
.depot-card__img--alt { opacity: 0; transition: opacity 300ms var(--d-ease); }
@media (hover: hover) {
  .depot-card__media.has-alt:hover .depot-card__img--alt { opacity: 1; }
}
.depot-card.is-unavailable .depot-card__img img { opacity: 0.55; }

.depot-card__badges {
  position: absolute;
  top: 8px;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  pointer-events: none;
}
.depot-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px 2px 6px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-family-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}
.depot-badge--sale { background: var(--d-ink); color: var(--d-signal); }
.depot-badge--muted { background: var(--d-sunken); color: var(--d-ink); box-shadow: inset 0 0 0 1px var(--d-line-strong); }
/* Inside the buy box the saving is an inline tag, not a flag on an image. */
.depot-price__line .depot-badge { border-radius: var(--radius-sm); padding: 1px 6px; font-family: var(--font-family-base); font-size: 11px; }
.depot-price__line .depot-badge--sale { background: var(--d-signal); color: var(--d-on-buy); }

.depot-card__body { flex: 1 1 auto; min-width: 0; padding: 8px 12px 0; }
.depot-card__brand {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--d-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.depot-card__title {
  margin: 2px 0 6px;
  font-family: var(--font-family-base);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}
.depot-card__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--d-ink);
  text-decoration: none;
}
.depot-card__title a:hover { text-decoration: underline; }
.depot-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--d-muted);
}
.depot-card__desc * { font-size: inherit; margin: 0; }

.depot-rate,
.depot-rating { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; color: var(--d-muted); }
.depot-stars {
  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'%3E%3Cg id='s'%3E%3Cpath d='M6 .6l1.5 3.6 3.9.3-3 2.5.9 3.8L6 8.8 2.7 10.8l.9-3.8-3-2.5 3.9-.3z'/%3E%3C/g%3E%3Cpath d='M18 .6l1.5 3.6 3.9.3-3 2.5.9 3.8L18 8.8l-3.3 2 .9-3.8-3-2.5 3.9-.3z'/%3E%3Cpath d='M30 .6l1.5 3.6 3.9.3-3 2.5.9 3.8L30 8.8l-3.3 2 .9-3.8-3-2.5 3.9-.3z'/%3E%3Cpath d='M42 .6l1.5 3.6 3.9.3-3 2.5.9 3.8L42 8.8l-3.3 2 .9-3.8-3-2.5 3.9-.3z'/%3E%3Cpath d='M54 .6l1.5 3.6 3.9.3-3 2.5.9 3.8L54 8.8l-3.3 2 .9-3.8-3-2.5 3.9-.3z'/%3E%3C/svg%3E");
  display: inline-block;
  width: 60px;
  height: 12px;
  background: linear-gradient(90deg, var(--d-star) var(--r, 0%), var(--d-line-strong) var(--r, 0%));
  -webkit-mask: var(--star-mask) center / 100% 100% no-repeat;
  mask: var(--star-mask) center / 100% 100% no-repeat;
}
.depot-rating__text { font-family: var(--font-family-mono); }

/* Stock: a dot and a plain statement. Shared by cards and the product page. */
.depot-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.depot-stock__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--d-ok); }
.depot-stock.is-in { color: var(--d-ok); }
.depot-stock.is-low { color: var(--d-warn); }
.depot-stock.is-low .depot-stock__dot { background: var(--d-star); }
.depot-stock.is-out { color: var(--color-error); }
.depot-stock.is-out .depot-stock__dot { background: var(--color-error); }
.depot-card__stock { padding: 8px 12px 0; }

.depot-card__price { padding: 8px 12px 0; }
.depot-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; color: var(--d-ink); }
.depot-price__from { font-size: 12px; color: var(--d-muted); }
.depot-price__now { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.depot-price__now.is-sale { color: var(--d-sale); }
.depot-price__was { font-size: 12px; color: var(--d-muted); }

.depot-card__buy { padding: 8px 12px 12px; }
.depot-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.depot-buy__add { flex: 1; min-height: 34px; padding: 0 12px; }
.depot-card__buy > .depot-btn { min-height: 34px; }

.depot-step { display: inline-flex; height: 34px; border: 1px solid var(--d-line-strong); border-radius: var(--radius-sm); background: var(--d-surface); }
.depot-step button {
  width: 28px;
  border: 0;
  background: var(--d-sunken);
  color: var(--d-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.depot-step button:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.depot-step button:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.depot-step button:hover { background: var(--d-line); }
.depot-step input {
  width: 40px;
  padding: 0;
  border: 0;
  background: var(--d-surface);
  color: var(--d-ink);
  font-size: 14px;
  text-align: center;
  -moz-appearance: textfield;
}
.depot-step input::-webkit-outer-spin-button,
.depot-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
html:not(.depot-js) .depot-step button { display: none; }

.depot-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border-top: 1px dashed var(--d-line);
  font-size: 12px;
}
.depot-sku { color: var(--d-muted); letter-spacing: 0.02em; }
.depot-card--compact .depot-card__body { padding-bottom: 12px; }
.depot-card--rail .depot-card__body { padding-bottom: 12px; }
.depot-card--rail .depot-price { margin-top: 6px; }
.depot-card--rail .depot-price__now { font-size: 16px; }

/* List view: one quick-buy row per product. Wide results get a single-line row (image, name, SKU,
   stock, price, quantity + Add) under column captions; narrow results a compact two-line card. */
@container (min-width: 900px) {
  .depot-list-head {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 128px 176px 150px 172px;
    gap: 12px;
    margin-bottom: 4px;
  }
  .depot-grid.is-list .depot-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 128px 176px 150px 172px;
    align-items: center;
    gap: 12px;
    padding-right: 12px;
  }
  .depot-grid.is-list .depot-card__media { grid-column: 1; grid-row: 1; aspect-ratio: auto; height: 96px; border-bottom: 0; border-right: 1px solid var(--d-line); border-radius: var(--radius-md) 0 0 var(--radius-md); }
  .depot-grid.is-list .depot-card__body { grid-column: 2; grid-row: 1; padding: 8px 0; }
  .depot-grid.is-list .depot-card__foot { grid-column: 3; grid-row: 1; flex-direction: column; align-items: flex-start; margin: 0; padding: 0; border: 0; }
  .depot-grid.is-list .depot-card__stock { grid-column: 4; grid-row: 1; padding: 0; }
  .depot-grid.is-list .depot-card__price { grid-column: 5; grid-row: 1; padding: 0; }
  .depot-grid.is-list .depot-card__buy { grid-column: 6; grid-row: 1; padding: 0; }
  .depot-grid.is-list .depot-buy { flex-wrap: nowrap; }
  .depot-grid.is-list .depot-card__desc { -webkit-line-clamp: 1; }
}
@container (max-width: 899px) {
  .depot-grid.is-list .depot-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas: "img main" "stock stock" "price buy" "foot foot";
    column-gap: 12px;
  }
  .depot-grid.is-list .depot-card__media { grid-area: img; aspect-ratio: 1 / 1; border-bottom: 0; border-right: 1px solid var(--d-line); border-radius: var(--radius-md) 0 0 0; }
  .depot-grid.is-list .depot-card__body { grid-area: main; padding: 8px 12px 0 0; }
  .depot-grid.is-list .depot-card__stock { grid-area: stock; margin-top: 0; padding: 8px 12px 0; border-top: 1px solid var(--d-line); }
  .depot-grid.is-list .depot-card__price { grid-area: price; align-self: end; }
  .depot-grid.is-list .depot-card__buy { grid-area: buy; justify-self: end; align-self: end; padding-left: 0; }
  .depot-grid.is-list .depot-buy { flex-wrap: nowrap; }
  .depot-grid.is-list .depot-card__foot { grid-area: foot; }
}
@container (max-width: 520px) {
  .depot-grid.is-list .depot-card { grid-template-areas: "img main" "stock stock" "price price" "buy buy" "foot foot"; }
  .depot-grid.is-list .depot-card__buy { justify-self: stretch; padding-left: 12px; }
  .depot-grid.is-list .depot-buy { flex-wrap: wrap; }
}

/* ==========================================================================================
   PAGINATION
   ========================================================================================== */

.depot-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 16px 0 8px; font-size: 13px; }
.depot-pager__summary { margin: 0; color: var(--d-muted); font-family: var(--font-family-mono); }
.depot-pager__list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.depot-pager__list > li:empty { display: none; }
.depot-pager__page,
.depot-pager__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--d-line-strong);
  border-radius: var(--radius-sm);
  background: var(--d-surface);
  color: var(--d-ink);
  font-family: var(--font-family-mono);
  font-size: 13px;
  text-decoration: none;
}
.depot-pager__step { font-family: var(--font-family-base); font-weight: 500; }
.depot-pager__page:hover,
.depot-pager__step:hover { border-color: var(--d-ink); color: var(--d-ink); }
.depot-pager__page.is-current { background: var(--d-ink); border-color: var(--d-ink); color: var(--d-signal); }
.depot-pager__step .depot-icon { font-size: 15px; }
.depot-pager__gap { color: var(--d-muted); padding: 0 4px; }
@media (max-width: 479px) { .depot-pager__step span { display: none; } }

/* ==========================================================================================
   FOOTER
   ========================================================================================== */

.depot-footer { margin-top: 0; }

.depot-assure {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 24px;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 20px var(--container-padding);
  list-style: none;
}
.depot-assure__item { display: flex; align-items: center; gap: 12px; color: var(--d-ink); font-size: 14px; font-weight: 600; line-height: 1.3; }
.depot-assure__icon { font-size: 24px; color: var(--d-ink); }

.depot-footer__main {
  background: var(--d-dark);
  color: var(--d-on-dark-muted);
  padding: 32px 0 24px;
  font-size: 13px;
  border-top: 3px solid var(--d-signal);
}
.depot-assure + .depot-footer__main { border-top: 3px solid var(--d-signal); }
.depot-footer__main a { color: var(--d-on-dark); }
.depot-footer__main a:hover { color: var(--d-on-dark); text-decoration: underline; text-underline-offset: 3px; }
.depot-footer__main :is(h1, h2, h3, h4, h5, h6) {
  color: var(--d-on-dark);
  font-family: var(--font-family-display);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.depot-footer__brand { margin: 0 0 12px; color: var(--d-on-dark); font-family: var(--font-family-display); font-size: 20px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.depot-footer__base { background: var(--d-dark); color: var(--d-on-dark-muted); font-size: 12px; }
.depot-footer__base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 16px 20px;
  border-top: 1px solid var(--d-slate-2);
}
.depot-footer__legal p { margin: 0; }
.depot-footer__legal p + p { margin-top: 4px; }
.depot-footer__legal a { color: var(--d-on-dark); text-decoration: underline; text-underline-offset: 2px; }
.depot-footer__pay { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; color: var(--d-on-dark-muted); font-size: 24px; }
.depot-footer__pay li { display: inline-flex; }
/* When the reassurance row is absent the dark block still needs its signal rule. */
.depot-footer > .depot-footer__base:first-child { border-top: 3px solid var(--d-signal); }

/* ==========================================================================================
   PRODUCT PAGE
   ========================================================================================== */

.depot-pdp {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 8px;
  align-items: start;
}
@media (min-width: 900px) {
  /* Gallery beside a stacked summary + buy box. */
  .depot-pdp {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 1fr);
    grid-template-areas:
      "gallery head"
      "gallery buy"
      "docs docs";
    column-gap: 24px;
  }
  .depot-pdp__gallery { grid-area: gallery; }
  .depot-pdp__head { grid-area: head; }
  .depot-pdp__buy { grid-area: buy; }
  .depot-pdp__docs { grid-area: docs; }
  .depot-pdp--bespoke { grid-template-areas: "gallery head" "docs docs"; }
}
@media (min-width: 1181px) {
  /* Wide screens: gallery | summary | a buy box that stays in view while the page scrolls. */
  .depot-pdp {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 340px;
    grid-template-areas:
      "gallery head buy"
      "docs docs docs";
  }
  .depot-pdp--bespoke { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "gallery head" "docs docs"; }
  .depot-pdp__buy { position: sticky; top: calc(var(--d-header-offset) + 12px); }
}
@media (max-width: 899px) {
  /* Edge-to-edge gallery on phones: every pixel of width goes to the product. */
  .depot-pdp__gallery { margin-inline: calc(var(--container-padding) * -1); }
  .depot-pdp__gallery #main-slider .splide__slide { border-radius: 0; }
  .depot-pdp__gallery #thumb-slider { padding-inline: var(--container-padding); }
}

/* Gallery (Nova's carousel / grid / stack markup) */
.depot-pdp #main-slider .splide__slide,
.depot-pdp .nova-gallery__grid-item,
.depot-pdp .nova-gallery__stack-item {
  background: var(--d-surface);
  border: 1px solid var(--d-line);
  border-radius: var(--radius-md);
}
.depot-pdp .nova-gallery__image { mix-blend-mode: multiply; }
.depot-pdp #thumb-slider .splide__slide {
  border: 1px solid var(--d-line-strong);
  border-radius: var(--radius-sm);
  background: var(--d-surface);
  opacity: 0.75;
}
.depot-pdp #thumb-slider .splide__slide.is-active { border-color: var(--d-ink); box-shadow: 0 0 0 2px var(--d-signal); opacity: 1; }
.depot-pdp .nova-gallery__thumb { object-fit: contain; mix-blend-mode: multiply; }

/* Summary */
.depot-pdp__brand { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--d-muted); }
.depot-pdp__title {
  margin: 4px 0 8px;
  font-family: var(--font-family-display);
  font-size: clamp(26px, 1vw + 20px, 32px);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--d-ink);
}
.depot-pdp__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--d-line);
  font-size: 13px;
  color: var(--d-muted);
}
.depot-pdp__meta:empty { display: none; }
.depot-pdp__sku b { color: var(--d-ink); font-weight: 500; }
.depot-pdp__summary { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--d-text); }
.depot-pdp__social { margin-top: 16px; }

.depot-promises {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--d-ink);
}
.depot-promises:not(:has(li)) { display: none; }
.depot-promises li { display: flex; align-items: center; gap: 8px; }
.depot-promises .depot-icon { font-size: 18px; }

/* Buy box */
.depot-buybox {
  margin: 0;
  background: var(--d-surface);
  border: 1px solid var(--d-ink);
  border-radius: var(--radius-md);
  box-shadow: 4px 4px 0 var(--d-signal);
}
@media (max-width: 899px) { .depot-buybox { box-shadow: none; } }
.depot-buybox__sec { padding: 12px 16px; border-bottom: 1px solid var(--d-line); }
.depot-buybox__sec:last-child { border-bottom: 0; }
.depot-buybox__sec:empty { display: none; }

/* Specifications (taxonomyAttributesExtension): label / value rows */
.depot-specs__title { margin: 0 0 8px; font-family: var(--font-family-display); font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--d-ink); }
.depot-specs__list { display: grid; grid-template-columns: minmax(96px, 40%) 1fr; margin: 0; font-size: 13px; }
.depot-specs__list dt, .depot-specs__list dd { margin: 0; padding: 5px 0; border-top: 1px solid var(--d-line); }
.depot-specs__list dt { padding-right: 12px; color: var(--d-muted); }
.depot-specs__list dd { color: var(--d-ink); font-weight: 550; }

.depot-price__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0; color: var(--d-ink); }
.depot-price__line .depot-price__now { font-size: 34px; }
.depot-price__line .depot-price__was { font-size: 14px; }
.depot-price__from:empty { display: none; }
.depot-price__note { margin: 2px 0 0; font-size: 12px; color: var(--d-muted); }

.depot-buybox__row { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; margin-top: 12px; }
.depot-buybox__row:first-child { margin-top: 0; }
.depot-buybox__qty { flex: none; }
.depot-buybox__qty .nova-quantity-selector { margin: 0; }
.depot-buybox__qty .nova-quantity-select { height: 44px; min-width: 96px; font-family: var(--font-family-mono); font-weight: 600; }
.depot-buybox__qty .nova-quantity-selector--amount label { font-weight: 600; color: var(--d-ink); }
.depot-buybox__add { flex: 1 1 160px; }
.depot-buybox__unavailable { margin: 8px 0 0; font-size: 13px; color: var(--d-muted); }

.depot-doc__title,
.depot-pdp__docs .depot-doc__title {
  margin: 0 0 12px;
  font-family: var(--font-family-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--d-ink);
}
.depot-pdp__docs { margin-top: 8px; min-width: 0; }
.depot-anchors {
  position: sticky;
  top: var(--d-header-offset);
  z-index: 20;
  display: flex;
  overflow-x: auto;
  background: var(--d-canvas);
  border-bottom: 2px solid var(--d-ink);
  scrollbar-width: none;
}
.depot-anchors::-webkit-scrollbar { display: none; }
.depot-anchors a {
  margin-bottom: -2px;
  padding: 10px 16px;
  border-bottom: 4px solid transparent;
  font-family: var(--font-family-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  color: var(--d-slate-3);
}
.depot-anchors a:hover { color: var(--d-ink); border-bottom-color: var(--d-signal); }
.depot-doc { scroll-margin-top: calc(var(--d-header-offset) + 52px); padding: 16px; background: var(--d-surface); border: 1px solid var(--d-line); border-top: 0; }
.depot-doc + .depot-doc { margin-top: 12px; border-top: 1px solid var(--d-line); }
.depot-pdp__docs > .depot-doc:first-child { border-top: 1px solid var(--d-line); }
.depot-anchors + .depot-doc { border-top: 0; }

.depot-prose { font-size: 14px; line-height: 1.6; color: var(--d-text); }
.depot-prose > :first-child { margin-top: 0; }
.depot-prose > :last-child { margin-bottom: 0; }
.depot-prose :is(h1, h2, h3, h4) { font-family: var(--font-family-display); font-size: 17px; letter-spacing: 0.03em; text-transform: uppercase; margin: 1.2em 0 0.5em; }
.depot-prose ul, .depot-prose ol { padding-left: 1.2em; }
.depot-prose li + li { margin-top: 4px; }
.depot-prose img { max-width: 100%; height: auto; }
.depot-prose table { width: 100%; border-collapse: collapse; }
.depot-prose :is(th, td) { padding: 6px 8px; border-bottom: 1px solid var(--d-line); text-align: left; }

.depot-pdp-lower { margin-top: 32px; }

/* Stock line in the buy box sits under the price/options and above the quantity row. */
.depot-buybox__purchase .depot-stock { margin-bottom: 0; }
.depot-buybox__purchase .depot-stock + .depot-buybox__row { margin-top: 12px; }
.depot-buybox__purchase .depot-stock[hidden] { display: none; }

/* Variant pickers (markup built by Nova's variants.js) */
.depot-pdp #variantSelector { margin-bottom: 8px; min-height: 0; }
.depot-pdp .nova-variant-group { margin-bottom: 20px; }
.depot-pdp .nova-variant-label-row { margin-bottom: 10px; }
.depot-pdp .nova-variant-label {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--d-ink);
}
.depot-pdp .nova-variant-label-value { font-size: 14px; color: var(--d-text); }
.depot-pdp .nova-variant-label-value:empty::after { content: "choose one"; font-style: normal; color: var(--d-sale); font-weight: 600; }
.depot-pdp .nova-variant-btn {
  min-width: 52px;
  height: 46px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--d-ink);
  background: var(--d-surface);
  border: 1.5px solid var(--d-line-strong);
  border-radius: var(--radius-md);
}
.depot-pdp .nova-variant-btn:hover:not(.nova-variant-btn--disabled):not(.nova-variant-btn--selected) {
  border-color: var(--d-ink);
  transform: none;
  box-shadow: none;
}
.depot-pdp .nova-variant-btn:focus-visible { outline: none; box-shadow: var(--d-focus-ring); }
/* Selected is ink, not the brand colour: the brand colour is reserved for the button that buys. */
.depot-pdp .nova-variant-btn--selected,
.depot-pdp .nova-variant-btn--disabled.nova-variant-btn--selected {
  background: var(--d-ink);
  border-color: var(--d-ink);
  color: var(--d-surface);
  box-shadow: none;
}
.depot-pdp .nova-variant-btn--disabled { background: var(--d-subtle); color: var(--color-gray-400); border-color: var(--d-line); }
.depot-pdp #notAvailable {
  padding: 10px 14px !important;
  margin-bottom: 16px !important;
  background: color-mix(in srgb, var(--d-sale) 8%, var(--d-surface)) !important;
  color: var(--d-sale) !important;
  border: 1px solid color-mix(in srgb, var(--d-sale) 30%, transparent);
  border-radius: var(--radius-md) !important;
  font-weight: 600;
}
.depot-pdp .nova-variant-attention .nova-variant-group { animation: depot-nudge 600ms var(--d-ease); }
@keyframes depot-nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* Docked buy bar (mobile only - on desktop the buy box itself stays in view) */
.depot-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1020;
  background: var(--d-surface);
  border-top: 1px solid var(--d-line);
  box-shadow: 0 -8px 24px -12px rgba(19, 23, 20, 0.2);
  padding: 10px var(--container-padding) calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 260ms var(--d-ease);
}
.depot-dock.nova-sticky-buybar--visible { transform: none; }
.depot-dock__inner { display: flex; align-items: center; gap: 12px; }
.depot-dock__details { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.depot-dock__name { display: none; }
.depot-dock__variant {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  color: var(--d-text);
  text-align: left;
  cursor: pointer;
}
.depot-dock__change { color: var(--d-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.depot-dock__price { font-size: 18px; font-weight: 750; color: var(--d-ink); }
.depot-dock__btn { flex: none; min-height: 50px; }
.depot-dock__btn[aria-disabled="true"] { opacity: 0.5; }
@media (min-width: 1024px) { .depot-dock { display: none; } }
@media (max-width: 1023px) { body.nova-buybar-active { padding-bottom: 76px; } }

.depot-pdp .nova-variant-group--missing .nova-variant-label { color: var(--d-sale); }
.depot-pdp .nova-variant-group--missing .nova-variant-btn:not(.nova-variant-btn--disabled):not(.nova-variant-btn--selected) { border-color: var(--d-sale); }
.depot-pdp .nova-variant-label-value:empty::after { content: none; }

/* ==========================================================================================
   "ADDED TO BASKET" PANEL (side sheet on desktop, bottom sheet on phones)
   ========================================================================================== */

.depot-added { position: fixed; inset: 0; z-index: 1070; }
.depot-added[hidden] { display: none; }
.depot-added__scrim { position: absolute; inset: 0; background: rgba(11, 14, 12, 0.45); opacity: 0; transition: opacity 240ms var(--d-ease); }
.depot-added.is-open .depot-added__scrim { opacity: 1; }
.depot-added__panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 24px 24px;
  background: var(--d-surface);
  box-shadow: var(--shadow-xl);
  transition: transform 280ms var(--d-ease);
}
@media (min-width: 720px) {
  .depot-added__panel { top: 0; right: 0; bottom: 0; width: min(420px, 92vw); transform: translateX(100%); overflow-y: auto; }
}
@media (max-width: 719px) {
  .depot-added__panel {
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 88vh;
    overflow-y: auto;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transform: translateY(100%);
  }
}
.depot-added.is-open .depot-added__panel { transform: none; }
.depot-added__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-right: -10px; }
.depot-added__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; font-weight: 700; color: var(--d-ink); }
.depot-added__title:focus { outline: none; }
.depot-added__tick { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: var(--color-success); color: #FFFFFF; font-size: 16px; }
.depot-added__tick .depot-icon { stroke-width: 2.5; }
.depot-added__item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-block: 1px solid var(--d-line); }
.depot-added__media { display: block; aspect-ratio: var(--product-image-ratio); border-radius: var(--radius-sm); background: var(--d-tile); overflow: hidden; }
.depot-added__img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.depot-added__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.depot-added__name { font-weight: 600; color: var(--d-ink); line-height: 1.35; }
.depot-added__meta { font-size: 14px; color: var(--d-muted); }
.depot-added__price { font-weight: 700; color: var(--d-ink); white-space: nowrap; }
.depot-added__totals { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 15px; }
.depot-added__totals[hidden] { display: none; }
.depot-added__totals dt { font-weight: 500; color: var(--d-text); }
.depot-added__count { color: var(--d-muted); }
.depot-added__totals dd { margin: 0; font-size: 18px; font-weight: 750; color: var(--d-ink); }
.depot-added__actions { display: grid; gap: 10px; }
.depot-added__continue { justify-self: center; }
.depot-added__promise { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: var(--radius-md); background: var(--d-subtle); font-size: 14px; color: var(--d-ink); }
.depot-added__promise .depot-icon { font-size: 18px; }
[aria-busy="true"].depot-btn { opacity: 0.7; cursor: progress; }
.depot-added__title:focus-visible { box-shadow: none; }

/* The "added to basket" confirmation is a compact panel under the header on desktop (the shopper keeps
   their place on the page), and stays a bottom sheet on phones. */
@media (min-width: 720px) {
  .depot-added__scrim { background: transparent; }
  .depot-added__panel {
    top: calc(var(--d-header-offset) + 8px);
    right: var(--container-padding);
    bottom: auto;
    width: min(380px, calc(100vw - 2 * var(--container-padding)));
    max-height: calc(100vh - var(--d-header-offset) - 24px);
    gap: 12px;
    padding: 0 0 16px;
    border: 1px solid var(--d-line-strong);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 200ms var(--d-ease), opacity 200ms var(--d-ease);
  }
  .depot-added.is-open .depot-added__panel { transform: none; opacity: 1; }
  .depot-added__head { margin: 0; padding: 4px 8px 4px 16px; background: #E3F3E7; border-bottom: 1px solid var(--d-line); border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .depot-added__item,
  .depot-added__totals,
  .depot-added__actions,
  .depot-added__promise { margin-inline: 16px; }
  .depot-added__item { border-top: 0; }
}
.depot-added__title { font-family: var(--font-family-display); font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-success); }
.depot-added__tick { border-radius: var(--radius-sm); }
.depot-added__media { aspect-ratio: 1 / 1; background: var(--d-surface); border: 1px solid var(--d-line); }
.depot-added__price,
.depot-added__totals dd { font-family: var(--font-family-mono); font-weight: 600; }
.depot-added__promise { border-radius: var(--radius-sm); }

/* Nova's basket (templates/nova/extensions/fullBasket) is skinned by tokens: see fragment/commerceTokens.html. Depot's:
   a flat bordered sheet, monospaced numerals so a column of prices lines up, and the amber buy button. */
:root {
  --nb-card-bg: var(--d-surface);
  --nb-card-border: 1px solid var(--d-line-strong);
  --nb-summary-bg: var(--d-surface);
  --nb-rule: var(--d-line);
  --nb-control-border: 1px solid var(--d-line-strong);
  --nb-control-radius: var(--radius-sm);
  --nb-num-font: var(--font-family-mono);
  --nb-sticky-top: calc(var(--d-header-offset) + 16px);
  --nb-bar-bg: var(--d-surface);
  --nb-title-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --nb-title-case: uppercase;
  --nb-item-title-weight: 600;
  --nb-total-weight: 600;
  --nb-total-size: 1.5rem;

  --nb-cta-bg: var(--d-buy);
  --nb-cta-fg: var(--d-on-buy);
  --nb-cta-hover-bg: var(--d-buy-hover);
  --nb-cta-border: 1px solid var(--d-signal-lo);
  --nb-cta-radius: var(--radius-md);
  --nb-cta-weight: 700;
  --nb-cta-case: uppercase;
  --nb-cta-ls: 0.04em;
  --nb-cta-size: 0.9375rem;

  /* Checkout steps */
  --nb-head-bg: var(--d-sunken);
  --nb-card-title-size: 1.375rem;
  --nb-legend-size: 1.25rem;
}
/* Leave room for the item-count badge that overhangs the basket icon. */
.depot-action__iconwrap + .depot-action__text { margin-left: 8px; }

/* Phones: 16px stops iOS zooming the page when the sort control is focused (must stay last to beat the
   control's own size rules above). */
@media (max-width: 1023px) {
  .depot-select__control { font-size: 16px; }
}
