/* =====================================================================================
   Prijsflitser – huisstijl v2: modern, speels, professioneel
   - Koppen: Bricolage Grotesque (eigenwijs, speels) · tekst: Plus Jakarta Sans (strak)
   - Ronde vormen, zachte pastel-tegels, knoppen met hoog contrast, kleine animaties
   - Kleuren alleen via variabelen; thema's: ijsflits (standaard), warmflits, flitspaars
   ===================================================================================== */
@font-face { font-family: "Bricolage"; src: url("/static/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/static/fonts/jakarta.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --font-display: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Volt rustig: violet (actie) + lila (markering), monochroom */
  --text: #15122e; --muted: #5e5c78; --bg: #f8f8fb; --surface: #ffffff; --surface-2: #f0f0f7; --line: #e4e3ee;
  --flash: #4b3fd9; --flash-2: #3d32c2; --flash-ink: #ffffff; --flash-soft: #eeecfb;
  --hl: #d8d2ff; --hl-ink: #1c1745; --accent-text: #4b3fd9;
  --brand: #0e1030; --brand-2: #23264f; --brand-ink: #ffffff; --brand-soft: #eeecff;
  --mark-bg: #4b3fd9; --mark-fg: #ffffff;
  --deep: #1c1745; --deep-2: #2a2363; --deep-ink: #f4f3ff;
  --accent: #c0262d; --good: #0a7f4f; --good-soft: #e3f8ec; --warn: #7a5600; --warn-soft: #fff6cc;
  --tint-0: #eeecff; --tint-1: #f4f1ff; --tint-2: #e1f7ee; --tint-3: #ffeadf; --tint-4: #e3f1ff; --tint-5: #ffe6f1; --tint-6: #fff3d6; --tint-7: #ece7ff;

  --shadow: 0 1px 2px rgba(14, 16, 48, .05), 0 8px 24px rgba(14, 16, 48, .07);
  --shadow-lg: 0 24px 60px rgba(14, 16, 48, .18);
  --radius: 18px;
  --radius-sm: 12px;
  --head-h: 68px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f2f2ff; --muted: #a3a6c7; --bg: #0b0c1f; --surface: #14152e; --surface-2: #1c1e3d; --line: #2a2c52;
    --flash: #6a5bff; --flash-2: #7b6dff; --flash-soft: #24215a; --brand: #f2f2ff; --brand-2: #fff; --brand-ink: #0e1030; --brand-soft: #24215a;
    --mark-bg: #6a5bff; --deep: #07081a; --deep-2: #1d1a5c;
    --accent: #ff8a8a; --good: #4ee39a; --good-soft: #12301f; --warn: #ffe066; --warn-soft: #2e2a10;
    --tint-0: #211f4f; --tint-1: #23300f; --tint-2: #10302a; --tint-3: #35211a; --tint-4: #15283f; --tint-5: #36182a; --tint-6: #33290f; --tint-7: #261f4d;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35); --shadow-lg: 0 24px 60px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}

/* ---------------- basis */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
@media (min-width: 900px) { body.menu-open { overflow: auto; } }
a { color: inherit; }
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.025em; font-weight: 750; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.ic { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.ic.sm { width: 16px; height: 16px; }
.ic.xs { width: 13px; height: 13px; }
.ic.big { width: 36px; height: 36px; color: var(--text); }
:focus-visible { outline: 3px solid var(--flash); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.demo-bar { background: var(--deep); color: var(--deep-ink); text-align: center; font-size: .8rem; padding: 6px 16px; }
.theme-switch { display: inline-flex; gap: 6px; margin-left: 10px; }
.theme-switch a { text-decoration: none; padding: 1px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); }
.theme-switch a.on { background: var(--hl); color: var(--hl-ink); border-color: var(--hl); }

/* ---------------- header */
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 14px; min-height: var(--head-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.04em; flex: none; }
.logo-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--mark-bg); color: var(--mark-fg); display: grid; place-items: center; transform: rotate(-4deg); transition: transform .2s; }
.logo:hover .logo-mark { transform: rotate(4deg) scale(1.05); }
.logo-mark svg { width: 38px; height: 38px; display: block; }
.logo-text .hl { background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 92%, transparent 92%); padding: 0 1px; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--surface-2); }
.menu-btn { display: none; }
.cat-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-weight: 700; cursor: pointer; flex: none; transition: border-color .15s, background .15s; }
.cat-btn:hover, .cat-btn[aria-expanded="true"] { border-color: var(--text); }
.cat-btn[aria-expanded="true"] .ic.sm { transform: rotate(180deg); }
.search { flex: 1; display: flex; align-items: center; min-width: 0; height: 50px; border: 2px solid transparent; border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow); padding: 0 5px 0 20px; transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--flash); box-shadow: 0 0 0 5px var(--flash-soft); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; height: 100%; }
.lens-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px; border-radius: 999px; border: 0;
  background: var(--flash); color: var(--flash-ink); font-weight: 750; cursor: pointer; transition: transform .15s, background .15s; }
.lens-btn:hover { background: var(--flash-2); transform: translateY(-1px); }
.go { width: 42px; height: 38px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.head-links { display: flex; gap: 2px; flex: none; }
.head-links a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 999px; text-decoration: none; font-weight: 650; font-size: .92rem; }
.head-links a:hover { background: var(--surface-2); }

/* ---------------- megamenu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.mega-inner { display: grid; grid-template-columns: 280px 1fr; min-height: 440px; max-height: calc(100dvh - 120px); }
.mega-mobile-head { display: none; }
.mega-top { list-style: none; margin: 0; padding: 14px 14px 14px 0; border-right: 1px solid var(--line); overflow-y: auto; }
.mega-top-link { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 14px; text-decoration: none; font-weight: 650; }
.mega-top-link > .ic:first-child { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--surface-2); }
.mega-top-link span { flex: 1; }
.mega-top-link .chev { opacity: .35; }
.mega-top-link.active, .mega-top-link:hover { background: var(--flash-soft); }
.mega-top-link.active > .ic:first-child { background: var(--flash); color: var(--flash-ink); }
.mega-top-link.active .chev { opacity: 1; }
.mega-extra { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.mega-panel { display: none; padding: 20px 8px 28px 32px; overflow-y: auto; }
.mega-panel.active { display: block; animation: fade .18s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }
.mega-panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mega-back { display: none; }
.mega-all { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 750; font-size: 1.15rem; text-decoration: none; }
.mega-all:hover { text-decoration: underline; text-decoration-color: var(--flash); text-decoration-thickness: 3px; }
.mega-cols { columns: 4 190px; column-gap: 28px; }
.mega-col { break-inside: avoid; margin-bottom: 22px; }
.mega-sub { display: block; font-weight: 750; text-decoration: none; margin-bottom: 6px; }
.mega-sub:hover { color: var(--flash); }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li a { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; text-decoration: none; color: var(--muted); font-size: .93rem; }
.mega-col li a:hover { color: var(--text); }
.mega-col li a.empty { opacity: .55; }
.n { color: var(--muted); font-size: .76rem; font-weight: 600; background: var(--surface-2); border-radius: 999px; padding: 0 7px; }
.mega-backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(8, 9, 30, .4); }

/* ---------------- knoppen, chips, pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 8px 20px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: transform .15s, border-color .15s, background .15s, box-shadow .15s; }
.btn:hover { border-color: var(--text); transform: translateY(-1px); }
.btn.primary { background: var(--flash); border-color: var(--flash); color: var(--flash-ink); box-shadow: 0 8px 20px color-mix(in srgb, var(--flash) 30%, transparent); }
.btn.primary:hover { background: var(--flash-2); border-color: var(--flash-2); }
.btn.big { min-height: 56px; padding: 10px 26px; font-size: 1.05rem; }
.btn.disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.link { background: none; border: 0; padding: 0; color: var(--text); font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  text-decoration: underline; text-decoration-color: var(--flash); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.chips, .subcats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); text-decoration: none; font-size: .9rem; font-weight: 600; transition: border-color .15s, transform .15s; }
a.chip:hover { border-color: var(--text); transform: translateY(-1px); }
.chip.empty { opacity: .55; }
.chip.price { background: var(--hl); color: var(--hl-ink); border-color: transparent; font-weight: 750; }
.chip.ai { border-color: var(--flash); }
.pill { display: inline-block; font-size: .72rem; font-weight: 750; padding: 2px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); vertical-align: middle; }
.pill.good { background: var(--good-soft); color: var(--good); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }

/* ---------------- hero */
.hero { position: relative; overflow: clip; padding: 48px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, var(--flash-soft), transparent 65%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 750; color: var(--hl-ink);
  background: var(--hl); padding: 5px 13px; border-radius: 999px; transform: rotate(-1.5deg); }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: .98; letter-spacing: -.045em; margin: 18px 0 18px; font-weight: 800; }
.hero h1 .mark { background: linear-gradient(transparent 60%, var(--hl) 60%, var(--hl) 90%, transparent 90%); padding: 0 4px; }
.hero h1 .accent { color: var(--flash); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.hero-text { display: flex; align-items: center; gap: 6px; max-width: 520px; height: 54px; padding: 0 6px 0 18px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--line); }
.hero-text:focus-within { border-color: var(--flash); }
.hero-text input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 100%; }
.hero-text .btn { min-height: 42px; padding: 0 16px; }
.trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; color: var(--muted); font-size: .9rem; }
.trust b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--text); letter-spacing: -.03em; line-height: 1.1; }

/* telefoon met zoeker: laat zien hoe het werkt, en is zelf een dropzone */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.blob { position: absolute; width: 440px; height: 440px; border-radius: 42% 58% 61% 39% / 45% 41% 59% 55%; background: var(--blob, var(--flash)); opacity: var(--blob-op, .14); animation: wobble 14s ease-in-out infinite; }
@keyframes wobble { 50% { border-radius: 58% 42% 38% 62% / 55% 61% 39% 45%; transform: rotate(14deg); } }
.phone { position: relative; width: 260px; height: 520px; border-radius: 44px; background: var(--deep); padding: 12px; box-shadow: var(--shadow-lg); transform: rotate(3deg); cursor: pointer; transition: transform .3s; }
.phone:hover, .phone.over { transform: rotate(0deg) scale(1.02); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 999px; background: #000; z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.phone-screen img { width: 78%; height: 62%; object-fit: contain; }
.vf { position: absolute; width: 38px; height: 38px; border: 4px solid var(--hl); }
.vf.tl { top: 22%; left: 12%; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.vf.tr { top: 22%; right: 12%; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.vf.bl { bottom: 26%; left: 12%; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.vf.br { bottom: 26%; right: 12%; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.scan { position: absolute; left: 14%; right: 14%; height: 3px; top: 24%; border-radius: 3px; background: var(--scan, var(--flash));
  box-shadow: 0 0 18px 4px color-mix(in srgb, var(--scan, var(--flash)) 60%, transparent); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 50% { top: 72%; } }
.shutter-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 54px; height: 54px; border-radius: 50%;
  border: 4px solid var(--deep); background: var(--hl); }
.float { position: absolute; background: var(--surface); color: var(--text); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow-lg);
  font-size: .85rem; line-height: 1.25; animation: bob 5s ease-in-out infinite; z-index: 3; }
.float b { display: block; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.03em; }
.float.price { top: 14%; right: 0; }
.float.save { bottom: 18%; left: 0; background: var(--hl); color: var(--hl-ink); animation-delay: -1.6s; transform: rotate(-4deg); }
.float.shops { bottom: 4%; right: 6%; animation-delay: -3.2s; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.float.drop-tip { top: 2%; left: 4%; background: var(--deep); color: var(--deep-ink); animation-delay: -2.4s; font-weight: 700; }
@keyframes bob { 50% { translate: 0 -8px; } }

/* ---------------- secties */
.block { margin-top: 64px; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.block-head h2, .block h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); display: inline-flex; align-items: center; gap: 10px; }
.block-head p { margin: 4px 0 0; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px; transition: transform .2s; }
.how-step:hover { transform: rotate(-1deg) translateY(-2px); }
.how-step h3 { margin: 12px 0 4px; font-size: 1.2rem; }
.how-step p { margin: 0; color: var(--muted); }
.how-n { position: absolute; top: 14px; right: 18px; font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--surface-2); }
.how-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--flash); color: var(--flash-ink); }
.how-step:nth-child(2) .how-ic { background: var(--hl); color: var(--hl-ink); }
.how-step:nth-child(3) .how-ic { background: var(--good-soft); color: var(--good); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.cat-tile { position: relative; display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: var(--radius); text-decoration: none; overflow: hidden;
  background: var(--tint-0); min-height: 168px; transition: transform .2s, box-shadow .2s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-tile[data-tint="1"] { background: var(--tint-1); } .cat-tile[data-tint="2"] { background: var(--tint-2); }
.cat-tile[data-tint="3"] { background: var(--tint-3); } .cat-tile[data-tint="4"] { background: var(--tint-4); }
.cat-tile[data-tint="5"] { background: var(--tint-5); } .cat-tile[data-tint="6"] { background: var(--tint-6); }
.cat-tile[data-tint="7"] { background: var(--tint-7); }
.cat-name { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 750; letter-spacing: -.02em; z-index: 1; }
.cat-name .ic { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--surface); }
.cat-tile .small { z-index: 1; max-width: 62%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-count { z-index: 1; font-weight: 700; font-size: .85rem; }
.cat-imgs { position: absolute; right: -8px; bottom: -8px; width: 120px; height: 120px; }
.cat-imgs img { position: absolute; width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 16px; padding: 6px; box-shadow: var(--shadow); transition: transform .25s; }
.cat-imgs img:nth-child(1) { right: 18px; bottom: 18px; transform: rotate(-8deg); }
.cat-imgs img:nth-child(2) { right: 0; bottom: 44px; width: 64px; height: 64px; transform: rotate(10deg); }
.cat-imgs img:nth-child(3) { display: none; }
.cat-tile:hover .cat-imgs img:nth-child(1) { transform: rotate(-2deg) scale(1.05); }

/* ---------------- productkaarten */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.card-img { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; margin: 8px; border-radius: 12px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.04); }
.badge { position: absolute; top: 8px; left: 8px; font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--deep); color: var(--deep-ink); transform: rotate(-3deg); }
.badge.deal { background: var(--hl); color: var(--hl-ink); }
.card-body { padding: 4px 14px 14px; display: grid; gap: 2px; flex: 1; align-content: start; }
.card-brand { color: var(--muted); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.card-title { font-family: var(--font-body); font-size: .95rem; font-weight: 650; letter-spacing: 0; line-height: 1.35; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { margin-top: 8px; display: flex; align-items: baseline; gap: 6px; }
.card-price small { color: var(--muted); font-size: .78rem; }
.card-price b { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -.03em; }
.card-shops { color: var(--muted); font-size: .8rem; display: inline-flex; align-items: center; gap: 5px; }
.card-save { color: var(--good); font-weight: 750; font-size: .85rem; }
.spark { display: block; width: 100%; height: 34px; margin-top: 6px; }
.spark polyline { fill: none; stroke: var(--good); stroke-width: 2; vector-effect: non-scaling-stroke; }
.spark polygon { fill: var(--good-soft); }
.drop-pill { color: var(--good); font-weight: 750; font-size: .82rem; }

/* B2B-band */
.b2b { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--deep), var(--deep-2)); color: var(--deep-ink); border-radius: 28px; padding: 40px; margin-bottom: 48px; }
.b2b::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: var(--hl); opacity: .18; }
.b2b h2 { color: var(--deep-ink); }
.b2b p { margin: 8px 0 0; max-width: 620px; opacity: .85; }
.b2b .btn.primary { background: var(--hl); border-color: var(--hl); color: var(--hl-ink); box-shadow: none; position: relative; z-index: 1; }

/* ---------------- pagina's */
.page { padding-top: 20px; padding-bottom: 56px; }
.page.narrow { max-width: 920px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head h1 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.6rem); display: inline-flex; align-items: center; gap: 12px; }
.page-head h1 .ic { width: 44px; height: 44px; padding: 9px; border-radius: 14px; background: var(--flash-soft); color: var(--text); }
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 28px; margin-top: 20px; align-items: start; }
.filters details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; position: sticky; top: 92px; max-height: calc(100dvh - 110px); overflow-y: auto; }
.filters summary { font-weight: 750; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.filters fieldset { border: 0; padding: 0; margin: 16px 0 0; }
.filters legend { font-weight: 750; font-size: .9rem; margin-bottom: 8px; }
.checks { display: grid; gap: 6px; max-height: 260px; overflow-y: auto; }
.checks label { display: flex; align-items: center; gap: 9px; font-size: .92rem; cursor: pointer; }
.checks .n { margin-left: auto; }
.checks input { accent-color: var(--flash); width: 17px; height: 17px; }
.price-range { display: flex; align-items: center; gap: 6px; }
.price-range input { width: 100%; min-width: 0; height: 40px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: var(--surface); }
.filter-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.sortbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.sort select { height: 40px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; background: var(--surface); color: var(--text); }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 650; }
.pager span { border: 0; background: none; }
.pager a.cur { background: var(--text); color: var(--bg); border-color: var(--text); }
.empty-state { text-align: center; padding: 56px 16px; background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--radius); }
.empty-state h1, .empty-state h2 { margin: 12px 0 6px; }
.card-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

/* productpagina */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 22px; }
.pd-img { background: #fff; border-radius: 20px; display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--line); }
.pd-img img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.pd-info h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 6px 0 8px; }
.pd-price { display: grid; margin: 20px 0 8px; }
.pd-price small { color: var(--muted); font-weight: 600; }
.pd-price b { font-family: var(--font-display); font-size: 3rem; letter-spacing: -.04em; line-height: 1.05; }
.save-note { display: flex; align-items: flex-start; gap: 6px; color: var(--good); font-weight: 650; margin: 4px 0 10px; }
.save-note > .ic { flex: none; margin-top: .2em; } .save-note > span { min-width: 0; }
.verdict { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 16px; background: var(--surface-2); margin: 10px 0; }
.verdict.good { background: var(--good-soft); }
.verdict.good > .ic { color: var(--good); }
.verdict.warn { background: var(--warn-soft); }
.verdict.warn > .ic { color: var(--warn); }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.offer-table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 14px; }
.offer-row { display: grid; grid-template-columns: 1.6fr 1fr .9fr 1.1fr auto; gap: 12px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); }
.offer-row:first-child { border-top: 0; }
.offer-row.head { background: var(--surface-2); font-size: .76rem; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.offer-row.best { background: color-mix(in srgb, var(--good-soft) 60%, var(--surface)); }
.offer-row.out { opacity: .55; }
.o-shop { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; }
.o-shop a { text-decoration: none; }
.o-shop a:hover { text-decoration: underline; }
.rating { display: inline-flex; align-items: center; gap: 3px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.rating .ic { color: #eab308; fill: #eab308; }
.r { text-align: right; }
.o-price, .o-total { display: grid; justify-items: end; }
.o-total b { font-family: var(--font-display); font-size: 1.2rem; }
.chart { width: 100%; height: 180px; display: block; margin-top: 8px; }
.chart-area { fill: var(--flash-soft); }
.chart-line { fill: none; stroke: var(--flash); stroke-width: 3; vector-effect: non-scaling-stroke; }
.chart-dot { fill: var(--flash); }
.chart-legend { display: flex; justify-content: space-between; gap: 8px; }

/* zoeken met foto */
.photo-search { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; background: var(--surface);
  border: 1px solid var(--line); border-radius: 24px; padding: 18px; margin-bottom: 22px; }
.ps-photo { display: grid; gap: 10px; }
.ps-photo img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--surface-2); border-radius: 16px; }
.ps-info h1 { margin: 0 0 10px; font-size: 1.8rem; }
.ps-info .chips { margin: 8px 0; }
.status { color: var(--muted); display: flex; align-items: center; gap: 10px; }
.status.error { color: var(--accent); }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--flash); border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* winkels */
.shop-filter { height: 48px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; min-width: 280px; background: var(--surface); }
.shop-filter:focus { outline: 0; border-color: var(--flash); }
.az { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 20px; position: sticky; top: var(--head-h); background: var(--bg); padding: 10px 0; z-index: 5; }
.az a { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 750; }
.az a:hover { background: var(--flash); color: var(--flash-ink); border-color: var(--flash); }
.az-group h2 { font-size: 1.4rem; margin: 20px 0 10px; }
.shop-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.shop-list a { display: grid; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .15s; }
.shop-list a:hover { border-color: var(--text); }
.shop-list b { font-weight: 700; }
.shop-list small { color: var(--muted); font-size: .85rem; }
.shop-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.shop-head h1 { margin: 0; }
.shop-head p { margin: 4px 0 0; }
.shop-logo { width: 68px; height: 68px; border-radius: 20px; background: var(--flash); color: var(--flash-ink); display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem; font-weight: 800; flex: none; transform: rotate(-4deg); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 26px 0; }
.feature-grid h3 { margin: 10px 0 4px; }
.feature-grid p { margin: 0; }
.feature-grid .ic.big { width: 52px; height: 52px; padding: 11px; border-radius: 16px; background: var(--flash-soft); }
.steps li { margin-bottom: 8px; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; }
.cta h3 { margin: 0; }
.cta p { margin: 4px 0 0; }

/* ---------------- dialoogvensters */
.lens { border: 0; padding: 0; background: transparent; width: min(540px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); }
.lens::backdrop { background: rgba(8, 9, 30, .5); backdrop-filter: blur(4px); }
.lens-card { background: var(--surface); color: var(--text); border-radius: 28px; padding: 22px; box-shadow: var(--shadow-lg); }
.lens-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.lens-head h2 { margin: 0; font-size: 1.5rem; display: inline-flex; gap: 10px; align-items: center; }
.lens-head h2 .ic { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--flash); color: var(--flash-ink); }
.drop { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 30px 16px; border: 2px dashed var(--line);
  border-radius: 20px; background: var(--surface-2); cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over, .drop:focus-visible { border-color: var(--flash); background: var(--flash-soft); outline: none; }
.lens-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.lens-buttons.center { display: flex; justify-content: center; }
.camera { border: 0; padding: 0; background: #000; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; }
.camera::backdrop { background: #000; }
.camera video { width: 100%; height: calc(100% - 96px); object-fit: contain; background: #000; }
.camera-bar { height: 96px; display: flex; align-items: center; justify-content: space-around; }
.shutter { width: 70px; height: 70px; border-radius: 50%; border: 5px solid #fff; background: var(--hl); cursor: pointer; }
.shutter:active { transform: scale(.94); }

/* ---------------- footer */
.site-foot { background: var(--deep); color: var(--deep-ink); margin-top: 56px; padding: 44px 0 24px; }
.site-foot .logo { color: var(--deep-ink); }
.site-foot .muted, .site-foot .fine { color: color-mix(in srgb, var(--deep-ink) 65%, transparent); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.site-foot h3 { font-size: 1rem; margin: 6px 0 12px; color: var(--deep-ink); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot ul a { text-decoration: none; color: color-mix(in srgb, var(--deep-ink) 75%, transparent); }
.site-foot ul a:hover { color: var(--hl); }
.fine { font-size: .8rem; margin-top: 26px; }

/* ---------------- responsive */
@media (max-width: 1080px) {
  .head-links span { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero-visual { min-height: 460px; }
}
@media (max-width: 899px) {
  :root { --head-h: 58px; }
  .head-row { flex-wrap: wrap; gap: 8px; padding-top: 8px; padding-bottom: 10px; }
  .menu-btn { display: grid; margin-left: -8px; }
  .cat-btn { display: none; }
  .logo { font-size: 1.2rem; margin-right: auto; }
  .logo-mark, .logo-mark svg { width: 32px; height: 32px; }
  .head-links { order: 2; }
  .search { order: 3; flex-basis: 100%; height: 48px; }
  .lens-btn span { display: none; }
  .lens-btn { width: 40px; padding: 0; justify-content: center; }
  .mega { position: fixed; inset: 0; z-index: 50; border: 0; }
  .mega-inner { display: block; height: 100dvh; max-height: none; overflow-y: auto; padding: 0; position: relative; }
  .mega-mobile-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 2; font-family: var(--font-display); font-size: 1.2rem; }
  .mega-top { border: 0; padding: 8px; }
  .mega-top-link { padding: 10px 12px; }
  .mega-top-link.active { background: transparent; }
  .mega-top-link.active > .ic:first-child { background: var(--surface-2); color: inherit; }
  .mega-panel, .mega-panel.active { display: none; padding: 0 18px 24px; }
  .mega-inner.drill .mega-top { display: none; }
  .mega-inner.drill .mega-panel.active { display: block; }
  .mega-panel-head { flex-direction: column; align-items: flex-start; gap: 8px; position: sticky; top: 57px; background: var(--surface); padding: 12px 0; z-index: 1; }
  .mega-back { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; font-weight: 750; padding: 4px 0; cursor: pointer; }
  .mega-cols { columns: 1; }
  .mega-col li a { padding: 9px 0; font-size: 1rem; }
  .hero { padding-top: 24px; }
  .hero-visual { min-height: 400px; }
  .phone { width: 200px; height: 400px; border-radius: 36px; }
  .phone-screen { border-radius: 28px; }
  .blob { width: 320px; height: 320px; }
  .how { grid-template-columns: 1fr; gap: 10px; }
  .listing { grid-template-columns: 1fr; }
  .filters details { position: static; max-height: none; }
  .pd { grid-template-columns: 1fr; gap: 16px; padding: 14px; border-radius: 22px; }
  .pd-img { max-height: 340px; }
  .offer-row:not(.head) { grid-template-columns: 1fr auto; grid-template-areas: "shop total" "del price" "go go"; row-gap: 6px; }
  .offer-row.head { display: none; }
  .o-shop { grid-area: shop; } .o-del { grid-area: del; font-size: .85rem; } .o-price { grid-area: price; font-size: .9rem; }
  .o-total { grid-area: total; } .o-go { grid-area: go; } .o-go .btn { width: 100%; }
  .photo-search { grid-template-columns: 110px 1fr; gap: 12px; padding: 12px; }
  .ps-photo .btn { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .b2b { padding: 28px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .head-links { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .lead { font-size: 1.02rem; }
  .hero-actions .btn { flex: 1; }
  .trust { gap: 16px; }
  .trust b { font-size: 1.25rem; }
  .float { font-size: .78rem; padding: 8px 11px; }
  .float b { font-size: 1.1rem; }
  .float.drop-tip { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-img { margin: 6px; }
  .card-body { padding: 2px 10px 12px; }
  .card-price b { font-size: 1.15rem; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-tile { min-height: 140px; padding: 14px; }
  .cat-tile .small { display: none; }
  .cat-imgs { width: 90px; height: 90px; }
  .cat-imgs img { width: 62px; height: 62px; }
  .cat-imgs img:nth-child(2) { display: none; }
  .cat-name { font-size: 1rem; flex-direction: column; align-items: flex-start; gap: 6px; }
  .shop-filter { min-width: 0; width: 100%; }
  .block { margin-top: 44px; }
  .b2b { padding: 22px; border-radius: 22px; }
}

.phone-cap { position: absolute; left: 10px; right: 10px; bottom: 84px; display: grid; justify-items: center; text-align: center; gap: 1px; font-size: .78rem; color: #5e6280; }
.phone-cap b { color: #0e1030; font-size: .86rem; }
@media (max-width: 899px) { .phone-cap { bottom: 74px; font-size: .7rem; } .shutter-hint { width: 44px; height: 44px; } }
/* tegels: naam bovenaan, aantal onderaan, plaatjes rechtsonder (geen tekst onder de plaatjes) */
.cat-tile { grid-template-rows: auto 1fr auto; min-height: 150px; }
.cat-name span { max-width: 9.5em; }
.cat-count { align-self: end; color: var(--muted); }@media (min-width: 1081px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 561px) and (max-width: 1080px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* mobiel: compacter en zonder overlap */
@media (max-width: 899px) {
  .phone-cap, .float.drop-tip { display: none; }
  .hero-visual { min-height: 360px; }
  .phone { width: 180px; height: 360px; padding: 9px; }
  .phone::before { top: 15px; width: 60px; height: 18px; margin-left: -30px; }
  .how-step { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; }
  .how-ic { width: 44px; height: 44px; border-radius: 14px; grid-row: span 2; }
  .how-step h3 { margin: 0 0 2px; font-size: 1.05rem; }
  .how-step p { font-size: .92rem; }
  .how-n { font-size: 2.2rem; top: 10px; right: 14px; }
}
@media (max-width: 560px) {
  .cat-imgs { width: 70px; height: 70px; right: -6px; bottom: -6px; }
  .cat-imgs img { width: 52px; height: 52px; right: 10px !important; bottom: 10px !important; }
  .cat-tile { min-height: 124px; }
  .cat-count { max-width: 60%; }
  .float.save { left: 2%; bottom: 22%; }
  .float.price { right: 2%; }
}
/* =====================================================================================
   Mobiel als app: vaste tabbalk onderin met Flits-knop, donkere hero, veeg-rijen
   ===================================================================================== */
.tabbar { display: none; }
@media (max-width: 899px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .menu-btn { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
    border-top: 1px solid var(--line); padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; padding: 2px 0; min-width: 0;
    color: var(--muted); font: 650 .68rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .tabbar .ic { width: 52px; height: 30px; padding: 4px 14px; border-radius: 999px; transition: background .15s; }
  .tabbar [aria-current="page"] { color: var(--text); font-weight: 800; }
  .tabbar [aria-current="page"] .ic { background: var(--hl); color: var(--hl-ink); }
  .tabbar a:active .ic, .tabbar button:active .ic { background: var(--surface-2); }
  .tab-flits { color: var(--text) !important; font-weight: 800 !important; }
  .tab-flits-btn { width: 60px; height: 60px; margin-top: -30px; border-radius: 20px; display: grid; place-items: center;
    background: var(--mark-bg); color: var(--mark-fg); transform: rotate(-4deg); transition: transform .15s;
    box-shadow: 0 0 0 5px var(--bg), 0 12px 26px color-mix(in srgb, var(--mark-bg) 45%, transparent); }
  .tab-flits .tab-flits-btn .ic { width: 30px; height: 30px; padding: 0; background: none !important; color: inherit !important; }
  .tab-flits:active .tab-flits-btn { transform: rotate(0) scale(.94); }

  /* hero: gevuld vlak met ronde onderkant, zoals een app-startscherm (regels: zie 'gevulde hero') */
  .hero .hero-text { display: none; }
  .block { margin-top: 34px; }
  .site-foot { margin-top: 40px; border-radius: 30px 30px 0 0; }
}
@media (max-width: 560px) {
  .hero-visual { display: none; }
  .hero h1 { font-size: 2.6rem; margin: 14px 0 12px; }
  .hero .lead { margin-bottom: 20px; }
  .hero-actions { margin-bottom: 0; }
  .block-head { margin-bottom: 12px; }
  .block-head h2, .block h2 { font-size: 1.4rem; }
  /* veeg-rijen: horizontaal scrollen met vaste stops, zoals in een app */
  .rail, .cat-grid, .how { display: grid; grid-auto-flow: column; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 12px; scroll-padding: 0 16px; gap: 10px; }
  .rail::-webkit-scrollbar, .cat-grid::-webkit-scrollbar, .how::-webkit-scrollbar { display: none; }
  .rail > *, .cat-grid > *, .how > * { scroll-snap-align: start; }
  .rail { grid-template-columns: none; grid-auto-columns: 44%; }
  .cat-grid { grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-columns: 40%; }
  .how { grid-template-columns: none; grid-auto-columns: 80%; }
}
.theme-switch a { white-space: nowrap; }
@media (max-width: 560px) {
  /* demobalk: één regel, thema-knoppen veegbaar */
  .demo-bar { display: flex; align-items: center; gap: 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; text-align: left; font-size: .75rem; }
  .demo-bar::-webkit-scrollbar { display: none; }
  .head-row { padding-top: 10px; }
}
@media (max-width: 560px) { .demo-text { display: none; } .theme-switch { margin-left: 0; } }

/* ---------------- gevulde hero op mobiel */
:root {
  --hero-bg: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--flash) 50%, var(--deep)) 0%, var(--deep) 62%);
  --hero-ink: var(--deep-ink); --hero-text: color-mix(in srgb, var(--deep-ink) 78%, transparent); --hero-mark: var(--hl);
  --hero-btn: var(--hl); --hero-btn-ink: var(--hl-ink); --hero-btn2: rgba(255, 255, 255, .08); --hero-btn2-ink: var(--deep-ink); --hero-btn2-line: rgba(255, 255, 255, .28);
}
@media (max-width: 899px) {
  .hero { background: var(--hero-bg); color: var(--hero-ink); border-radius: 0 0 30px 30px; padding-bottom: 28px; }
    .hero::before { display: none; }
    .hero h1 { color: var(--hero-ink); }
    .hero h1 .mark { background: none; color: var(--hero-mark); padding: 0; }
    .hero h1 .accent { color: inherit; text-decoration: underline; text-decoration-color: var(--hero-mark); text-decoration-thickness: 5px; text-underline-offset: 7px; }
    .hero .lead { color: var(--hero-text); }
    .hero .btn.primary { background: var(--hero-btn); border-color: var(--hero-btn); color: var(--hero-btn-ink); box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
    .hero .btn:not(.primary) { background: var(--hero-btn2); color: var(--hero-btn2-ink); border-color: var(--hero-btn2-line); }
    .hero .trust { color: var(--hero-text); }
    .hero .trust b { color: var(--hero-ink); }
    .hero .blob { background: var(--hero-blob, #fff); opacity: .16; }
}
@media (prefers-color-scheme: dark) {
}

/* =====================================================================================
   v3 · Rustig & strak: minder AI-look (geen vlekken, gloed of scheve vormen),
   kleinere rondingen, één tegenkleur voor knoppen, onderstrepingen en markeringen.
   Aanpak van idealo / Tweakers: rustig wit canvas, één donkere merkkleur, één actiekleur.
   ===================================================================================== */
:root { --font-display: "Jakarta", ui-sans-serif, system-ui, sans-serif; --radius: 14px; --radius-sm: 10px; --r-btn: 12px;
  --shadow: 0 1px 2px rgba(16, 18, 40, .06), 0 2px 8px rgba(16, 18, 40, .05); --shadow-lg: 0 12px 32px rgba(16, 18, 40, .12);
  --hero-bg: var(--deep); }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.03; letter-spacing: -.035em; }
.btn, .lens-btn, .cat-btn, .search, .hero-text, .head-links a, .sort select, .shop-filter { border-radius: var(--r-btn); }
.btn:hover, a.chip:hover, .lens-btn:hover, .how-step:hover, .cat-tile:hover, .card:hover { transform: none; }
.btn.primary { box-shadow: none; }
.search { box-shadow: none; border: 1.5px solid var(--line); }
.logo-mark, .logo:hover .logo-mark { transform: none; border-radius: 10px; }
.logo-text .hl, .hero h1 .mark { background: linear-gradient(transparent 74%, var(--hl) 74%, var(--hl) 92%, transparent 92%); }
.hero h1 .accent, .mega-sub:hover { color: var(--accent-text); }
.eyebrow { transform: none; background: var(--flash-soft); color: var(--text); border-radius: 8px; font-weight: 700; }
.eyebrow .ic { color: var(--accent-text); }
.hero::before, .blob { display: none; }
.phone, .phone:hover, .phone.over { transform: none; }
.scan { box-shadow: none; }
.float { animation: none; transform: none !important; border: 1px solid var(--line); box-shadow: var(--shadow); }
.float.save { border-color: transparent; }
.cat-tile:hover { box-shadow: none; outline: 1.5px solid var(--text); outline-offset: -1.5px; }
.cat-imgs img { transform: none !important; border-radius: 10px; }
.card:hover { box-shadow: var(--shadow); }
.badge { border-radius: 6px; }
.tab-flits-btn { transform: none; border-radius: 16px; box-shadow: 0 0 0 5px var(--bg); }
.tab-flits:active .tab-flits-btn { transform: scale(.94); }
@media (max-width: 899px) {
  .hero { border-radius: 0 0 22px 22px; }
  .tabbar [aria-current="page"] .ic { background: var(--flash-soft); color: var(--text); }
  .site-foot { border-radius: 0; }
}
@media (prefers-color-scheme: dark) {
  :root { --accent-text: #a99fff; --hl: #b9b0ff; }
}

/* Donkere merkbalk bovenaan (aanpak idealo / Beslist): merkkleur meteen zichtbaar, de rest van de pagina blijft rustig wit */
.site-head { background: var(--deep); border-bottom: 0; color: var(--deep-ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-head .logo { color: var(--deep-ink); }
.site-head .logo-mark { background: var(--hl); color: var(--deep); }
.site-head .cat-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: var(--deep-ink); }
.site-head .cat-btn:hover, .site-head .cat-btn[aria-expanded="true"] { border-color: var(--deep-ink); }
.site-head .head-links a, .site-head .icon-btn { color: var(--deep-ink); }
.site-head .head-links a:hover, .site-head .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.site-head .search { border-color: transparent; background: #fff; color: #15122e; }
.site-head .search input { color: #15122e; }
.site-head .search input::placeholder { color: #6b6880; }
.site-head .mega { color: var(--text); }
.demo-bar { background: color-mix(in srgb, var(--deep) 80%, #000); }
@media (max-width: 899px) { .hero { padding-top: 14px; } }
/* categorietegels: rustig wit met één productfoto, merkkleur alleen in het icoon */
.cat-tile[data-tint] { background: var(--surface); border: 1px solid var(--line); }
.cat-name > .ic { background: var(--flash-soft); color: var(--accent-text); border-radius: 10px; }
.cat-imgs img:nth-child(2) { display: none; }
.cat-imgs img:nth-child(1) { right: 14px; bottom: 14px; box-shadow: none; border: 1px solid var(--line); }
@media (max-width: 899px) {
  .hero h1 .mark { background: none; color: var(--hero-mark); }
  .hero h1 .accent { color: var(--hero-ink); }
}
.site-head .logo-mark { background: var(--hl); color: var(--hl-ink); }
.site-head .logo-text .hl { background: linear-gradient(transparent 76%, var(--hl) 76%, var(--hl) 94%, transparent 94%); }
.badge.deal { background: var(--hl); color: var(--hl-ink); }
.tab-flits-btn { background: var(--deep); color: var(--hl); }
.eyebrow { background: var(--brand-soft); }
.float.save { background: var(--hl); color: var(--hl-ink); }
.vf { border-color: var(--brand); }
.scan { background: var(--brand); }
.shutter-hint { background: var(--brand); }
.phone { background: #1b1e24; }
.btn.primary, .lens-btn { font-weight: 800; }
@media (max-width: 899px) { .tabbar [aria-current="page"] .ic { background: var(--brand-soft); color: var(--brand); } }
@media (prefers-color-scheme: dark) {
}
.site-head, .site-foot, .b2b { background: var(--grad); }
.demo-bar { background: #100a52; }
.site-head .logo-mark { background: var(--hl); color: var(--brand-2); }
.site-head .lens-btn { background: var(--hl); color: var(--hl-ink); }
.tab-flits-btn { background: var(--grad); color: var(--hl); }
.vf { border-color: var(--brand); } .scan, .shutter-hint { background: var(--brand); }
.float.save, .badge.deal { background: var(--hl); color: var(--hl-ink); }
@media (prefers-color-scheme: dark) {
}
.demo-bar { background: #011a38; }
.site-head .logo-mark { background: var(--hl); color: var(--brand); }
.btn.primary, .lens-btn { box-shadow: none; }
.vf { border-color: var(--hl); } .scan { background: var(--hl); } .shutter-hint { background: var(--hl); }
.mega-top-link.active > .ic:first-child { background: var(--brand); color: #fff; }
.az a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.shop-logo { background: var(--brand); color: var(--hl); }
.checks input { accent-color: var(--brand); }
.search:focus-within, .hero-text:focus-within, .shop-filter:focus { border-color: var(--brand); }
.spinner { border-top-color: var(--brand); }
@media (prefers-color-scheme: dark) {
}

.site-head, .site-foot, .b2b { background: var(--grad); }
.demo-bar { background: #011a38; }
/* strepen zoals op een flitspaal / politieauto */
.stripes { height: 10px; background: repeating-linear-gradient(-45deg, var(--hl) 0 16px, var(--brand) 16px 32px); }
.site-foot { border-top: 10px solid transparent; border-image: repeating-linear-gradient(-45deg, #ffd21f 0 16px, #022854 16px 32px) 10; }
/* stempels zoals op een bekeuring */
.stamp { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 2px solid currentColor; border-radius: 6px; font-weight: 800; font-size: .74rem;
  letter-spacing: .06em; text-transform: uppercase; transform: rotate(-2deg); background: var(--surface); white-space: nowrap; }
.stamp.good { color: var(--good); } .stamp.bad { color: var(--deal); }
.badge.deal { background: var(--deal); color: #fff; }
.pill.warn { background: var(--deal-soft); color: var(--deal); }
.float.save { background: var(--good); color: #fff; border-color: transparent; }
.float.fine { left: 4%; top: 14%; background: var(--surface); color: var(--deal); border: 2px solid var(--deal); font-weight: 800; }
.float.fine b { color: var(--deal); } .float.fine small { color: var(--muted); font-weight: 600; display: block; }
.hero h1 .accent { color: var(--good); }
/* uitleg-blok: twee uitkomsten van een flits */
.verdicts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vd { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--good); border-radius: var(--radius); padding: 20px 22px; }
.vd.bad { border-left-color: var(--deal); }
.vd h3 { margin: 12px 0 6px; font-size: 1.25rem; } .vd p { margin: 0; color: var(--muted); }
@media (max-width: 899px) {
  .hero h1 .accent { color: var(--hero-ink); text-decoration-color: var(--hl); }
  .float.fine { display: none; }
  .verdicts { grid-template-columns: 1fr; gap: 10px; }
}
@media (prefers-color-scheme: dark) {
}

:root { --good: #0a8f4f; --good-soft: #e2f6ea; --deal: #e3262f; --deal-soft: #fde8e9; }

/* =====================================================================================
   v8 · Zelfde opzet ("Geflitst!"), nieuwe kleuren:
   - Zonsondergang: nachtpaars → magenta → oranje (de sfeer van GTA VI) + flitsgeel
   - Meerkleurig: blauw → paars → roze → oranje (Odido-achtig) + flitsgeel
   - Navy blijft als derde keuze
   Balk en footer gebruiken het verloop zonder oranje, zodat witte tekst leesbaar blijft.
   ===================================================================================== */
:root, :root[data-theme="zonsondergang"] {
  --text: #1a0b3d; --muted: #645a7c; --bg: #f8f6fa; --surface: #fff; --surface-2: #f0ecf5; --line: #e4deec;
  --brand: #3b0f5c; --brand-2: #45107a; --brand-ink: #fff; --brand-soft: #f3e9f7;
  --flash: #ffd21f; --flash-2: #f5c400; --flash-ink: #1a0b3d; --flash-soft: #f3e9f7; --accent-text: #b4236b;
  --hl: #ffd21f; --hl-ink: #1a0b3d;
  --mark-bg: #3b0f5c; --mark-fg: #ffd21f; --deep: #1a0b3d; --deep-2: #b4236b; --deep-ink: #fff;
  --grad: linear-gradient(120deg, #1a0b3d 0%, #45107a 50%, #b4236b 100%);
  --grad-full: linear-gradient(120deg, #1a0b3d 0%, #45107a 40%, #c2256e 78%, #f58a3a 100%);
  --hero-bg: var(--grad-full); --hero-mark: var(--hl); --hero-btn: var(--hl); --hero-btn-ink: #1a0b3d;
  --stripe: #1a0b3d; --tint-0: #f3e9f7; --tint-1: #fff6cf;
}
.site-head, .site-foot { background: var(--grad); }
.b2b, .tab-flits-btn { background: var(--grad-full); }
.demo-bar { background: color-mix(in srgb, var(--deep) 70%, #000); }
.stripes { background: repeating-linear-gradient(-45deg, var(--hl) 0 16px, var(--stripe) 16px 32px); }
.site-foot { border-image: repeating-linear-gradient(-45deg, var(--hl) 0 16px, var(--stripe) 16px 32px) 10; }
.site-head .logo-mark { color: var(--deep); }
/* categorie-iconen: elk een eigen kleur (meerkleurig, zoals Odido), de tegel zelf blijft wit */
.cat-tile[data-tint="0"] .cat-name > .ic { background: #ffe3ef; color: #b4236b; }
.cat-tile[data-tint="1"] .cat-name > .ic { background: #ffecd9; color: #b85a12; }
.cat-tile[data-tint="2"] .cat-name > .ic { background: #fff3c2; color: #7a5a00; }
.cat-tile[data-tint="3"] .cat-name > .ic { background: #dff5e6; color: #0a7f45; }
.cat-tile[data-tint="4"] .cat-name > .ic { background: #dcf3f6; color: #0b6d7a; }
.cat-tile[data-tint="5"] .cat-name > .ic { background: #e3eaff; color: #2447f5; }
.cat-tile[data-tint="6"] .cat-name > .ic { background: #ece3ff; color: #6a2fe0; }
.cat-tile[data-tint="7"] .cat-name > .ic { background: #ffe1e1; color: #c0262d; }
@media (prefers-color-scheme: dark) {
  .cat-tile[data-tint] .cat-name > .ic { background: var(--surface-2); }
}

/* =====================================================================================
   v9 · Meer GTA VI: alleen paars, magenta, oranje en flitsgeel. Groen en rood zijn weg.
   - goedkoper uit = magenta · bekeurd = nachtpaars · korting = oranje
   - het startvlak staat ook op desktop in het zonsondergang-verloop
   ===================================================================================== */
:root, :root[data-theme="zonsondergang"] {
  --good: #b4236b; --good-soft: #fde6f0; --deal: #1a0b3d; --deal-soft: #ece6f5; --warn: #1a0b3d; --warn-soft: #ece6f5;
}
.hero { background: var(--hero-bg); color: var(--hero-ink); border-radius: 0 0 30px 30px; padding-bottom: 44px; }
.hero h1 { color: var(--hero-ink); }
.hero h1 .mark { background: none; color: var(--hero-mark); padding: 0; }
.hero h1 .accent { color: var(--hero-ink); text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 5px; text-underline-offset: 7px; }
.hero .lead, .hero .trust { color: var(--hero-text); }
.hero .trust b { color: var(--hero-ink); }
.hero .btn.primary { background: var(--hero-btn); border-color: var(--hero-btn); color: var(--hero-btn-ink); }
.hero .btn:not(.primary) { background: var(--hero-btn2); color: var(--hero-btn2-ink); border-color: var(--hero-btn2-line); }
.hero .hero-text { border-color: transparent; }
.hero .hero-text .btn { background: var(--surface-2); color: var(--text); border-color: transparent; }
.hero .eyebrow { background: rgba(255, 255, 255, .14); color: #fff; }
.hero .eyebrow .ic { color: var(--hl); }
.phone { box-shadow: 0 24px 60px rgba(10, 4, 30, .45); }
.float.save { background: var(--hl); color: var(--hl-ink); }
.float.fine { border-color: var(--deep); color: var(--deep); } .float.fine b { color: var(--deep); }
.badge.deal { background: #f58a3a; color: #1a0b3d; }
.stamp.good { color: var(--good); } .stamp.bad { color: var(--deal); }
.vd { border-left-color: var(--good); } .vd.bad { border-left-color: var(--deal); }
/* categorie-iconen: alleen de vier zonsondergang-kleuren */
.cat-tile[data-tint="0"] .cat-name > .ic, .cat-tile[data-tint="4"] .cat-name > .ic { background: #fde6f0; color: #b4236b; }
.cat-tile[data-tint="1"] .cat-name > .ic, .cat-tile[data-tint="5"] .cat-name > .ic { background: #ffecd9; color: #b85a12; }
.cat-tile[data-tint="2"] .cat-name > .ic, .cat-tile[data-tint="6"] .cat-name > .ic { background: #efe6fa; color: #5a1fa8; }
.cat-tile[data-tint="3"] .cat-name > .ic, .cat-tile[data-tint="7"] .cat-name > .ic { background: #fff3c2; color: #7a5a00; }
.how-step:nth-child(3) .how-ic { background: var(--good-soft); color: var(--good); }
@media (prefers-color-scheme: dark) {
  :root, :root[data-theme="zonsondergang"] { --good: #ff7fb8; --good-soft: #3a1530; --deal: #f4f0fa; --deal-soft: #2a1a44; --warn: #f4f0fa; --warn-soft: #2a1a44; }
}
@media (prefers-color-scheme: dark) {
  :root, :root[data-theme="zonsondergang"] {
    --text: #f4f0fa; --muted: #b0a6c4; --bg: #0f0a1c; --surface: #19122b; --surface-2: #231a3a; --line: #33284f;
    --flash-soft: #2a1a44; --brand-soft: #2a1a44; --accent-text: #ff7fb8; --tint-0: #2a1a44; --tint-1: #33290f; }
  .cat-tile[data-tint] .cat-name > .ic { background: var(--surface-2); }
}
@media (max-width: 560px) { .demo-bar .demo-text:only-child { display: inline; } }
/* mobiel: de telefoon blijft zichtbaar, kleiner, onder de knoppen */
@media (max-width: 560px) {
  .hero-visual { display: grid; min-height: 0; margin-top: 22px; padding: 6px 0 4px; }
  .phone { width: 150px; height: 300px; padding: 7px; border-radius: 30px; }
  .phone-screen { border-radius: 24px; }
  .phone::before { top: 12px; width: 48px; height: 14px; margin-left: -24px; }
  .vf { width: 26px; height: 26px; border-width: 3px; }
  .shutter-hint { width: 34px; height: 34px; }
  .float { font-size: .72rem; padding: 7px 10px; border-radius: 12px; }
  .float b { font-size: 1rem; }
  .float.price { right: 4%; top: 12%; }
  .float.save { left: 4%; bottom: 20%; }
  .float.shops { right: 2%; bottom: 6%; }
  .float.fine, .float.drop-tip, .phone-cap { display: none; }
  .hero .trust { margin-top: 16px; }
}
@media (max-width: 560px) { .float.shops { right: 0; bottom: 34%; } .float.save { bottom: 10%; } }

/* =====================================================================================
   Mobiel startvlak: telefoon naast de titel, met hangende chips (voorbeeldprijzen) aan de telefoon
   ===================================================================================== */
@media (max-width: 560px) {
  .demo-bar .demo-text { display: none !important; }
  .hero { padding-bottom: 26px; }
  .hero .hero-copy { display: contents; }
  .hero .hero-grid { display: grid; gap: 0 12px; align-items: center; }
  .hero .eyebrow { grid-area: eye; justify-self: start; }
  .hero h1 { grid-area: h1; margin: 12px 0 10px; }
  .hero .lead { grid-area: lead; margin: 0 0 16px; font-size: 1rem; }
  .hero .hero-actions { grid-area: act; margin: 0; }
  .hero .hero-visual { grid-area: vis; margin: 0; padding: 0; }
  .hero .float.shops { display: none; }

  .hero[data-opzet="a"] .hero-grid { grid-template-columns: minmax(0, 1fr) 118px; grid-template-areas: "eye eye" "h1 vis" "lead lead" "act act"; }
  .hero[data-opzet="a"] h1 { font-size: 2.15rem; }
  .hero[data-opzet="a"] .phone { width: 112px; height: 224px; padding: 5px; border-radius: 24px; }
  .hero[data-opzet="a"] .phone-screen { border-radius: 19px; }
  .hero[data-opzet="a"] .phone::before { top: 9px; width: 36px; height: 10px; margin-left: -18px; }
  .hero[data-opzet="a"] .vf { width: 18px; height: 18px; border-width: 3px; }
  .hero[data-opzet="a"] .shutter-hint { width: 24px; height: 24px; }
  .hero[data-opzet="a"] .float { display: none; }


}

@media (max-width: 560px) {
  .demo-bar .demo-text { display: inline !important; }
  /* hangende chips aan de telefoon, binnen de rand van het scherm */
  .hero[data-opzet="a"] .hero-grid { grid-template-columns: minmax(0, 1fr) 124px; }
  .hero[data-opzet="a"] .hero-visual { overflow: visible; padding: 14px 0; }
  .hero[data-opzet="a"] .float.price, .hero[data-opzet="a"] .float.save { display: block; right: auto; font-size: .68rem; padding: 6px 9px; border-radius: 10px; white-space: nowrap; }
  .hero[data-opzet="a"] .float b { font-size: .95rem; }
  .hero[data-opzet="a"] .float.price { top: 0; left: auto; right: -8px; bottom: auto; }
  .hero[data-opzet="a"] .phone { margin-right: 10px; }
  .hero[data-opzet="a"] .float.save { bottom: 0; left: -58px; top: auto; }
}
@media (max-width: 560px) {
  /* chips kleiner en meer naast de telefoon dan eroverheen */
  .hero[data-opzet="a"] .hero-grid { grid-template-columns: minmax(0, 1fr) 132px; }
  .hero[data-opzet="a"] .hero-visual { padding: 22px 0; }
  .hero[data-opzet="a"] .phone { margin-right: 24px; }
  .hero[data-opzet="a"] .float.price, .hero[data-opzet="a"] .float.save { font-size: .58rem; padding: 4px 7px; border-radius: 8px; line-height: 1.15; }
  .hero[data-opzet="a"] .float b { font-size: .8rem; }
  .hero[data-opzet="a"] .float.price { top: 4px; right: -8px; }
  .hero[data-opzet="a"] .float.save { bottom: 4px; left: -40px; }
}
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------- gidsen, kortingscheck, prijsalarm */
.guide-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); margin-top: 20px; }
.guide-card { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.guide-card:hover { border-color: var(--text); }
.guide-card img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: #fff; }
.guide-card h2 { font-size: 1.05rem; margin: 0 0 4px; } .guide-card p { margin: 0; font-size: .88rem; }
.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.pick { display: grid; gap: 6px; justify-items: start; align-content: start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pick:hover { border-color: var(--text); }
.pick img { width: 100%; height: 130px; object-fit: contain; background: #fff; border-radius: 10px; }
.pick-price { font-weight: 800; font-size: 1.15rem; }
.top5 { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.top5 li { display: grid; grid-template-columns: 40px 72px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.rank { width: 40px; height: 40px; border-radius: 10px; background: var(--hl); color: var(--hl-ink); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.top5 img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 10px; }
.t5-body { display: grid; gap: 3px; min-width: 0; } .t5-body a { text-decoration: none; }
.t5-price { display: grid; gap: 6px; justify-items: end; } .t5-price b { font-size: 1.2rem; }
.kc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.kc-stats .card-box { display: grid; gap: 4px; align-content: start; } .kc-stats b { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.kc-list { display: grid; gap: 10px; margin-top: 14px; }
.kc-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) repeat(3, auto) auto; gap: 18px; align-items: center; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.kc-row:hover { border-color: var(--text); }
.kc-row img { width: 60px; height: 60px; object-fit: contain; background: #fff; border-radius: 8px; }
.kc-main { display: grid; gap: 2px; min-width: 0; } .kc-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kc-num { display: grid; justify-items: end; } .kc-num small { color: var(--muted); font-size: .72rem; }
.alarm { margin: 14px 0; padding: 14px 16px; border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: 10px; }
.alarm > b { display: flex; align-items: center; gap: 6px; }
.alarm-row { display: flex; gap: 8px; flex-wrap: wrap; }
.alarm input { height: 44px; border: 1.5px solid var(--line); border-radius: var(--r-btn); padding: 0 12px; background: var(--surface); color: var(--text); min-width: 0; }
.alarm input[type="email"] { flex: 1 1 180px; }
.alarm-price { display: flex; align-items: center; gap: 6px; font-weight: 650; } .alarm-price input { width: 92px; }
.alarm p { margin: 0; } .alarm.done { border-style: solid; border-color: var(--good); } .alarm.done .alarm-row { display: none; }
@media (max-width: 1180px) { .head-links a[href="/gidsen"] span, .head-links a[href="/kortingscheck"] span { display: none; } }
@media (max-width: 899px) {
  .top5 li { grid-template-columns: 34px 56px 1fr; } .t5-price { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: start; }
  .top5 img { width: 56px; height: 56px; } .rank { width: 34px; height: 34px; }
  .kc-stats { grid-template-columns: 1fr; }
  .kc-row { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; } .kc-row .kc-num:nth-of-type(2), .kc-row .kc-num:nth-of-type(4) { display: none; }
  .kc-row .stamp { grid-column: 1 / -1; justify-self: start; transform: none; }
  .kc-main b { white-space: normal; }
}
.head-links a[href="/voor-winkels"] { display: none; }

/* ---------------- account en dashboard */
.auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.auth { display: grid; gap: 12px; align-content: start; } .auth h2 { margin: 0; font-size: 1.25rem; }
.auth label { display: grid; gap: 5px; font-weight: 650; font-size: .92rem; }
.auth input[type="email"], .auth input[type="password"] { height: 46px; border: 1.5px solid var(--line); border-radius: var(--r-btn); padding: 0 12px; background: var(--surface); color: var(--text); font-weight: 400; }
.auth .check { grid-template-columns: 20px 1fr; align-items: start; font-weight: 400; color: var(--muted); }
.auth .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.form-error { background: var(--deal-soft); color: var(--deal); border-radius: var(--r-btn); padding: 10px 14px; font-weight: 650; }
.kc-row.mine { grid-template-columns: auto minmax(0, 1fr) auto auto auto; }
.kc-row.mine .kc-main a { text-decoration: none; }
.plain { padding-left: 18px; color: var(--muted); display: grid; gap: 6px; } .plain b { color: var(--text); }
.page-head form { display: flex; align-items: center; gap: 10px; }
@media (max-width: 899px) { .auth-grid { grid-template-columns: 1fr; } .kc-row.mine { grid-template-columns: auto minmax(0, 1fr) auto; } }

/* ---------------- hartjes en delen */
.card-img { position: relative; }
.heart { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--text);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); z-index: 2; }
.heart .ic { width: 20px; height: 20px; }
.heart[aria-pressed="true"], .heart-btn[aria-pressed="true"] { color: var(--good); }
.heart[aria-pressed="true"] svg, .heart-btn[aria-pressed="true"] svg { fill: currentColor; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.share .btn { min-height: 40px; padding: 6px 14px; font-size: .9rem; }
@media (max-width: 1280px) { .head-links a[href="/hartjes"] span, .head-links a[href="/winkels"] span { display: none; } }
@media (max-width: 1560px) { .head-links a span { display: none; } .head-links a[href="/mijn"] span, .head-links a[href="/account"] span { display: inline; } }

/* ---------------- bonnetjes en 'meer dan prijzen vergelijken' */
.bon-upload { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; margin: 16px 0; }
.bon-upload b { display: flex; align-items: center; gap: 8px; } .bon-upload p { margin: 4px 0 0; }
.bon { margin-top: 10px; padding: 0; }
.bon summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 18px; cursor: pointer; list-style: none; }
.bon summary::-webkit-details-marker { display: none; }
.bon-main { display: grid; gap: 2px; min-width: 0; } .bon-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.bon-tags .stamp { transform: none; } .bon-amount { font-size: 1.15rem; white-space: nowrap; }
.bon-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 4px 18px 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.bon-form label { display: grid; gap: 5px; font-weight: 650; font-size: .88rem; }
.bon-form input, .bon-form select { height: 44px; border: 1.5px solid var(--line); border-radius: var(--r-btn); padding: 0 10px; background: var(--surface); color: var(--text); font-weight: 400; min-width: 0; }
.bon-form label:first-child { grid-column: span 2; } .bon-actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.more { display: grid; gap: 6px; align-content: start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
a.more:hover { border-color: var(--text); }
.more > .ic { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--brand-soft); color: var(--accent-text); }
.more h3 { margin: 6px 0 0; font-size: 1.05rem; } .more p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 899px) {
  .bon-upload { grid-template-columns: 1fr; } .bon summary { grid-template-columns: minmax(0, 1fr) auto; } .bon-tags { grid-column: 1 / -1; justify-content: flex-start; order: 3; }
  .bon-form { grid-template-columns: 1fr 1fr; } .more-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .more { padding: 14px; }
}
@media (max-width: 560px) { .more-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 12px; } .more { scroll-snap-align: start; } }

.bon-mail { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; margin: 0 0 16px; }
.bon-mail b { display: flex; align-items: center; gap: 8px; } .bon-mail p { margin: 4px 0 0; }
.bon-mail code { background: var(--brand-soft); color: var(--text); padding: 8px 12px; border-radius: 8px; font-size: .92rem; white-space: nowrap; }
@media (max-width: 899px) { .bon-mail { grid-template-columns: 1fr; } .bon-mail code { white-space: normal; word-break: break-all; } }

/* =====================================================================================
   v10 · Variaties op Zonsondergang (kies met ?thema=…; A is de huidige huisstijl)
   B zwaailicht        Zonsondergang, maar met een zwaailichtbalk (blauw/rood) en twee gloeden in het startvlak
   C nachtdienst       politie bij nacht: nachtblauw, blauwe gloed links, rode gloed rechts
   D nachtdienst-live  als C, de gloeden wisselen langzaam af (uit bij 'minder beweging')
   E flitslicht        rustig nachtpaars met de witte gloed van een cameraflits rechtsboven
   ===================================================================================== */
:root { --bar: repeating-linear-gradient(90deg, #2f6bff 0 60px, #0b0b24 60px 64px, #ff2d55 64px 124px, #0b0b24 124px 128px); }
:root[data-theme="zwaailicht"] {
  --hero-bg: radial-gradient(circle at 4% 0%, rgba(47, 107, 255, .6) 0, rgba(47, 107, 255, 0) 36%),
             radial-gradient(circle at 97% 0%, rgba(255, 45, 85, .5) 0, rgba(255, 45, 85, 0) 34%), var(--grad-full);
}
:root[data-theme="nachtdienst"], :root[data-theme="nachtdienst-live"] {
  --brand: #12124a; --brand-2: #1b1f6b; --brand-soft: #e8ebff; --flash-soft: #e8ebff; --accent-text: #1f4fe0;
  --mark-bg: #12124a; --deep: #0b0b24; --deep-2: #1b1f6b; --stripe: #0b0b24;
  --good: #1f4fe0; --good-soft: #e6ecff; --deal: #d3123b; --deal-soft: #fde6ea; --tint-0: #e8ebff;
  --grad: linear-gradient(120deg, #0d1f6e 0%, #0b0b24 50%, #6e0d2a 100%);
  --grad-full: linear-gradient(120deg, #13308f 0%, #0b0b24 50%, #8f1336 100%);
  --hero-bg: radial-gradient(circle at 4% 0%, rgba(47, 107, 255, .75) 0, rgba(47, 107, 255, 0) 44%),
             radial-gradient(circle at 98% 0%, rgba(255, 45, 85, .65) 0, rgba(255, 45, 85, 0) 44%), #0b0b24;
}
:root[data-theme="flitslicht"] {
  --grad: linear-gradient(120deg, #1a0b3d 0%, #2c1066 100%);
  --grad-full: linear-gradient(120deg, #1a0b3d 0%, #2c1066 100%);
  --hero-bg: radial-gradient(circle at 90% 6%, rgba(255, 255, 255, .95) 0, rgba(255, 244, 190, .75) 5%, rgba(255, 210, 31, .28) 16%, rgba(255, 210, 31, 0) 36%),
             linear-gradient(120deg, #1a0b3d 0%, #2c1066 100%);
}
:root[data-theme="zwaailicht"] .stripes, :root[data-theme^="nachtdienst"] .stripes { background: var(--bar); height: 8px; }
:root[data-theme="zwaailicht"] .site-foot, :root[data-theme^="nachtdienst"] .site-foot { border-image: var(--bar) 8; border-top-width: 8px; }
:root[data-theme^="nachtdienst"] .badge.deal { background: var(--deal); color: #fff; }
:root[data-theme^="nachtdienst"] .float.fine { border-color: var(--deal); color: var(--deal); }
:root[data-theme^="nachtdienst"] .float.fine b { color: var(--deal); }
:root[data-theme^="nachtdienst"] .cat-tile[data-tint] .cat-name > .ic { background: var(--brand-soft); color: var(--accent-text); }
/* D: de gloeden wisselen langzaam, zoals een zwaailicht op afstand (ruim onder 1 keer per seconde) */
:root[data-theme="nachtdienst-live"] .hero { background: #0b0b24; }
:root[data-theme="nachtdienst-live"] .hero::before, :root[data-theme="nachtdienst-live"] .hero::after {
  content: ""; display: block; position: absolute; inset: 0; width: auto; height: auto; border-radius: 0; transform: none;
  pointer-events: none; z-index: 0; opacity: .6; }
:root[data-theme="nachtdienst-live"] .hero::before { background: radial-gradient(circle at 4% 0%, rgba(47, 107, 255, .85) 0, rgba(47, 107, 255, 0) 48%); animation: zwaai-a 2.6s ease-in-out infinite; }
:root[data-theme="nachtdienst-live"] .hero::after { background: radial-gradient(circle at 98% 0%, rgba(255, 45, 85, .8) 0, rgba(255, 45, 85, 0) 48%); animation: zwaai-b 2.6s ease-in-out infinite; }
:root[data-theme="nachtdienst-live"] .hero > * { position: relative; z-index: 1; }
@keyframes zwaai-a { 0%, 100% { opacity: .95; } 50% { opacity: .2; } }
@keyframes zwaai-b { 0%, 100% { opacity: .2; } 50% { opacity: .95; } }
@media (prefers-color-scheme: dark) {
  :root[data-theme="nachtdienst"], :root[data-theme="nachtdienst-live"] {
    --brand-soft: #1a1d44; --flash-soft: #1a1d44; --tint-0: #1a1d44; --accent-text: #8fb0ff;
    --good: #8fb0ff; --good-soft: #16204a; --deal: #ff7a93; --deal-soft: #3a1520; }
}

/* =====================================================================================
   v11 (18 nov): zoekbalk valt niet meer tegen de onderrand van de kop; keuzes streep en tegels (demobalk)
   ===================================================================================== */
@media (max-width: 899px) {
  /* de witte zoekbalk zat precies op de onderrand van de vaste kop en leek bij scrollen afgekapt */
  .site-head .head-row { padding-bottom: 12px; }
}

/* Streep (gekozen 18 nov: D): één dunne geel-paarse streep helemaal bovenaan, in de vaste kop, dus hij blijft staan
   bij scrollen. Geen streep meer onder de kop en boven de footer. */
:root { --stripes: repeating-linear-gradient(-45deg, var(--hl) 0 14px, var(--stripe, #1a0b3d) 14px 28px); }
.stripes { display: none; }
.site-foot, :root[data-theme] .site-foot { border-top: 0; border-image: none; }
.site-head::before { content: ""; display: block; height: 4px; background: var(--stripes); }
:root[data-theme="zwaailicht"] .site-head::before, :root[data-theme^="nachtdienst"] .site-head::before { background: var(--bar); }

/* Categorietegels (gekozen 18 nov: B): grote productfoto bovenaan, geen icoon. Een categorie zonder producten
   toont zijn icoon in het fotovlak. */
.cat-grid .cat-tile { display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 12px; min-height: 0; }
.cat-grid .cat-imgs { position: static; order: -1; width: auto; height: 150px; margin-bottom: 8px; padding: 10px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) - 6px); }
.cat-grid .cat-imgs img { position: static; display: block; flex: 1 1 0; min-width: 0; width: 100% !important; height: 100% !important;
  object-fit: contain; padding: 0; background: none; border: 0 !important; border-radius: 0; box-shadow: none !important; transform: none !important; }
.cat-grid .cat-imgs img:nth-child(n+2) { display: none !important; }
.cat-empty { display: grid; place-items: center; width: 100%; height: 100%; background: var(--flash-soft); border-radius: 8px; color: var(--accent-text); }
.cat-empty .ic { width: 40px; height: 40px; }
.cat-grid .cat-name > .ic { display: none; }
.cat-grid .cat-name { flex-direction: row; align-items: flex-start; padding: 0 6px; font-size: 1.05rem; }
.cat-grid .cat-name span { max-width: none; }
.cat-grid .cat-count { padding: 0 6px; margin-top: 0; align-self: flex-start; max-width: none; font-size: .82rem; }
/* Tab bar en menu op de telefoon (18 nov) */
@media (max-width: 899px) {
  /* het laatste menu-item viel achter de tabbalk: ruimte onderaan het menu */
  .mega-inner::after { content: ""; display: block; height: calc(96px + env(safe-area-inset-bottom)); }
  /* de sluitknop van het menu erfde de witte kleur van de kop en was onzichtbaar */
  .site-head .mega .icon-btn { color: var(--text); }
  .site-head .mega .icon-btn:hover { background: var(--surface-2); }
  .tabbar a, .tabbar button { touch-action: manipulation; }
  body.sheet-open { overflow: hidden; }
}
/* A-Z balk op /winkels: plakt direct onder de echte kop (hoogte meet app.js in --sticky-top). Eerst plakte hij op 58px,
   half achter de kop. Op de telefoon één veegbare rij in plaats van drie rijen letters. */
html { scroll-padding-top: calc(var(--sticky-top, 80px) + 16px); }
.az { top: var(--sticky-top, var(--head-h)); }
.az-group { scroll-margin-top: 64px; }
@media (max-width: 899px) {
  .az { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; gap: 6px;
    margin: 4px -16px 16px; padding: 8px 16px; border-bottom: 1px solid var(--line); }
  .az::-webkit-scrollbar { display: none; }
  .az a { flex: none; min-width: 40px; height: 40px; }
}
/* "Alle winkels A-Z" in het menu kreeg de stijl van een andere .plain-regel (icoon boven de tekst, grijs) */
.mega-top-link.plain { display: flex; align-items: center; gap: 12px; padding: 9px 12px; color: inherit; }
.search-sheet { position: fixed; inset: 0; z-index: 44; display: flex; flex-direction: column; background: var(--bg); }
.search-sheet[hidden] { display: none; }
.sheet-form { display: flex; align-items: center; gap: 12px; margin: 0; padding: calc(12px + env(safe-area-inset-top)) 16px 14px; background: var(--grad); }
.sheet-field { flex: 1; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 999px; background: #fff; color: #6b6880; }
.sheet-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: #15122e; font-size: 16px; }
.sheet-field input::placeholder { color: #6b6880; }
.sheet-cancel { border: 0; background: none; color: #fff; font-weight: 750; padding: 8px 0; cursor: pointer; }
.sheet-body { flex: 1; overflow-y: auto; padding: 16px 16px calc(110px + env(safe-area-inset-bottom)); }
.sheet-photo { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--text); text-align: left; cursor: pointer; }
.sheet-photo > .ic { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--hl); color: var(--hl-ink); flex: none; }
.sheet-photo span { display: grid; gap: 2px; } .sheet-photo small { color: var(--muted); }
.sheet-h { margin: 22px 0 10px; font-weight: 800; font-size: .95rem; }
.sheet-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-chips .chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); text-decoration: none; font-weight: 650; font-size: .9rem; }

@media (max-width: 560px) {
  .block .cat-grid { grid-auto-columns: 44%; }
  .cat-grid .cat-imgs { height: 112px; padding: 8px; }
  .cat-grid .cat-name { font-size: .98rem; }
}

/* =====================================================================================
   Beheer (/beheer): dashboard voor de eigenaar. Eén datakleur (magenta), alles daarbuiten in teksttinten.
   Grafiekkleur gecontroleerd: licht #b4236b op #fff, donker #e8579a op #19122b (lichtheid + contrast >= 3:1).
   ===================================================================================== */
:root { --chart: #b4236b; --chart-track: #f6e3ec; --up: #b4236b; --down: #a1121a; --warn-line: #f58a3a; --warn-tag: #ffecd9; --warn-ink: #8a3d00; }
@media (prefers-color-scheme: dark) {
  :root { --chart: #e8579a; --chart-track: #3a1830; --up: #ff7fb8; --down: #ff8a8a; --warn-tag: #3a2410; --warn-ink: #ffc48f; }
}
.adm { padding-top: 16px; }
.adm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px 16px; flex-wrap: wrap; }
.adm-head h1 { margin: 2px 0 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.adm-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.adm-who { overflow-wrap: anywhere; }
.adm-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 14px 0 20px; border-bottom: 1px solid var(--line); }
.adm-tabs a { flex: none; padding: 10px 12px; margin-bottom: -1px; text-decoration: none; color: var(--muted); font-weight: 700; border-bottom: 3px solid transparent; }
.adm-tabs a:hover { color: var(--text); }
.adm-tabs a[aria-current] { color: var(--text); border-bottom-color: var(--chart); }
.adm-bar-row { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.adm-bar-row p { margin: 0; }
.adm-periods, .adm-kinds { display: inline-flex; gap: 4px; padding: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: var(--surface-2); border-radius: 999px; }
.adm-periods::-webkit-scrollbar, .adm-kinds::-webkit-scrollbar { display: none; }
.adm-periods a, .adm-kinds a { flex: none; padding: 7px 12px; border-radius: 999px; text-decoration: none; white-space: nowrap; color: var(--muted); font-size: .86rem; font-weight: 700; }
.adm-periods a[aria-current], .adm-kinds a[aria-current] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(26, 11, 61, .14); }

/* aandachtspunten */
.adm-checks { display: grid; gap: 8px; margin-bottom: 18px; }
.adm-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: .92rem; }
.adm-checks .adm-check { margin: 0; }
.adm-check a { color: inherit; font-weight: 700; }
.adm-check-tag { flex: none; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.adm-check.lvl-let-op { border-color: var(--warn-line); }
.adm-check.lvl-let-op .adm-check-tag { background: var(--warn-tag); color: var(--warn-ink); }
.adm-check.lvl-goed .adm-check-tag { background: var(--good-soft); color: var(--good); }

/* kerncijfers */
.adm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.adm-tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 8px; }
.adm-tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.adm-tile { display: grid; gap: 4px; align-content: start; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; }
a.adm-tile:hover { border-color: var(--text); }
.adm-tile-label { color: var(--muted); font-size: .84rem; font-weight: 650; }
.adm-tile-value { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.adm-tile-note { font-size: .8rem; }
.adm-delta { font-size: .8rem; font-weight: 800; }
.adm-delta.up { color: var(--up); } .adm-delta.up::before { content: "▲ "; font-size: .7em; }
.adm-delta.down { color: var(--down); } .adm-delta.down::before { content: "▼ "; font-size: .7em; }
.adm-delta.flat { color: var(--muted); }
.adm-delta .muted { font-weight: 500; }

/* grafieken: één reeks per grafiek, staafjes max 24px, 4px rond aan de bovenkant, 2px tussenruimte */
.adm-section { margin-top: 36px; }
.adm-section > h2, .adm-h2-row h2 { margin: 0 0 12px; font-size: 1.25rem; }
.adm-h2-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.adm-h2-row a { font-weight: 700; font-size: .9rem; color: inherit; }
.adm-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 10px; }
.adm-chart { position: relative; margin: 0; padding: 16px 18px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.adm-chart figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; font-weight: 700; }
.adm-chart figcaption b { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.adm-plot { position: relative; height: 150px; margin-left: 36px; }
.adm-grid span { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--line); }
.adm-grid i { position: absolute; right: calc(100% + 8px); top: 0; transform: translateY(-50%); font-style: normal; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.adm-bars { position: absolute; inset: 0; display: flex; gap: 2px; }
.adm-col { flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end; justify-content: center; border-radius: 4px 4px 0 0; outline: none; cursor: default; }
.adm-col:hover, .adm-col:focus-visible, .adm-col.is-on { background: color-mix(in srgb, var(--chart) 9%, transparent); }
.adm-col:focus-visible { box-shadow: inset 0 0 0 2px var(--chart); }
.adm-bar { display: block; width: 100%; max-width: 24px; border-radius: 4px 4px 0 0; background: var(--chart); }
.adm-bar.on { min-height: 2px; }
.adm-x { display: flex; gap: 2px; margin: 6px 0 0 36px; }
.adm-x span { flex: 1 1 0; min-width: 0; overflow: visible; white-space: nowrap; color: var(--muted); font-size: .72rem; }
.adm-x span:last-child { display: flex; justify-content: flex-end; }
.adm-tip { position: absolute; z-index: 5; pointer-events: none; padding: 6px 10px; border-radius: 8px; background: var(--text); color: var(--surface); font-size: .8rem; font-weight: 650; white-space: nowrap; box-shadow: 0 6px 18px rgba(10, 4, 30, .25); }
.adm-table { margin-top: 10px; font-size: .85rem; }
.adm-table summary { cursor: pointer; color: var(--muted); font-size: .8rem; font-weight: 650; }
.adm-table table { width: 100%; margin-top: 6px; border-collapse: collapse; }
.adm-table th, .adm-table td { padding: 5px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.adm-table td:last-child, .adm-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* totalen, kaarten, ranglijsten */
.adm-totals { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.adm-totals > * { display: grid; gap: 2px; padding: 12px 14px; background: var(--surface-2); border-radius: 12px; color: inherit; text-decoration: none; }
.adm-totals > a:hover { box-shadow: inset 0 0 0 1px var(--text); }
.adm-totals b { font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.adm-totals span { color: var(--muted); font-size: .82rem; }
.adm-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.adm-cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adm-card { min-width: 0; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.adm-card h3 { margin: 0 0 12px; font-size: 1rem; }
.adm-card h3.adm-sub { margin-top: 20px; }
.adm-card > p { margin: 12px 0 0; }
.adm-rank { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.adm-rank li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; font-size: .9rem; }
.adm-rank-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-rank-name a { color: inherit; }
.adm-rank-val { font-weight: 750; font-variant-numeric: tabular-nums; }
.adm-meter { grid-column: 1 / -1; height: 4px; overflow: hidden; border-radius: 2px; background: var(--chart-track); }
.adm-meter i { display: block; height: 100%; border-radius: 2px; background: var(--chart); }
.adm-empty { margin: 0; }
.adm-empty-card h3 { margin: 0 0 6px; } .adm-empty-card p { margin: 0; }
.adm-warn { color: var(--down); font-weight: 650; font-size: .8rem; }
.adm-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--hl); color: var(--hl-ink); font-size: .7rem; font-weight: 800; vertical-align: middle; }

/* activiteit */
.adm-feed { margin: 0; padding: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.adm-feed li { display: grid; grid-template-columns: 112px 136px minmax(0, 1fr) minmax(0, 240px); gap: 12px; align-items: baseline; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .9rem; }
.adm-feed li:first-child { border-top: 0; }
.adm-when { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.adm-type { justify-self: start; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); font-size: .74rem; font-weight: 750; white-space: nowrap; }
.t-aanmelding .adm-type, .t-aankoop .adm-type { background: var(--hl); color: var(--hl-ink); }
.t-bon .adm-type, .t-alarm .adm-type { background: var(--brand-soft); }
.adm-what { min-width: 0; overflow-wrap: anywhere; }
.adm-what a, .adm-by a { color: inherit; }
.adm-by { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; font-size: .85rem; }

/* klanten */
.adm-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 10px; }
.adm-search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.adm-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; }
.adm-select { display: flex; align-items: center; gap: 8px; }
.adm-select select { min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
.adm-people { display: grid; gap: 8px; }
.adm-person { display: grid; grid-template-columns: minmax(0, 1fr) repeat(6, 66px); gap: 8px; align-items: center; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; }
a.adm-person:hover { border-color: var(--text); }
.adm-person > span:not(.adm-person-main) { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.adm-person.head { padding-top: 0; padding-bottom: 0; background: transparent; border: 0; color: var(--muted); font-size: .76rem; }
.adm-person.head > span { font-weight: 750 !important; }
.adm-person-main { display: grid; gap: 2px; min-width: 0; }
.adm-person-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-profile h2 { margin: 0 0 14px; font-size: 1.2rem; overflow-wrap: anywhere; }
.adm-profile dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin: 0; }
.adm-profile dt { color: var(--muted); font-size: .8rem; }
.adm-profile dd { margin: 2px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.adm-profile + .adm-tiles { margin-top: 12px; }
.adm-actions form { display: grid; justify-items: start; gap: 8px; margin: 0 0 16px; }
.adm-actions p { margin: 0; }
.adm-danger { padding-top: 16px; border-top: 1px solid var(--line); }
.adm-danger label { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; }
.adm-danger label input { margin-top: 3px; }
.adm-danger .btn { border-color: var(--down); color: var(--down); }

/* producten & feeds */
.adm-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.adm-tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.adm-tbl th { color: var(--muted); font-size: .76rem; font-weight: 750; text-align: left; }
.adm-tbl th, .adm-tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.adm-tbl td:nth-child(n+3), .adm-tbl th:nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; }
.adm-tbl tr:last-child td { border-bottom: 0; }
.adm-note-row td { white-space: normal; text-align: left !important; }
.adm-status { padding: 2px 8px; border-radius: 999px; background: var(--surface-2); font-size: .74rem; font-weight: 750; }
.adm-status.s-mislukt { background: var(--warn-tag); color: var(--warn-ink); }
.adm-status.s-bezig { background: var(--hl); color: var(--hl-ink); }
.adm-errors { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.adm-errors li { padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.adm-section h3 { margin: 18px 0 10px; font-size: 1rem; }
.adm-status-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.adm-status-list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: .9rem; }
.adm-status-list li:first-child { border-top: 0; }
.adm-status-list a { color: inherit; font-weight: 700; }
.adm-status-list .lvl-goed .adm-check-tag { background: var(--good-soft); color: var(--good); }

@media (max-width: 899px) {
  .adm-tabs { gap: 6px; margin: 12px 0 18px; padding-bottom: 14px; }
  .adm-tabs a { margin: 0; padding: 7px 12px; border: 0; border-radius: 999px; background: var(--surface-2); font-size: .88rem; }
  .adm-tabs a[aria-current] { background: var(--text); color: var(--surface); }
  .adm-tiles, .adm-tiles.four, .adm-tiles.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .adm-plot { height: 120px; }
  .adm-status-list li, .adm-check { font-size: .86rem; }
  .adm-tile { padding: 14px; }
  .adm-tile-value { font-size: 1.5rem; }
  .adm-charts, .adm-cols, .adm-cols.two { grid-template-columns: minmax(0, 1fr); }
  .adm-section { margin-top: 28px; }
  .adm-feed li { grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; padding: 10px 14px; }
  .adm-feed .adm-type { grid-column: 1; grid-row: 1; }
  .adm-feed .adm-when { grid-column: 2; grid-row: 1; justify-self: end; }
  .adm-feed .adm-what, .adm-feed .adm-by { grid-column: 1 / -1; text-align: left; }
  .adm-person.head { display: none; }
  .adm-person { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; padding: 12px 14px; }
  .adm-person-main { grid-column: 1 / -1; margin-bottom: 4px; }
  .adm-person > span[data-l] { text-align: left; font-size: .86rem; }
  .adm-person > span[data-l]::after { content: " " attr(data-l); color: var(--muted); font-weight: 500; }
  .adm-filter .btn { flex: 1 1 auto; }
}

/* =====================================================================================
   Account: inloggen en account maken in één kaart met twee tabbladen, Google-knop erboven
   ===================================================================================== */
.auth-page { max-width: 480px; }
.auth-page h1 { margin: 8px 0 6px; font-size: clamp(1.8rem, 6vw, 2.4rem); }
.auth-lead { margin: 0 0 18px; font-size: 1rem; }
.auth-box { display: grid; gap: 16px; padding: 20px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 999px; }
.auth-tabs a { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 999px; color: var(--muted);
  font-weight: 750; text-decoration: none; touch-action: manipulation; }
.auth-tabs a[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(26, 11, 61, .16); }
.auth-tabs a:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.btn.google-btn { width: 100%; gap: 10px; background: #fff; border: 1px solid #747775; color: #1f1f1f; font-weight: 650; box-shadow: none; }
.btn.google-btn:hover { background: #f6f6f8; }
@media (prefers-color-scheme: dark) { .btn.google-btn { background: #131314; border-color: #8e918f; color: #e3e3e3; } .btn.google-btn:hover { background: #1f1f21; } }
.auth-or { display: flex; align-items: center; gap: 12px; margin: -4px 0; color: var(--muted); font-size: .85rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.auth-box .auth { gap: 14px; }
.auth-box .auth[hidden] { display: none; }
.auth .btn.primary { width: 100%; }
.auth-switch { margin: 0; text-align: center; }
.auth-switch a { color: var(--text); font-weight: 700; }
.auth input[type="email"], .auth input[type="password"] { font-size: 16px; }
.form-error { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--warn-tag, #ffecd9); color: var(--warn-ink, #8a3d00); font-size: .92rem; font-weight: 600; }

/* klant herkennen tijdens het typen: "welkom terug" of "nog geen account" */
.auth-hint, .auth-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; padding: 10px 12px;
  border-radius: 12px; background: var(--surface-2); color: var(--text); font-size: .9rem; font-weight: 600; }
.auth-hint[hidden] { display: none; }
.auth-hint { margin-top: -6px; }
.auth-hint.ok, .auth-notice { background: var(--good-soft); }
.auth-hint.ok span::before { content: "✓ "; color: var(--good); font-weight: 800; }
.auth-hint span { flex: 1 1 180px; }
.auth-hint .btn { min-height: 38px; padding: 4px 14px; font-size: .88rem; }

/* ---------------- productpagina (19 nov): hartje/delen op de foto, koopknop + vergelijkknop, inklapbaar alarm en info.
   Gekozen: opzet A "Direct". De ronde witte knoppen gelden alleen binnen .pd-tools: een losse .icon-btn-regel
   overschreef .menu-btn { display: none } en zette een wit rondje met menuknop in de mobiele kopbalk. */
.pd-img { position: relative; }
.pd-tools { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 3; }
.pd-tools .icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .94); color: #1a1530;
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); padding: 0; }
.pd-tools .icon-btn .ic { width: 22px; height: 22px; }
.share-wrap { position: relative; }
.share-pop { position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 6px; display: grid; min-width: 180px; z-index: 6; }
.share-pop[hidden] { display: none; }
.share-pop a, .share-pop button { text-align: left; padding: 10px 12px; border-radius: 10px; background: none; border: 0; font: inherit; font-weight: 650;
  color: var(--text); cursor: pointer; text-decoration: none; }
.share-pop a:hover, .share-pop button:hover { background: var(--surface-2); }
.pd-lens { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; z-index: 3;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--line); font-weight: 700; font-size: .86rem; color: #1a1530; text-decoration: none; box-shadow: var(--shadow); }
.pd-buy { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 10px; margin-top: 18px; }
.pd-buy .btn { min-width: 0; }
.pd-buy .btn:only-child { grid-column: 1 / -1; }
.buy-btn { justify-content: space-between; gap: 12px; }
.buy-shop { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.buy-price { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 850; }
.buy-note { margin: 6px 2px 0; }
.alarm-d, .pd-more { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.alarm-d { border-style: dashed; border-width: 1.5px; }
.alarm-d > summary, .pd-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 12px 16px; min-height: 48px; }
.alarm-d > summary::-webkit-details-marker, .pd-more > summary::-webkit-details-marker { display: none; }
.alarm-d > summary .muted { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.chev-d { margin-left: auto; flex: none; transition: transform .2s; }
.alarm-d[open] .chev-d, .pd-more[open] .chev-d { transform: rotate(180deg); }
.alarm-d .alarm { margin: 0; border: 0; padding: 0 16px 14px; background: none; }
.pd-more > :not(summary) { margin: 0 16px 14px; }
.pd-desc { margin: 0 0 12px; line-height: 1.6; }
.pd-specs { display: grid; margin: 0; }
.pd-specs > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.pd-specs > div:first-child { border-top: 0; }
.pd-specs dt { color: var(--muted); font-weight: 600; }
.pd-specs dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
body[data-foto="studio"] .card-img img, body[data-foto="studio"] .pd-img img { border-radius: 12px; }
@media (max-width: 899px) {
  .pd-buy { grid-template-columns: 1fr; }
  .pd-img { max-height: none; }
  .pd-info h1 { font-size: 1.55rem; }
  .pd-price { margin-top: 12px; }
  .pd-price b { font-size: 2.4rem; }
}

/* Homepage met echte producten (19 nov): de feestbril naast "Op heterdaad", en de prijs van de duurste winkel
   rustig grijs doorgestreept (het is geen korting van de winkel zelf). */
.heist-head { position: relative; flex-wrap: nowrap; align-items: center; }
.heist-deco { width: 96px; height: 96px; object-fit: contain; flex: none; transform: rotate(-8deg);
  filter: drop-shadow(0 10px 12px rgba(20, 10, 40, .18)); }
@media (max-width: 899px) { .heist-deco { width: 72px; height: 72px; margin: -10px -4px -10px 0; } }
.heist-head + .rail .drop-pill { color: var(--muted); font-weight: 600; white-space: nowrap; text-decoration: line-through; text-decoration-thickness: 1px; }

/* Kopbalk op de computer (19 nov). De kopbalk is nooit breder dan .wrap (1240px); boven 1560px schermbreedte
   kregen de snelle links toch hun tekst en kromp de zoekbalk tot een streepje, en rond 900-1000px ook.
   Nu: alleen Inloggen/Mijn met tekst (de rest icoon + tooltip), zoekbalk minstens 280px, en op smallere
   schermen eerst de knop Categorieën weg (het menu zit ook achter de ronde knop links) en dan het woord "Foto". */
@media (min-width: 900px) {
  .site-head .head-links a span { display: none; }
  .site-head .head-links a[href="/mijn"] span, .site-head .head-links a[href="/account"] span { display: inline; }
  .site-head .search { min-width: 280px; }
}
@media (min-width: 900px) and (max-width: 1180px) { .site-head .cat-btn { display: none; } }
@media (min-width: 900px) and (max-width: 1040px) { .site-head .lens-btn span { display: none; } .site-head .lens-btn { padding: 0 12px; } }

/* Lege zoekpagina: grote zoekbalk met ideeën in plaats van een kale melding (19 nov) */
.search-start { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 40px 20px 44px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.search-start h2 { margin: 0; font-size: 1.6rem; }
.search-start h3 { margin: 14px 0 0; font-size: 1rem; color: var(--muted); }
.search-start .search.big { width: min(640px, 100%); height: 58px; flex: none; order: 0; }  /* order: the phone rule for the header search would move it to the bottom */
.search-start .chips { justify-content: center; max-width: 760px; }
@media (max-width: 560px) { .search-start { padding: 26px 14px 30px; } .search-start h2 { font-size: 1.3rem; } }

/* /beheer/aanmeldingen: text columns, all left aligned */
.adm-tbl-left td, .adm-tbl-left th { text-align: left !important; }
.adm-tbl-left td:nth-child(3) { white-space: normal; min-width: 220px; }

/* 19 nov: logo = de Flitsbril (web/logo-bril.svg) in plaats van de gele tegel. Breed i.p.v. vierkant, geen tegelachtergrond. */
.logo-mark, .site-head .logo-mark, .logo:hover .logo-mark { width: auto; height: auto; background: none; border-radius: 0; box-shadow: none; }
.logo-mark svg { width: 66px; height: auto; display: block; }
.logo:hover .logo-mark { transform: rotate(-3deg) scale(1.04); }
@media (max-width: 899px) { .logo-mark { width: auto; height: auto; } .logo-mark svg { width: 56px; height: auto; } }
