/* cl-site.css: PowerStop's tokens, fonts, reset and chrome (the one-row header with its Lines list and drawer,
   the finder, the question band, the footer, the primary button), on every page, from their measurements
   (review/pages/home.json) and the header and band prototypes of 2026-10-26. cl-shop.css reads only these tokens,
   so the title band and the cart follow.

   The cascade (the kit's static/parts/tokens.css): `@layer base, kit, site;` below sets the order; the tokens sit
   on :root outside any layer, the reset in @layer base (under the kit's rules), every other rule in @layer site.
   The kit's shop pages take the site's brand colour and font from the --parts-* tokens alone. The finder is the
   kit's band in the site's own partial, and its block below names the kit classes the tokens cannot reach (a
   standing exception, see there).

   Two layouts: from 980px their desktop; below 980px their phone layout, measured in a 390px stage. */
@layer base, kit, site;

/* their fonts (static/fonts/FONTS.md): Trade Gothic Next Condensed for text, Compressed for headings */
@font-face { font-family: "trade-gothic-next-condensed"; src: url("fonts/trade-gothic-next-condensed-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "trade-gothic-next-condensed"; src: url("fonts/trade-gothic-next-condensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "trade-gothic-next-compressed"; src: url("fonts/trade-gothic-next-compressed-700.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* colours: their white page, black chrome, red and orange; text stays full contrast, so their #737373 text is near black */
  --site-bg: #FFFFFF;
  --site-fg: #1A1A1A;
  --site-muted: #1A1A1A;
  --site-line: #E6E6E6;
  --site-rule: #BDBDBD;
  --site-band: #F2F2F2;
  --site-card: #F9F9F9;
  --site-accent: #FF000D;
  --site-accent-fg: #FFFFFF;
  --site-orange: #F6941C;
  --site-dark: #000000;
  --site-field-bg: #FFFFFF;
  --site-button-bg: #1A1A1A;
  --site-button-fg: #FFFFFF;
  --site-button-hover-bg: #FF000D;
  --site-button-hover-fg: #FFFFFF;
  --site-disabled-bg: #E6E6E6;
  --site-disabled-fg: #1A1A1A;
  --site-dark-fg: #FFFFFF;      /* text on the black footer, a black tile and over the hero photos */
  --site-photo: #FFFFFF;        /* the plate under a photo or a tile, white in both themes */
  --site-plate-fg: #1A1A1A;     /* words on a white plate, a tile's grey bar and the orange band, dark in both themes */
  --site-tile-bar: #BDBDBD;     /* a tile's label bar */
  --site-ok: #1B8A2E;           /* the in-stock square */
  --site-go-hover: #1A1A1A;     /* the finder's Go on hover */

  /* fonts: the condensed face for text, menus and buttons, the compressed face for headings */
  --site-font-body: "trade-gothic-next-condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --site-font-heading: "trade-gothic-next-compressed", "Oswald", "Arial Narrow", sans-serif;
  --site-font-button: var(--site-font-body);

  /* shape and layout: square boxes, their 1320px container with 15px padding */
  --site-radius: 0;
  --site-max: 1320px;
}
/* the kit's shop pages and vehicle band (storefront_kit/static/parts/tokens.css): only the brand tokens a site
   owns, drawn from the tokens above. Every other --parts-* default is the kit's counter look (storefront-kit ADR
   0007): never set one here. */
:root {
  --parts-accent: var(--site-accent);
  --parts-accent-strong: #D9000B;
  --parts-font: var(--site-font-body);
  /* the finder: white with black ink, a grey rule under its one-line form; the rest is set on .cl-finder below */
  --parts-band-bg: #FFFFFF;
  --parts-band-ink: #1A1A1A;
  --parts-band-edge: var(--site-line);
}

@layer base {

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--site-bg); }
body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-fg);
  font: 400 17px/1.3 var(--site-font-body);
  letter-spacing: 0.3px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; }
ul, ol { list-style: none; }
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
.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; }

}

@layer site {

/* ---------- the primary button: their black italic capitals, red on hover ---------- */
.cl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 43px; padding: 0 24px;
  background: var(--site-button-bg); color: var(--site-button-fg); border: 0; border-radius: var(--site-radius);
  font: italic 700 19px/1 var(--site-font-button); letter-spacing: 0.5px; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.cl-btn:hover { background: var(--site-button-hover-bg); color: var(--site-button-hover-fg); }
.cl-btn:focus-visible { outline: 2px solid var(--site-accent); outline-offset: 2px; }

/* ---------- the header: one white row that sticks (partials/header.html) ---------- */
/* the Orbital Parts mark, the part search in the centre, Lines and the cart */
/* the top edge over it: a black strip of two short lines, who runs the store and the shipping promise, that scrolls away */
.cl-edge { background: var(--site-dark); color: var(--site-dark-fg); }
.cl-edge__in { max-width: var(--site-max); min-height: 28px; margin: 0 auto; padding: 0 15px; display: flex; justify-content: space-between; gap: 4px 32px; font: 700 14px/28px var(--site-font-body); letter-spacing: 1px; text-transform: uppercase; }
.cl-hd { position: sticky; top: 0; border-bottom: 1px solid var(--site-rule); z-index: 50; background: var(--site-bg); }
.cl-hd__bar { max-width: var(--site-max); height: 80px; margin: 0 auto; padding: 0 15px; display: grid; grid-template-columns: 1fr minmax(0, 560px) 1fr; align-items: center; gap: 32px; }
/* the Orbital Parts mark, the link home: dark-lettered on the white bar, white-lettered on the night theme's dark one,
   48px so it stands as tall as the search beside it */
.cl-hd__name { justify-self: start; display: flex; align-items: center; min-height: 40px; }
.cl-hd__op { display: block; width: 240px; height: auto; }
.cl-hd__name .cl-hd__op--dark { display: none; }
.cl-hd__search { display: flex; height: 46px; border: 3px solid var(--site-fg); background: var(--site-field-bg); }
.cl-hd__search input { flex: 1; min-width: 0; padding: 0 12px; border: 0; border-radius: 0; background: transparent; color: var(--site-fg); font: 400 16px/1 var(--site-font-body); }
.cl-hd__search input::placeholder { color: var(--site-fg); opacity: 1; }
.cl-hd__search input:focus { outline: none; }
.cl-hd__search:focus-within { border-color: var(--site-accent); }
.cl-hd__search button { flex: none; width: 42px; display: grid; place-items: center; color: var(--site-fg); }
.cl-hd__search button:hover { color: var(--site-accent); }
.cl-hd__end { justify-self: end; display: flex; align-items: center; gap: 28px; }
.cl-hd__tool { padding: 10px 0; color: var(--site-fg); font: 700 15px/20px var(--site-font-body); letter-spacing: 0.3px; text-transform: uppercase; white-space: nowrap; }
.cl-hd__tool:hover { color: var(--site-accent); }
.cl-hd__icon { display: none; }
.cl-hd__cart { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; color: var(--site-fg); }
.cl-hd__cart:hover { color: var(--site-accent); }
.cl-hd__cart .fm-icon { overflow: visible; }
/* the kit's theme switch (parts/theme_switch.html) before the cart: the header's ink, red on hover like the tools */
.cl-hd__count { position: absolute; top: 0; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; background: var(--site-accent); color: var(--site-accent-fg); font: 700 13px/18px var(--site-font-body); text-align: center; }
.cl-hd__count:empty { display: none; }
.cl-hd :is(a, button):focus-visible { outline: 2px solid var(--site-accent); outline-offset: 2px; }

/* Lines: a plain list that drops under its button, at the bar's right beside the cart */
.cl-hd__lines { position: relative; }
.cl-hd__tool { display: flex; align-items: center; gap: 7px; min-height: 40px; }
.cl-hd__tool[aria-expanded="true"] { color: var(--site-accent); }
.cl-hd__chev { transition: transform .15s; }
.cl-hd__tool[aria-expanded="true"] .cl-hd__chev { transform: rotate(180deg); }
.cl-hd__panel { position: absolute; top: calc(100% + 20px); right: -16px; z-index: 2; min-width: 248px; padding: 8px 0; background: var(--site-bg); border: 1px solid var(--site-fg); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18); }
.cl-hd__panel[hidden] { display: none; }
.cl-hd__panel a { display: block; padding: 9px 16px; color: var(--site-fg); font: 400 17px/22px var(--site-font-body); letter-spacing: 0.3px; white-space: nowrap; }
.cl-hd__panel a:hover, .cl-hd__panel a:focus-visible { background: var(--site-band); color: var(--site-accent); outline: none; }
.cl-hd__panel a.is-current { font-weight: 700; box-shadow: inset 3px 0 0 var(--site-accent); }
.cl-hd__panel li:last-child a { color: var(--site-accent); font-weight: 700; }

/* the drawer (phones): opaque, the same entries, Lines as a closed accordion */
.cl-drawer { position: fixed; inset: 0; z-index: 100; }
.cl-drawer[hidden] { display: none; }
.cl-drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.cl-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 100%); padding: 60px 16px 32px; overflow-y: auto; background: var(--site-bg); }
.cl-drawer__close { position: absolute; top: 6px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; color: var(--site-fg); }
.cl-drawer__link { display: flex; align-items: center; justify-content: space-between; min-height: 50px; border-bottom: 1px solid var(--site-line); color: var(--site-fg); font: 700 17px/22px var(--site-font-body); letter-spacing: 0.3px; text-transform: uppercase; cursor: pointer; list-style: none; }
.cl-drawer__link.is-current, .cl-drawer__list li:last-child .cl-drawer__link { color: var(--site-accent); }

/* ---------- the finder (partials/finder.html): the kit's band drawn from these tokens, the sides as buttons ---------- */
/* The rules below that name a kit class (kit-band, kit-ymm-field) are what the tokens cannot do: the field height and
   2px border, a disabled field in full contrast, Go in their italic capitals, the card layout with Year beside Make
   and the one-line layout. They are a standing exception (Greg 2026-10-26) until the kit offers them, and doctor's
   check 13 names them. */
.cl-finder, .cl-row {
  --parts-radius: 0;
  --parts-border: var(--site-fg);
  --parts-ink-soft: var(--site-fg);
  --parts-band-field-open: var(--site-fg);
  --parts-accent-wash-strong: var(--site-band);
  --parts-band-go: var(--site-accent);
  --parts-band-go-hover: var(--site-go-hover);
  --parts-band-edge: var(--site-rule);
  --parts-max: var(--site-max);
  --parts-gut: 15px;
  scroll-margin-top: 96px;
}
.cl-finder__title { margin: 0; color: var(--site-fg); font: 700 40px/36px var(--site-font-heading); letter-spacing: 0.5px; text-transform: uppercase; }
/* the three sides: one segmented row, 2px black borders sharing edges, the pressed one black */
.cl-finder__side { display: grid; grid-template-columns: repeat(3, 1fr); }
.cl-finder__pos { display: flex; align-items: center; justify-content: center; min-width: 0; height: 48px; padding: 0 6px; background: var(--site-field-bg); color: var(--site-fg); border: 2px solid var(--site-fg); border-radius: 0; font: 700 16px/1 var(--site-font-body); letter-spacing: 0.3px; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.cl-finder__pos + .cl-finder__pos { margin-left: -2px; }
/* the side select stays in the form for band.js and out of the grid: the kit's .kit-band select rule outranks the base
   layer's .sr-only, so until band.js marked the form live it took a second grid row and the page jumped 48px (CLS
   0.11 at 1440 on every page drawing the finder) */
.cl-finder__side > select.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.cl-finder__pos:hover { color: var(--site-accent); }
.cl-finder__pos[aria-pressed="true"] { position: relative; background: var(--site-fg); color: var(--site-bg); }
.cl-finder__pos:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--site-accent); outline-offset: 2px; }
.cl-finder .kit-ymm-field__button, .cl-finder select:not(.sr-only) { height: 48px; border-width: 2px; line-height: 44px; color: var(--site-fg); }
.cl-finder .kit-ymm-field__button:disabled, .cl-finder select:disabled { opacity: 1; background: var(--site-band); border-color: var(--site-rule); }
.cl-finder .kit-ymm-field__button:disabled::after { border-color: var(--site-rule); }
.cl-finder .kit-band__go { height: 48px; min-width: 120px; font: italic 700 19px/1 var(--site-font-button); letter-spacing: 0.5px; text-transform: uppercase; }
.cl-finder .kit-band__now strong { font: 700 24px/1.1 var(--site-font-body); letter-spacing: 0.3px; text-transform: uppercase; }
.cl-finder .kit-band__btn { height: 44px; font: 700 15px/1 var(--site-font-body); letter-spacing: 0.3px; text-transform: uppercase; }
.cl-finder .kit-band__btn--ghost { border: 2px solid var(--site-fg); }
/* the home: a card under the slogan (cl-home.css places it), two fields a line */
.cl-finder--card { width: 460px; background: var(--site-bg); border-top: 4px solid var(--site-accent); border-bottom: 0; box-shadow: rgba(0, 0, 0, 0.5) 0 4px 14px; }
.cl-finder--card .kit-band__in { display: block; max-width: none; padding: 24px 28px 20px; }
.cl-finder--card .cl-finder__title { margin-bottom: 14px; }
.cl-finder--card .kit-band__form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cl-finder--card .kit-band__form > * { grid-column: 1 / -1; }
.cl-finder--card .kit-ymm-field--year, .cl-finder--card .kit-ymm-field--make { grid-column: auto; }
.cl-finder--card .kit-band__form:has(> .kit-ymm-field--submodel:not([hidden])) .kit-ymm-field--model,
.cl-finder--card .kit-ymm-field--submodel { grid-column: auto; }
.cl-finder--card .kit-band__go { width: 100%; }
.cl-finder--card .kit-band__current { margin-bottom: 4px; }
.cl-finder--card .kit-band__car { display: none; }
.cl-finder--card.kit-band--set .kit-band__form { padding-top: 16px; margin-top: 16px; }
/* every other page: the same markup on one line under the header, the sides 104px each */
.cl-finder--line { border-bottom-width: 1px; }
.cl-finder--line .kit-band__in { flex-wrap: nowrap; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.cl-finder--line.kit-band--set .kit-band__in { flex-wrap: wrap; }
.cl-finder--line .cl-finder__title { flex: none; font-size: 28px; line-height: 28px; white-space: nowrap; }
.cl-finder--line .kit-band__form { flex-wrap: nowrap; gap: 10px; }
.cl-finder--line .cl-finder__side { flex: none; grid-template-columns: repeat(3, 104px); }
.cl-finder--line .cl-finder__pos { padding: 0 4px; font-size: 14px; }
/* the VIN row (vin.py) under the year, make and model row: the band's form and it share one column, the label, a 48px
   field and a black Go of its own on one line; it hides with the band's form (the set state until Change) */
.cl-finder__forms { flex: 1 1 480px; min-width: 0; display: grid; gap: 10px; }
.cl-finder--set .cl-finder__forms { flex-basis: 100%; }
.cl-finder__vin { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
form[hidden] + .cl-finder__vin { display: none; }
.cl-finder__vin-label { flex: none; color: var(--site-fg); font: 700 16px/1 var(--site-font-body); letter-spacing: 0.3px; text-transform: uppercase; }
.cl-finder__vin-field { flex: 0 1 312px; min-width: 0; height: 48px; margin: 0; padding: 0 12px; background: var(--site-field-bg); color: var(--site-fg); border: 2px solid var(--site-fg); border-radius: 0; font: 400 16px/44px var(--site-font-body); letter-spacing: 1px; text-transform: uppercase; }
.cl-finder__vin-field:focus-visible { outline: 2px solid var(--site-accent); outline-offset: 2px; }
.cl-finder__vin-field[aria-invalid="true"] { border-color: var(--site-accent); }
.cl-finder__vin-go { flex: none; height: 48px; min-width: 120px; margin: 0; padding: 0 18px; background: var(--site-fg); color: var(--site-bg); border: 0; border-radius: 0; font: italic 700 19px/1 var(--site-font-button); letter-spacing: 0.5px; text-transform: uppercase; cursor: pointer; }
.cl-finder__vin-go:hover { background: var(--site-accent); color: var(--site-accent-fg); }
.cl-finder__vin-note { flex: 1 1 100%; margin: 0; padding-left: 10px; border-left: 4px solid var(--site-accent); color: var(--site-fg); font: 700 16px/20px var(--site-font-body); }
.cl-finder--card .cl-finder__vin-field { flex: 1 1 0; }
.cl-finder--card .cl-finder__vin-go { min-width: 96px; }
@media (min-width: 1280px) {
  .cl-finder--line .cl-finder__title { align-self: flex-start; margin-top: 10px; }
}
/* under 1280px the heading takes its own line and the form keeps one */
@media (max-width: 1279.98px) {
  .cl-finder--line .kit-band__in { flex-wrap: wrap; gap: 10px 24px; }
  .cl-finder--line .cl-finder__title { flex-basis: 100%; }
  .cl-finder--line .kit-band__form { flex-basis: 100%; }
  .cl-finder--line .cl-finder__forms { flex-basis: 100%; }
}

/* ---------- the question band and the footer ---------- */
.cl-ask { background: var(--site-orange); }
.cl-ask__in { display: flex; justify-content: center; align-items: center; gap: 24px; min-height: 59px; color: var(--site-plate-fg); font: 400 17px/19px var(--site-font-body); }
.cl-ask__in strong { font-size: 19px; font-weight: 700; }
.cl-ask__in:hover span { text-decoration: underline; }

.cl-ft { background: var(--site-dark); color: var(--site-dark-fg); padding-top: 48px; }
.cl-ft__cols { max-width: var(--site-max); min-height: 265px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr) minmax(0, 2fr); border-bottom: 1px solid var(--site-dark-fg); }
.cl-ft__col { padding: 0 15px; }
.cl-ft__col summary { list-style: none; }
.cl-ft__col summary::-webkit-details-marker { display: none; }
.cl-ft__h { display: block; margin-bottom: 25px; font: 700 15px/17px var(--site-font-body); letter-spacing: 0.3px; text-transform: uppercase; color: var(--site-dark-fg); pointer-events: none; }
.cl-ft__links li + li { margin-top: 15px; }
.cl-ft__links a { font: 400 17px/22px var(--site-font-body); letter-spacing: 0.3px; color: var(--site-dark-fg); }
.cl-ft__links a:hover, .cl-ft__mail:hover span { text-decoration: underline; }
.cl-ft__col--contact { padding-left: 70px; }
.cl-ft__col--contact .cl-ft__h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.cl-ft__mail { display: block; }
.cl-ft__mail strong { display: block; color: var(--site-orange); font: 400 21px/22px var(--site-font-heading); letter-spacing: 0.3px; text-transform: uppercase; }
.cl-ft__mail span, .cl-ft__note { display: block; color: var(--site-dark-fg); font: 400 17px/22px var(--site-font-body); letter-spacing: 0.3px; }
.cl-ft__note { margin-top: 18px; }
.cl-ft__base { max-width: var(--site-max); margin: 0 auto; padding: 24px 15px; min-height: 72px; }
.cl-ft__copy { font: 700 13px/22px var(--site-font-body); letter-spacing: 0.3px; text-transform: uppercase; color: var(--site-dark-fg); }

/* ---------- phones: the 56px bar (the mark at 34px, clear of the search, switch, cart and menu at 390), the drawer, the finder full width, the accordion footer ---------- */
@media (max-width: 979.98px) {
  .cl-edge__in { flex-direction: column; padding: 6px 16px; font-size: 13px; line-height: 18px; letter-spacing: 0.4px; }
  .cl-edge__in p:first-child { display: none; }
  .cl-hd { top: 0; box-shadow: 0 1px 0 var(--site-line); }
  .cl-hd__bar { display: flex; flex-wrap: wrap; align-items: center; height: auto; gap: 0; padding: 0 6px 0 16px; }
  .cl-hd__name { flex: 1; min-width: 0; min-height: 56px; }
  .cl-hd__op { width: 170px; }
  .cl-hd__end { gap: 0; }
  .cl-hd__lines { display: none; }
  .cl-hd__icon, .cl-hd__cart { display: grid; place-items: center; width: 44px; height: 44px; color: var(--site-fg); }
  .cl-hd__burger { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; padding: 0 11px; }
  .cl-hd__burger span { display: block; height: 3px; background: var(--site-fg); }
  .cl-hd__search-btn[aria-expanded="true"] { color: var(--site-accent); }
  .cl-hd__search { display: none; order: 3; flex: 1 1 100%; margin: 0 10px 12px 0; }
  .cl-hd.is-search .cl-hd__search { display: flex; }


  .cl-finder { scroll-margin-top: 72px; --parts-gut: 16px; }
  .cl-finder--card { width: auto; max-width: 460px; }
  .cl-finder--card .kit-band__in { padding: 20px 16px 16px; }
  .cl-finder--card .cl-finder__title { font-size: 34px; line-height: 32px; }
  .cl-finder--line .kit-band__form { flex-wrap: wrap; }
  .cl-finder--line .cl-finder__side { flex: 1 1 100%; grid-template-columns: repeat(3, 1fr); }

  .cl-ask__in { flex-wrap: wrap; gap: 0 12px; min-height: 78px; padding: 12px 63px; text-align: center; }
  .cl-ask__in img { display: none; }

  .cl-ft__cols { display: block; min-height: 0; }
  .cl-ft__col, .cl-ft__col--contact { padding: 0; border-top: 1px solid var(--site-dark-fg); }
  .cl-ft__col--contact .cl-ft__h { position: static; width: auto; height: 64px; overflow: visible; clip: auto; }
  .cl-ft__h { display: flex; justify-content: space-between; align-items: center; height: 64px; margin: 0; padding: 0 20px 0 15px; font: 700 16px/24px var(--site-font-heading); letter-spacing: 0.85px; pointer-events: auto; cursor: pointer; }
  .cl-ft__h::after { content: ""; width: 24px; height: 24px; background: url("img/chrome/products.svg") center / contain no-repeat; }
  .cl-ft__col[open] .cl-ft__h::after { transform: rotate(45deg); }
  .cl-ft__links, .cl-ft__mail, .cl-ft__note { padding: 0 15px 16px; }
  .cl-ft__links li + li { margin-top: 0; }
  .cl-ft__links a { display: flex; align-items: center; min-height: 40px; }
  .cl-ft__note { margin: 0; }
  .cl-ft__base { min-height: 72px; padding: 16px 15px; }
  .cl-ft__copy { font-size: 13px; }
}

@media (max-width: 599.98px) {
  .cl-finder--card { max-width: none; }
  .cl-finder__pos, .cl-finder--line .cl-finder__pos { height: auto; min-height: 48px; padding: 6px 4px; font-size: 15px; line-height: 16px; white-space: normal; }
  .cl-finder .kit-band__now strong { font-size: 20px; }
  /* the VIN row stays one line on a phone, the label, the field and Go (three lines took 136px above every page's h1) */
  .cl-finder__vin-field, .cl-finder--card .cl-finder__vin-field { flex: 1 1 0; }
  .cl-finder__vin-go, .cl-finder--card .cl-finder__vin-go { min-width: 72px; padding: 0 14px; }
}

/* ---------- the 404 (templates/404.html) ---------- */
.cl-404__home { text-align: center; padding: 0 20px 80px; }

/* the footer's trademark line: "owner" links the client's site in the line's own colour, underlined, whatever the theme gives footer links (Greg 2026-10-01) */
.cl-owner, .cl-owner:visited { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cl-owner:hover { opacity: .8; }

}

/* phone type (Greg 2026-10-29, the phone clean-up): the H1 a little bigger and every other text a step smaller than
   before, so the first screen holds the H1 and the parts; inputs and selects stay 16px, nothing under 13px */
@layer site {
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cl-ask__in { font-size: 15px; }
  .cl-ask__in strong { font-size: 17px; }
  .cl-ft__links a, .cl-ft__mail span, .cl-ft__note { font-size: 15px; }
  .cl-finder--line .cl-finder__title { font-size: 24px; line-height: 24px; }
}
}

/* ---------- the vehicle picker by width (Greg 2026-10-30) ----------
   The home and the Line pages: under 980px the row under the hero's words (partials/pick_row.html), one line 52px
   tall; from 980px the hero's finder card (cl-finder--desk). Every other page with the finder: under 980px one 48px
   bar naming the vehicle, which opens the finder under it (cl-finder--bar, cl-site.js); from 980px the finder as it
   is. */
@layer site {
.cl-row, .cl-bar { display: none; }
/* the finder's form is the kit's cascade without the kit's panel class (no tabs here), so since kit 0.9.4 it fell to a
   block and stacked Year, Make and Model a line each on desktop: one row again, as before the phone clean-up */
.cl-finder--line .kit-band__form { display: flex; align-items: center; }
.cl-finder--line .kit-band__form[hidden] { display: none; }

@media (max-width: 979.98px) {
  .cl-finder--desk { display: none; }

  /* the row: the kit's band without its chrome, its fields side by side on one line */
  .cl-row { display: block; position: relative; z-index: 20; margin: 8px 0; background: transparent; color: var(--site-fg); border: 0; }
  .cl-home__hero .cl-row { margin: 8px 0 0; padding: 4px; background: var(--site-bg); }
  .cl-row__form { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; height: 52px; margin: 0; }
  .cl-row__form[hidden] { display: none; }
  .cl-row .kit-ymm-field { flex: 1 1 0; min-width: 0; }
  .cl-row .kit-ymm-field--year { flex: 0 0 76px; }
  .cl-row .kit-band__form:not(.has-make) .kit-ymm-field--model { display: block; }
  .cl-row .kit-ymm-field--submodel { display: none; }
  .cl-row .kit-ymm-field__button, .cl-row select:not([hidden]) { height: 52px; padding: 0 24px 0 10px; border: 2px solid var(--site-fg); border-radius: 0; background-color: var(--site-field-bg); color: var(--site-fg); font: 400 19px/48px var(--site-font-body); }
  .cl-row .kit-ymm-field__button:disabled, .cl-row select:disabled { opacity: 1; background: var(--site-band); border-color: var(--site-rule); }
  .cl-row .kit-ymm-field__button::after { right: 9px; border-color: var(--site-fg); }
  .cl-row .kit-ymm-field__button:disabled::after { border-color: var(--site-rule); }
  .cl-row .kit-band__go { flex: 0 0 64px; min-width: 0; height: 52px; padding: 0; font: italic 700 19px/1 var(--site-font-button); letter-spacing: 0.5px; text-transform: uppercase; }
  /* a vehicle set: its name and Change on one line, Change opening the row under it */
  .cl-row__now { display: flex; align-items: center; gap: 0 6px; min-height: 40px; margin: 0; color: var(--site-fg); font: 400 16px/22px var(--site-font-body); letter-spacing: 0.3px; }
  .cl-row__now strong { min-width: 0; overflow: hidden; font-weight: 700; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
  .cl-row__change { flex: none; min-height: 40px; padding: 0; color: var(--site-fg); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .cl-row__change:hover { color: var(--site-accent); }
  .cl-row__now + .cl-row__form { margin-top: 4px; }

  /* the bar on the kit's pages: the vehicle or "Pick your vehicle" and a chevron, the finder under it while open */
  .cl-finder--bar .cl-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 48px; margin: 0; padding: 0 16px; background: var(--site-bg); color: var(--site-fg); border: 0; font: 700 16px/1 var(--site-font-body); letter-spacing: 0.3px; text-align: left; text-transform: uppercase; cursor: pointer; }
  .cl-finder--bar .cl-bar::after { content: ""; flex: none; width: 8px; height: 8px; margin: -4px 4px 0 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
  .cl-finder--bar .cl-bar[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(225deg); }
  .cl-finder--bar .cl-bar:focus-visible { outline: 2px solid var(--site-accent); outline-offset: -2px; }
  .cl-finder--bar:not(.is-open) .kit-band__in { display: none; }
  .cl-finder--bar.is-open .kit-band__in { padding-top: 0; }
  /* the bar names the vehicle or asks for it, so the open finder does not again: its Parts that fit, Change and Clear stay */
  .cl-finder--bar .kit-band__car, .cl-finder--bar .kit-band__now, .cl-finder--bar .cl-finder__title { display: none; }
}
/* a phone's row a notch tighter, so a make as long as Mercedes or Volkswagen reads whole at 360 (kit-ymm-field.js cuts
   a longer pick after a word) */
@media (max-width: 599.98px) {
  .cl-row__form { gap: 4px; }
  .cl-row .kit-ymm-field--year { flex-basis: 64px; }
  .cl-row .kit-ymm-field__button { padding: 0 18px 0 8px; font-size: 17px; }
  .cl-row .kit-ymm-field__button::after { right: 7px; }
  .cl-row .kit-band__go { flex-basis: 52px; }
}
}
