/* cl-site.css: the site's tokens, fonts, reset and chrome (the announcement line, the header, the footer, the primary
   button) in holley.com's look: white pages, a black header under a red line, Oswald for the headings, the menu
   and the buttons over Open Sans, a near-black footer. Measured on their home (review/pages/home.json).
   `@layer base, kit, site;` sets the cascade: the tokens sit on :root outside any layer, the reset in @layer
   base, every other rule in @layer site. The kit's shop pages take only the three --parts-* tokens.
   Two layouts: from 980px their desktop header; below it their phone header (the 390 stage) with the menu in a drawer. */
@layer base, kit, site;

@font-face { font-family: "Oswald"; src: url("fonts/oswald-var.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/open-sans-var.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  /* colours */
  --site-bg: #FFFFFF;
  --site-fg: #000000;
  --site-muted: #737373;
  --site-line: #D1D1D1;
  --site-band: #F0F0F0;
  --site-card: #F5F5F5;
  --site-tile: #F7F7F7;
  --site-accent: #DA2B1F;
  --site-accent-strong: #B0231A;
  --site-accent-fg: #FFFFFF;
  --site-bar: #ED333E;
  --site-dark: #000000;
  --site-foot: #141414;
  --site-foot-line: #808080;
  --site-field-bg: #FFFFFF;
  --site-button-bg: #DA2B1F;
  --site-button-fg: #FFFFFF;
  --site-button-hover-bg: #000000;
  --site-button-hover-fg: #FFFFFF;
  --site-disabled-bg: #E4E4E4;
  --site-disabled-fg: #555555;
  --site-on-dark: #FFFFFF;       /* words on the black header, the red line, the footer and the photo bands */
  --site-dark-line: #333333;     /* a rule inside the black menu drawer */
  --site-placeholder: #333333;   /* the header search's prompt */
  --site-raised: #FFFFFF;        /* the home's promise boxes and Most Popular tiles */
  --site-raised-line: #EEEEEE;   /* a Most Popular tile's inner rule */
  --site-plate: #FFFFFF;         /* the plate under a product photo, white in both themes */

  /* fonts */
  --site-font-body: "Open Sans", Verdana, Geneva, sans-serif;
  --site-font-heading: "Oswald", "Arial Narrow", sans-serif;
  --site-font-button: var(--site-font-heading);

  /* shape and layout */
  --site-radius: 0;
  --site-max: 1312px;
  --site-gutter: 64px;
}
/* the kit's shop pages and vehicle band: only the brand tokens a site owns (storefront-kit ADR 0007) */
:root {
  --parts-accent: var(--site-accent);
  --parts-accent-strong: var(--site-accent-strong);
  --parts-font: var(--site-font-heading);
}
@media (max-width: 979.98px) {
  :root { --site-gutter: 16px; }
}
/* Dark (storefront-kit 0.10.0, Site(dark="night")): <html data-parts-theme="dark"> from 21:30 to 04:30 by the shopper's
   clock or by the header's switch. The page the kit's warm near black, near-white words (never grey), cards a step up,
   rules in the kit's dark grey. The black header, the red line and the near-black footer stay as they are. The red
   stays the fill of every button (white words on it as in the light); as text on the dark it lifts to #F2564A
   (5.5:1), and the kit's Add keeps the brand red. Product photos keep their white plates. */
:root[data-parts-theme="dark"] {
  color-scheme: dark;
  --site-bg: #121110;
  --site-fg: #F6F3EF;
  --site-muted: #EBE6E0;
  --site-line: #3D3833;
  --site-band: #1C1A18;
  --site-card: #1C1A18;
  --site-tile: #1C1A18;
  --site-accent: #F2564A;
  --site-accent-strong: color-mix(in srgb, #DA2B1F 78%, #fff);
  --site-accent-fg: #FFFFFF;
  --site-bar: #ED333E;
  --site-dark: #000000;
  --site-foot: #141414;
  --site-foot-line: #808080;
  --site-field-bg: #1C1A18;
  --site-button-bg: #DA2B1F;
  --site-button-fg: #FFFFFF;
  --site-button-hover-bg: #F6F3EF;
  --site-button-hover-fg: #121110;
  --site-disabled-bg: #2A2622;
  --site-disabled-fg: #EBE6E0;
  --site-on-dark: #FFFFFF;
  --site-dark-line: #333333;
  --site-placeholder: #EBE6E0;
  --site-raised: #1C1A18;
  --site-raised-line: #3D3833;
  --site-plate: #FFFFFF;
  /* the kit: its Add keeps the brand red, its hover lifts toward white; the band a shade over the page */
  --parts-accent: #DA2B1F;
  --parts-accent-strong: var(--site-accent-strong);
  --parts-band-bg: #24201C;
  --parts-band-ink: #FFFFFF;
  --parts-band-edge: #3D3833;
}

@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 15px/1.5 var(--site-font-body);
  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: red, white Oswald capitals ---------- */
.cl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 32px;
  background: var(--site-button-bg); color: var(--site-button-fg); border: 0; border-radius: var(--site-radius);
  font: 500 16px/20px var(--site-font-button); text-transform: uppercase; cursor: pointer;
  transition: background-color .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; }

/* ---------- the announcement line ---------- */
.cl-bar { background: var(--site-bar); color: var(--site-on-dark); text-align: center; }
.cl-bar__msg { display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; font: 400 14px/18px var(--site-font-heading); text-transform: uppercase; }
.cl-bar__msg:hover { text-decoration: underline; }

/* ---------- the header: the help row, then the name, the menu, the search and the cart ---------- */
.cl-hd { position: relative; z-index: 50; background: var(--site-dark); color: var(--site-on-dark); }
.cl-hd__top { height: 33px; padding: 14px 49px 0; display: flex; justify-content: flex-end; }
.cl-hd__help { font: 400 12px/17px var(--site-font-heading); text-transform: uppercase; }
.cl-hd__help:hover { text-decoration: underline; }
.cl-hd__in { height: 84px; padding: 0 49px 19px; display: flex; align-items: flex-end; }
.cl-hd__toggle { display: none; }
.cl-hd__logo {
  flex: none; display: flex; align-items: center; justify-content: center; width: 131px; height: 65px;
  font: 700 46px/1 var(--site-font-heading); letter-spacing: 1px; text-transform: uppercase; color: var(--site-bar);
  transform: skewX(-10deg);
}
.cl-hd__logo { flex-direction: column; gap: 4px; }
.cl-hd__tag { display: block; transform: skewX(10deg); color: var(--site-on-dark); font: 700 13px/1 var(--site-font-body); letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; }
.cl-hd__nav { flex: none; margin-left: 15px; }
.cl-hd__list { display: flex; align-items: center; }
.cl-hd__link { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; white-space: nowrap; font: 400 16px/20px var(--site-font-heading); text-transform: uppercase; color: var(--site-on-dark); }
.cl-hd__link:hover, .cl-hd__link.is-current, .cl-hd__cats.is-open .cl-hd__drop { color: var(--site-bar); }
.cl-hd__chev { transition: transform .2s ease; }
.cl-hd__cats { position: relative; }
.cl-hd__cats.is-open .cl-hd__chev { transform: rotate(180deg); }
.cl-hd__panel { display: none; position: absolute; left: 0; top: 100%; z-index: 60; min-width: 280px; padding: 8px 0; background: var(--site-dark); border-top: 3px solid var(--site-bar); }
.cl-hd__cats.is-open .cl-hd__panel { display: block; }
.cl-hd__sub { display: flex; align-items: center; min-height: 44px; padding: 0 20px; font: 400 16px/20px var(--site-font-heading); text-transform: uppercase; color: var(--site-on-dark); }
.cl-hd__sub:hover, .cl-hd__sub.is-current { color: var(--site-bar); }
.cl-hd__search { flex: 0 1 486px; min-width: 120px; height: 44px; margin-left: auto; display: flex; background: var(--site-field-bg); color: var(--site-fg); border-radius: var(--site-radius); }
.cl-hd__search input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--site-fg); font: 400 16px/1 var(--site-font-body); outline: none; }
.cl-hd__search input::placeholder { color: var(--site-placeholder); }
.cl-hd__search button { flex: none; width: 52px; height: 44px; display: grid; place-items: center; color: var(--site-fg); }
.cl-hd__search:focus-within { outline: 2px solid var(--site-bar); }
.cl-hd__cart { flex: none; position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-left: clamp(16px, calc(100vw - 1210px), 70px); color: var(--site-on-dark); }
.cl-hd__cart:hover { color: var(--site-bar); }
.cl-hd__cart-icon { overflow: visible; }
.cl-hd__cart-count { position: absolute; top: 0; right: -6px; min-width: 18px; padding: 0 4px; font: 600 12px/18px var(--site-font-body); text-align: center; background: var(--site-bar); color: var(--site-on-dark); }
.cl-hd__cart-count:empty { display: none; }

/* ---------- the footer ---------- */
.cl-ft { background: var(--site-foot); color: var(--site-on-dark); }
.cl-ft__in { width: min(1325px, 100% - 2 * var(--site-gutter)); margin: 0 auto; }
.cl-ft__lead { width: min(450px, 100%); min-height: 291px; margin: 0 auto; padding: 30px 15px; display: flex; flex-direction: column; justify-content: center; gap: 24px; text-align: center; }
.cl-ft__lead-h { font: 500 20px/30px var(--site-font-heading); text-transform: uppercase; }
.cl-ft__field { display: flex; align-items: center; height: 51px; padding: 0 6px 0 16px; background: var(--site-field-bg); color: var(--site-fg); text-align: left; }
.cl-ft__field span { flex: 1; min-width: 0; font: 400 16px/1 var(--site-font-body); }
.cl-ft__field b { display: flex; align-items: center; height: 40px; padding: 0 18px; background: var(--site-button-bg); color: var(--site-button-fg); font: 500 15px/1 var(--site-font-heading); text-transform: uppercase; }
.cl-ft__field:hover b { background: var(--site-dark); }
.cl-ft__cols { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 268px; padding: 30px 0; }
.cl-ft__contact { order: 4; }
.cl-ft__h { display: block; font: 700 13px/20px var(--site-font-heading); letter-spacing: 1px; text-transform: uppercase; list-style: none; }
.cl-ft__h::-webkit-details-marker { display: none; }
.cl-ft__chev { display: none; }
.cl-ft__col ul { margin-top: 14px; }
.cl-ft__col a { display: inline-block; font: 400 15px/29px var(--site-font-body); }
.cl-ft__contact a { display: inline-block; margin-top: 14px; font: 400 15px/29px var(--site-font-body); }
.cl-ft__col a:hover, .cl-ft__contact a:hover, .cl-ft__small a:hover { text-decoration: underline; }
.cl-ft__social { display: flex; justify-content: center; padding: 20px 0; }
.cl-ft__social a { display: grid; place-items: center; width: 59px; height: 44px; color: var(--site-on-dark); }
.cl-ft__social a:hover { color: var(--site-bar); }
.cl-ft__small { padding: 18px 0 39px; text-align: center; font: 400 13px/20px var(--site-font-heading); letter-spacing: 1px; text-transform: uppercase; }

/* ---------- phones: menu button, name and cart; the search under them; the menu as a drawer ---------- */
@media (max-width: 979.98px) {
  .cl-bar__msg { font-size: 13px; line-height: 16px; }
  .cl-hd__top { display: none; }
  .cl-hd__in { position: relative; height: auto; padding: 12px 13px 15px; flex-wrap: wrap; align-items: center; row-gap: 11px; }
  .cl-hd__toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -6px; color: var(--site-on-dark); }
  .cl-hd__logo { margin: 0 auto; width: 131px; height: 65px; font-size: 44px; }
  .cl-hd__cart { margin: 0 -4px 0 0; }
  .cl-hd__search { order: 3; flex: 1 1 100%; width: auto; margin-left: 0; }
  .cl-hd__nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; margin: 0; max-height: calc(100vh - 187px); overflow-y: auto; background: var(--site-dark); border-top: 3px solid var(--site-bar); }
  .cl-js .cl-hd__nav:not(.is-open) { display: none; }
  .cl-hd__list { display: block; padding: 4px 16px 16px; }
  .cl-hd__drop, .cl-hd__item { display: none; }
  .cl-hd__panel { display: block; position: static; min-width: 0; padding: 0; border: 0; }
  .cl-hd__sub { min-height: 48px; padding: 0; border-bottom: 1px solid var(--site-dark-line); }
  .cl-ft__lead { min-height: 280px; padding: 30px 0; }
  .cl-ft__cols { display: block; min-height: 0; padding: 0 0 22px; }
  .cl-ft__contact { padding: 16px 0 26px; }
  .cl-ft__contact a { margin-top: 8px; }
  .cl-ft__col { border-bottom: 1px solid var(--site-foot-line); }
  .cl-ft__col .cl-ft__h { display: flex; align-items: center; justify-content: space-between; min-height: 59px; font-size: 22px; line-height: 28px; cursor: pointer; }
  .cl-ft__chev { display: block; transition: transform .2s ease; }
  .cl-ft__col[open] .cl-ft__chev { transform: rotate(180deg); }
  .cl-ft__col ul { margin: 0 0 12px; }
  .cl-ft__col a { display: flex; align-items: center; min-height: 40px; }
  .cl-ft__social { flex-wrap: wrap; padding: 20px 0 16px; }
  .cl-ft__social a { width: 59px; height: 48px; }
  .cl-ft__small { padding: 12px 0 42px; text-align: left; }
}
@media (min-width: 980px) {
  .cl-ft__col .cl-ft__h { pointer-events: none; }
}

/* ---------- the 404 (templates/404.html) ---------- */
.cl-404 { width: min(var(--site-max), 100% - 2 * var(--site-gutter)); margin: 0 auto; padding: 72px 0 96px; }
.cl-404__h { padding-left: 12px; border-left: 5px solid var(--site-accent); font: 600 34px/44px var(--site-font-heading); text-transform: uppercase; }
.cl-404__p { margin: 16px 0 32px; font-size: 16px; }

/* 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; }

}

/* the theme switch (the kit's parts/theme_switch.html, 40px, shown at night only): white on the black bar, red on
   hover, the cart's spacing moved to it so the pair sits where the cart sat */
.cl-hd .parts-theme-switch { flex: none; margin: 0 0 2px clamp(16px, calc(100vw - 1210px), 70px); color: var(--site-on-dark); }
.cl-hd .parts-theme-switch:hover { color: var(--site-bar); }
:root[data-parts-night] .cl-hd__cart { margin-left: 4px; }
@media (max-width: 979.98px) {
  .cl-hd .parts-theme-switch { margin: 0; }
  :root[data-parts-night] .cl-hd__cart { margin-left: 0; }
}
