/* cl-site.css: MSD's tokens, type and chrome (the promo bar, the header and its menu, the footer, the primary
   button) on every page, written by hand from the capture of msdignition.com (review/pages/home.json): a white
   page with black text, their black header and #141414 footer, the red #DA2B1F accent, Oswald for headings and
   buttons over Open Sans text, the 1320px column.
   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 take only the three --parts-* tokens.
   Two layouts: from 980px the desktop one, below it their phone one (measured in a 390px stage). */
@layer base, kit, site;

/* Oswald and Open Sans (Google Fonts, SIL OFL 1.1), the files their site serves (static/fonts/FONTS.md) */
@font-face { font-family: "Oswald"; font-weight: 200 700; font-style: normal; font-display: swap; src: url("fonts/oswald-latin.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/opensans-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/opensans-semibold.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/opensans-bold-latin.woff2") format("woff2"); }

:root {
  /* colours */
  --site-bg: #FFFFFF;
  --site-fg: #000000;
  --site-muted: #737373;
  --site-line: #D1D1D1;
  --site-band: #F0F0F0;
  --site-card: #F5F5F5;
  --site-accent: #DA2B1F;
  --site-accent-strong: #B0221A;
  --site-accent-fg: #FFFFFF;
  --site-accent-ink: var(--site-accent);   /* red as text on the page */
  --site-promo: #A3161F;   /* MSD's promo red darkened so its white line reads at 7.8:1 */
  --site-promo-strong: #7F1018;   /* the cart's Check out on hover */
  --site-bar: #000000;
  --site-bar-fg: #FFFFFF;
  --site-bar-line: #E7E7E7;
  --site-bar-rule: #333333;   /* the rules between the phone menu's rows and the folded footer's columns */
  --site-footer-bg: #141414;
  --site-footer-fg: #FFFFFF;
  --site-field-bg: #FFFFFF;
  --site-field-line: transparent;   /* a field's edge: none on the light page, a rule in the dark */
  --site-photo: #FFFFFF;   /* photos keep a white plate in both themes */
  --site-button-bg: #DA2B1F;
  --site-button-fg: #FFFFFF;
  --site-button-hover-bg: #B0221A;
  --site-button-hover-fg: #FFFFFF;
  --site-disabled-bg: #E4E4E4;
  --site-disabled-fg: #111111;

  /* fonts: Oswald for their headings, buttons and labels, Open Sans for their text and menu */
  --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: one square corner across the site */
  --site-radius: 0;
  --site-max: 1320px;
  --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; }
}
/* the dark theme (the kit's head block sets <html data-parts-theme="dark"> from 21:30 to 04:30 by the shopper's clock, or
   on the shopper's pick): every colour token above in the kit's warm dark family (storefront_kit/static/parts/tokens.css).
   The page turns #121110, text near white, rules a dark grey, cards and the suggest rows a step up; the header and the
   footer stay MSD's black, the promo red and the red buttons stay theirs, red as text lifts to #F2564A so it reads on
   the dark, fields turn dark with light words, and photos and tiles 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: #24201C;
  --site-card: #1C1A18;
  --site-accent-ink: #F2564A;
  --site-field-bg: #1C1A18;
  --site-field-line: #3D3833;
  --site-disabled-bg: #2A2622;
  --site-disabled-fg: #F6F3EF;
}

@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.36 var(--site-font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, address { margin: 0; padding: 0; font-style: normal; }
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 Shop Now ---------- */
.cl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 49px; padding: 0 28px;
  background: var(--site-button-bg); color: var(--site-button-fg); border: 0; border-radius: var(--site-radius);
  font: 500 14px/1 var(--site-font-button); letter-spacing: 1px; text-transform: uppercase; text-decoration: none; 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; }

/* ---------- header: the promo bar, the black bar (the Orbital Parts mark, search, cart), the menu row of our headings ---------- */
.cl-hd { position: relative; z-index: 50; background: var(--site-bar); color: var(--site-bar-fg); }
.cl-hd__promo { display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; background: var(--site-promo); color: var(--site-bar-fg); font: 400 14px/21px var(--site-font-heading); text-transform: uppercase; text-align: center; }
.cl-hd__promo:hover { text-decoration: underline; }
.cl-hd__bar { position: relative; display: flex; align-items: center; height: 92px; padding: 0 32px; border-bottom: 1px solid var(--site-bar-line); }
.cl-hd__logo { flex: none; width: 328px; }
.cl-hd__logo img { display: block; width: 250px; height: auto; }   /* 50px, the height of the MSD name it replaces */
.cl-hd__toggle { display: none; }
.cl-hd__find { flex: 1; position: relative; min-width: 0; }
.cl-hd__search { display: flex; height: 44px; background: var(--site-field-bg); box-shadow: inset 0 0 0 1px var(--site-field-line); border-radius: var(--site-radius); }
.cl-hd__q { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0 14px; background: transparent; color: var(--site-fg); font: 400 14px/1 var(--site-font-body); border-radius: var(--site-radius); outline: 0; }
.cl-hd__q::placeholder { color: var(--site-fg); opacity: .75; }
.cl-hd__go { flex: none; width: 64px; display: flex; align-items: center; justify-content: center; color: var(--site-fg); }
.cl-hd__icons { flex: none; display: flex; align-items: center; gap: 4px; margin: 0 0 0 42px; }
.cl-hd__account { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--site-bar-fg); }
.cl-hd__account:hover { color: var(--site-accent); }
/* the kit theme switch (storefront-kit parts/theme_switch.html): between the account and the cart from 980px, beside the menu
   toggle below it (the phone bar has no room beside the cart); the kit shows it in the night hours only (data-parts-night),
   so its holder takes no room by day; white on the black bar, red on hover */
.cl-hd__theme { display: none; }
:root[data-parts-night] .cl-hd__theme--bar { display: flex; }
.cl-hd__theme .parts-theme-switch { color: var(--site-bar-fg); }
.cl-hd__theme .parts-theme-switch:hover { color: var(--site-accent); }
.cl-hd__cart { flex: none; position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 44px; color: var(--site-bar-fg); }
.cl-hd__cart-icon { overflow: visible; }
.cl-hd__cart:hover { color: var(--site-accent); }
.cl-hd__cart-count { position: absolute; top: 0; right: 0; min-width: 18px; padding: 0 4px; font: 600 12px/18px var(--site-font-body); text-align: center; background: var(--site-accent); color: var(--site-accent-fg); }
.cl-hd__cart-count:empty { display: none; }
.cl-hd__nav { height: 49px; padding: 0 32px; border-top: 1px solid var(--site-bar-line); }
.cl-hd__list { display: flex; flex-wrap: wrap; height: 48px; overflow: hidden; }
.cl-hd__link { display: block; padding: 13px 26px 13px 0; font: 400 16px/22px var(--site-font-body); color: var(--site-bar-fg); }
.cl-hd__link:hover, .cl-hd__link.is-current { color: var(--site-accent); }

/* ---------- the header search's suggest dropdown (partials/suggest.html in #fm-suggest; fm-site.js its keys):
   an opaque panel in the page's colours under the field, square, 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-bg); 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); }
.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-photo); }
.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); }

/* ---------- footer: the experts block, the four columns, the copyright ---------- */
.cl-ft { background: var(--site-footer-bg); color: var(--site-footer-fg); }
.cl-ft__in { padding: 0 4%; }
.cl-ft__ask { width: 450px; max-width: 100%; margin: 0 auto; padding: 92px 15px 30px; text-align: center; }
.cl-ft__ask-h { display: flex; align-items: center; justify-content: center; max-width: 360px; min-height: 60px; margin: 0 auto 20px; font: 500 20px/30px var(--site-font-heading); text-transform: uppercase; }
.cl-ft__ask-box { display: flex; align-items: center; justify-content: space-between; height: 51px; padding: 0 7px 0 14px; background: var(--site-field-bg); box-shadow: inset 0 0 0 1px var(--site-field-line); color: var(--site-fg); font: 400 14px/1 var(--site-font-body); }
.cl-ft__ask-btn { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; background: var(--site-accent); color: var(--site-accent-fg); font: 500 14.4px/1 var(--site-font-heading); text-transform: uppercase; }
.cl-ft__ask-box:hover .cl-ft__ask-btn { background: var(--site-accent-strong); }
.cl-ft__cols { display: grid; grid-template-columns: repeat(4, 1fr); padding: 30px 0; min-height: 268px; }
.cl-ft__col--ask { order: 4; }
.cl-ft__h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 14px; 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__links a { display: inline-block; font: 400 15px/29px var(--site-font-body); }
.cl-ft__links a:hover, .cl-ft__mail a:hover { color: var(--site-accent); }
.cl-ft__mail { display: flex; align-items: center; gap: 8px; font: 600 16px/22px var(--site-font-body); }
.cl-ft__small { padding: 26px 0 33px; font: 500 13px/20px var(--site-font-heading); letter-spacing: 1px; text-transform: uppercase; text-align: center; }

/* ---------- phones: their two-row bar (toggle, mark, cart over the search), the folded footer ---------- */
@media (max-width: 979.98px) {
  .cl-hd__bar { display: grid; grid-template-columns: 96px 1fr 96px; grid-template-rows: 65px 59px; height: auto; padding: 0; border: 0; }
  .cl-hd__toggle { grid-column: 1; grid-row: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: 4px; color: var(--site-bar-fg); }
  :root[data-parts-night] .cl-hd__theme--bar { display: none; }
  :root[data-parts-night] .cl-hd__theme--phone { display: flex; grid-column: 1; grid-row: 1; justify-self: end; align-self: center; }
  .cl-hd__logo { grid-column: 2; grid-row: 1; width: auto; justify-self: center; align-self: center; }
  .cl-hd__logo img { width: 170px; }   /* 34px, clear of the night switch and the account icon at 390 */
  .cl-hd__icons { grid-column: 3; grid-row: 1; justify-self: end; gap: 0; margin: 0 4px 0 0; }
  .cl-hd__cart { width: 44px; }
  .cl-hd__find { grid-column: 1 / -1; grid-row: 2; align-self: start; margin: 0 15px; }
  .cl-hd__q { font-size: 16px; }
  .cl-hd__go { width: 44px; }
  .cl-hd__nav { position: absolute; left: 0; right: 0; top: 100%; height: auto; padding: 0; background: var(--site-bar); border-top: 1px solid var(--site-bar-line); }
  .cl-js .cl-hd__nav:not(.is-open) { display: none; }
  .cl-hd__list { flex-direction: column; height: auto; }
  .cl-hd__link { padding: 9px 16px; border-bottom: 1px solid var(--site-bar-rule); }
  .cl-ft__in { padding: 0 16px; }
  .cl-ft__ask { width: auto; padding: 40px 0 24px; }
  .cl-ft__ask-h { min-height: 0; margin-bottom: 16px; font-size: 18px; line-height: 26px; }
  .cl-ft__ask-box { height: 54px; }
  .cl-ft__cols { display: block; padding: 0 0 16px; min-height: 0; }
  .cl-ft__col { padding: 10px 0; border-bottom: 1px solid var(--site-bar-rule); }
  .cl-ft__col--ask { padding: 30px 0 24px; }
  .cl-ft__small { padding: 17px 0 24px; }
  .cl-ft__h { margin: 0; font-size: 17px; line-height: 40px; cursor: pointer; }
  .cl-ft__col--ask .cl-ft__h { font-size: 13px; line-height: 20px; margin-bottom: 14px; cursor: default; }
  .cl-ft__chev { display: block; }
  details[open] > .cl-ft__h .cl-ft__chev { transform: rotate(180deg); }
  .cl-ft__links { padding: 8px 0 4px; }
  .cl-ft__links a { display: block; font-size: 14px; line-height: 40px; }
}

/* ---------- the 404 (templates/404.html) ---------- */
.cl-404__home { text-align: center; padding: 0 16px 32px; }
.cl-404__home a { color: var(--site-accent-ink); display: inline-block; font: 500 16px/40px var(--site-font-heading); text-transform: uppercase; letter-spacing: 1px; }

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

}
