/* cl-site.css: the site's tokens, fonts, reset and chrome in Advanced Clutch Technology's look (the dark header
   with its logo row and centred uppercase menu, the dark four-column footer, the red button), on every page.
   Measured on advancedclutch.com's home at 1440 and in its 390px phone stage (review/pages/home.json).

   The cascade: `@layer base, kit, site;` sets the order; the tokens sit on :root outside any layer, the reset
   in @layer base, every other rule in @layer site. The kit's shop pages and vehicle band take the brand colour
   and font from the three --parts-* tokens alone: no rule here names a kit class.
   Below 980px the header folds to one row and the menu becomes a drawer (cl-site.js). */
@layer base, kit, site;

/* Poppins, the client's one family (static/fonts/FONTS.md: SIL OFL) */
@font-face { font-family: "Poppins"; src: url("fonts/poppins-300-latin.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; 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: "Poppins"; src: url("fonts/poppins-300-latin-ext.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; 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; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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: "Poppins"; src: url("fonts/poppins-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; 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: "Poppins"; src: url("fonts/poppins-500-latin-ext.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; 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; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; 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: "Poppins"; src: url("fonts/poppins-600-latin-ext.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; 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; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-700-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; 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: "Poppins"; src: url("fonts/poppins-700-latin-ext.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; 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; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-800-latin.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; 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: "Poppins"; src: url("fonts/poppins-800-latin-ext.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; 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; }

:root {
  /* colours */
  --site-bg: #FFFFFF;
  --site-fg: #222529;
  --site-muted: #858789;
  --site-line: #D7D8D8;
  --site-band: #F2F2F2;
  --site-card: #F6F6F6;
  --site-accent: #D03A32;
  --site-accent-strong: #B0302A;
  --site-accent-fg: #FFFFFF;
  --site-dark: #231F20;
  --site-dark-line: #3B3738;
  --site-dark-fg: #FFFFFF;
  --site-dark-text: #EDEDED;
  --site-field-bg: #FFFFFF;
  --site-button-bg: var(--site-accent);
  --site-button-fg: #FFFFFF;
  --site-button-hover-bg: var(--site-accent-strong);
  --site-button-hover-fg: #FFFFFF;
  --site-disabled-bg: #E4E4E4;
  --site-disabled-fg: #6B6B6B;
  /* the same colours named for their roles, so the dark block below can turn each (or keep it) */
  --site-accent-ink: var(--site-accent);    /* the red as words, a ring or a rule */
  --site-dark-rule: rgba(255, 255, 255, 0.3); /* the rules of the phone menu drawer */
  --site-field-rule: #E7E7E7;               /* the rule before the search's button */
  --site-notice-bg: #F4F4F4;                /* the home's shipping line */
  --site-section-bg: #F5F5F5;               /* the home's grey category band */
  --site-grey-bg: #E0E0E0;                  /* the grey button */
  --site-panel: #FFFFFF;                    /* the search's suggestions panel */
  --site-plate: #FFFFFF;                    /* behind a product photo, white in both themes */
  --site-tile-plate: transparent;           /* behind a home category tile's photo: the band shows by day, white at night */

  /* fonts */
  --site-font-body: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --site-font-heading: var(--site-font-body);
  --site-font-button: var(--site-font-body);

  /* shape and layout: their container is 1260 wide with a 10px gutter inside */
  --site-radius: 0;
  --site-max: 1260px;
  --site-gutter: 10px;
}
/* the kit's shop pages and vehicle band (storefront-kit ADRs 0006 and 0007): only the brand tokens a site owns */
:root {
  --parts-accent: var(--site-accent);
  --parts-accent-strong: var(--site-accent-strong);
  --parts-font: var(--site-font-body);
}

/* the dark theme (storefront-kit 0.10.0: the kit's head block writes data-parts-theme="dark" on <html> from 21:30 to
   04:30 by the shopper's clock, or when the shopper picks it): the page a warm near black in the kit's family, text
   near white, rules dark grey, the grey bands and cards a step up, fields dark. ACT's dark header and footer stay as
   they are, the red stays the buttons' fill and lifts a touch as words; photos and the part tiles keep white plates. */
:root[data-parts-theme="dark"] {
  color-scheme: dark;
  --site-bg: #121110;
  --site-fg: #F6F3EF;
  --site-muted: #EBE6E0;
  --site-line: #3D3833;
  --site-band: #24201C;
  --site-card: #1C1A18;
  --site-accent: #D03A32;
  --site-accent-strong: #B0302A;
  --site-accent-fg: #FFFFFF;
  --site-accent-ink: #EE5A50;
  --site-dark: #231F20;
  --site-dark-line: #3B3738;
  --site-dark-fg: #FFFFFF;
  --site-dark-text: #EDEDED;
  --site-dark-rule: rgba(255, 255, 255, 0.3);
  --site-field-bg: #121110;
  --site-field-rule: #3D3833;
  --site-button-hover-fg: #FFFFFF;
  --site-button-fg: #FFFFFF;
  --site-disabled-bg: #2A2622;
  --site-disabled-fg: #EBE6E0;
  --site-notice-bg: #1C1A18;
  --site-section-bg: #1C1A18;
  --site-grey-bg: #36312C;
  --site-panel: #1C1A18;
  --site-plate: #FFFFFF;
  --site-tile-plate: #FFFFFF;
}

@layer base {

*, *::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 14px/1.7 var(--site-font-body);
  letter-spacing: 0.01em;
  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 button: ACT's red block with white bold type ---------- */
.cl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 49px; padding: 0 17px;
  background: var(--site-button-bg); color: var(--site-button-fg); border: 1px solid transparent; border-radius: var(--site-radius);
  font: 700 16px/1.4 var(--site-font-button); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease;
}
.cl-btn:hover { background: var(--site-button-hover-bg); color: var(--site-button-hover-fg); }
.cl-btn:focus-visible { outline: 2px solid var(--site-fg); outline-offset: 2px; }

/* ---------- header ---------- */
.ac-hd { position: relative; z-index: 50; background: var(--site-dark); color: var(--site-dark-fg); }
.ac-hd__wrap { max-width: var(--site-max); margin: 0 auto; padding: 0 var(--site-gutter); }
.ac-hd__top-in { display: flex; justify-content: flex-end; align-items: center; height: 41px; border-bottom: 1px solid var(--site-dark-line); }
.ac-hd__top-link { font: 400 13px/26px var(--site-font-body); letter-spacing: 0.01em; color: var(--site-dark-fg); }
.ac-hd__top-link:hover { color: var(--site-accent-ink); }
.ac-hd__main { display: flex; align-items: flex-start; height: 108px; }
.ac-hd__logo { flex: none; display: flex; flex-direction: column; align-items: flex-start; margin: 17px 0 0 1px; }
.ac-hd__logo img { width: auto; height: 54px; }
.ac-hd__find { position: relative; width: 566px; margin: 23px 124px 0 auto; }
.ac-hd__search { display: flex; height: 40px; background: var(--site-field-bg); border-radius: var(--site-radius); }
.ac-hd__search input {
  flex: 1; min-width: 0; height: 40px; padding: 0 18px; border: 0; border-radius: var(--site-radius); background: transparent;
  font: 400 14px/40px var(--site-font-body); color: var(--site-fg); outline: none;
}
.ac-hd__search input::placeholder { color: var(--site-fg); opacity: 1; }
.ac-hd__search input::-webkit-search-cancel-button { display: none; }
.ac-hd__search button { flex: none; width: 46px; display: grid; place-items: center; color: var(--site-fg); border-left: 1px solid var(--site-field-rule); }
.ac-hd__search:focus-within { outline: 2px solid var(--site-accent-ink); outline-offset: 0; }
.ac-hd__icon { flex: none; position: relative; display: grid; place-items: center; color: var(--site-dark-fg); }
.ac-hd__icon:hover { color: var(--site-accent-ink); }
.ac-hd__cart { width: 52px; height: 40px; margin-top: 24px; justify-items: start; }
/* the kit's theme switch before the cart, in the night hours only (the kit hides it by day, so the bar is as it was):
   the search gives up the switch's 40px so it keeps its place */
.ac-hd__theme { flex: none; display: flex; margin-top: 24px; color: var(--site-dark-fg); }
:root[data-parts-night] .ac-hd__find { margin-right: 84px; }
.ac-hd__count {
  position: absolute; top: -2px; left: 18px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 8px;
  background: var(--site-accent); color: var(--site-accent-fg); font: 600 10px/16px var(--site-font-body); text-align: center;
}
.ac-hd__count:empty { display: none; }
.ac-hd__toggle { display: none; }

/* the header search's suggest dropdown (partials/suggest.html in #fm-suggest): an opaque white panel under the
   field, square, near-black text, rows 44px tall */
.fm-suggest { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 60; max-height: min(70vh, 560px); overflow-y: auto; background: var(--site-panel); color: var(--site-fg); border: 1px solid var(--site-line); border-radius: var(--site-radius); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); text-align: left; }
.fm-suggest-section + .fm-suggest-section { border-top: 1px solid var(--site-line); }
.fm-suggest-title { padding: 10px 14px 4px; font: 600 13px/20px var(--site-font-heading); letter-spacing: .5px; text-transform: uppercase; color: var(--site-fg); }
.fm-suggest-item { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 14px; color: var(--site-fg); font: 400 14px/20px var(--site-font-body); text-decoration: none; }
.fm-suggest-item:hover, .fm-suggest-item.is-active { background: var(--site-band); }
.fm-suggest-item b { font-weight: 700; }
.fm-suggest-glyph { flex: none; }
.fm-suggest-thumb { flex: none; width: 44px; height: 44px; object-fit: contain; background: var(--site-plate); }
.fm-suggest-thumb--blank { display: block; background: var(--site-band); }
.fm-suggest-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fm-suggest-note { font-size: 13px; line-height: 18px; color: var(--site-fg); }
.fm-suggest-fit { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--site-fg); }
.fm-suggest-count, .fm-suggest-price { flex: none; margin-left: auto; font-weight: 600; white-space: nowrap; }
.fm-suggest-all { justify-content: center; border-top: 1px solid var(--site-line); font-weight: 600; }
.fm-suggest-empty { padding: 12px 14px; font: 400 14px/20px var(--site-font-body); color: var(--site-fg); }

.ac-nav { background: var(--site-dark); }
.ac-nav__head, .ac-nav__shade { display: none; }
.ac-nav__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 26px; }
.ac-nav__link { display: block; font: 600 14px/48px var(--site-font-body); letter-spacing: 0.01em; text-transform: uppercase; color: var(--site-dark-fg); }
.ac-nav__link:hover, .ac-nav__link.is-current { color: var(--site-accent-ink); }

/* ---------- footer ---------- */
.ac-ft { background: var(--site-dark); color: var(--site-dark-text); font: 400 13px/24px var(--site-font-body); letter-spacing: 0.005em; }
.ac-ft__wrap { max-width: var(--site-max); margin: 0 auto; padding: 0 var(--site-gutter); }
.ac-ft__cols { display: grid; grid-template-columns: 630px repeat(3, 210px); min-height: 468px; padding-top: 64px; padding-bottom: 24px; }
.ac-ft__brand { padding: 0 10px 0 0; }
.ac-ft__brand-top { display: flex; justify-content: space-between; align-items: flex-start; min-height: 116px; }
.ac-ft__logo img { width: 255px; height: auto; }
.ac-ft__about { max-width: 610px; }
.ac-ft__col { padding: 5px 10px 0; }
.ac-ft__h { font: 400 16px/19.2px var(--site-font-heading); color: var(--site-dark-fg); margin-bottom: 21px; }
.ac-ft__list a { display: inline-block; position: relative; padding-left: 16px; }
.ac-ft__list a::before { content: ""; position: absolute; left: 2px; top: 8px; border: 4px solid transparent; border-left-color: currentColor; border-right-width: 0; }
.ac-ft__list a:hover, .ac-ft__contact a:hover { color: var(--site-dark-fg); text-decoration: underline; }
.ac-ft__contact strong { font-weight: 700; }
.ac-ft__bar-in { display: flex; justify-content: flex-end; align-items: center; min-height: 74px; border-top: 1px solid var(--site-dark-line); }
.cl-ft__small { font-size: 13px; color: var(--site-dark-text); }

/* ---------- phones: the toggle, logo and cart row over the search row, the menu a drawer from the left ---------- */
@media (max-width: 979.98px) {
  .ac-hd__top { display: none; }
  .ac-hd__main { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 52px; grid-template-rows: 64px auto; align-items: center; height: auto; padding: 0 16px 12px; }
  .ac-hd__toggle { display: grid; place-items: center; width: 40px; height: 40px; margin-left: -10px; color: var(--site-dark-fg); }
  .ac-hd__logo { justify-self: start; justify-content: center; min-height: 40px; margin: 0 0 0 4px; }
  .ac-hd__logo img { width: auto; height: 28px; }
  .ac-hd__cart { grid-column: 4; grid-row: 1; justify-self: end; width: 52px; height: 40px; margin: 0; }
  .ac-hd__theme { grid-column: 3; grid-row: 1; margin: 0; }
  :root[data-parts-night] .ac-hd__find { margin: 0; }
  .ac-hd__find { grid-column: 1 / -1; grid-row: 2; width: auto; margin: 0; }
  .ac-hd__search, .ac-hd__search input { height: 44px; }
  .ac-hd__search input { font-size: 16px; }
  .ac-nav {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; width: min(336px, 86vw); overflow-y: auto;
    transform: translateX(-100%); visibility: hidden; transition: transform 0.25s ease, visibility 0.25s;
  }
  .ac-nav.is-open { transform: none; visibility: visible; }
  .ac-nav__head { display: flex; align-items: center; justify-content: space-between; height: 63px; padding: 0 8px 0 20px; border-bottom: 1px solid var(--site-dark-rule); }
  .ac-nav__title { font: 600 14px/1 var(--site-font-body); text-transform: uppercase; color: var(--site-dark-fg); }
  .ac-nav__close { display: grid; place-items: center; width: 40px; height: 40px; color: var(--site-dark-fg); }
  .ac-nav__list { display: block; padding: 0; }
  .ac-nav__link { padding: 0 20px; font-size: 13px; line-height: 42px; border-bottom: 1px solid var(--site-dark-rule); }
  .ac-nav__shade { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.6); }
  .ac-nav__shade[hidden] { display: none !important; }
  html.cl-menu-open { overflow: hidden; }

  .ac-ft__wrap { padding: 0; }
  .ac-ft .ac-ft__cols { display: block; min-height: 0; padding: 48px 16px 16px; }
  .ac-ft__brand { padding: 0; }
  .ac-ft__brand-top { display: block; min-height: 0; margin-bottom: 32px; }
  .ac-ft__list a, .ac-ft__contact a { display: block; padding-top: 8px; padding-bottom: 8px; }
  .ac-ft__list a::before { top: 16px; }
  .ac-ft__about { margin: 40px 0 32px; }
  .ac-ft__col { padding: 6px 0 0; margin-bottom: 20px; }
  .ac-ft .ac-ft__bar-in { justify-content: flex-start; min-height: 90px; margin: 0 16px; padding: 14px 0; }
}

/* the footer's trademark line: "owner" links the client's site in the line's own colour, underlined (Greg 2026-10-01) */
.cl-owner, .cl-owner:visited { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cl-owner:hover { opacity: .8; }
/* on a phone the word is a 41px tap target without moving the line */
@media (max-width: 979.98px) { .cl-owner { display: inline-block; padding: 11px 0; margin: -11px 0; } }

}
