/* =====================================================================
   BELREUS.NL - basisstijl en herbruikbare componenten
   Wit als basis · diepblauwe tekst · elektrisch blauwe accenten
   Oranje/rode CTA's voor deals. Paginaspecifiek: homepage.css,
   product-detail.css. Breakpoints: responsive.css (altijd als laatste).
   ===================================================================== */

:root {
    /* Merkkleuren */
    --navy: #0a1f44;          /* diepblauw: tekst en koppen */
    --navy-2: #12306e;
    --blue: #1e6bff;          /* elektrisch blauw: primaire accenten */
    --electric: #00a3ff;      /* helder elektrisch blauw */
    --deal: #ff4d1f;          /* oranje/rood: deal-CTA's */
    --deal-2: #ff7a1a;
    --deal-hover: #e63b0f;

    /* Neutralen */
    --ink: #0d1b33;
    --muted: #5b6b85;
    --line: #e2e8f3;
    --tint: #f4f7fd;
    --tint-blue: #eaf2ff;
    --white: #ffffff;

    /* Status */
    --ok: #0e9f52;
    --warn: #d97a00;

    /* Vorm */
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(10, 31, 68, .06), 0 8px 24px rgba(10, 31, 68, .06);
    --shadow-hover: 0 2px 4px rgba(10, 31, 68, .08), 0 16px 40px rgba(10, 31, 68, .12);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container: 1240px;
    --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); font-size: .92rem; }
.mt { margin-top: 2.4rem; }
.text-ok { color: var(--ok); }
.text-warn { color: var(--warn); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 2px; }

/* ---------- Demo ---------- */
.demo-notice { background: #fff6eb; color: #7a3d00; font-size: .88rem; padding: 8px 0; border-bottom: 1px solid #ffdcb0; text-align: center; }
.demo-badge { display: inline-block; vertical-align: middle; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: #fff6eb; color: #9a4a00; border: 1px solid #ffc98a; padding: 1px 6px; border-radius: 4px; }

/* ---------- Logo: grote blauwe R, geen decoratieve ronding ---------- */
.logo { display: inline-flex; align-items: baseline; font-weight: 900; font-size: 1.55rem; letter-spacing: .01em; color: var(--navy); line-height: 1; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo-r { display: inline-block; font-size: 1.6em; color: var(--blue); margin: 0 .01em; line-height: .75; transform: translateY(.06em); }
.logo-tld { color: var(--electric); font-size: .78em; margin-left: .05em; }
.logo-img { display: block; height: 56px; width: auto; }
.admin-header .logo-img { height: 40px; }
.login-box .logo-img { height: 64px; }

/* ---------- Header & navigatie ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(180%) blur(8px); }
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.header-search { position: relative; flex: 1; max-width: 560px; margin-left: auto; display: flex; }
.header-search input { flex: 1; min-width: 0; height: 46px; border: 2px solid var(--line); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); padding: 0 16px; font: inherit; color: var(--ink); background: var(--tint); transition: border-color .15s, background .15s; }
.header-search input:focus { outline: none; border-color: var(--blue); background: #fff; }
.header-search button { width: 54px; border: 0; background: var(--blue); color: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; cursor: pointer; display: grid; place-items: center; }
.header-search button:hover { background: var(--navy-2); }
.autocomplete { position: absolute; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-hover); z-index: 60; }
.autocomplete li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 6px; color: var(--ink); }
.autocomplete li a:hover, .autocomplete li a.is-active { background: var(--tint); text-decoration: none; }
.autocomplete .ac-meta { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.header-icon { position: relative; display: grid; place-items: center; width: 46px; height: 46px; color: var(--navy); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.header-icon:hover { border-color: var(--blue); color: var(--blue); }
.fav-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--deal); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); cursor: pointer; position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); content: ""; transition: transform .2s; }
.nav-toggle .bars { top: 22px; }
.nav-toggle .bars::before { top: -7px; left: 0; right: 0; }
.nav-toggle .bars::after { top: 7px; left: 0; right: 0; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

.main-nav { background: #fff; border-top: 1px solid var(--line); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.main-nav a { display: block; padding: 13px 14px; color: var(--navy); font-weight: 650; font-size: .95rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.main-nav a:hover { color: var(--blue); text-decoration: none; }
.main-nav a.active { color: var(--blue); border-bottom-color: var(--blue); }
.main-nav .nav-cta a { color: var(--navy); }
.tag-hot { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 4px; background: var(--deal); color: #fff; font-size: .68rem; font-weight: 800; vertical-align: 2px; }
.nav-inner { display: flex; align-items: center; gap: 16px; }
.nav-inner > ul:first-child { flex: 1; min-width: 0; }
.main-nav a { padding: 12px 9px; font-size: .88rem; }
.nav-trust { display: flex; gap: 14px; flex: none; overflow: visible !important; }
.nav-trust li { display: flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.nav-trust .icon { color: var(--ok); }

/* Echte productfoto's: altijd volledig zichtbaar binnen de container (geen vervorming of afsnijding) */
img.product-photo { object-fit: contain; object-position: center; max-width: 100%; border-radius: 6px; mix-blend-mode: multiply; }   /* witte fotoachtergrond valt weg tegen lichte vlakken */
/* Vrijstaande render (transparante png/webp/svg): geen blend met de achtergrond nodig, wel een eigen slagschaduw voor diepte */
img.product-photo[data-format="cutout"] { mix-blend-mode: normal; border-radius: 0; filter: drop-shadow(0 8px 14px rgba(10, 31, 68, .16)); }
/* Vast beeldvlak per container: foto's met verschillende verhoudingen krijgen dezelfde maximale omvang (geen vervorming/afsnijding) */
.card-media img.product-photo { width: 100%; height: 200px; max-height: none; }
.deal-card .card-media img.product-photo { width: 100%; height: 100%; }
.mini-media { display: grid; place-items: center; width: 40px; height: 48px; }
.mini-media img.product-photo { width: 40px; height: 48px; }
.glance img.product-photo { width: 64px; height: 76px; }
.acc-grid img.product-photo { width: 100%; height: 100%; object-fit: contain; }
.thumb img.product-photo { width: 48px; height: 56px; }
.cmp-media img.product-photo { width: 100%; height: 140px; max-height: none; }

/* Schakelaars (5G / eSIM / Dual SIM) */
.toggles { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; min-width: 0; }
.filters .toggles { flex-direction: row; justify-content: flex-start; text-align: left; }
.toggles legend { float: left; margin-right: 6px; font-size: .85rem; font-weight: 700; color: var(--navy); }
.toggle { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: .88rem; color: var(--navy); font-weight: 600; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle span::before { content: ""; display: inline-block; vertical-align: -5px; width: 34px; height: 20px; margin-right: 8px; border-radius: 10px; background: #c9d3e3 radial-gradient(circle at 10px 10px, #fff 7px, transparent 7.5px); transition: background-color .15s; }
.toggle input:checked + span::before { background: var(--blue) radial-gradient(circle at 24px 10px, #fff 7px, transparent 7.5px); }
.toggle input:focus-visible + span::before { outline: 3px solid var(--electric); outline-offset: 2px; }

/* Header: zoekbalk, snelkoppelingen en CTA (MASTER-HOMEPAGE) */
.search-icon { display: none; }
.header-actions { display: flex; gap: 4px; }
.header-action { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 8px; color: var(--navy); font-size: .74rem; font-weight: 600; }
.header-action:hover { color: var(--blue); text-decoration: none; }
.header-action .fav-count, .header-action .cmp-count { position: absolute; top: -4px; right: 6px; }
.cmp-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--deal); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.header-cta { white-space: nowrap; }
.fav-count[hidden], .cmp-count[hidden] { display: none; }
@media (max-width: 1480px) { .main-nav .nav-trust { display: none; } }
@media (max-width: 1100px) { .header-action span:not(.fav-count):not(.cmp-count) { display: none; } }
@media (max-width: 900px) { .site-header .header-cta { display: none; } .header-actions { margin-left: auto; } }
@media (max-width: 640px) { .header-action { padding: 4px 5px; } }

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--radius-sm); border: 2px solid transparent; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .15s, transform .15s, box-shadow .15s, border-color .15s; line-height: 1.2; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-deal { background: linear-gradient(135deg, var(--deal), var(--deal-2)); color: #fff; box-shadow: 0 4px 14px rgba(255, 77, 31, .28); }
.btn-deal:hover { background: linear-gradient(135deg, var(--deal-hover), var(--deal)); box-shadow: 0 6px 18px rgba(255, 77, 31, .38); }
.btn-deal.is-disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-danger { background: #fff; color: #c62828; border-color: #f3c0c0; }
.btn-danger:hover { background: #fdecec; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .9rem; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1.05rem; }

.btn-compare { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--navy); font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; padding: 8px 4px; white-space: nowrap; }
.btn-compare .cmp-box { width: 18px; height: 18px; border: 2px solid var(--blue); border-radius: 4px; display: inline-grid; place-items: center; }
.btn-compare[aria-pressed="true"] .cmp-box { background: var(--blue); }
.btn-compare[aria-pressed="true"] .cmp-box::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.btn-fav { pointer-events: auto; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s; }
.btn-fav:hover { color: var(--deal); border-color: var(--deal); }
.btn-fav[aria-pressed="true"] { color: var(--deal); border-color: var(--deal); }
.btn-fav[aria-pressed="true"] path { fill: currentColor; }

/* ---------- Kop van subpagina's ---------- */
.page-head { background: linear-gradient(180deg, var(--tint-blue) 0%, #fff 100%); border-bottom: 1px solid var(--line); padding: 40px 0 32px; }
.page-head .lead { color: var(--muted); max-width: 760px; margin-bottom: 0; font-size: 1.08rem; }
.page-head-deal { background: linear-gradient(180deg, #fff1eb 0%, #fff 100%); }
.page-head-deal h1 { color: var(--navy); }
.breadcrumb { padding-top: 18px; font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--blue); margin-bottom: .6em; }

.tabs { display: flex; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.tabs a { padding: 9px 18px; border-radius: var(--radius-sm); color: var(--navy); font-weight: 700; background: #fff; border: 1px solid var(--line); }
.tabs a:hover { text-decoration: none; border-color: var(--blue); }
.tabs a.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.tabs-light { margin: 0 0 20px; }

/* ---------- Secties & grids ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 32px 0 56px; }
.section-tint { background: var(--tint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.link-more { font-weight: 700; white-space: nowrap; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Kaarten ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: #cdd8ec; }
.card-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 2; pointer-events: none; }
.card-top-right { display: flex; gap: 6px; align-items: center; }
.card-media { display: grid; place-items: center; height: 250px; padding: 44px 16px 8px; background: linear-gradient(180deg, var(--tint), #fff); border-radius: var(--radius) var(--radius) 0 0; }
.card-media img, .card-media svg { max-height: 200px; width: auto; object-fit: contain; }
.card-body { padding: 16px 18px 6px; flex: 1; display: flex; flex-direction: column; }
.card-brand { margin: 0; color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.card-brand a { color: inherit; }
.card-title { margin: 2px 0 6px; font-size: 1.12rem; }
.card-title a { color: var(--navy); }
.card-specs { color: var(--muted); font-size: .88rem; margin-bottom: 10px; }
.card-price { margin-top: auto; }
.price { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.price-from, .price-per { color: var(--muted); font-size: .88rem; }
.price-sub { margin: 4px 0 0; color: var(--muted); font-size: .84rem; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 18px 18px; }
.card-actions .btn { flex: 1; }

.sim-card { padding: 56px 20px 0; }
.sim-card .card-actions { padding: 12px 0 20px; }
.sim-specs { list-style: none; margin: 10px 0 14px; padding: 0; display: grid; gap: 6px; }
.sim-specs li { padding-left: 18px; position: relative; font-size: .95rem; }
.sim-specs li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--electric); }

/* Artikelkaart (nieuwsoverzicht): redactioneel beeld bovenaan, tekst binnen de kaartmarge. */
.article-card { padding: 0 0 20px; overflow: hidden; }
.article-card > *:not(.article-thumb) { margin-left: 20px; margin-right: 20px; }
.article-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 14px;
    background: linear-gradient(135deg, var(--navy), var(--blue) 70%, var(--electric)); }
.article-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-card h3 a { color: var(--navy); }


.tag { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 4px 9px; border-radius: 4px; background: var(--tint); color: var(--navy); margin: 0 0 8px; }
.card-top .tag { margin: 0; }
.tag-deal { background: var(--deal); color: #fff; }
.tag-nieuws { background: var(--tint-blue); color: var(--blue); }
.tag-koopadvies { background: #e5f7ee; color: #0b7a3b; }
.tag-review { background: #f1ebff; color: #5a35c7; }

/* ---------- DealScore ---------- */
.score { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; padding: 5px 8px 4px; border-radius: var(--radius-sm); color: #fff; line-height: 1; box-shadow: 0 2px 8px rgba(10, 31, 68, .18); }
.score-num { font-size: 1.25rem; font-weight: 900; }
.score-lbl { font-size: .56rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; opacity: .92; }
.score-lg { min-width: 84px; padding: 10px 12px; }
.score-lg .score-num { font-size: 2rem; }
.score-top { background: linear-gradient(135deg, #0c9f4f, #12c16a); }
.score-good { background: linear-gradient(135deg, var(--blue), var(--electric)); }
.score-ok { background: linear-gradient(135deg, #d88f00, #f2b200); }
.score-low { background: linear-gradient(135deg, #7d8aa1, #a3afc2); }
.score-legend { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 20px; }
.score-legend-lg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.score-legend-lg > div { display: flex; gap: 14px; align-items: center; background: var(--tint); padding: 14px; border-radius: var(--radius-sm); }
.score-legend-lg p { margin: 0; font-size: .94rem; }
.score-parts { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.score-parts li { display: grid; grid-template-columns: 140px 1fr 50px; gap: 10px; align-items: center; font-size: .9rem; }
.bar { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--electric)); transition: width .6s ease; }
.pts { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Formulieren & filters ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; color: var(--ink); height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; width: 100%; }
.field input[type="color"] { padding: 4px; }
.field input[type="file"] { padding: 10px 12px; height: auto; }
.field textarea { height: auto; min-height: 110px; padding: 10px 12px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.6 1.9 6 6.3l4.4-4.4' fill='none' stroke='%230a1f44' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: right 13px center; background-size: 12px 8px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 107, 255, .15); }
.field-submit { flex-direction: row; align-items: center; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin-bottom: 8px; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.link-reset { font-size: .9rem; font-weight: 600; }
.form-stack { display: grid; gap: 14px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.filters { display: grid; gap: 14px; }
.filters-compact { grid-template-columns: repeat(2, 1fr); }
.filters-compact .field-submit { grid-column: 1 / -1; }
.filters-compact .field-submit .btn { width: 100%; }
.filters-row { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: end; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 24px; }

.layout-sidebar { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.sidebar { position: sticky; top: 140px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.sidebar-title { font-size: 1.1rem; }
.sidebar .field-submit { flex-direction: column; align-items: stretch; }
.result-count { color: var(--muted); margin-bottom: 18px; }
.empty { text-align: center; padding: 48px 20px; background: var(--tint); border-radius: var(--radius); }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 700; }
.pagination a.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- Panelen, tabellen ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.panel-accent { border-top: 4px solid var(--deal); }
.stat-row { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat-row li { background: var(--tint); padding: 10px; border-radius: var(--radius-sm); display: flex; flex-direction: column; }
.stat-row span { font-size: .78rem; color: var(--muted); }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel.table-wrap { padding: 0; }
.data-table, .compare-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td, .compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table thead th { background: var(--tint); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); white-space: nowrap; }
.data-table th[data-sort] { cursor: pointer; user-select: none; }
.data-table th[data-sort]::after { content: " \2195"; color: var(--muted); }
.data-table th[aria-sort="ascending"]::after { content: " \2191"; color: var(--blue); }
.data-table th[aria-sort="descending"]::after { content: " \2193"; color: var(--blue); }
.data-table tbody tr:hover { background: #fafcff; }
.data-table.simple { border: 1px solid var(--line); margin-bottom: 24px; }
.table-tools { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.table-tools .field { min-width: 180px; }
.table-empty { padding: 18px; text-align: center; }
.sparkline { display: inline-block; }

/* ---------- Abonnementenlijst ---------- */
.offer-list { display: grid; gap: 12px; }
.offer-row { display: grid; grid-template-columns: 70px 1fr auto auto auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); }
.offer-row:hover { border-color: #cdd8ec; box-shadow: var(--shadow-hover); }
.offer-media { display: grid; place-items: center; height: 80px; }
.offer-media svg, .offer-media img { max-height: 76px; width: auto; }
.offer-main h3 { margin: 0 0 4px; }
.offer-main h3 a { color: var(--navy); }
.offer-main p, .offer-cost p { margin: 0; }
.offer-cost { text-align: right; }

/* ---------- Vergelijkbalk ---------- */
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 3px solid var(--blue); box-shadow: 0 -8px 30px rgba(10, 31, 68, .14); padding: 12px 0; }
.compare-inner { display: flex; align-items: center; gap: 16px; }
.compare-items { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.compare-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--tint-blue); color: var(--navy); padding: 6px 10px; border-radius: 6px; font-size: .88rem; font-weight: 600; }
.compare-chip button { background: none; border: 0; color: var(--navy); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0 2px; }
.compare-actions { display: flex; gap: 10px; }
body.has-compare .site-footer { padding-bottom: 76px; }

/* ---------- Meldingen & artikel ---------- */
.alert { margin: 18px 0; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; }
.alert-success { background: #e8f7ef; color: #0b6b35; border: 1px solid #b9e6cb; }
.alert-error { background: #fdecec; color: #a11b1b; border: 1px solid #f5c2c2; }
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.article-list { padding-left: 1.2em; }
.article-list li { margin-bottom: 8px; }

/* ---------- Grafiek ---------- */
.chart { width: 100%; height: 240px; position: relative; }
.chart-mini { height: 140px; margin-bottom: 14px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .c-line { fill: none; stroke: var(--blue); stroke-width: 2.5; }
.chart .c-area { fill: rgba(30, 107, 255, .1); }
.chart .c-grid { stroke: var(--line); stroke-width: 1; }
.chart .c-label { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart .c-dot { fill: var(--deal); }
.chart .c-tip { fill: var(--navy); font-size: 12px; font-weight: 700; font-family: var(--font); }
.chart .c-hover { stroke: var(--electric); stroke-width: 1; stroke-dasharray: 3 3; }
.chart-empty { color: var(--muted); padding: 40px 0; text-align: center; }

/* ---------- Footer (licht) ---------- */
.site-footer { background: var(--tint); color: var(--muted); border-top: 4px solid var(--blue); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 52px 20px 36px; }
.footer-brand p { margin-top: 16px; max-width: 340px; }
.site-footer h4 { color: var(--navy); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--navy); }
.site-footer a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Beheer ---------- */
.admin-body { background: var(--tint); }
.admin-header { background: #fff; border-bottom: 1px solid var(--line); }
.admin-header .container { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.admin-header nav { display: flex; gap: 4px; flex-wrap: wrap; }
.admin-header nav a { color: var(--navy); padding: 8px 12px; border-radius: 6px; font-weight: 600; font-size: .92rem; }
.admin-header nav a.active, .admin-header nav a:hover { background: var(--tint-blue); color: var(--blue); text-decoration: none; }
.admin-header .logo { font-size: 1.2rem; }
.admin-header form { margin-left: auto; }
.admin-main { padding: 32px 0 64px; }
.admin-main .panel { margin-bottom: 24px; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-toolbar h1 { margin: 0; font-size: 1.6rem; }
.admin-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.admin-form .full { grid-column: 1 / -1; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat-card strong { display: block; font-size: 2rem; color: var(--navy); }
.inline-form { display: inline; }
.login-box { max-width: 440px; margin: 64px auto; }
.login-box .logo { margin-bottom: 20px; }
.thumb { width: 48px; height: 60px; display: grid; place-items: center; }
.thumb svg, .thumb img { max-height: 56px; width: auto; }
.actions-cell { white-space: nowrap; display: flex; gap: 6px; flex-wrap: wrap; }
.nw-admin-preview { display: block; width: 320px; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.nw-admin-thumb { display: block; width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
