/* Self-hosted fonts copied from _tooling/fonts (SIL OFL 1.1; licences in
   /assets/fonts/<family>/LICENSE). Only the weights this stylesheet uses. */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo/archivo-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter/inter-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched local fallbacks: system fonts scaled to the web fonts' metrics so the
   font-display: swap re-layout does not shift the page. Computed at build time with
   Pillow (letter-frequency weighted advance width; ascent/descent). */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 700;
  size-adjust: 97.79%;
  ascent-override: 89.79%;
  descent-override: 21.48%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 400;
  size-adjust: 107.42%;
  ascent-override: 90.2%;
  descent-override: 22.53%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600;
  size-adjust: 101.15%;
  ascent-override: 95.8%;
  descent-override: 23.93%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 700;
  size-adjust: 102.18%;
  ascent-override: 94.83%;
  descent-override: 23.68%;
  line-gap-override: 0%;
}

/* Preset tokens: Industrial - engineering and manufacturing. Dark, bold. Datasheet-led.
   The five base roles (bg, surface, text, accent, accent-contrast) are from
   _client-pack/internal/style-presets.md; the others are derived for this builder and
   checked for contrast on every build (build-summary.md). */
:root {
  --bg: #15181B;
  --surface: #1F242B;
  --surface-2: #262C33;
  --border: #323941;
  --border-strong: #3D454E;
  --text: #F2F2F0;
  --text-muted: #A9AFB7;
  --accent: #E8A33D;
  --accent-contrast: #15181B;
  --accent-hover: #C6862A;
  --link: #E8A33D;
  --danger: #E2583F;
  --danger-text: #F2836E;
  --ok: #7FAE6A;
  --shadow: rgba(0, 0, 0, 0.35);
  --radius-s: 2px;
  --radius-m: 4px;
  --radius-l: 6px;
  --font-heading: "Archivo", "Archivo Fallback", Arial, "Helvetica Neue", "Liberation Sans", sans-serif;
  --font-body: "Inter", "Inter Fallback", Arial, "Helvetica Neue", "Liberation Sans", sans-serif;
}

/* Shared components for every preset (generalised from equipment-demo WEB-018..020).
   Colours, radii and font stacks come only from the preset token file. */

* { box-sizing: border-box; }
/* Component display rules (e.g. .product-card { display: flex }) must not override the
   hidden attribute - that override is what left the WEB-018 catalogue filter dead. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }

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

ul, ol { padding-left: 1.2em; }

.visually-hidden {
  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: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 10px 16px;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 24px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85em 1.4em;
  border-radius: var(--radius-s);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.1;
}
.btn-primary { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-contrast); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--accent); color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.site-header__logo { flex-shrink: 0; display: inline-flex; align-items: center; text-decoration: none; }
.site-logo { height: 40px; width: auto; }
.site-header__logo.has-pad,
.site-footer__logo.has-pad { padding: 4px 10px; border-radius: var(--radius-s); }
.pad-light { background: #FFFFFF; }
.pad-dark { background: #15181B; }
.site-logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: var(--text); }
.site-header__meta { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.site-header__phone { color: var(--text); font-weight: 700; white-space: nowrap; text-decoration: none; }
.site-header__phone:hover { color: var(--link); }

.nav { display: none; }
.nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-s);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-has-children { position: relative; }
.nav-sub { list-style: none; margin: 0; padding: 6px; }
@media (min-width: 900px) {
  .nav-sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    box-shadow: 0 8px 20px var(--shadow);
    z-index: 60;
  }
  .nav-has-children:hover .nav-sub,
  .nav-has-children:focus-within .nav-sub { display: block; }
}
@media (max-width: 899px) {
  .nav-sub { padding-left: 14px; border-left: 2px solid var(--border); margin: 4px 0 8px; }
}
.nav-toggle {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius-s);
  padding: 8px 10px;
  display: inline-flex;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (min-width: 900px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
}
@media (max-width: 899px) {
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; gap: 0; }
  .site-header__meta .btn { display: none; }
  .site-header__bar { padding: 10px 16px; }
}
@media (max-width: 420px) {
  .site-header__phone { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 14px 24px 0; max-width: 1200px; margin: 0 auto; }
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0; padding: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--text-muted); }

/* ---------- Hero / CTA band ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--accent) 12%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--accent) 12%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to left, black, transparent 70%);
  -webkit-mask-image: linear-gradient(to left, black, transparent 70%);
}
.hero__inner { position: relative; margin: 0 auto; padding: 64px 24px 56px; max-width: 1200px; }
.hero__inner > * { max-width: 760px; }
.hero__kicker { color: var(--text-muted); font-weight: 700; margin-bottom: 10px; }
.hero p { color: var(--text-muted); font-size: 1.08rem; }
.hero .btn-row { margin-top: 28px; }

.cta-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}
.cta-band__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-band h2 { margin-bottom: 4px; }

/* ---------- Sections ---------- */
.section { padding: 56px 24px; max-width: 1200px; margin: 0 auto; }
.section + .section, .section-divider { border-top: 1px solid var(--border); }
.section__head { margin-bottom: 28px; max-width: 70ch; }
.section__head p { color: var(--text-muted); }

/* ---------- Grids / cards ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.tile {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .15s ease;
}
.tile:hover, .tile:focus-visible { border-color: var(--accent); color: var(--text); }
.tile h3 { font-size: 1.05rem; margin-bottom: 2px; }
.tile p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.product-card__media { border-bottom: 1px solid var(--border); background: var(--surface-2); }
.product-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__cat { color: var(--text-muted); font-size: 0.8rem; font-weight: 700; }
.product-card h3 { font-size: 1.05rem; margin: 0; }
.product-card h3 a { color: var(--text); text-decoration: none; }
.product-card h3 a:hover { color: var(--link); text-decoration: underline; }
.product-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.product-card__price { font-weight: 700; margin-top: auto; padding-top: 10px; color: var(--text); }
.product-card__actions { margin-top: 10px; }

/* ---------- Category links / search ---------- */
.catalogue-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.category-links ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.category-links a {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
.category-links a:hover { border-color: var(--accent); }
.category-links a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
.search-field { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search-field label { font-size: 0.9rem; color: var(--text-muted); }
.search-field input[type="search"] {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-s);
  min-width: 220px;
  font: inherit;
}
@media (max-width: 520px) {
  .search-field { margin-left: 0; width: 100%; }
  .search-field input[type="search"] { min-width: 0; flex: 1; }
}
.catalogue-empty { color: var(--text-muted); padding: 24px 0; }

/* ---------- Spec table / included ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table th, .spec-table td { text-align: left; padding: 11px 12px; vertical-align: top; }
.spec-table th { color: var(--text-muted); font-weight: 600; width: 42%; }
.spec-table td { font-weight: 600; }

.incl-excl { display: grid; gap: 20px; }
@media (min-width: 640px) { .incl-excl { grid-template-columns: 1fr 1fr; } }
.incl-excl > div { border: 1px solid var(--border); border-radius: var(--radius-m); padding: 16px; background: var(--surface); }
.incl-excl h3 { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 8px; }

/* ---------- Product page ---------- */
.product-head {
  display: grid;
  gap: 32px;
  padding: 40px 24px 0;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 880px) { .product-head { grid-template-columns: 1fr 1fr; align-items: start; } }
.product-gallery__main { border: 1px solid var(--border); border-radius: var(--radius-m); overflow: hidden; background: var(--surface); }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.product-gallery__thumbs img { border: 1px solid var(--border); border-radius: var(--radius-s); }
.product-info__cat { color: var(--text-muted); font-weight: 700; margin-bottom: 6px; display: block; }
.product-info__price { font-size: 1.3rem; font-weight: 700; font-family: var(--font-heading); margin: 14px 0; }
.product-info__meta-list { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 8px; font-size: 0.92rem; color: var(--text-muted); }
.product-info__meta-list strong { color: var(--text); }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feature-list li { padding-left: 28px; position: relative; }
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 10px; height: 10px;
  border-radius: 2px;
  background: var(--accent);
}

/* Features, inline enquiry form and specification (WEB-020). DOM order is the mobile order
   (features, form, specification); on desktop the form is a sidebar beside them. */
.product-body { display: grid; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.product-body > section { padding: 40px 0; border-top: 1px solid var(--border); min-width: 0; }
.product-body > section:first-child { border-top: 0; }
.product-enquire { scroll-margin-top: calc(var(--header-h, 72px) + 16px); }
.product-enquire .form-grid { max-width: none; margin-top: 20px; }
.product-enquire__or { color: var(--text-muted); margin-top: 14px; }
@media (min-width: 900px) {
  .product-body {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "features enquire" "spec enquire" "incl enquire";
    column-gap: 48px;
  }
  .product-body__features { grid-area: features; }
  .product-body__spec { grid-area: spec; }
  .product-body__incl { grid-area: incl; }
  .product-body > .product-enquire {
    grid-area: enquire;
    align-self: start;
    margin-top: 40px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
  }
  .product-enquire h2 { font-size: 1.4rem; }
  .product-body__spec { border-top: 1px solid var(--border); }
}

/* Desktop quote bar under the sticky header (shown by quote.js). */
.quote-bar {
  position: fixed;
  left: 0; right: 0;
  top: var(--header-h, 72px);
  z-index: 45;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 16px var(--shadow);
}
.quote-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.quote-bar__name { margin: 0; font-family: var(--font-heading); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quote-bar__price { margin: 0; color: var(--text-muted); white-space: nowrap; }
.quote-bar .btn { margin-left: auto; padding: 0.6em 1.2em; flex-shrink: 0; }
.has-quote-bar .site-header__meta .btn { visibility: hidden; }
@media (max-width: 899px) { .quote-bar { display: none !important; } }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-m); overflow: hidden; }
.faq-item { background: var(--surface); }
.faq-item summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--text); font-size: 1.3rem; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item div { padding: 0 18px 18px; color: var(--text-muted); }

/* ---------- Trust / reasons / services ---------- */
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .trust-list { grid-template-columns: repeat(2, 1fr); } }
.trust-list li { border: 1px solid var(--border); border-radius: var(--radius-m); padding: 16px 18px; color: var(--text-muted); background: var(--surface); }

.reasons-grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .reasons-grid { grid-template-columns: repeat(3, 1fr); } }
.reasons-grid h3 { font-size: 1.05rem; }

.services-strip { display: grid; gap: 20px; }
@media (min-width: 720px) { .services-strip { grid-template-columns: repeat(3, 1fr); } }
.service-card { border: 1px solid var(--border); border-radius: var(--radius-m); padding: 20px; background: var(--surface); }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 0.94rem; }
.service-card .btn { margin-top: 14px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 16px; max-width: 560px; }
.form-field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.form-label-row { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.form-field label, .form-field legend { font-weight: 600; font-size: 0.92rem; padding: 0; }
.form-field input, .form-field textarea, .form-field select {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 11px 12px;
  border-radius: var(--radius-s);
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--accent); }
.form-field .choice { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.form-field .choice input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; padding: 0; accent-color: var(--accent); }
.choice-list { display: grid; gap: 8px; margin-top: 6px; }
.req { color: var(--danger-text); font-weight: 700; }
.opt { color: var(--text-muted); font-weight: 400; }
.form-hint { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }
.form-intro { color: var(--text-muted); }
.form-required-note { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 4px; }
.form-privacy { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-fields { display: grid; gap: 16px; }
.form-status {
  display: none;
  border: 1px solid var(--ok);
  background: color-mix(in srgb, var(--ok) 10%, var(--surface));
  color: var(--text);
  padding: 14px 16px;
  border-radius: var(--radius-m);
  margin-top: 16px;
}
.form-status.is-visible { display: block; }
.field-error { color: var(--danger-text); font-size: 0.88rem; margin: 6px 0 0; }
.form-field [aria-invalid="true"] { border-color: var(--danger); }
.form-status.is-error { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); }
#basket-status {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 320px;
  z-index: 80;
  box-shadow: 0 8px 24px var(--shadow);
  margin-top: 0;
}
noscript .form-note {
  display: block;
  border: 1px solid var(--border-strong);
  padding: 14px 16px;
  border-radius: var(--radius-m);
  color: var(--text-muted);
  margin-top: 16px;
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
.contact-routes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-routes strong { display: inline-block; min-width: 90px; }
.contact-forms > section { padding: 32px 0; border-top: 1px solid var(--border); scroll-margin-top: calc(var(--header-h, 72px) + 16px); }
.contact-forms > section:first-child { padding-top: 0; border-top: 0; }

/* ---------- Mobile quote / call bar (every page, below the desktop breakpoint) ---------- */
.mobile-cta { display: none; }
@media (max-width: 899px) {
  :root { --mobile-cta-h: 64px; }
  body { padding-bottom: calc(var(--mobile-cta-h) + env(safe-area-inset-bottom, 0px)); }
  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: center;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 70;
    height: calc(var(--mobile-cta-h) + env(safe-area-inset-bottom, 0px));
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--bg);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 16px var(--shadow);
  }
  .mobile-cta--3 { grid-template-columns: 1.5fr 1fr 1fr; }
  .mobile-cta .btn { justify-content: center; padding: 0.8em 0.4em; font-size: 0.92rem; white-space: nowrap; overflow: hidden; }
  /* quote.js sets this while a form field has focus (on-screen keyboard open). */
  .is-field-focused .mobile-cta { display: none; }
  #basket-status {
    left: 12px; right: 12px; max-width: none;
    bottom: calc(var(--mobile-cta-h) + 12px + env(safe-area-inset-bottom, 0px));
  }
}

/* ---------- Prose pages ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose .section__head + h2, .prose h2:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 64px; }
.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer .footer-heading { font-size: 0.92rem; font-weight: 700; color: var(--text-muted); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text); text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: var(--link); text-decoration: underline; }
.site-footer__about p { color: var(--text-muted); font-size: 0.92rem; }
.site-footer__logo { display: inline-flex; margin-bottom: 14px; }
.site-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 32px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}
.site-footer__notice { color: var(--text); font-weight: 700; }

/* ---------- 404 ---------- */
.not-found { padding: 96px 24px; max-width: 1200px; margin: 0 auto; }

.mt-lg { margin-top: 20px; }
.text-muted { color: var(--text-muted); }

@media (max-width: 600px) {
  .section, .hero__inner, .product-head, .product-body, .cta-band, .breadcrumbs,
  .site-footer__grid, .site-footer__bottom, .not-found { padding-left: 16px; padding-right: 16px; }
}

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