/* cl-site.css: the site's tokens, fonts, reset and chrome (header, menu, footer, the primary button), on every page,
   in Yuasa's look as yuasabatteries.com draws it: black bars, Fira Sans, the red #ED1C24.
   The cascade (the kit's static/parts/tokens.css): `@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 3 --parts-* tokens alone: no rule here names a kit class.
   Two layouts: from 980px the desktop one, below it the phone one (their 390 stage). */
@layer base, kit, site;

@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/fira-sans-400-latin-ext.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; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/fira-sans-400-latin.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: "Fira Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/fira-sans-400-italic-latin-ext.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; }
@font-face { font-family: "Fira Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/fira-sans-400-italic-latin.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: "Fira Sans"; font-style: normal; font-weight: 500 900; font-display: swap; src: url("fonts/fira-sans-700-latin-ext.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; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 500 900; font-display: swap; src: url("fonts/fira-sans-700-latin.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: "Fira Sans"; font-style: italic; font-weight: 500 900; font-display: swap; src: url("fonts/fira-sans-700-italic-latin-ext.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; }
@font-face { font-family: "Fira Sans"; font-style: italic; font-weight: 500 900; font-display: swap; src: url("fonts/fira-sans-700-italic-latin.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; }

:root {
  /* colours */
  --site-bg: #FFFFFF;
  --site-fg: #000000;
  --site-muted: #737373;
  --site-line: #D1D1D1;
  --site-band: #F0F0F0;
  --site-card: #F5F5F5;
  --site-accent: #ED1C24;
  --site-accent-fg: #FFFFFF;
  --site-field-bg: #FFFFFF;
  --site-button-bg: #ED1C24;
  --site-button-fg: #FFFFFF;
  --site-button-hover-bg: #C4141B;
  --site-button-hover-fg: #FFFFFF;
  --site-disabled-bg: #E4E4E4;
  --site-disabled-fg: #5C5C5C;
  /* the chrome's dark: the header and bottom bar black, the footer's block 90% black on white */
  --site-dark: #000000;
  --site-dark-2: #1A1A1A;
  --site-dark-fg: #FFFFFF;
  /* a search field's placeholder */
  --site-placeholder: #595959;

  /* fonts */
  --site-font-body: "Fira Sans", HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  --site-font-heading: var(--site-font-body);
  --site-font-button: var(--site-font-body);

  /* shape and layout */
  --site-radius: 0;
  --site-max: 1320px;

  /* the phone layout's unit: one phone-stage pixel (their stage is 390) */
  --mx: calc(100vw / 390);
  --u: 1px;
}
/* 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: #C4141B;
  --parts-font: var(--site-font-body);
}
@media (max-width: 979.98px) {
  :root { --u: var(--mx); }
}

/* The dark theme (the kit's data-parts-theme="dark" on <html>, at night by the visitor's clock unless the shopper
   picked): the white page the kit's warm near black, text near white, rules dark grey, panels a step up. The chrome
   is black by design (header, hero, the vehicle search band, footer) and stays so; the red stays the brand's red.
   Photos keep white plates (cl-shop --cs-photo, the home's series tiles in cl-home.css). */
: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-accent: #ED1C24;
  --site-accent-fg: #FFFFFF;
  --site-field-bg: #1C1A18;
  --site-button-bg: #ED1C24;
  --site-button-fg: #FFFFFF;
  --site-button-hover-bg: #C4141B;
  --site-button-hover-fg: #FFFFFF;
  --site-disabled-bg: #2A2622;
  --site-disabled-fg: #EBE6E0;
  --site-dark: #000000;
  --site-dark-2: #1A1A1A;
  --site-dark-fg: #FFFFFF;
  --site-placeholder: #CFC8C0;

  --parts-band-bg: #24201C;
  --parts-band-ink: #F6F3EF;
  --parts-band-edge: #36312C;
}

@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 16px/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: their red CTA, bold capitals ---------- */
.cl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 30px;
  background: var(--site-button-bg); color: var(--site-button-fg); border: 1px solid var(--site-button-bg); border-radius: var(--site-radius);
  font: 700 18px/1.2 var(--site-font-button); text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease;
}
.cl-btn:hover { background: var(--site-button-hover-bg); border-color: 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 search form (the header's panel, the footer's map band) ---------- */
.cl-search { display: flex; width: 100%; }
.cl-search input {
  flex: 1; min-width: 0; height: 51px; padding: 0 14px; border: 0; border-radius: var(--site-radius);
  background: var(--site-field-bg); color: var(--site-fg); font: 400 16px/1 var(--site-font-body);
}
.cl-search input::placeholder { color: var(--site-placeholder); font-style: italic; }
.cl-search .cl-btn { min-height: 51px; padding: 0 22px; font-size: 16px; }

/* ---------- header: their black strip and black bar ---------- */
.cl-hd { position: relative; z-index: 50; background: var(--site-dark); color: var(--site-dark-fg); box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5); }
.cl-hd__top { height: 36px; max-width: 1408px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 15px 0 0; }
.cl-hd__mail { font: 700 14px/16px var(--site-font-body); color: var(--site-dark-fg); }
.cl-hd__mail:hover { color: var(--site-accent); }
.cl-hd__bar { height: 90px; max-width: 1408px; margin: 0 auto; padding: 0 0 0 15px; display: flex; align-items: center; }
.cl-hd__logo { flex: none; }
.cl-hd__mark { display: block; width: auto; height: 48px; }   /* white-lettered: the bar is black by day and at night */
.cl-hd__toggle { display: none; }
.cl-hd__nav { margin-left: auto; align-self: stretch; display: flex; align-items: center; }
.cl-hd__list { display: flex; height: 69px; }
.cl-hd__list li { display: flex; }
.cl-hd__link { display: flex; align-items: center; padding: 0 24px; font: 700 16px/19.2px var(--site-font-body); text-transform: uppercase; color: var(--site-dark-fg); }
.cl-hd__link:hover, .cl-hd__link.is-current { color: var(--site-accent); }
.cl-hd__tools { flex: none; display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.cl-hd__find { position: static; }
.cl-hd__find > summary { list-style: none; }
.cl-hd__find > summary::-webkit-details-marker { display: none; }
.cl-hd__tool { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; cursor: pointer;
  font: 700 16px/19.2px var(--site-font-body); text-transform: uppercase; color: var(--site-accent); }
.cl-hd__tool:hover { color: var(--site-dark-fg); }
.cl-hd__panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: var(--site-dark); border-top: 1px solid #333333; padding: 24px 16px; }
.cl-hd__panel .cl-search { max-width: 760px; margin: 0 auto; }
.cl-hd__cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 48px; color: var(--site-dark-fg); }
.cl-hd__cart:hover { color: var(--site-accent); }
.cl-hd__cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; padding: 0 4px; font: 700 13px/18px var(--site-font-body); text-align: center; border-radius: 9px; background: var(--site-accent); color: var(--site-accent-fg); }
.cl-hd__cart-count:empty { display: none; }

/* ---------- footer: the map band, the 90% black block, the black bottom bar ---------- */
.cl-ft { background: var(--site-dark-2); color: var(--site-dark-fg); }
.cl-ft__find {
  position: relative; min-height: 538px; display: flex; justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.5) 100%), var(--cl-map) center / cover no-repeat;
}
/* the dark page: the street map either side of the panel dimmed to the page's near black */
:root[data-parts-theme="dark"] .cl-ft__find {
  background: linear-gradient(rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.5) 100%), linear-gradient(rgba(18, 17, 16, 0.85), rgba(18, 17, 16, 0.85)), var(--cl-map) center / cover no-repeat;
}
.cl-ft__panel { width: 672px; max-width: 100%; padding: 68px 48px 0; background: rgba(0, 0, 0, 0.75); display: flex; flex-direction: column; align-items: center; text-align: center; }
.cl-ft__h { font: 700 35px/35px var(--site-font-heading); text-transform: uppercase; color: var(--site-dark-fg); }
.cl-ft__h em { font-style: normal; color: var(--site-accent); }
.cl-ft__h2 { margin-top: 33px; font-size: 26.25px; line-height: 29px; }
.cl-ft__panel .cl-search { flex-direction: column; align-items: center; gap: 32px; width: 512px; max-width: 100%; margin-top: 55px; }
.cl-ft__panel .cl-search input { width: 100%; flex: none; }
.cl-ft__panel .cl-search .cl-btn { min-width: 179px; min-height: 53px; }
.cl-ft__rule { width: 100%; height: 1px; margin: 32px 0 0; border: 0; background: rgba(255, 255, 255, 0.5); }
.cl-ft__panel > .cl-btn { margin-top: 28px; min-width: 201px; min-height: 53px; font-size: 16px; }
.cl-ft__main { max-width: 1440px; margin: 0 auto; padding: 56px 40px 40px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.cl-ft__top { display: flex; align-items: center; gap: 0 20px; padding-left: 16px; }
.cl-ft__heads { display: flex; flex-wrap: wrap; gap: 4px 28px; font: 700 16px/19.2px var(--site-font-body); text-transform: uppercase; }
.cl-ft__heads a { display: inline-flex; align-items: center; min-height: 40px; color: var(--site-dark-fg); }
.cl-ft__heads a:hover { color: var(--site-accent); }
.cl-ft__row { display: flex; flex-wrap: wrap; gap: 8px 28px; font: 700 16px/19.2px var(--site-font-body); text-transform: uppercase; }
.cl-ft__row a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 16px; color: var(--site-dark-fg); }
.cl-ft__row a b { color: var(--site-accent); font-weight: 700; }
.cl-ft__row a:hover { color: var(--site-accent); }
.cl-ft__row .is-email { text-transform: none; }
.cl-ft__row svg { color: var(--site-accent); }
.cl-ft__bar { background: var(--site-dark); }
.cl-ft__bar-in { max-width: 1440px; margin: 0 auto; padding: 13px 40px; min-height: 66px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font: 400 14px/17px var(--site-font-body); color: var(--site-dark-fg); }
.cl-ft__legal { display: flex; flex-wrap: wrap; }
.cl-ft__legal li + li::before { content: "|"; padding: 0 8px; }
.cl-ft__legal a:hover { color: var(--site-accent); }

/* ---------- phones: the menu behind its toggle (cl-site.js) ---------- */
@media (max-width: 979.98px) {
  .cl-hd__top { padding-right: 16px; }
  .cl-hd__mail { font-size: 13px; }
  .cl-hd__bar { padding: 0 6px 0 16px; }
  .cl-hd__mark { height: 34px; }
  .cl-hd__tools { margin-left: auto; gap: 0; }
  .cl-hd__tool { padding: 0 8px; }
  .cl-hd__cart { width: 44px; }
  .cl-hd__toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--site-dark-fg); }
  .cl-hd__nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--site-dark); border-top: 1px solid #333333; }
  .cl-js .cl-hd__nav:not(.is-open) { display: none; }
  .cl-hd__list { flex-direction: column; height: auto; width: 100%; padding: 8px 16px 16px; }
  .cl-hd__link { min-height: 48px; padding: 0; border-bottom: 1px solid #333333; }
  .cl-ft__find { min-height: 593px; }
  .cl-ft__panel { width: auto; flex: 1; margin: 0 16px; padding: 32px 32px 0; }
  .cl-ft__h { font-size: 24px; line-height: 24px; }
  .cl-ft__h2 { font-size: 26px; line-height: 28.6px; }
  .cl-ft__panel .cl-search { margin-top: 40px; gap: 24px; }
  .cl-ft__panel .cl-search .cl-btn { width: 100%; }
  .cl-ft__main { align-items: center; text-align: center; padding: 48px 16px 40px; justify-content: flex-start; gap: 32px; }
  .cl-ft__top { flex-direction: column; gap: 24px; padding: 0; }
  .cl-ft__heads, .cl-ft__row { justify-content: center; }
  .cl-ft__bar-in { flex-direction: column; justify-content: center; min-height: 130px; padding: 10px 16px; gap: 2px; text-align: center; }
  .cl-ft__legal { justify-content: center; }
}

/* ---------- the 404 (templates/404.html) ---------- */
.cl-404 { padding: 80px 16px 96px; text-align: center; }
.cl-404__h { font: 700 48px/56px var(--site-font-heading); }
.cl-404__p { margin: 16px 0 32px; font: 400 18px/1.5 var(--site-font-body); }

/* 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 kit's theme switch (parts/theme_switch.html, shown 21:30 to 04:30 only): before the cart in the black bar, in the
   bar's white, red on hover like the cart; outside the layers, since the kit's head block styles it unlayered after this file */
.cl-hd .parts-theme-switch { flex: none; color: var(--site-dark-fg); }
.cl-hd .parts-theme-switch:hover { color: var(--site-accent); }
/* under 410 the row has no room for the switch and the word Search: while the switch shows, Search is its icon alone, 40px square */
@media (max-width: 409.98px) {
  :root[data-parts-night] .cl-hd__tool { justify-content: center; min-width: 40px; padding: 0; }
  :root[data-parts-night] .cl-hd__tool > span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
