/* YTOCAM Unified Dark Obsidian & Crimson Theme (V1 Dark Fusion) */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0b10;
  --paper: #0b0b10;
  --surface: #12141b;
  --surface-alt: #191c25;
  --ink: #f8fafc;
  --ink-secondary: #a1abbe;
  --muted: #a1abbe;
  --ink-muted: #7d879b;
  --line: rgba(248, 250, 252, 0.12);
  --line-strong: rgba(248, 250, 252, 0.24);
  --accent: #e11d2e;
  --accent-hover: #be1222;
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 4px;
}

::selection { background: var(--accent); color: #ffffff; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
  caret-color: var(--accent);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); }
button, input, select, textarea { font-family: var(--font-main); }
a { text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.container { width: min(1240px, calc(100% - 2 * var(--space))); margin-inline: auto; }

/* Shipping notice */
.shipping-notice {
  background: #060609;
  color: var(--ink-secondary);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
}

/* Global Dark Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 11, 16, 0.95);
  border-bottom: 1px solid var(--line);
}
.header-row { min-height: 74px; gap: 1.5rem; }
.site-brand a, .site-brand picture { display: inline-flex; align-items: center; }
.site-brand .yt-brand-svg { height: 24px !important; width: auto !important; max-width: 156px !important; display: block !important; object-fit: contain; }
.primary-menu { gap: 1.75rem; }
.primary-menu > li > a {
  color: var(--ink-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.5rem 0;
}
.primary-menu > li > a:hover,
.primary-menu > li:focus-within > a { color: #ffffff; }
.nav-toggle {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  font-weight: 600;
}
.submenu-toggle {
  background: transparent;
  color: var(--ink-secondary);
  border: 1px solid var(--line);
  min-width: 34px;
  min-height: 34px;
}

/* Header Search & Action Icons (44x44 touch target fixed) */
.header-actions { gap: 0.5rem; position: relative; }
.header-icon,
.header-search > summary {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.header-icon:hover,
.header-search > summary:hover {
  border-color: var(--line-strong);
  background: var(--surface-alt);
}
.header-search { border: 0; padding: 0; }
.header-search[open] form {
  position: absolute;
  z-index: 60;
  right: 0;
  top: calc(100% + 10px);
  display: flex;
  gap: 8px;
  width: min(400px, calc(100vw - 24px));
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}
.header-search form input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  background: var(--bg);
  color: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.header-search form input[type="search"]::placeholder { color: var(--ink-muted); }
.header-search form button[type="submit"] {
  height: 44px;
  padding: 0 16px;
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-weight: 700;
  white-space: nowrap;
}
.header-search form button[type="submit"]:hover { background: var(--accent-hover); }

/* Dark Mega Menu Override (compatible with ytocam-mega-menu.php) */
.sub-menu,
.ytocam-mega {
  background: var(--surface) !important;
  border: 1px solid var(--line-strong) !important;
  color: var(--ink) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65) !important;
}
.ytocam-mega__brand { color: var(--ink-secondary) !important; }
.ytocam-mega__brand:hover,
.ytocam-mega__brand.is-active { color: #ffffff !important; border-bottom-color: var(--accent) !important; }
.ytocam-mega__products a { color: var(--ink) !important; }
.ytocam-mega__products a:hover { background: var(--surface-alt) !important; color: #ffffff !important; }
.ytocam-mega__products img,
.ytocam-mega__noimg { background: #ffffff !important; }
.ytocam-mega__shop { color: #ffffff !important; }
.ytocam-mega__shop:hover { color: var(--accent) !important; }

/* Global Dark Footer */
.site-footer.yt-footer {
  background: #07070b;
  color: var(--ink-secondary);
  border-top: 1px solid var(--line);
  margin-top: 0;
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
}
.yt-footer h2 { color: #ffffff; font-size: 0.9rem; letter-spacing: 0.06em; }
.yt-footer a { color: var(--ink-secondary); }
.yt-footer a:hover { color: #ffffff; }
.yt-footer-logo-link, .yt-footer-logo-link picture { display: inline-block; margin-bottom: 14px; }
.yt-footer-logo-link picture { margin-bottom: 0; }
.yt-footer-brand .yt-footer-logo { height: 22px !important; width: auto !important; max-width: 144px !important; display: block !important; object-fit: contain; }
.yt-footer .yt-footer-cta {
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
}
.yt-footer .yt-footer-cta:hover { background: var(--accent-hover); text-decoration: none; }
.yt-footer .copyright {
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
}

/* Shared Buttons */
.yt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.yt-btn--solid { background: var(--accent); color: #ffffff; border: 1px solid var(--accent); }
.yt-btn--solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #ffffff; }
.yt-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.yt-btn--ghost:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.06); color: #ffffff; }
.yt-btn--dark { height: 38px; padding: 0 14px; font-size: 0.84rem; background: var(--surface-alt); color: #ffffff; border: 1px solid var(--line-strong); }
.yt-btn--dark:hover { background: var(--accent); border-color: var(--accent); color: #ffffff; }

/* Homepage: 1. Hero Banner (Right-shifted visual focal, clear of typography) */
.yt-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.yt-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  background-image: var(--yt-hero-bg);
  background-position: 15% 48%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}
.yt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b0b10 0%, #0b0b10 38%, rgba(11, 11, 16, 0.88) 47%, rgba(11, 11, 16, 0.22) 64%, rgba(11, 11, 16, 0.08) 100%);
  z-index: 1;
  pointer-events: none;
}
.yt-hero > .container { position: relative; z-index: 2; }
.yt-hero__inner { padding: 76px 0 68px; max-width: 560px; }
.yt-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 18px;
}
.yt-hero__lead {
  font-size: 1.03rem;
  color: var(--ink-secondary);
  margin: 0 0 28px;
  max-width: 50ch;
}
.yt-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Homepage: 2. Telemetry Strip */
.yt-telemetry { background: var(--surface); border-bottom: 1px solid var(--line); }
.yt-telemetry__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.yt-telemetry__cell {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.yt-telemetry__cell:last-child { border-right: none; }
.yt-telemetry__cell strong { font-size: 0.92rem; font-weight: 700; color: #ffffff; font-variant-numeric: tabular-nums; }
.yt-telemetry__cell span { font-size: 0.82rem; color: var(--ink-muted); }
.yt-telemetry__cell a { color: var(--ink-secondary); text-decoration: underline; }

/* Homepage: Bands */
.yt-band { padding: 80px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.yt-band--tinted { background: var(--surface); }
.yt-band__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.yt-band__head h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: #ffffff;
  margin: 0;
}
.yt-band__head p {
  margin: 10px 0 0;
  font-size: 0.98rem;
  color: var(--ink-secondary);
  max-width: 58ch;
}

/* Homepage: 3. Swiss Brand Matrix */
.yt-seg-tabs {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.yt-seg-tabs button {
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-secondary);
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 600;
}
.yt-seg-tabs button:last-child { border-right: 0; }
.yt-seg-tabs button.is-active { background: var(--accent); color: #ffffff; }

.yt-brand-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.yt-brand-matrix:not(.show-all) .yt-brand-cell.is-extra { display: none; }
.yt-brand-cell {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: background 0.15s;
}
.yt-brand-cell:hover { background: var(--surface-alt); }
.yt-brand-cell:hover .yt-brand-cell__name { color: var(--accent); }
.yt-brand-cell__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.yt-brand-cell__name { font-size: 1.12rem; font-weight: 700; color: #ffffff; transition: color 0.15s; }
.yt-brand-cell__count { font-size: 0.82rem; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.yt-brand-cell__models { font-size: 0.84rem; color: var(--ink-secondary); line-height: 1.45; }

/* Homepage: 4. Engineering Spec Comparison */
.yt-table-wrap { overflow-x: auto; }
.yt-spec-table { width: 100%; border-collapse: collapse; background: var(--bg); border: 1px solid var(--line); }
.yt-spec-table th, .yt-spec-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.92rem; vertical-align: top; }
.yt-spec-table thead th { background: var(--surface-alt); color: #ffffff; font-weight: 700; }
.yt-spec-table thead th.col-yto { background: var(--accent); color: #ffffff; }
.yt-spec-table td.col-dim { font-weight: 700; color: #ffffff; width: 22%; }
.yt-spec-table td.col-old { color: var(--ink-muted); width: 39%; }
.yt-spec-table td.col-yto { color: var(--ink); background: rgba(255, 255, 255, 0.025); width: 39%; }

/* Homepage: 5. Popular Products Grid */
.yt-prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.yt-prod-item {
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}
.yt-prod-item:hover { border-color: var(--line-strong); }
.yt-prod-item__img {
  display: block;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.yt-prod-item__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.yt-prod-item__body { padding: 18px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.yt-prod-item__meta { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--ink-muted); }
.yt-prod-item__body h3 { font-size: 1rem; line-height: 1.35; margin: 0; color: #ffffff; }
.yt-prod-item__body h3 a { text-decoration: none; }
.yt-prod-item__body h3 a:hover { color: var(--accent); }
.yt-prod-item__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.yt-prod-item__price { font-size: 0.92rem; font-weight: 700; color: #ffffff; }

/* Homepage: 6. 4K Footage Stage (Local Poster + Click-to-Load YouTube) */
.yt-footage { display: grid; grid-template-columns: 1.3fr 0.7fr; border: 1px solid var(--line-strong); background: var(--bg); }
.yt-footage__player { border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.yt-footage__tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--surface-alt); }
.yt-footage__tabs button {
  flex: 1;
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink-secondary);
  padding: 14px 16px;
  font-size: 0.86rem;
  font-weight: 700;
}
.yt-footage__tabs button:last-child { border-right: 0; }
.yt-footage__tabs button.is-active { background: var(--accent); color: #ffffff; }
.yt-footage__bar {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
}
.yt-footage__stage { position: relative; aspect-ratio: 16 / 9; background: #050508; overflow: hidden; }
.yt-footage__poster { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.76); }
.yt-footage__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(11, 11, 16, 0.88);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
}
.yt-footage__play:hover { background: var(--accent); border-color: var(--accent); }
.yt-footage__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.yt-footage__notes { display: flex; flex-direction: column; }
.yt-footage__note { padding: 20px 24px; border-bottom: 1px solid var(--line); flex: 1; }
.yt-footage__note:last-child { border-bottom: 0; }
.yt-footage__note h4 { font-size: 0.98rem; color: #ffffff; margin: 0 0 4px; }
.yt-footage__note p { font-size: 0.86rem; color: var(--ink-secondary); margin: 0; }

/* Homepage: 7. Three Checks */
.yt-fitment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.yt-fitment__title { font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -0.025em; margin: 0 0 12px; color: #ffffff; }
.yt-fitment__lead { color: var(--ink-secondary); margin: 0 0 26px; }
.yt-steps { border-top: 1px solid var(--line); margin-bottom: 26px; }
.yt-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.yt-step__idx { font-size: 0.95rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.yt-step h4 { font-size: 1rem; color: #ffffff; margin: 0 0 4px; }
.yt-step p { font-size: 0.88rem; color: var(--ink-secondary); margin: 0; }
.yt-fitment-fig { margin: 0; border: 1px solid var(--line); background: var(--surface); padding: 14px; }
.yt-fitment-fig img { width: 100%; height: auto; display: block; }
.yt-fitment-fig figcaption {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* Homepage: 8. FAQ */
.yt-faq-list { border-top: 1px solid var(--line); max-width: 920px; }
.yt-faq-row { border-bottom: 1px solid var(--line); padding: 0; }
.yt-faq-row summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.yt-faq-row summary::-webkit-details-marker { display: none; }
.yt-faq-row summary::after { content: "+"; color: var(--accent); font-size: 1.25rem; flex-shrink: 0; }
.yt-faq-row[open] summary::after { content: "−"; }
.yt-faq-row__body { padding-bottom: 20px; font-size: 0.94rem; color: var(--ink-secondary); max-width: 68ch; }

/* Inner Pages Dark Unification (Shop, Categories, Product Details, Guides, Contact, B2B) */
button { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
input, select, textarea { background: var(--surface); color: #ffffff; border-color: var(--line-strong); }
input::placeholder, textarea::placeholder { color: var(--ink-muted); }
thead { background: var(--surface-alt); }
.answer-first, .editorial-hero, .editorial-card, .vehicle-picker-entry, .odc-trade-panel, .odc-purchase-reassurance, .odc-payment-security, .ytocam-pending-note {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}
.ytocam-pd .pd-highlights li {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
}
.ytocam-pd .pd-ico { background: rgba(225, 29, 46, 0.16) !important; color: var(--accent) !important; }
.ytocam-pd figure img, .odc-detail-media__images img { background: var(--surface-alt) !important; }
.odc-swatches button { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.odc-swatches button[aria-checked="true"] { border: 2px solid var(--accent); background: rgba(225, 29, 46, 0.14); color: #ffffff; }
.woocommerce ul.products li.product {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 14px;
}
.woocommerce ul.products li.product img { background: #ffffff; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: #ffffff; }
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce input.button.alt {
  background: var(--accent);
  color: #ffffff;
}
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: var(--accent-hover); }
.catalog-fitment__fields select {
  background-color: var(--surface);
  border-color: var(--line-strong);
  color: #ffffff;
}
.catalog-fitment__fields select:disabled { background-color: #1c202b; border-color: var(--line); color: var(--ink-muted); }
dialog { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
#wholesale-dialog > .wholesale-close, #vehicle-finder > .finder-close { color: var(--ink); }
#wholesale-dialog > .wholesale-close:hover, #vehicle-finder > .finder-close:hover { background: var(--surface-alt); }

/* Dark Cookie Banner */
.cmplz-cookiebanner.ytocam-cookie-consent.cmplz-show:not(.cmplz-hidden) {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border-color: var(--line-strong) !important;
}
.cmplz-cookiebanner.ytocam-cookie-consent .cmplz-title,
.cmplz-cookiebanner.ytocam-cookie-consent .cmplz-message,
.cmplz-cookiebanner.ytocam-cookie-consent .ytocam-cookie-document { color: var(--ink-secondary) !important; }
.cmplz-cookiebanner.ytocam-cookie-consent .cmplz-title { color: #ffffff !important; }
.cmplz-cookiebanner.ytocam-cookie-consent .cmplz-buttons .cmplz-btn.cmplz-deny {
  background: transparent !important;
  color: #ffffff !important;
  border-color: var(--line-strong) !important;
}

.single-product .woocommerce-breadcrumb {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--ink-secondary) !important;
}
.single-product .woocommerce-breadcrumb a { color: var(--ink); }

/* Fix pages with inline light-mode <style> blocks (/about-ytocam/, /contact/, /b2b-wholesale/) */
body.page-id-20 #main.reading { color: var(--ink) !important; }
body.page-id-20 #main article > p,
body.page-id-20 #main article > ul,
body.page-id-20 #main article > ol,
body.page-id-20 #main article li { color: #cbd5e1 !important; }
body.page-id-20 #main article > h2,
body.page-id-20 #main article > h3,
body.page-id-20 #main strong { color: #ffffff !important; }
body.page-id-20 #main .about-stats > div,
body.page-id-20 #main .about-services > div {
  background: var(--surface) !important;
  border-color: var(--line-strong) !important;
  border-top: 3px solid var(--accent) !important;
  color: var(--ink) !important;
}
body.page-id-20 #main .about-stats p,
body.page-id-20 #main .about-services p,
body.page-id-20 #main .about-stats span,
body.page-id-20 #main .about-services span { color: #cbd5e1 !important; }
body.page-id-20 #main .wp-block-table thead,
.wp-block-table thead {
  background: var(--surface-alt) !important;
  color: #ffffff !important;
}
body.page-id-20 #main .wp-block-table tbody tr:nth-child(odd),
.wp-block-table tbody tr:nth-child(odd) {
  background: #0e1017 !important;
}
body.page-id-20 #main .wp-block-table tbody tr:nth-child(even),
.wp-block-table tbody tr:nth-child(even) {
  background: #161922 !important;
}
body.page-id-20 #main .wp-block-table th,
body.page-id-20 #main .wp-block-table td,
.wp-block-table th,
.wp-block-table td {
  color: #e2e8f0 !important;
  border-color: var(--line) !important;
}
body.page-id-20 #main .wp-block-details,
.wp-block-details {
  background: var(--surface) !important;
  border-color: var(--line-strong) !important;
  color: #cbd5e1 !important;
}
body.page-id-20 #main .wp-block-details summary,
.wp-block-details summary {
  color: #ffffff !important;
  font-weight: 600;
}
body.page-id-20 #main .wp-block-details p,
.wp-block-details p {
  color: #cbd5e1 !important;
}
.ytc-contact .ytc-map iframe { border-color: var(--line-strong) !important; }

.ytc-contact,
.ytc-wholesale { color: var(--ink) !important; }
.ytc-contact .ytc-panel,
.ytc-wholesale .ytc-panel {
  background: var(--surface) !important;
  border-color: var(--line-strong) !important;
  border-top: 4px solid var(--accent) !important;
  color: var(--ink) !important;
}
.ytc-contact h1, .ytc-contact h2, .ytc-contact h3, .ytc-contact label, .ytc-contact strong,
.ytc-wholesale h1, .ytc-wholesale h2, .ytc-wholesale h3, .ytc-wholesale label, .ytc-wholesale strong {
  color: #ffffff !important;
}
.ytc-contact p, .ytc-contact li, .ytc-contact small, .ytc-contact .ytc-note, .ytc-contact .ytc-desc,
.ytc-wholesale p, .ytc-wholesale li, .ytc-wholesale small, .ytc-wholesale .ytc-note, .ytc-wholesale .ytc-desc {
  color: #cbd5e1 !important;
}
.ytc-contact a:not(.button):not(.ytc-btn),
.ytc-wholesale a:not(.button):not(.ytc-btn) { color: #ffffff !important; text-decoration: underline; }
.ytc-contact input, .ytc-contact select, .ytc-contact textarea,
.ytc-wholesale input, .ytc-wholesale select, .ytc-wholesale textarea {
  background: var(--bg) !important;
  color: #ffffff !important;
  border-color: var(--line-strong) !important;
}
.ytc-contact input::placeholder, .ytc-contact textarea::placeholder,
.ytc-wholesale input::placeholder, .ytc-wholesale textarea::placeholder { color: var(--ink-muted) !important; }
.ytc-contact button[type="submit"],
.ytc-wholesale button[type="submit"] {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #ffffff !important;
}
.ytc-contact button[type="submit"]:hover,
.ytc-wholesale button[type="submit"]:hover { background: var(--accent-hover) !important; }

/* WooCommerce notices & generic reading pages dark contrast */
.woocommerce-info, .woocommerce-message, .woocommerce-error {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border-color: var(--line-strong) !important;
}
.reading p, .reading li, .guide-content p, .guide-content li { color: #cbd5e1; }
.reading h1, .reading h2, .reading h3, .guide-content h1, .guide-content h2, .guide-content h3 { color: #ffffff; }

/* Responsive */
@media (max-width: 1080px) {
  .yt-telemetry__grid, .yt-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yt-telemetry__cell { border-bottom: 1px solid var(--line); }
  .yt-brand-matrix { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .yt-footage, .yt-fitment-grid { grid-template-columns: 1fr; }
  .yt-footage__player { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .site-header { position: sticky; top: 0; }
  .primary-nav { background: var(--surface); border-bottom: 1px solid var(--line-strong); }
  .header-icon, .header-search > summary { width: 42px; height: 42px; }
  .header-actions { gap: 6px; }
}
@media (max-width: 600px) {
  .header-row { gap: 8px; min-height: 64px; }
  .site-brand .yt-brand-svg { height: 17px !important; width: auto !important; max-width: 112px !important; }
  .nav-toggle { min-height: 40px; padding: 0 10px; font-size: 0.82rem; }
  .header-actions { gap: 4px; flex-shrink: 0; }
  .header-icon, .header-search > summary { width: 40px; height: 40px; }
  .header-actions svg { width: 18px; height: 18px; }
  .header-search[open] form {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 72px;
    width: auto;
    max-width: none;
  }
}
@media (max-width: 390px) {
  .site-brand .yt-brand-svg { height: 15px !important; max-width: 98px !important; }
  .header-row { gap: 6px; }
  .nav-toggle { padding: 0 8px; font-size: 0.78rem; }
  .header-icon, .header-search > summary { width: 38px; height: 38px; }
}
@media (max-width: 768px) {
  .yt-hero::before { width: 100%; background-position: 28% center; opacity: 0.35; }
  .yt-hero::after { background: linear-gradient(180deg, rgba(11, 11, 16, 0.72), rgba(11, 11, 16, 0.94)); }
  .yt-hero { min-height: 460px; }
  .yt-hero__inner { padding: 48px 0; }
  .yt-band { padding: 52px 0; }
  .yt-brand-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yt-prod-grid, .yt-telemetry__grid { grid-template-columns: 1fr; }
  .yt-spec-table thead { display: none; }
  .yt-spec-table tr { display: block; border-bottom: 2px solid var(--line); padding: 10px 0; }
  .yt-spec-table td { display: block; width: 100% !important; border: 0; padding: 6px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
