/* ==========================================================================
   Miles Nelson — Architectural Hardware
   Product catalogue site. Static, no build step, no framework.
   ========================================================================== */

/* --- Font ---------------------------------------------------------------- */
/* Inter, self-hosted rather than from Google Fonts (client request for the
   typeface; hosting it here keeps the site free of third-party requests).
   One variable file per subset covers every weight. latin-ext only downloads
   on a page that uses its characters - the macrons in te reo Maori words. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  --green: #8ac43f;
  --green-dark: #74a833;
  --green-tint: #f1f8e6;
  --ink: #1d1f1f;
  --ink-soft: #33383a;
  --panel: #f6f6f6;
  --line: #e2e4e0;
  --line-strong: #d2d2d2;
  --muted: #5f6562;
  --white: #fff;
  --error: #b3261e;
  --topbar-bg: rgb(243, 243, 243);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1360px;
  --gutter: 32px;
  --radius: 8px;
  /* Buttons, the header search and form fields: Oliver's header design
     (2026-10-15) squares them off. Cards and panels keep --radius. */
  --radius-control: 3px;
  /* The header and utility bar run the full width of the window, with
     their own gutter, rather than sitting in the 1296px .wrap. */
  --hgutter: 44px;
  --utility-h: 38px;
  --header-h: 71px;

  --shadow: 0 1px 2px rgba(29, 31, 31, .06), 0 8px 24px rgba(29, 31, 31, .06);
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
/* Medium rather than bold - client request, and what Inter is drawn for. */
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 500; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* --- Layout helpers ------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: 1520px; }
.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section--subcats { padding-bottom: 8px; }
.section--panel { background: var(--panel); }
.section--ink { background: var(--ink); color: var(--white); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 18px;
}
.section--ink .eyebrow,
.split__panel--ink .eyebrow { color: var(--green); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.section-head h2 { font-size: 30px; }
.section-head p { color: var(--muted); margin-top: 10px; max-width: 62ch; }

.lede { color: var(--muted); font-size: 17px; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--green { background: var(--green); color: var(--ink); border-color: var(--green); }
.btn--green:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--ink:hover { background: #000; border-color: #000; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.arrow-link::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width .18s ease;
}
.arrow-link:hover::after { width: 38px; }
.arrow-link--ink { color: var(--ink); }

/* --- Utility bar ----------------------------------------------------------
   Dark, full width, regular weight (Oliver's header design, 2026-10-15). */
.utility {
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
/* Longhand - this element is also .wrap (see the header note below). */
.utility .wrap {
  max-width: none;
  padding-left: var(--hgutter);
  padding-right: var(--hgutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--utility-h);
}
.utility__links { display: flex; gap: 30px; }
.utility a:hover { color: var(--green); }

/* --- Header ----------------------------------------------------------------
   One full-width row (Oliver's design, 2026-10-15): logo, nav links, search,
   then the Residential / Commercial buttons on the right.

   The markup in all 24 pages still has the two wrappers of the earlier
   two-row header - .site-header__top (logo, search, menu button) and
   .site-header__nav > .nav (buttons, links). display: contents dissolves
   them, so those five pieces are all flex items of .site-header itself and
   `order` lays them out here and in the full-screen menu below. Both
   wrappers are also .wrap; with display: contents their padding and width
   simply no longer apply. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  padding: 0 var(--hgutter);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(29, 31, 31, .07);
}
.site-header__top,
.site-header__nav,
.nav { display: contents; }

.brand { order: 1; display: block; line-height: 1; flex: none; }
/* The client's logo files are 200x45; shown a touch under that so they are
   never scaled up. A vector (SVG) version would stay sharp on retina. */
.brand__logo { width: 178px; height: auto; }

.nav__links { order: 2; display: flex; gap: 22px; margin-left: 10px; }
.nav__links a {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { border-bottom-color: var(--green); }

/* Search: see "Header search" below for the field itself. */
.site-search { order: 3; margin-left: auto; flex: 0 1 455px; min-width: 200px; }

.nav__pills { order: 4; display: flex; gap: 10px; flex: none; }
.nav__pill {
  min-width: 150px;
  padding: 13px 22px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  border-radius: var(--radius-control);
  transition: background-color .15s ease, color .15s ease;
}
.nav__pill--res { background: var(--green); color: var(--ink); }
.nav__pill--res:hover { background: var(--green-dark); color: var(--white); }
.nav__pill--com { background: var(--ink); color: var(--white); }
.nav__pill--com:hover { background: #000; }

/* Resources submenu. CSS only - :focus-within opens it for keyboard users,
   so it needs no JS and cannot get out of step with the menu button. */
.nav__item { position: relative; }
/* Block, like its flex-item siblings - left inline inside this wrapper, its
   vertical padding did not count and the word sat 2px higher than the rest. */
.nav__item > a { display: block; }
.nav__sub {
  position: absolute;
  top: calc(100% + 20px);
  left: -18px;
  min-width: 250px;
  padding: 8px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity .14s ease;
  z-index: 70;
}
/* An invisible bridge across the gap, so the pointer can travel from the
   link to the panel without the hover lapsing on the way. */
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; }
.nav__links .nav__sub a {
  display: block;
  padding: 9px 18px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: none;
  border-bottom: 0;
  border-left: 3px solid transparent;
  white-space: nowrap;
}
.nav__links .nav__sub a:hover,
.nav__links .nav__sub a[aria-current="page"] {
  background: var(--green-tint);
  border-left-color: var(--green);
  border-bottom-color: transparent;
}

/* Menu button: three lines that turn into a cross while the menu is open
   (a CSS stand-in for the Lottie animation in Oliver's design - same effect,
   no animation library to load on every page). */
.nav-toggle {
  order: 5;
  display: none;
  width: 44px; height: 44px;
  margin-right: -8px;
  background: transparent;
  border: 0;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex: none;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 28px; height: 2px; background: var(--ink);
  transition: transform .25s ease, background-color .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

/* --- Header search --------------------------------------------------------
   Always visible in the header row (in the menu on phones). The form is a
   plain GET to category.html?q=, which the listing already reads, so search
   works with JS off; only the as-you-type suggestion panel needs JS. */
.site-search { position: relative; }
.site-search svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }

.site-search__box {
  display: flex;
  align-items: center;
  height: 45px;
  background: var(--topbar-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 0 4px 0 16px;
  transition: border-color .15s ease;
}
.site-search__box:focus-within { border-color: var(--green-dark); }

.site-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}
.site-search__input:focus { outline: none; }
.site-search__input::placeholder { color: var(--muted); }

.site-search__submit {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: var(--radius-control);
  color: var(--muted);
  cursor: pointer;
}
.site-search__submit:hover { color: var(--ink); background: rgba(29,31,31,.06); }

/* At least 420px even when the field is narrower (a 1280px window leaves it
   about 220px), hanging from the field's right edge. */
.site-search__results {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  width: max(100%, 420px);
  max-width: calc(100vw - 2 * var(--hgutter));
  max-height: min(64vh, 520px);
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 70;
}
/* Four groups outrun the panel's height, so the headings stay put while
   their own group scrolls past. */
.site-search__group {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--panel);
  padding: 12px 16px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-search__group:first-child { border-top: 0; }
.site-search__hit {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 16px;
  border-left: 3px solid transparent;
}
.site-search__hit img { width: 44px; height: 44px; flex: none; object-fit: contain; background: var(--white); border-radius: var(--radius); }
.site-search__hit-text { min-width: 0; }
.site-search__hit-name,
.site-search__hit-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-search__hit-name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.site-search__hit-meta { font-size: 12px; color: var(--muted); }
.site-search__all {
  display: block;
  padding: 13px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-dark);
  border-top: 1px solid var(--line);
  border-left: 3px solid transparent;
}
.site-search__hit:hover,
.site-search__all:hover,
.site-search__hit[aria-selected="true"],
.site-search__all[aria-selected="true"] { background: var(--green-tint); border-left-color: var(--green); }
.site-search__note { padding: 18px 16px; font-size: 14px; color: var(--muted); }

/* --- Hero ----------------------------------------------------------------- */
/* Photo and text half and half, and never taller than the window under the
   utility bar and header (Oliver, 2026-10-15: on a wide screen the square
   photo made the hero taller than the window and hid its button). The photo
   crops to fill its half. svh after vh: browsers without it keep the first. */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: clamp(460px, calc(100vh - var(--utility-h) - var(--header-h)), 900px);
  height: clamp(460px, calc(100svh - var(--utility-h) - var(--header-h)), 900px);
  background: var(--panel);
}
.hero__media { background: var(--panel); min-height: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__panel { background: var(--panel); display: flex; flex-direction: column; justify-content: center; padding: 64px 64px 64px 56px; }
.hero__panel h1 { font-size: clamp(32px, 3.4vw, 46px); max-width: 12ch; }
.hero__panel p { color: var(--muted); margin: 22px 0 30px; max-width: 46ch; }

/* --- Stats ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 40px 0; }
.stats__item { padding: 6px 20px; border-left: 1px solid var(--line); }
.stats__item:first-child { border-left: 0; }
.stats__value { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.stats__label { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* --- Range cards ---------------------------------------------------------- */
.range-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.range-card { border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; }
.range-card__media { aspect-ratio: 16 / 9; background: #e8e8e8; overflow: hidden; }
.range-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.range-card:hover .range-card__media img { transform: scale(1.03); }
.range-card__rule { height: 5px; background: var(--green); }
.range-card--com .range-card__rule { background: var(--ink); }
.range-card__body { padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.range-card__body h3 { font-size: 24px; }
.range-card__body p { color: var(--muted); font-size: 15px; }
.range-card__body .arrow-link { margin-top: auto; }

/* --- Collection tiles ----------------------------------------------------- */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tile { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); min-width: 0; border-radius: var(--radius); overflow: hidden; }
.tile__media { aspect-ratio: 1 / 1; background: #e8e8e8; overflow: hidden; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile__media--product { background: var(--white); padding: 16px; }
.tile__media--product img { object-fit: contain; }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tile__body h3 { font-size: 18px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.tile__body p { font-size: 13px; color: var(--muted); }
.tile__body .arrow-link { margin-top: 12px; }
/* Category tiles: text on the left, a small arrow on the right. */
.tile__body--arrow { flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; }
.tile__arrow {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .18s ease;
}
.tile:hover .tile__arrow { transform: translateX(3px); }

/* --- Split bands ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split--media-first .split__media { order: -1; }
.split__media { min-height: 420px; background: #e8e8e8; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__panel { display: flex; flex-direction: column; justify-content: center; padding: 70px 64px; }
.split__panel--ink { background: var(--ink); color: var(--white); }
.split__panel--panel { background: var(--panel); }
.split__panel h2 { font-size: clamp(26px, 2.6vw, 34px); max-width: 18ch; }
.split__panel p { margin: 20px 0 28px; max-width: 44ch; }
.split__panel--ink p { color: rgba(255,255,255,.78); }
.split__panel--panel p { color: var(--muted); }
.split__inner { max-width: 520px; margin-left: auto; }
.split__panel--ink .split__inner { margin-left: 0; margin-right: auto; }

/* --- Green CTA band ------------------------------------------------------- */
.cta-band { background: var(--green); padding: 46px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(22px, 2.3vw, 30px); }
.cta-band p { color: rgba(29,31,31,.78); margin-top: 8px; font-size: 15px; }

/* --- Page header (interior pages) -----------------------------------------
   A contained, rounded card rather than an edge-to-edge bar (client
   feedback, referencing a D2C site's own product header: "not full width,
   image on right half, radius corners, same for all page headers"). The
   card is what carries the dark background and radius now, not the
   section, so a page with no banner image still gets the new shape - only
   the split image column needs one (page-head--split, below). */
.page-head { padding: 24px 0 0; }
/* Light grey rather than dark (client request), and inset by the gutter so
   the card's edge lines up with the logo and the content below it rather
   than overhanging them - .wrap's own gutter is replaced by the card's
   inner padding here, so the width has to give it back. */
.page-head .wrap {
  background: var(--panel); color: var(--ink);
  border-radius: 16px; overflow: hidden;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  padding: 48px 44px 52px;
}
.page-head h1 { font-size: clamp(26px, 2.4vw, 34px); max-width: 20ch; }
.page-head p { color: var(--ink-soft); margin-top: 16px; max-width: 62ch; }

/* Right-half photo, undimmed - .page-head--split with a .page-head__media
   <img> inside it, used once a page has a real banner image. Until then a
   plain .page-head (no --split) just shows the text side full-width. */
.page-head--split .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  padding: 0; align-items: stretch;
}
.page-head__text { padding: 48px 44px; }
/* category.html always carries the text wrapper, banner or not; without the
   split its padding would double up with the card's own. */
.page-head:not(.page-head--split) .page-head__text { padding: 0; }
.page-head__media { position: relative; min-height: 260px; background: #ededed; }
.page-head__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.crumbs { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--green-dark); }
.crumbs span { margin: 0 8px; opacity: .5; }

/* --- Catalogue layout ----------------------------------------------------- */
.catalogue { display: grid; grid-template-columns: 290px 1fr; gap: 36px; align-items: start; }

.filters {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 104px;
  max-height: calc(100vh - 124px); overflow-y: auto;
}
.filters h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.filters__group + .filters__group { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.filters label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; padding: 6px 0; cursor: pointer; }
.filters input { accent-color: var(--green-dark); width: 18px; height: 18px; flex: none; margin-top: 1px; }
/* A top-level category with its sub-categories folded underneath
   (the unfiltered listing - see catFacetHtml in catalogue.js). */
.filters__row { display: flex; align-items: flex-start; gap: 6px; }
.filters__row label { flex: 1; min-width: 0; }
.filters__toggle {
  flex: none; width: 30px; height: 30px; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: var(--radius); cursor: pointer; color: var(--muted);
}
.filters__toggle:hover { background: var(--panel); color: var(--ink); }
.filters__toggle svg {
  width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease;
}
.filters__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.filters__children { padding-left: 28px; }
.filters__children label { font-size: 13.5px; }
.filters__reset {
  margin-bottom: 22px; width: 100%; padding: 10px; background: transparent;
  border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.filters__reset:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.results-bar__count { font-size: 13px; color: var(--muted); }
.results-bar select, .search-input {
  padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font: inherit; font-size: 14px; background: var(--white);
}
.search-input { width: 260px; }

/* --- Product cards -------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* The filtered listing's grid fills whatever width the sidebar leaves
   rather than stopping at a fixed 3 columns - on a wide monitor that left a
   lot of unused white space next to the cards (client feedback: "change the
   break point width to be slightly wider, like the D2C website"). Fluid
   auto-fill adapts at every width instead of picking one more breakpoint. */
.catalogue .product-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.load-more { text-align: center; margin-top: 32px; }
.load-more__count { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

.product-card {
  border: 1px solid var(--line);
  background: var(--white);
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .2s ease;
}
.product-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.product-card__media { aspect-ratio: 1 / 1; background: var(--white); padding: 18px; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; }
.product-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__cat { font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--green-dark); }
.product-card__name { font-size: 15px; font-weight: 700; line-height: 1.35; }
.product-card__sku { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.product-card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.product-card__price { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.product-card__gst { font-size: 11px; color: var(--muted); font-weight: 400; }
.product-card__view { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark); }

.badge {
  display: inline-block; padding: 3px 8px; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; border-radius: var(--radius);
}
.badge--sample { background: var(--panel); color: var(--muted); border: 1px solid var(--line); }
.badge--range { background: var(--green-tint); color: var(--green-dark); }

.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); }

/* --- Product detail ------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.pdp__gallery { background: var(--white); border: 1px solid var(--line); padding: 40px; border-radius: var(--radius); }
.pdp__gallery-main { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.pdp__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pdp__thumb {
  width: 64px; height: 64px; padding: 4px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp__thumb:hover { border-color: var(--line-strong); }
.pdp__thumb.is-active { border-color: var(--green); border-width: 2px; padding: 3px; }
.pdp h1 { font-size: clamp(26px, 2.8vw, 34px); }
.pdp__sku { font-size: 13px; letter-spacing: .06em; color: var(--muted); margin-top: 12px; }
/* Warranty / usage / material badges (specBadgesHtml() in catalogue.js).
   The WordPress icons are 161x55 JPGs on white, shown a little smaller so
   all three fit on one line beside the gallery. */
.pdp__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 18px; }
.pdp__badge-icon { width: 138px; height: auto; }
.pdp__badge-text {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px;
}
.pdp__price { font-size: 30px; font-weight: 700; margin: 22px 0 4px; font-variant-numeric: tabular-nums; }
.pdp__price-note { font-size: 12px; color: var(--muted); }
.pdp__summary { color: var(--muted); margin: 24px 0 28px; }
.pdp__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.pdp__block p { color: var(--muted); margin-bottom: 14px; }
.pdp__block p:last-child { margin-bottom: 0; }
.pdp__downloads li { margin-bottom: 12px; }
.pdp__downloads li:last-child { margin-bottom: 0; }
.pdp__video + .pdp__video { margin-top: 18px; }
.pdp__download-size { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: normal; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 600; color: var(--muted); width: 42%; }

.feature-list li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 15px; color: var(--muted); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--green); }

.pdp__block { margin-top: 34px; }
.pdp__block h2 { font-size: 14px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }

/* --- Content pages -------------------------------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: 26px; margin: 44px 0 14px; }
.prose h3 { font-size: 18px; margin: 30px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose ul { margin: 0 0 18px; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--muted); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--green); }

/* A small product thumbnail at the top of an info-card. Product shots on
   white, so contain with a little padding rather than cover. */
.card-thumb {
  width: 76px;
  height: 76px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: var(--white);
}
.card-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }

/* The pair of featured levers under the intro. */
.feature-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 500px;
  margin-top: 32px;
}
.feature { display: block; border: 1px solid var(--line); background: var(--white); }
.feature:hover { border-color: var(--green); }
.feature__media { aspect-ratio: 1; }
.feature__media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.feature__name { padding: 0 16px 16px; font-size: 14px; font-weight: 600; line-height: 1.35; }

/* --- Accordions -----------------------------------------------------------
   Native <details>, so they open with JS off, take keyboard focus for free,
   and let the browser expand a closed section when someone uses find-in-page.
   The h3 stays inside the summary so the document outline survives. */
.accordion { border-top: 1px solid var(--line); margin: 20px 0 10px; }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 2px;
  cursor: pointer;
  list-style: none;
}
.accordion__head::-webkit-details-marker { display: none; }
.accordion__head:hover { color: var(--green-dark); }
.accordion__head h3 { font-size: 17px; margin: 0; }
.accordion__icon {
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform .18s ease;
}
.accordion__item[open] .accordion__icon { transform: translateY(2px) rotate(-135deg); }
.accordion__item[open] .accordion__head { color: var(--green-dark); }
.accordion__body { padding: 2px 2px 22px; }
.accordion__body > :last-child { margin-bottom: 0; }

/* Guidance on the left, a picture of what it applies to on the right. Only
   downloads-maintenance uses this; .prose itself is shared with six other
   pages and is left alone. The picture sticks while its own section scrolls
   past, so it stays beside the advice it illustrates. */
.prose-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 52px;
  align-items: start;
}
/* The first heading of a section sits level with its picture rather than
   44px below it. */
.prose-cols .prose > h2:first-child { margin-top: 0; }
.prose-aside { position: sticky; top: 108px; }
.prose-figure { margin: 0; border: 1px solid var(--line); background: var(--white); }
.prose-figure img { width: 100%; height: 250px; object-fit: contain; padding: 18px; }
/* A photograph rather than a product shot: fill the frame, no white margin. */
.prose-cols--media { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.prose-figure--photo img { height: 240px; object-fit: cover; padding: 0; }

.prose-figure figcaption { padding: 0 18px 16px; font-size: 13px; line-height: 1.5; color: var(--muted); }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.info-card { border: 1px solid var(--line); padding: 28px; background: var(--white); }
.info-card h3 { font-size: 17px; margin-bottom: 10px; }
.info-card p { color: var(--muted); font-size: 15px; }
.info-card a { color: var(--green-dark); font-weight: 600; }

/* Cards that lead with a picture. The image goes edge to edge, so the padding
   moves off the card onto the body - the plain .info-card is used on four
   other pages and keeps its own padding. Fit follows the same convention as
   the category tiles: cover for photographs, contain on white for product
   shots and documents, which crop badly. */
.info-card--media { padding: 0; display: flex; flex-direction: column; }
.info-card__media {
  aspect-ratio: 4 / 3;
  max-height: 300px;
  background: #e8e8e8;
  overflow: hidden;
}
.info-card__media img { width: 100%; height: 100%; object-fit: cover; }
.info-card__media--product { background: var(--white); padding: 18px; }
/* Banner-shaped sources - a 4:3 frame would crop a third off each side. */
.info-card__media--wide { aspect-ratio: 2 / 1; }
.info-card__media--product img { object-fit: contain; }
.info-card__body { padding: 24px 28px 28px; }

/* --- Installation videos --------------------------------------------------
   The only third-party embed on the site. Two up rather than four, because a
   quarter-width player is too small to follow a fitting sequence in. */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.video__frame {
  aspect-ratio: 16 / 9;
  background: #e8e8e8;
  border: 1px solid var(--line);
}
.video__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video h3 { font-size: 17px; margin: 16px 0 5px; }
.video p { color: var(--muted); font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong);
  border-radius: var(--radius-control); font: inherit; font-size: 15px; background: var(--white);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-note--error { color: var(--error); }
.form-note--sent { color: var(--ink); font-weight: 600; }
.form-note a { color: var(--green-dark); font-weight: 600; }
/* Honeypot: off screen rather than display:none, which some bots skip. */
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--turnstile { min-height: 65px; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 62px 0 0; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; padding-bottom: 52px; }
.site-footer__blurb { font-size: 14px; margin-top: 20px; max-width: 34ch; }
.site-footer h3 { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: var(--green); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0 30px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* --- Catalogue-only notice ------------------------------------------------ */
.notice {
  background: var(--green-tint);
  border: 1px solid #d8ecbd;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink-soft);
  border-radius: var(--radius);
}
.notice strong { color: var(--ink); }

/* --- Document library ----------------------------------------------------- */
.doc-list { border-top: 1px solid var(--line); }
.doc-item {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.doc-item__title { font-size: 16px; font-weight: 600; }
.doc-item__summary { font-size: 14px; color: var(--muted); margin-top: 4px; }
.doc-item__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.doc-item__tag {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--panel); border: 1px solid var(--line); padding: 3px 9px; color: var(--muted);
}
.doc-item__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.doc-item__size { font-size: 12px; color: var(--muted); }

/* Catalogue and brochure covers, which are portrait PDF first pages. */
.cover-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.cover { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); min-width: 0; border-radius: var(--radius); overflow: hidden; }
.cover img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: contain;
  background: var(--white); padding: 14px; transition: transform .4s ease;
}
.cover:hover img { transform: scale(1.03); }
.cover__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cover__body h3 { font-size: 15px; }
.cover__body p { font-size: 13px; color: var(--muted); flex: 1; }
.cover__link { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark); }

/* --- Retailers ------------------------------------------------------------ */
.retailer-town {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); margin: 34px 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink);
}
.retailer-town span { color: var(--muted); font-weight: 400; letter-spacing: .04em; }
.retailer-list { border-top: 1px solid var(--line); }
.retailer {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.retailer__name { font-size: 15px; font-weight: 600; }
.retailer__meta { font-size: 14px; color: var(--muted); margin-top: 3px; }
.retailer__side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.retailer__phone { font-size: 14px; color: var(--green-dark); font-weight: 600; white-space: nowrap; }
.retailer__dist { font-size: 12px; color: var(--muted); }

/* --- Company timeline ----------------------------------------------------- */
.timeline { border-left: 2px solid var(--line); padding-left: 34px; }
.timeline__item { position: relative; padding-bottom: 46px; }
.timeline__item::before {
  content: ""; position: absolute; left: -42px; top: 6px;
  width: 14px; height: 14px; background: var(--green); border: 3px solid var(--white);
}
.timeline__year { font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }

/* Text beside its photo rather than above it - the entries are short, and
   stacked they left the right-hand half of the page empty all the way down. */
.timeline__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 34px;
  align-items: start;
}
/* An entry with no photo gets the full width instead of a gap. */
.timeline__body:only-child { grid-column: 1 / -1; }
.timeline__body h3 { font-size: 20px; margin-bottom: 12px; }
.timeline__body p { color: var(--muted); margin-bottom: 14px; max-width: 68ch; }
.timeline__body p:last-child { margin-bottom: 0; }

/* The border is on the image, not the box, so a photo narrower than its
   column is framed rather than floating in one. Heights are capped because
   the 1963 catalogue is a portrait animation among landscape photos and
   would otherwise set the height of the whole row. */
.timeline__media { display: flex; justify-content: flex-start; }
.timeline__media img {
  width: auto;
  max-width: 100%;
  max-height: 260px;
  border: 1px solid var(--line);
}
.timeline__media--portrait img { max-height: 340px; }

/* --- Articles ------------------------------------------------------------- */
.tile__date { font-size: 12px; color: var(--muted); margin-top: auto; padding-top: 10px; }
.article { max-width: 72ch; }
.article h1 { font-size: clamp(26px, 3vw, 36px); margin: 10px 0 0; }
.article__date { font-size: 13px; color: var(--muted); margin-top: 12px; }
.article__hero { width: 100%; height: auto; margin: 28px 0 8px; border: 1px solid var(--line); }
.article .prose { max-width: none; }
.article .prose img { max-width: 100%; height: auto; margin: 22px 0; border: 1px solid var(--line); }
.article .prose a { color: var(--green-dark); font-weight: 600; }
.article .prose strong { color: var(--ink); }

/* --- Responsive ----------------------------------------------------------- */
/* Header: tighter before it runs out of room... */
@media (max-width: 1360px) {
  /* Below the content's full width the page has its normal gutter either
     side, so the header lines up with it rather than sitting 12px in. */
  :root { --hgutter: var(--gutter); }
  .site-header { gap: 18px; }
  .nav__links { gap: 16px; margin-left: 4px; }
  .nav__pill { min-width: 0; padding: 13px 18px; }
  .site-search { min-width: 170px; }
}

/* ...then the links and buttons move into a full-screen menu behind the menu
   button, leaving logo, search and button in the bar (Oliver's tablet
   design). Opening it adds .site-header--open (site.js): the header itself
   becomes the full-screen panel, and the same five pieces re-order into
   logo + close, search, the two buttons side by side, then the links with
   the Resources pages listed under theirs. */
@media (max-width: 1100px) {
  :root { --hgutter: 24px; }
  .nav__links, .nav__pills { display: none; }
  .nav-toggle { display: flex; }

  .site-header--open {
    position: fixed;
    inset: 0;
    z-index: 100;
    height: auto;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0;
    padding-bottom: 40px;
    overflow-y: auto;
    box-shadow: none;
  }
  .site-header--open .brand { min-height: var(--header-h); display: flex; align-items: center; }
  .site-header--open .nav-toggle { order: 2; margin-left: auto; }
  .site-header--open .site-search { display: block; order: 3; flex: 1 1 100%; margin: 20px 0 16px; }
  .site-header--open .nav__pills { order: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1 1 100%; }
  .site-header--open .nav__pill { min-width: 0; }
  .site-header--open .nav__links { order: 5; display: flex; flex-direction: column; gap: 0; flex: 1 1 100%; margin: 14px 0 0; }
  .site-header--open .nav__links a {
    padding: 14px 0;
    font-weight: 700;
    letter-spacing: .08em;
    border-bottom: 1px solid var(--line);
  }
  .site-header--open .nav__links a:hover,
  .site-header--open .nav__links a[aria-current="page"] { color: var(--green-dark); border-bottom-color: var(--line); }
  .site-header--open .nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 0 0 0 18px;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .site-header--open .nav__sub::before { display: none; }
  .site-header--open .nav__links .nav__sub a {
    padding: 12px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--muted);
    border-left: 0;
  }
  .site-header--open .nav__links .nav__sub a:hover,
  .site-header--open .nav__links .nav__sub a[aria-current="page"] { background: none; color: var(--ink); }

  /* The page behind does not scroll while the menu covers it. */
  html.menu-open { overflow: hidden; }
}

/* Phones: the search goes into the menu too (Oliver's mobile design). */
@media (max-width: 640px) {
  .site-search { display: none; }
  /* With the search gone, nothing else pushes the menu button right. */
  .nav-toggle { margin-left: auto; }
  .utility__links { flex: 1; justify-content: space-between; }
}

@media (max-width: 1080px) {
  .timeline__cols { grid-template-columns: 1fr; gap: 20px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .cover-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid, .product-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .catalogue { grid-template-columns: 1fr; gap: 32px; }
  .filters { position: static; max-height: none; overflow-y: visible; }
  .info-grid { grid-template-columns: 1fr; }
  .prose-cols { grid-template-columns: 1fr; gap: 26px; }
  .prose-aside { position: static; max-width: 420px; }
  .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  :root { --gutter: 22px; }
  .page-head { padding: var(--gutter) 0 0; }
  .page-head .wrap { padding: 32px 24px 36px; border-radius: 12px; }
  /* padding: 0 again, as the line above would otherwise put the photo
     inside the card's padding - same specificity, and it comes later. */
  .page-head--split .wrap { grid-template-columns: 1fr; padding: 0; }
  .page-head__text { padding: 28px 24px 32px; }
  .page-head__media { min-height: 200px; order: -1; }

  .hero { grid-template-columns: 1fr; height: auto; }
  .hero__media { height: 340px; }
  .hero__panel { padding: 44px var(--gutter); }
  .split { grid-template-columns: 1fr; }
  .split--media-first .split__media { order: 0; }
  .split__media { min-height: 280px; }
  .split__panel { padding: 48px var(--gutter); }
  .split__inner { margin: 0; max-width: none; }
  .range-grid { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cover-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-item, .retailer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .doc-item__actions, .retailer__side { flex-direction: row; align-items: center; gap: 14px; }
  .section { padding: 56px 0; }
  .utility__text { display: none; }
  .utility .wrap { justify-content: flex-end; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .stats__item { border-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .stats__item:first-child { border-top: 0; padding-top: 0; }
  .tile-grid { grid-template-columns: 1fr; }
  .cover-grid { grid-template-columns: 1fr 1fr; }
  .product-grid, .product-grid--4 { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .utility__links { gap: 16px; font-size: 10px; }
  .search-input { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
