/* cl-site.css: walbro.ca's tokens, reset and chrome (header, menu, footer, the primary button), on every page,
   in Walbro's look from their measurements (review/pages/home.json): white 62px bar with the menu in Open Sans
   900-style capitals, Source Sans Pro for the text, their blue (#185BAD) for the accent, and their dark brushed
   metal footer. cl-shop.css and the kit's shop pages read only these tokens.

   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, every other rule in @layer site. The kit's
   shop pages 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 bar, below it their 76px phone bar with the menu behind the toggle. */
@layer base, kit, site;

/* Walbro's 2 families (static/fonts/FONTS.md): Open Sans is variable (400 to 800), Source Sans Pro a file a weight */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/open-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: "Open Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/open-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+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: "Source Sans Pro"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("fonts/source-sans-pro-300-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: "Source Sans Pro"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("fonts/source-sans-pro-300-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Source Sans Pro"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/source-sans-pro-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: "Source Sans Pro"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/source-sans-pro-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Source Sans Pro"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/source-sans-pro-600-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: "Source Sans Pro"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/source-sans-pro-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Source Sans Pro"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/source-sans-pro-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: "Source Sans Pro"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/source-sans-pro-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: #222222;
  --site-muted: #858585;
  --site-line: #D7D7D7;
  --site-band: #F2F2F2;
  --site-card: #F6F6F6;
  --site-accent: #185BAD;
  --site-accent-fg: #FFFFFF;
  --site-sky: #57A0FA;
  --site-dark: #222222;
  --site-field-bg: #FFFFFF;
  --site-button-bg: #185BAD;
  --site-button-fg: #FFFFFF;
  --site-button-hover-bg: #0F4A91;
  --site-button-hover-fg: #FFFFFF;
  --site-disabled-bg: #E4E4E4;
  --site-disabled-fg: #5A5A5A;
  --site-accent-ink: #185BAD;
  --site-markets: #175CB0;
  --site-tile: #FFFFFF;
  --site-ft-veil: rgba(34, 34, 34, 0.35);

  /* fonts */
  --site-font-body: "Source Sans Pro", Helvetica, Arial, sans-serif;
  --site-font-heading: "Open Sans", Helvetica, Arial, sans-serif;
  --site-font-button: "Open Sans", Helvetica, Arial, sans-serif;

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

  /* one phone-stage pixel (their stage is 390), which cl-shop.css's phone title band is written in */
  --mx: calc(100vw / 390);
}
/* 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: var(--site-button-hover-bg);
  --parts-font: var(--site-font-body);
}
/* the dark theme (kit 0.10.0, Site(dark="night")): the white bar and page turn the kit's warm near black, text
   near white, the blue kept on every fill with a lifted blue where it is words (the name, a hovered link), the
   brushed footer and the Market Applications band kept, product photos on 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-accent: #185BAD;
  --site-accent-fg: #FFFFFF;
  --site-accent-ink: #7DB4FF;
  --site-sky: #57A0FA;
  --site-dark: #222222;
  --site-field-bg: #1C1A18;
  --site-button-bg: #185BAD;
  --site-button-fg: #FFFFFF;
  --site-button-hover-bg: #2A6CC0;
  --site-button-hover-fg: #FFFFFF;
  --site-disabled-bg: #2A2622;
  --site-disabled-fg: #EBE6E0;
  --site-markets: #175CB0;
  --site-tile: #1C1A18;
  --site-ft-veil: rgba(18, 17, 16, 0.86);  /* the brushed metal only a trace under a near-black veil, so its white words read */
  --cs-accent: var(--site-accent-ink);
  --parts-band-bg: #24201C;
  --parts-band-ink: #F6F3EF;
  --parts-band-edge: #3D3833;
}

@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 16px/26px 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 (Add to Cart, Check out): their blue, square ---------- */
.cl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  background: var(--site-button-bg); color: var(--site-button-fg); border: 1px solid var(--site-button-bg); border-radius: var(--site-radius);
  font: 800 14px/1 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; }

/* ---------- header: the Orbital Parts mark, the menu of our tree centred, the search and the cart at the right ---------- */
.cl-hd { position: relative; z-index: 50; background: var(--site-bg); }
.cl-hd__in { position: relative; height: 62px; padding: 0 72px 0 12%; display: flex; align-items: center; }
.cl-hd__toggle { display: none; }
.cl-hd__logo { flex: none; }
.cl-hd__mark { display: block; width: auto; height: 34px; }
.cl-hd__mark--night, :root[data-parts-theme="dark"] .cl-hd__mark--day { display: none; }
:root[data-parts-theme="dark"] .cl-hd__mark--night { display: block; }
.cl-hd__nav { flex: 1; min-width: 0; display: flex; align-items: center; height: 100%; }
.cl-hd__menu { flex: 1; display: flex; justify-content: center; height: 100%; }
.cl-hd__list { display: flex; height: 100%; }
.cl-hd__link { display: flex; align-items: center; height: 100%; padding: 0 13px; font: 800 12.8px/20.8px var(--site-font-heading); text-transform: uppercase; color: var(--site-fg); }
.cl-hd__link:hover, .cl-hd__link.is-current { color: var(--site-accent-ink); }
/* the search: their magnifier; the field opens under it while it has focus (the label focuses it) */
.cl-hd__search { position: relative; flex: none; }
.cl-hd__open { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--site-fg); cursor: pointer; }
.cl-hd__open:hover { color: var(--site-accent-ink); }
.cl-hd__field { position: absolute; top: 51px; right: 0; display: flex; width: 320px; padding: 10px; background: var(--site-bg); border: 1px solid var(--site-line);
  opacity: 0; pointer-events: none; }
.cl-hd__search:focus-within .cl-hd__field { opacity: 1; pointer-events: auto; }
.cl-hd__q { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--site-line); border-radius: var(--site-radius); background: var(--site-field-bg);
  font: 400 16px/1 var(--site-font-body); color: var(--site-fg); }
.cl-hd__q:focus { outline: 2px solid var(--site-accent-ink); outline-offset: -1px; }
.cl-hd__go { flex: none; min-width: 40px; height: 40px; padding: 0 14px; background: var(--site-accent); color: var(--site-accent-fg);
  font: 800 12.8px/1 var(--site-font-heading); text-transform: uppercase; }
.cl-hd__cart { flex: none; position: relative; display: flex; align-items: center; justify-content: center; width: 48px; height: 40px; margin-left: 16px; color: var(--site-fg); }
.cl-hd__cart:hover { color: var(--site-accent-ink); }
.cl-hd__cart-icon { overflow: visible; }
.cl-hd__cart-count { position: absolute; top: 0; right: 0; min-width: 18px; padding: 0 4px; font: 700 13px/18px var(--site-font-body); text-align: center; border-radius: var(--site-radius);
  background: var(--site-accent); color: var(--site-accent-fg); }
.cl-hd__cart-count:empty { display: none; }
/* the box round the kit's theme switch (kit 0.10), before the cart: the switch takes the bar's ink by itself */
.cl-hd__theme { flex: none; display: flex; margin-left: 8px; }

/* ---------- footer: their dark brushed metal, our links ---------- */
.cl-ft { background: linear-gradient(var(--site-ft-veil), var(--site-ft-veil)), url("img/site/home/footer-texture.jpg") center / cover no-repeat var(--site-dark); color: #FFFFFF; font: 300 16px/26px var(--site-font-body); }
.cl-ft__main { display: flex; justify-content: center; padding: 50px 24px 48px; }
.cl-ft__cols { display: flex; gap: 48px; }
.cl-ft__h { width: 185px; padding-bottom: 8px; border-bottom: 1px solid #BBBBBB; font: 800 20px/24px var(--site-font-heading); text-transform: uppercase; }
.cl-ft__links { padding-top: 13px; }
.cl-ft__links li { padding: 0 0 5px; }
.cl-ft__links .cl-ft__label { padding-top: 13px; font-weight: 600; }
.cl-ft__links a:hover { text-decoration: underline; }
.cl-ft__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 45px; padding: 8px 24px; background: rgba(34, 34, 34, 0.8); }
.cl-ft__small { text-align: center; }
/* at night the footer's words take a regular weight: the 300 hairline reads faint even white on the dark veil */
:root[data-parts-theme="dark"] .cl-ft { font-weight: 400; }

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

/* ---------- phones: their 76px bar, the toggle at the left behind its rule, the mark centred, the cart at the right ---------- */
@media (max-width: 979.98px) {
  .cl-hd { box-shadow: 0 1px 0 var(--site-line); }
  .cl-hd__in { height: 76px; padding: 0; justify-content: center; }
  .cl-hd__toggle { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 58.5px; height: 76px; border-right: 1px solid var(--site-fg); color: var(--site-fg); }
  .cl-hd__cart { position: absolute; right: 8px; top: 18px; margin: 0; }
  .cl-hd__theme { position: absolute; right: 56px; top: 18px; margin: 0; }
  /* the drawer: opaque, under the bar, the tree's headings then the search */
  .cl-hd__nav { position: absolute; top: 100%; left: 0; right: 0; height: auto; display: block; background: var(--site-bg); border-top: 1px solid var(--site-line); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); }
  .cl-js .cl-hd__nav:not(.is-open) { display: none; }
  .cl-hd__menu, .cl-hd__list { display: block; height: auto; }
  .cl-hd__link { display: flex; min-height: 48px; padding: 0 16px; border-bottom: 1px solid var(--site-line); font-size: 14px; }
  .cl-hd__search { padding: 16px; }
  .cl-hd__open { display: none; }
  .cl-hd__field { position: static; width: auto; padding: 0; border: 0; opacity: 1; pointer-events: auto; }

  .cl-ft__main { padding: 32px 16px 24px; }
  .cl-ft__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
  .cl-ft__h { width: auto; }
  .cl-ft__links a { display: inline-block; padding: 4px 0; overflow-wrap: anywhere; }
  .cl-ft__links li { padding: 0; }
  .cl-ft__bar { grid-template-columns: 1fr; justify-items: center; gap: 16px; padding: 8px 16px 24px; }
  .cl-ft__bar > span { display: none; }
}

/* ---------- the 404 (templates/404.html) ---------- */
.cl-404 { padding: 72px 16px 96px; text-align: center; }
.cl-404__h { font: 800 30px/36px var(--site-font-heading); text-transform: uppercase; }
.cl-404__p { margin: 16px 0 32px; }

}
