/* Compare theme: Helmvergelijker.nl. Kit f5bab2c ("het blauwe gebodsbord langs het fietspad"), shared with
 * moetikeenhelmop.nl and helmplichtcheck.nl: sign blue for brand and action, verge-mist surface, sign-navy ink,
 * fietspad red only as a thin road strip under the header. Overpass + Atkinson Hyperlegible Next.
 * Dark mode: deep sign navy, not near-black. Logo: compare/helmvergelijker-mark.svg (helmet on the blue sign). */
@font-face { font-family: "Overpass"; src: url("../fonts/overpass-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/atkinson-hyperlegible-next-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

html:root {
    --ink: #13243a; --ink-soft: #33465c; --muted: #4a5a66; --bg: #edf2ea; --surface: #ffffff; --line: #cdd8cc;
    --field: #ffffff; --offer-best: #e6eef7; --spec-head: #f3f6f1;
    --accent: #0d4f8b; --accent-ink: #0a3a68; --accent-soft: #dfe9f5; --link: var(--accent-ink); --soft: var(--accent-soft);
    --logo-mark: #0d4f8b; --footer-bg: #0a3a68; --footer-ink: #cfdcea; --hero-shade: #0a2a4a;
    --road: #a3483a;
    --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Overpass", "Atkinson Hyperlegible Next", system-ui, sans-serif;
    --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  html:root:not([data-theme="light"]) {
    --ink: #e7eef5; --ink-soft: #c5d1de; --muted: #a8b8c8; --bg: #0e1b2b; --surface: #15263b; --line: #2a4060;
    --field: #1b3049; --offer-best: #1b3049; --spec-head: #182b42;
    --accent: #2f74c0; --accent-ink: #9cc4f0; --accent-soft: #1b3049; --link: var(--accent-ink); --soft: var(--accent-soft);
    --logo-mark: #e7eef5; --footer-bg: #081626; --footer-ink: #b3c2d3; --hero-shade: #081626; --road: #8e4034;
  }
}
html:root[data-theme="dark"] {
    --ink: #e7eef5; --ink-soft: #c5d1de; --muted: #a8b8c8; --bg: #0e1b2b; --surface: #15263b; --line: #2a4060;
    --field: #1b3049; --offer-best: #1b3049; --spec-head: #182b42;
    --accent: #2f74c0; --accent-ink: #9cc4f0; --accent-soft: #1b3049; --link: var(--accent-ink); --soft: var(--accent-soft);
    --logo-mark: #e7eef5; --footer-bg: #081626; --footer-ink: #b3c2d3; --hero-shade: #081626; --road: #8e4034;
}
/* Shared overrides on top of compare/public/css/shop.css (load AFTER shop.css and the inline per-site <style>). */
body { font-family: var(--font); }
h1, h2, h3, .logo, .size, .price, .best-price, .offer-price { font-family: var(--font-display); }
h1 { font-weight: 800; letter-spacing: -0.02em; }
h2 { font-weight: 750; letter-spacing: -0.01em; }
.logo { gap: .55rem; font-weight: 800; letter-spacing: -0.01em; }
.logo-icon { width: 36px; height: 36px; flex: none; }
.topbar { box-shadow: inset 0 -5px 0 var(--road); }
.footer { background: var(--footer-bg); color: var(--footer-ink); }
.footer a, .footer-title { color: #fff; }
.pcard:hover { box-shadow: none; border-color: var(--accent); }
/* Dark mode: --accent-ink is a light link blue there, so the button hover gets its own deeper blue (white text stays AA). */
@media (prefers-color-scheme: dark) { html:root:not([data-theme="light"]) .btn:not(.btn-ghost):hover { background: #1d5fa3; border-color: #1d5fa3; } }
html:root[data-theme="dark"] .btn:not(.btn-ghost):hover { background: #1d5fa3; border-color: #1d5fa3; }
/* Photo hero (same structure as the other compare sites) */
.hero--photo { position: relative; isolation: isolate; background: var(--hero-shade); color: #fff; overflow: hidden; }
.hero--photo .hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-focus, 60% 45%); }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--hero-shade) 92%, transparent) 0%, color-mix(in srgb, var(--hero-shade) 70%, transparent) 45%, transparent 80%); }
.hero--photo .hero-inner { padding-top: 4.5rem; padding-bottom: 4rem; }
.hero--photo h1, .hero--photo .lead { color: #fff; }
.hero--photo .lead { color: rgb(255 255 255 / .9); }
.hero-credit { position: absolute; right: 12px; bottom: 8px; font-size: .72rem; color: rgb(255 255 255 / .8); }
.hero-credit a { color: inherit; }
@media (max-width: 40rem) { .hero--photo::before { background: linear-gradient(0deg, color-mix(in srgb, var(--hero-shade) 94%, transparent) 0%, color-mix(in srgb, var(--hero-shade) 75%, transparent) 60%, color-mix(in srgb, var(--hero-shade) 40%, transparent) 100%); } .hero--photo .hero-inner { padding-top: 9rem; padding-bottom: 2.5rem; } }
.size { font-size: clamp(1.05rem, 4.4vw, 1.4rem); overflow-wrap: anywhere; }
