/* ============================================================
   Dealvolger — design system (mobile-first, premium & vertrouwd)
   Palet: verfijnd teal/emerald-groen + warme neutrale tinten.
   ============================================================ */

/* ===== Design tokens ===== */
:root {
  /* Neutralen (warm-koel off-white, licht groen-getint) */
  --bg: #f5f7f6;
  --surface: #ffffff;
  --surface-2: #f7faf9;
  --border: #e7ecea;
  --border-strong: #d6ddda;
  --text: #11211d;
  --text-muted: #5a6b65;
  --text-subtle: #93a39d;

  /* Merk: teal/emerald */
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-darker: #115e59;
  --primary-light: #f0fdfa;
  --primary-100: #ccfbf1;
  --primary-200: #99f6e4;
  --accent: #10b981;

  /* Deal/korting: warme contrastkleur (rose) — springt eruit tegen groen */
  --deal: #e11d48;
  --deal-bg: #fff1f3;

  /* Conditie-kleuren */
  --cond-new: #0f766e;       --cond-new-bg: #ecfdf5;
  --cond-light: #b45309;     --cond-light-bg: #fffbeb;
  --cond-visible: #475569;   --cond-visible-bg: #f1f5f9;

  --success: #0f766e;
  --success-bg: #ecfdf5;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-xs: 0 1px 2px rgba(17,33,29,.05);
  --shadow-sm: 0 1px 3px rgba(17,33,29,.07), 0 1px 2px rgba(17,33,29,.04);
  --shadow-md: 0 4px 12px -2px rgba(17,33,29,.10), 0 2px 6px -2px rgba(17,33,29,.06);
  --shadow-lg: 0 16px 40px -12px rgba(17,33,29,.20);
  --maxw: 1280px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.55;
  font-size: 15px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
}
main.page { flex: 1; width: 100%; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.018em; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* ===== Layout ===== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; width: 100%; }
.page { padding: 24px 0 64px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ===== Header (licht, premium, sticky) ===== */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .bar { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; letter-spacing: -.03em; color: var(--text); flex-shrink: 0; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(140deg, var(--primary) 0%, var(--accent) 100%);
  display: grid; place-items: center; box-shadow: 0 4px 10px -2px rgba(13,148,136,.45);
}
.brand .logo svg { width: 19px; height: 19px; }
.brand b { color: var(--primary); font-weight: 800; }

/* Desktop nav */
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { padding: 9px 13px; border-radius: var(--radius-sm); color: var(--text-muted); font-weight: 600; font-size: .92rem; transition: .15s; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { color: var(--primary); }
.nav a.btn-primary { color: #fff; }
.nav a.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.nav .btn { margin-left: 6px; }

/* Mobiele hamburger (CSS-only via checkbox) */
.nav-toggle, .nav-toggle-label { display: none; }
.nav-toggle-label { cursor: pointer; padding: 8px; margin-left: auto; border-radius: var(--radius-sm); }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
  display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: .2s;
}
.nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; position: absolute; }
.nav-toggle-label span::before { top: -7px; }
.nav-toggle-label span::after { top: 7px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 17px; border-radius: var(--radius-sm); font-weight: 650; font-size: .92rem;
  cursor: pointer; border: 1px solid transparent; transition: .15s; white-space: nowrap;
  font-family: inherit; line-height: 1.2; min-height: 42px;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(13,148,136,.25); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: var(--surface); color: var(--text-muted); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); border-color: var(--text-subtle); }
.btn-danger { background: var(--deal); color: #fff; }
.btn-danger:hover { filter: brightness(.94); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; min-height: 50px; }
.btn-sm { padding: 7px 12px; font-size: .84rem; min-height: 36px; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 55%, var(--accent) 130%);
  color: #fff; padding: 48px 44px; margin-bottom: 26px;
}
.hero::after { content: ""; position: absolute; right: -80px; top: -90px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); border-radius: 50%; }
.hero::before { content: ""; position: absolute; left: -60px; bottom: -120px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%); border-radius: 50%; }
.hero-inner { position: relative; z-index: 1; max-width: 680px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 700; letter-spacing: .02em; background: rgba(255,255,255,.16); padding: 6px 13px; border-radius: 999px; margin-bottom: 16px; }
.hero .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #6ee7b7; box-shadow: 0 0 0 4px rgba(110,231,183,.3); }
.hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 800; margin-bottom: 14px; }
.hero p { font-size: 1.06rem; opacity: .94; max-width: 580px; margin-bottom: 24px; }
.hero .btn-primary { background: #fff; color: var(--primary-darker); box-shadow: 0 8px 20px -6px rgba(0,0,0,.3); }
.hero .btn-primary:hover { background: #ecfdf5; }
.hero-stats { display: flex; gap: 32px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats .stat b { font-size: 1.7rem; font-weight: 800; display: block; letter-spacing: -.02em; }
.hero-stats .stat span { font-size: .86rem; opacity: .82; }

/* ===== Trust steps (homepage) ===== */
.trust-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.trust-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-xs); }
.trust-step .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; margin-bottom: 13px; }
.trust-step .ico svg { width: 22px; height: 22px; }
.trust-step .n { font-size: .75rem; font-weight: 800; color: var(--primary); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.trust-step h4 { font-size: 1.04rem; margin-bottom: 6px; }
.trust-step p { color: var(--text-muted); font-size: .92rem; }

/* ===== Shop layout: sidebar + grid ===== */
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 26px; align-items: start; }

/* ===== Filters ===== */
.filters-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.filters-panel .fp-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.filters-panel .fp-head h3 { font-size: 1rem; font-weight: 750; }
.filters-panel .fp-head a { font-size: .82rem; color: var(--primary); font-weight: 600; }
.filters-body { padding: 6px 18px 18px; }
.filter-group { padding: 16px 0; border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: none; }
.filter-group > .lbl { display: block; font-weight: 700; font-size: .82rem; margin-bottom: 11px; color: var(--text); }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .92rem; cursor: pointer; color: var(--text-muted); transition: color .12s; min-height: 32px; }
.check:hover { color: var(--text); }
.check input[type=checkbox], .check input[type=radio] { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; flex-shrink: 0; }
.check .cnt { margin-left: auto; color: var(--text-subtle); font-size: .78rem; font-variant-numeric: tabular-nums; background: var(--surface-2); padding: 1px 8px; border-radius: 999px; }
.input { width: 100%; padding: 11px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-size: .92rem; font-family: inherit; background: #fff; color: var(--text); transition: .15s; }
.input::placeholder { color: var(--text-subtle); }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
select.input { cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6b65' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }

/* Search met icoon */
.search-field { position: relative; }
.search-field svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--text-subtle); pointer-events: none; }
.search-field .input { padding-left: 38px; }

/* Prijs: dual-range slider + inputs */
.price-row { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.price-row .sep { color: var(--text-subtle); }
.range-wrap { position: relative; height: 30px; margin: 6px 2px 2px; }
.range-wrap .track { position: absolute; top: 13px; left: 0; right: 0; height: 4px; background: var(--border-strong); border-radius: 4px; }
.range-wrap .track-fill { position: absolute; top: 13px; height: 4px; background: var(--primary); border-radius: 4px; }
.range-wrap input[type=range] { position: absolute; top: 0; left: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 30px; }
.range-wrap input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); box-shadow: var(--shadow-sm); cursor: pointer; margin-top: 5px; }
.range-wrap input[type=range]::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); box-shadow: var(--shadow-sm); cursor: pointer; }

/* Chips (korting/snelkeuze) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border-strong); background: #fff; font-size: .85rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: .12s; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip.on, .chip:has(input:checked) { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ===== Mobiele filter-drawer (CSS-only) ===== */
.filter-bar { display: none; }
#filterDrawerToggle, #navToggle { display: none; }
.drawer-overlay { display: none; }

/* ===== Toolbar ===== */
.toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar h2 { font-size: 1.32rem; font-weight: 800; display: flex; align-items: center; gap: 9px; }
.toolbar .count { color: var(--text-muted); font-size: .9rem; font-weight: 500; }
.toolbar .spacer { margin-left: auto; }
.toolbar .open-filters { display: none; }
.sort-select { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--text-muted); }
.sort-select select { min-width: 168px; }

/* Actieve filter-pills */
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filters .af { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-light); color: var(--primary-darker); border: 1px solid var(--primary-200); padding: 5px 11px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.active-filters .af a { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(15,118,110,.15); font-size: .7rem; line-height: 1; }
.active-filters .af a:hover { background: var(--primary); color: #fff; }
.active-filters .clear-all { font-size: .82rem; color: var(--text-muted); font-weight: 600; align-self: center; text-decoration: underline; }

/* ===== Product grid ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .18s; box-shadow: var(--shadow-xs); }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--border-strong); }
.card .thumb { height: 180px; background: #fff; padding: 16px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); overflow: hidden; }
.card .thumb img { max-width: 100%; max-height: 148px; width: auto; height: auto; object-fit: contain; transition: transform .2s; }
.card:hover .thumb img { transform: scale(1.04); }
.card .thumb.empty { color: var(--text-subtle); }
.card .thumb.empty svg { width: 48px; height: 48px; opacity: .5; }
.deal-flag { position: absolute; top: 11px; left: 11px; z-index: 2; background: var(--deal); color: #fff; font-weight: 800; font-size: .82rem; padding: 5px 9px; border-radius: 8px; box-shadow: var(--shadow-md); letter-spacing: -.01em; }
.card .body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.badges { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.badge { font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; letter-spacing: .01em; white-space: nowrap; }
.badge-shop { background: #eef2ff; color: #4338ca; }
.badge-shop.bol { background: #e0eaff; color: #1e40af; }
.badge-shop.coolblue { background: #e0f2fe; color: #0369a1; }
.badge-shop.mediamarkt { background: #fee2e2; color: #b91c1c; }
.badge-shop.slimaangekocht { background: #fff7ed; color: #c2410c; }
.badge-cond { background: var(--cond-new-bg); color: var(--cond-new); }
.badge-cond-b { background: var(--cond-light-bg); color: var(--cond-light); }
.badge-cond-c { background: var(--cond-visible-bg); color: var(--cond-visible); }
.badge-cat { background: var(--surface-2); color: var(--text-muted); }
.card h3 { font-size: .88rem; font-weight: 600; line-height: 1.35; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.card h3 a:hover { color: var(--primary); }
.price-line { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; flex-wrap: wrap; }
.price { font-size: 1.32rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-old { font-size: .84rem; color: var(--text-subtle); text-decoration: line-through; }
.price-save { font-size: .76rem; font-weight: 700; color: var(--deal); }
.meta { font-size: .76rem; color: var(--text-subtle); }
.card .btn { margin-top: auto; }

/* ===== Empty / states ===== */
.empty { text-align: center; padding: 72px 20px; color: var(--text-muted); background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty .ico { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--text-subtle); }
.empty p { font-size: 1rem; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 38px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); font-size: .9rem; font-weight: 650; color: var(--text-muted); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .disabled { opacity: .4; pointer-events: none; }
.pagination .gap { border: none; background: none; min-width: 20px; }

/* ===== Auth ===== */
.auth-wrap { max-width: 440px; margin: 40px auto; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md); }
.auth-card .auth-logo { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(140deg, var(--primary), var(--accent)); display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 6px 16px -4px rgba(13,148,136,.45); }
.auth-card .auth-logo svg { width: 26px; height: 26px; }
.auth-card h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-muted); margin-bottom: 24px; font-size: .94rem; }
.field { margin-bottom: 17px; }
.field label { display: block; font-weight: 650; font-size: .86rem; margin-bottom: 7px; }
.auth-card .alt { margin-top: 20px; text-align: center; font-size: .92rem; color: var(--text-muted); }
.auth-card .alt a { color: var(--primary); font-weight: 650; }
.flash { padding: 12px 15px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 17px; }
.flash-error { background: var(--deal-bg); color: var(--deal); }
.flash-success { background: var(--success-bg); color: var(--success); }
.trust-row { display: flex; gap: 16px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.trust-row .ti { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--text-muted); }
.trust-row .ti svg { width: 15px; height: 15px; color: var(--primary); }

/* ===== Sections / generic ===== */
.section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-xs); margin-bottom: 22px; }
.section h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 16px; }
.page-title { font-size: clamp(1.5rem, 4vw, 1.85rem); font-weight: 800; margin-bottom: 6px; }
.page-sub { color: var(--text-muted); margin-bottom: 26px; }
.prose { color: var(--text-muted); line-height: 1.8; }
.prose strong { color: var(--text); }

/* ===== How it works ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { text-align: center; padding: 8px; }
.step .num { width: 48px; height: 48px; margin: 0 auto 13px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; }
.step h4 { font-size: 1.04rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: .92rem; }

.faq-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); font-weight: 400; transition: .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-muted); margin-top: 10px; line-height: 1.7; }

/* ===== Tables ===== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; padding: 11px 14px; background: var(--surface-2); color: var(--text-muted); font-weight: 650; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 13px 14px; border-bottom: 1px solid var(--border); }
.table tr:last-child td { border-bottom: none; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.pill-ok { background: var(--success-bg); color: var(--success); }
.pill-err { background: var(--deal-bg); color: var(--deal); }
.pill-muted { background: var(--surface-2); color: var(--text-muted); }

/* ===== Stat cards ===== */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-xs); }
.stat-card .label { color: var(--text-muted); font-size: .82rem; font-weight: 650; margin-bottom: 8px; }
.stat-card .value { font-size: 1.95rem; font-weight: 800; letter-spacing: -.02em; }

/* ===== Alerts list ===== */
.alert-row { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; background: #fff; }
.alert-row.off { opacity: .55; }
.alert-row .info { flex: 1; min-width: 0; }
.alert-row .info .q { font-weight: 750; font-size: 1.02rem; }
.alert-row .info .crit { color: var(--text-muted); font-size: .85rem; margin-top: 4px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.alert-row .info .crit .tag { background: var(--surface-2); padding: 2px 9px; border-radius: 999px; }
.alert-actions { display: flex; gap: 8px; flex-shrink: 0; }
.notice { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; padding: 13px 16px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 18px; }
.notice a { color: #92400e; font-weight: 700; text-decoration: underline; }
.email-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 8px; background: #fff; }
.email-row .addr { flex: 1; font-size: .92rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.email-row .tag { font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--primary-light); color: var(--primary); }

/* ===== Typeahead (alert-zoekbalk) ===== */
.typeahead { position: relative; }
.ta-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); max-height: 340px; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 5px; }
.ta-item { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer; }
.ta-item:hover, .ta-item.active { background: var(--primary-light); }
.ta-item .ta-thumb { width: 38px; height: 38px; flex-shrink: 0; border-radius: 8px; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; overflow: hidden; }
.ta-item .ta-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ta-item .ta-thumb svg { width: 18px; height: 18px; color: var(--text-subtle); }
.ta-item .ta-main { min-width: 0; flex: 1; }
.ta-item .ta-title { font-size: .86rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-item .ta-sub { font-size: .76rem; color: var(--text-subtle); margin-top: 1px; }
.ta-item .ta-price { font-size: .9rem; font-weight: 800; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ta-empty { padding: 14px; text-align: center; color: var(--text-subtle); font-size: .85rem; }

/* ===== Onboarding ===== */
.onboard { background: linear-gradient(135deg, var(--primary-darker), var(--primary)); color: #fff; border-radius: var(--radius); padding: 26px 28px; margin-bottom: 22px; position: relative; overflow: hidden; }
.onboard h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; color: #fff; }
.onboard p { opacity: .92; max-width: 560px; }
.onboard .ob-steps { display: flex; gap: 22px; margin-top: 18px; flex-wrap: wrap; }
.onboard .ob-steps .obs { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 600; }
.onboard .ob-steps .obs span { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-weight: 800; font-size: .82rem; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 32px 0; margin-top: 48px; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer .fbrand { display: flex; align-items: center; gap: 9px; font-weight: 750; color: var(--text); }
.site-footer .fbrand .logo { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(140deg, var(--primary), var(--accent)); display: grid; place-items: center; }
.site-footer .fbrand .logo svg { width: 15px; height: 15px; }
.site-footer .flinks { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; color: var(--text-muted); font-size: .88rem; }
.site-footer .flinks a:hover { color: var(--primary); }
.site-footer .fbrand b { font-weight: 800; }
.site-footer .disclaimer { margin-top: 18px; color: var(--text-subtle); font-size: .78rem; max-width: 760px; line-height: 1.6; }
.site-footer .fbottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--text-subtle); font-size: .8rem; }
.site-footer .fbottom .made { opacity: .85; }

/* ===== Cookie banner ===== */
#cookie-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--text); color: #e7ecea; padding: 16px 20px; box-shadow: 0 -6px 24px rgba(0,0,0,.18); }
#cookie-banner .cb-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
#cookie-banner p { flex: 1; margin: 0; font-size: .86rem; line-height: 1.5; min-width: 260px; }
#cookie-banner a { color: var(--primary-200); text-decoration: underline; }
#cookie-banner .cb-actions { display: flex; gap: 10px; flex-shrink: 0; }
#cookie-banner button { padding: 10px 16px; border-radius: var(--radius-sm); font-size: .86rem; font-weight: 650; cursor: pointer; border: none; }
#cookie-banner .cb-no { background: transparent; color: #e7ecea; border: 1px solid rgba(255,255,255,.25); }
#cookie-banner .cb-yes { background: var(--primary); color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 240px 1fr; gap: 20px; }
}

@media (max-width: 860px) {
  .hero { padding: 36px 26px; }
  .trust-steps { grid-template-columns: 1fr; gap: 12px; }
  .trust-step { display: flex; align-items: flex-start; gap: 15px; padding: 18px; }
  .trust-step .ico { margin-bottom: 0; flex-shrink: 0; }
  .steps { grid-template-columns: 1fr; }

  /* Header → hamburger */
  .nav-toggle-label { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 59;
    flex-direction: column; align-items: stretch; gap: 4px; background: var(--surface);
    border-bottom: 1px solid var(--border); padding: 14px 20px 20px; margin-left: 0;
    box-shadow: var(--shadow-lg); transform: translateY(-130%); transition: transform .25s ease;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  #navToggle:checked ~ .nav { transform: translateY(0); }
  #navToggle:checked ~ .nav-toggle-label span { background: transparent; }
  #navToggle:checked ~ .nav-toggle-label span::before { top: 0; transform: rotate(45deg); }
  #navToggle:checked ~ .nav-toggle-label span::after { top: 0; transform: rotate(-45deg); }
  .nav a { padding: 13px 14px; font-size: 1rem; border-radius: var(--radius-sm); }
  .nav a:hover, .nav a.active { background: var(--primary-light); }
  .nav .btn { margin-left: 0; margin-top: 6px; }

  /* Filters → drawer */
  .shop-layout { grid-template-columns: 1fr; }
  .toolbar .open-filters { display: inline-flex; }
  .filters-col {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; width: min(88vw, 360px);
    background: var(--surface); box-shadow: var(--shadow-lg); transform: translateX(-100%);
    transition: transform .28s ease; overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  #filterDrawerToggle:checked ~ .shop-layout .filters-col,
  .filters-col.force-open { transform: translateX(0); }
  #filterDrawerToggle:checked ~ .drawer-overlay { display: block; position: fixed; inset: 0; background: rgba(17,33,29,.45); z-index: 99; }
  .filters-panel { border: none; border-radius: 0; box-shadow: none; min-height: 100%; }
  .filters-panel .fp-head { position: sticky; top: 0; background: var(--surface); z-index: 1; }
  .drawer-close { display: inline-grid; }
}

@media (min-width: 861px) {
  .filters-col { position: sticky; top: calc(var(--header-h) + 16px); }
  .drawer-close { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 14px; }
  .hero { padding: 30px 20px; border-radius: var(--radius); }
  .hero-stats { gap: 22px; }
  .hero-stats .stat b { font-size: 1.4rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card .thumb { height: 140px; padding: 12px; }
  .card .thumb img { max-height: 116px; }
  .card .body { padding: 11px; gap: 6px; }
  .price { font-size: 1.15rem; }
  .card h3 { font-size: .82rem; }
  .toolbar h2 { font-size: 1.15rem; }
  .section { padding: 20px 17px; }
  .auth-card { padding: 26px 20px; }
  .sort-select select { min-width: 140px; }
  .btn-lg { width: 100%; }
  .alert-form-grid { grid-template-columns: 1fr !important; }
  .onboard .ob-steps { gap: 12px; }
}

@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
