/* ==========================================================================
   Benchies — B&W Bleacher Bold
   Design system extracted from the "BWBleacherBold" artboard.
   Bold black & white, square corners, hairline rules, one flame gradient.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */

:root {
  --paper: #ffffff;
  --ink: #111111;
  --ink-2: #0b0b0b;
  --ink-soft: #4a4a4a;
  --muted: #5c5c5c;
  --line: #e3e3e3;
  --surface: #f5f5f5;
  --stone: #bdb8b2;
  --on-dark: #ffffff;
  --on-dark-muted: #bdbdbd;
  --on-dark-line: #3a3a3a;

  /* The one accent in the whole system. Fallback first, oklch where supported. */
  --flame: linear-gradient(90deg, #f5be3a 0%, #ff9416 26%, #f2601a 54%, #d23a22 80%, #9e1f3a 100%);
  --flame-mid: #ff9416;

  --panel: linear-gradient(165deg, #ededed 0%, #d3d3d3 100%);
  --panel-dark: linear-gradient(165deg, #2a2a2a 0%, #141414 100%);

  --display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1320px;
  --gutter: 24px;
  --tap: 44px;
}

@supports (background: linear-gradient(90deg in oklch, red, blue)) {
  :root {
    --flame: linear-gradient(90deg in oklch, #f5be3a 0%, #ff9416 26%, #f2601a 54%, #d23a22 80%, #9e1f3a 100%);
  }
}

/* --- Reset -------------------------------------------------------------- */

* { box-sizing: border-box; }

/* Author `display` rules outrank the UA sheet's [hidden]{display:none}, so
   toggling .hidden on a flex/grid element would otherwise do nothing. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: #000; }

button { font-family: inherit; }

summary { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  margin: 0;
}

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

.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;
}

.skip-link {
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

/* --- Layout primitives --------------------------------------------------- */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.section--flush-top { padding-top: 0; }

.stack { display: flex; flex-direction: column; }
.stack-8 { gap: 8px; }
.stack-12 { gap: 12px; }
.stack-16 { gap: 16px; }
.stack-20 { gap: 20px; }
.stack-32 { gap: 32px; }

/* The gradient hairline used as a divider and under the wordmark. */
.flame-rule {
  height: 3px;
  background: var(--flame);
}
.flame-rule--thick { height: 4px; }

.rule {
  display: block;
  width: 64px;
  height: 5px;
  background: var(--flame);
}
.rule--center { margin-left: auto; margin-right: auto; }
.rule--wide { width: 80px; }

/* --- Type --------------------------------------------------------------- */

.h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 11vw, 176px);
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.h2--xl { font-size: clamp(30px, 4.8vw, 64px); line-height: 1.02; }

.h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
}

.lede {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.muted { color: var(--muted); }
.small { font-size: 14px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 32px;
}
.section-head__title { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head--center .section-head__title { align-items: center; }

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .08s ease;
}
.btn:hover { background: #000; color: #fff; }
.btn:active { transform: translateY(1px); }

.btn--light {
  background: #fff;
  color: var(--ink-2);
  border-color: #fff;
}
.btn--light:hover { background: #f0f0f0; color: var(--ink-2); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn--ghost-light:hover { background: #fff; color: var(--ink-2); }

.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .45;
  pointer-events: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  font-weight: 600;
  color: var(--ink);
}

/* --- Promo bar + header -------------------------------------------------- */

.promo {
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  font-size: 14px;
  text-align: center;
}
.promo a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.promo a:hover { color: #fff; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-header__bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: var(--ink);
  align-self: flex-start;
}
.brand__word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.5px;
}
.brand__rule { display: block; height: 4px; background: var(--flame); }
.brand--lg .brand__word { font-size: 30px; }
.brand--lg .brand__rule { height: 5px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  text-decoration: none;
  color: var(--ink);
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 3px;
  background: var(--flame);
  opacity: 0;
  transition: opacity .15s ease;
}
.nav a:hover::after { opacity: .5; }
.nav a[aria-current="page"]::after { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 4px; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.cart-count {
  position: absolute;
  top: 6px; right: 4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle { display: none; }

/* Slide-down search panel */
.search-panel {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  display: none;
}
.search-panel[data-open="true"] { display: block; }
.search-panel form {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  gap: 8px;
}
.search-panel input { flex: 1 1 auto; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { min-height: 52px; font-size: 15px; }
  .nav a::after { bottom: 12px; }
  .site-header__bar { flex-wrap: wrap; }
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 680px;
  background: linear-gradient(165deg, #3a3a3a 0%, #1a1a1a 55%, #0b0b0b 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px var(--gutter);
  overflow: hidden;
}
.hero__art {
  position: absolute;
  inset: 0;
  opacity: .22;
  object-fit: cover;
  width: 100%; height: 100%;
}
.hero__inner {
  position: relative;
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero__title { margin: 0; }
.hero__underline {
  display: inline-block;
  padding-bottom: 0.03em;
  border-bottom: 0.07em solid transparent;
  border-image: var(--flame) 1;
}
.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hero__sub { margin: 0; max-width: 420px; font-size: 18px; color: #e6e6e6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Compact hero for interior pages */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 64px 0 56px;
}
.page-hero .h1,
.page-hero .h2 { color: #fff; }
.page-hero__inner { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.page-hero p { margin: 0; color: var(--on-dark-muted); font-size: 18px; }

.crumbs {
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0;
}
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 6px; }

/* --- Panels (stand-in art) ----------------------------------------------- */

.panel {
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.panel img { width: 100%; height: 100%; object-fit: cover; }
.panel--square { aspect-ratio: 1 / 1; }
.panel--portrait { aspect-ratio: 4 / 5; }
.panel--dark { background: var(--panel-dark); }

/* --- Sideline tiles ------------------------------------------------------ */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.tile {
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.tile:hover { background: var(--ink); color: #fff; }
.tile:hover svg { stroke: currentColor; }
.tile svg { stroke: var(--ink); }
.tile__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.tile__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}

/* --- Category cards ------------------------------------------------------ */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.cat-card__media { display: flex; flex-direction: column; }
.cat-card__bar { display: block; height: 4px; background: var(--flame); }
.cat-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.cat-card__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}
.cat-card__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.cat-card:hover img { transform: scale(1.03); }
.cat-card img { transition: transform .4s ease; }

/* --- Product cards ------------------------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ink);
  background: var(--paper);
  position: relative;
}
.product-card__media { position: relative; }
.product-card__media a { display: block; }
.product-card:hover .product-card__media img { transform: scale(1.03); }
.product-card__media img { transition: transform .4s ease; }

.badge {
  position: absolute;
  top: 0; left: 0;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  z-index: 2;
}
.badge--save { background: #9e1f3a; }

.product-card__body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}
.product-card__title-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.product-card__title-row h3 { margin: 0; }
.product-card__title-row a { text-decoration: none; }
.product-card__title-row a:hover { text-decoration: underline; }
.product-card__price { margin: 0; font-weight: 600; white-space: nowrap; }
.product-card__blurb { margin: 0; font-size: 15px; color: var(--muted); flex: 1 1 auto; }
.product-card .btn { margin-top: 4px; min-height: 48px; }

.was { color: var(--muted); text-decoration: line-through; font-weight: 400; margin-right: 6px; }

/* Colour swatches */
.swatches { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.swatch {
  width: 22px; height: 22px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  cursor: pointer;
}
.swatch[aria-pressed="true"] {
  border: 0;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink);
}
.swatch--lg { width: 30px; height: 30px; }

/* --- Split panels -------------------------------------------------------- */

.split {
  display: flex;
  flex-wrap: wrap;
  background: var(--surface);
  color: var(--ink);
}
.split__media { flex: 1 1 460px; }
.split__media .panel { min-height: 520px; height: 100%; }
.split__body {
  flex: 1 1 460px;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.split--dark { background: var(--ink); color: #fff; }
.split--dark .split__body p { color: var(--on-dark-muted); }
.split--dark .h2 { color: #fff; }
.split--reverse .split__media { order: 2; }

.steps { font-size: 18px; display: flex; flex-direction: column; gap: 14px; }
.steps p { margin: 0; display: flex; gap: 16px; align-items: baseline; }
.steps .num {
  font-family: var(--display);
  font-size: 24px;
  color: var(--flame-mid);
  line-height: 1;
}
.split--dark .steps strong:not(.num) { color: #fff; }

@media (max-width: 720px) {
  .split__body { padding: 40px 24px; }
  .split__media .panel { min-height: 320px; }
}

/* --- Trust strip --------------------------------------------------------- */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.trust {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--flame) top left / 100% 3px no-repeat, var(--paper);
}
.trust strong { display: block; font-size: 16px; }
.trust span span { font-size: 14px; color: var(--muted); }

/* --- Reviews ------------------------------------------------------------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.review {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review blockquote { margin: 0; font-size: 17px; }
.review figcaption { font-size: 14px; color: var(--muted); }

.stars { display: block; }

/* --- FAQ / accordion ----------------------------------------------------- */

.accordion { border-bottom: 1px solid var(--ink); }
.accordion details {
  border-top: 1px solid var(--ink);
  padding: 20px 0;
}
.accordion summary {
  font-weight: 600;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  flex: 0 0 auto;
  width: 14px; height: 14px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s ease;
}
.accordion details[open] summary::after {
  transform: rotate(225deg) translate(-3px, -3px);
}
.accordion p { margin: 12px 0 0; color: var(--muted); }
.accordion p:last-child { margin-bottom: 0; }

/* --- Forms --------------------------------------------------------------- */

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .hint { font-size: 13px; color: var(--muted); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
select,
textarea {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: 400 15px var(--body);
  width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
select { cursor: pointer; }

input::placeholder, textarea::placeholder { color: #8a8a8a; }

.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea {
  border-color: #9e1f3a;
  box-shadow: inset 0 0 0 1px #9e1f3a;
}
.field__error {
  font-size: 13px;
  color: #9e1f3a;
  font-weight: 600;
  display: none;
}
.field[data-invalid="true"] .field__error { display: block; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.form-grid .span-2 { grid-column: 1 / -1; }

/* Newsletter (dark footer context) */
.newsletter { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter input {
  flex: 1 1 220px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--on-dark-muted);
  background: transparent;
  color: #fff;
}
.newsletter input::placeholder { color: #8f8f8f; }
.newsletter button {
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font: 600 15px var(--body);
  cursor: pointer;
}
.newsletter button:hover { background: #eee; }

.form-note { font-size: 14px; font-weight: 600; margin: 0; }
.form-note[data-state="ok"] { color: #1b7a3d; }
.form-note[data-state="error"] { color: #9e1f3a; }

/* --- Shop toolbar -------------------------------------------------------- */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}
.chip:hover { background: var(--surface); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.sort select { width: auto; min-width: 190px; }

.result-count { font-size: 14px; color: var(--muted); }

.empty {
  padding: 72px 24px;
  text-align: center;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* --- Product detail ------------------------------------------------------ */

.pdp {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
  align-items: start;
}
.pdp__gallery { display: flex; flex-direction: column; gap: 12px; }
.pdp__thumbs { display: flex; gap: 12px; flex-wrap: wrap; }
.pdp__thumb {
  width: 84px; height: 84px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  overflow: hidden;
}
.pdp__thumb[aria-pressed="true"] { border: 2px solid var(--ink); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp__info { display: flex; flex-direction: column; gap: 20px; }
.pdp__price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  margin: 0;
}
.pdp__rating { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }

.option-group { display: flex; flex-direction: column; gap: 10px; }
.option-group__label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.option-list { display: flex; flex-wrap: wrap; gap: 8px; }
.option {
  min-height: var(--tap);
  padding: 0 16px;
  border: 1px solid var(--ink);
  background: transparent;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.option[aria-pressed="true"] { background: var(--ink); color: #fff; }

.qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--ink);
  width: max-content;
}
.qty button {
  width: 46px;
  border: 0;
  background: transparent;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}
.qty button:hover { background: var(--surface); }
.qty input {
  width: 56px;
  min-height: 46px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-weight: 600;
  padding: 0;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.feature-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.feature-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px; height: 8px;
  margin-top: 8px;
  background: var(--flame);
}

.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th { width: 42%; font-weight: 600; }
.spec-table td { color: var(--muted); }

/* --- Cart ---------------------------------------------------------------- */

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; gap: 32px; }
}

.cart-line {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-line:first-child { border-top: 1px solid var(--ink); }
.cart-line__media { border: 1px solid var(--line); background: var(--panel); aspect-ratio: 1/1; overflow: hidden; }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cart-line__name { margin: 0; font-size: 16px; }
.cart-line__name a { text-decoration: none; }
.cart-line__meta { font-size: 14px; color: var(--muted); margin: 0; }
.cart-line__right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-line__total { font-weight: 600; white-space: nowrap; }
.link-btn {
  background: none; border: 0; padding: 0;
  font: 600 14px var(--body);
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-btn:hover { color: var(--ink); }

@media (max-width: 560px) {
  .cart-line { grid-template-columns: 84px minmax(0, 1fr); }
  .cart-line__right { grid-column: 2; align-items: flex-start; }
}

.summary {
  border: 1px solid var(--ink);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 110px;
}
.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}
.summary__row--total {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
}
.summary__row .muted { color: var(--muted); }

.ship-meter { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ship-meter__track { height: 6px; background: var(--line); overflow: hidden; }
.ship-meter__fill { height: 100%; background: var(--flame); transition: width .4s ease; }

.promo-row { display: flex; gap: 8px; }
.promo-row input { min-height: 48px; }

/* --- Checkout ------------------------------------------------------------ */

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; gap: 32px; }
  .summary { position: static; }
}

.fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fieldset legend {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  padding: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fieldset legend .step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.radio-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  cursor: pointer;
}
.radio-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radio-card input { margin-top: 4px; accent-color: var(--ink); width: 18px; height: 18px; min-height: 0; }
.radio-card strong { display: block; }
.radio-card span { font-size: 14px; color: var(--muted); }

.mini-line {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mini-line__media {
  width: 56px; height: 56px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--panel);
  position: relative; /* no overflow:hidden — it would clip the qty badge */
}
.mini-line__media img { width: 100%; height: 100%; object-fit: cover; }
.mini-line__qty {
  position: absolute;
  top: -8px; right: -8px;
  min-width: 20px; height: 20px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.mini-line__name { flex: 1 1 auto; font-size: 14px; min-width: 0; }
.mini-line__name span { display: block; color: var(--muted); font-size: 13px; }
.mini-line__price { font-size: 14px; font-weight: 600; white-space: nowrap; }

.confirm {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 72px 0 96px;
}
.confirm__check {
  width: 72px; height: 72px;
  background: var(--flame);
  display: flex; align-items: center; justify-content: center;
}
.order-box {
  width: 100%;
  border: 1px solid var(--ink);
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- Content pages ------------------------------------------------------- */

.prose { max-width: 760px; }
.prose h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  text-transform: uppercase;
  margin: 48px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 28px 0 8px; text-transform: none; letter-spacing: 0; }
.prose p, .prose li { color: var(--muted); font-size: 17px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; }
.prose th, .prose td { text-align: left; padding: 12px; border: 1px solid var(--line); font-size: 15px; }
.prose th { background: var(--surface); font-weight: 600; }
.prose td { color: var(--muted); }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: start;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  background: var(--paper);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
}
.stat span { font-size: 14px; color: var(--muted); }

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 72px var(--gutter) 36px;
}
.site-footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
}
.site-footer__signup { flex: 1 1 360px; max-width: 480px; display: flex; flex-direction: column; gap: 16px; }
.site-footer h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.1;
  text-transform: uppercase;
}
.site-footer label { font-size: 15px; color: var(--on-dark-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 56px; font-size: 15px; }
.footer-nav div { display: flex; flex-direction: column; gap: 10px; }
.footer-nav strong { font-size: 12px; letter-spacing: 0.08em; color: var(--on-dark-muted); }
.footer-nav a { color: #fff; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--on-dark-line);
}
.site-footer__bottom p { margin: 0; font-size: 13px; color: var(--on-dark-muted); }
.site-footer__bottom a { color: var(--on-dark-muted); }

/* --- Toast --------------------------------------------------------------- */

.toast-host {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--ink);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  min-width: 260px;
  max-width: min(92vw, 360px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  border-left: 4px solid transparent;
  border-image: var(--flame) 1;
  transform: translateY(12px);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
  pointer-events: auto;
}
.toast[data-show="true"] { transform: translateY(0); opacity: 1; }
.toast a { color: #fff; margin-left: auto; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --- Responsive sweep ---------------------------------------------------- */

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero { min-height: 560px; padding: 40px var(--gutter); }
  .pdp { gap: 32px; }
  .summary { padding: 22px; }
  .footer-nav { gap: 32px; }
  .site-footer { padding-top: 56px; }
}

@media print {
  .site-header, .site-footer, .promo, .toast-host { display: none; }
}
