[hidden] { display: none !important; }
/* Evening & Night Market — nachtthema v2 (zwart/blauw, professioneel) */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@500,600,700&f[]=general-sans@400,500,600&display=swap');

:root {
  --bg: #05070d;
  --surface: #0b1120;
  --card: #101a31;
  --card-hover: #14203c;
  --line: rgba(126, 156, 255, 0.14);
  --blue: #2f6bff;
  --blue-soft: #6f95ff;
  --blue-deep: #0d1a3f;
  --text: #e9effc;
  --muted: #8b97b4;
  --danger: #ff5f6d;
  --ok: #37d99a;
  --radius: 16px;
  --font-display: 'Clash Display', sans-serif;
  --font-body: 'General Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
a { color: var(--blue-soft); text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2rem); letter-spacing: -0.01em; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 13, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.02em; color: var(--text); white-space: nowrap; }
.brand em { font-style: normal; color: var(--blue-soft); }
.main-nav { display: flex; gap: 22px; }
.main-nav a { color: var(--muted); font-size: 0.9rem; font-weight: 500; transition: color 0.15s ease; }
.main-nav a:hover { color: var(--text); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.status-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; white-space: nowrap;
}
.status-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-chip.open { color: var(--ok); border-color: rgba(55, 217, 154, 0.35); }
.status-chip.open .dot { background: var(--ok); box-shadow: 0 0 10px rgba(55, 217, 154, 0.8); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff; border: 0; border-radius: 999px;
  padding: 10px 18px; font-weight: 600; font-size: 0.9rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cart-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(47, 107, 255, 0.35); }
.cart-count { background: rgba(255,255,255,0.22); border-radius: 999px; padding: 1px 8px; font-size: 0.8rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 92px 0 84px;
  background:
    radial-gradient(1.5px 1.5px at 12% 30%, rgba(233,239,252,0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 12%, rgba(233,239,252,0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 46% 38%, rgba(160,190,255,0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 64% 18%, rgba(233,239,252,0.55) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 34%, rgba(160,190,255,0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 10%, rgba(233,239,252,0.5) 50%, transparent 51%),
    linear-gradient(180deg, var(--bg) 0%, var(--blue-deep) 130%);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue) 35%, var(--blue-soft) 50%, var(--blue) 65%, transparent);
  box-shadow: 0 0 32px 4px rgba(47, 107, 255, 0.55);
}
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 16px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -0.015em;
  max-width: 16ch;
}
.hero h1 span { color: var(--blue-soft); }
.hero .lead { color: var(--muted); max-width: 48ch; margin-top: 18px; font-size: 1.08rem; }
.hero-cta { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-btn { display: inline-block; width: auto; padding: 14px 28px; border-radius: 12px; text-align: center; color: #fff; }
.hours-mini { display: flex; flex-direction: column; line-height: 1.25; }
.hours-mini strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.hours-mini small { color: var(--muted); font-size: 0.8rem; }
.usps { display: flex; gap: 10px 26px; flex-wrap: wrap; list-style: none; margin-top: 40px; color: var(--muted); font-size: 0.88rem; font-weight: 500; }

/* ---------- secties ---------- */
main section { scroll-margin-top: 84px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 56px; flex-wrap: wrap; }
.search {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  color: var(--text); padding: 10px 18px; font-size: 0.92rem; width: min(300px, 100%);
}
.search:focus { border-color: var(--blue-soft); outline: none; }
.section-sub { color: var(--muted); margin-top: 8px; }

/* categorie-chips */
.cats { display: flex; gap: 10px; overflow-x: auto; padding: 22px 0 6px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: 0 0 auto; border: 1px solid var(--line); background: transparent; color: var(--muted);
  border-radius: 999px; padding: 8px 16px; font-size: 0.88rem; font-weight: 500;
  transition: all 0.15s ease;
}
.cat-chip:hover { color: var(--text); border-color: var(--blue-soft); }
.cat-chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* productgrid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; padding: 18px 0 64px; }
.product {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.product:hover { transform: translateY(-3px); background: var(--card-hover); border-color: rgba(126,156,255,0.3); }
.product .thumb {
  height: 120px; border-radius: 10px; background: linear-gradient(160deg, var(--blue-deep), #091126);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--blue-soft);
  overflow: hidden;
}
.product .thumb img {
  width: 100%; height: 100%;
  object-fit: contain;        /* hele foto zichtbaar, nooit afgesneden */
  background: #fff;           /* witte producttegel, zoals grote webshops */
  padding: 10px;
  border-radius: 10px;
}
.product .cat { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-soft); }
.product h3 { font-size: 1rem; font-weight: 600; }
.product .desc { font-size: 0.84rem; color: var(--muted); flex: 1; }
.product .row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.add-btn {
  background: transparent; border: 1px solid var(--blue); color: var(--blue-soft);
  border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 0.85rem;
  transition: all 0.15s ease;
}
.add-btn:hover:not(:disabled) { background: var(--blue); color: #fff; }
.add-btn:disabled { opacity: 0.35; cursor: not-allowed; border-color: var(--line); color: var(--muted); }
.stock-low { font-size: 0.75rem; color: var(--danger); font-weight: 600; }
.no-results { color: var(--muted); padding: 30px 0 60px; }

/* band-secties (afwisselend vlak) */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 60px 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 28px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.step-icon { font-size: 1.6rem; }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin: 12px 0 6px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* openingstijden */
.hours-section { padding: 60px 0 64px; }
.hours-table { width: 100%; max-width: 560px; margin-top: 22px; border-collapse: collapse; }
.hours-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; font-family: var(--font-display); font-weight: 600; }
.hours-table tr.today td { color: var(--blue-soft); }
.hours-table tr.today td:first-child::after { content: ' · vandaag'; font-size: 0.75rem; color: var(--muted); font-family: var(--font-body); font-weight: 500; }

/* FAQ */
.faq-wrap { max-width: 760px; }
.faq-wrap details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-wrap summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 0.98rem;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary::after { content: '+'; color: var(--blue-soft); font-size: 1.3rem; font-weight: 400; transition: transform 0.15s ease; }
.faq-wrap details[open] summary::after { transform: rotate(45deg); }
.faq-wrap details p { color: var(--muted); font-size: 0.92rem; padding-bottom: 18px; max-width: 60ch; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; margin-bottom: 12px; }
.footer-grid a, .footer-grid span { display: block; color: var(--muted); font-size: 0.88rem; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--text); }
.footer-brand { margin-bottom: 12px; }
.footer-tag { color: var(--muted); font-size: 0.88rem; max-width: 34ch; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 20px; color: var(--muted); font-size: 0.8rem; }

/* ---------- cart drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(3, 5, 10, 0.7); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); z-index: 100;
  background: var(--surface); border-left: 1px solid var(--line);
  transform: translateX(102%); transition: transform 0.25s ease;
  display: flex; flex-direction: column;
}
body.cart-open .drawer { transform: translateX(0); }
body.cart-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); }
.drawer header h2 { font-size: 1.2rem; }
.drawer .close { background: none; border: 0; color: var(--muted); font-size: 1.5rem; line-height: 1; }
.drawer .body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line .info { flex: 1; }
.cart-line .info h4 { font-size: 0.92rem; font-weight: 600; }
.cart-line .info span { font-size: 0.82rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.qty button { background: none; border: 0; color: var(--blue-soft); font-size: 1rem; font-weight: 700; width: 20px; }
.drawer footer { padding: 18px 20px 24px; border-top: 1px solid var(--line); }
.totals { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.totals .row { display: flex; justify-content: space-between; }
.totals .grand { color: var(--text); font-weight: 600; font-size: 1.05rem; }
.primary-btn {
  width: 100%; background: var(--blue); color: #fff; border: 0; border-radius: 12px;
  padding: 14px; font-weight: 600; font-size: 1rem;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.primary-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(47, 107, 255, 0.4); }
.primary-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* checkout formulier */
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); padding: 11px 12px; font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-soft); outline: none; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-options { display: grid; gap: 8px; margin: 6px 0 14px; }
.pay-option { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; cursor: pointer; font-size: 0.92rem; }
.pay-option input { accent-color: var(--blue); }
.pay-option.selected { border-color: var(--blue); background: rgba(47, 107, 255, 0.08); }
.form-error { color: var(--danger); font-size: 0.85rem; margin-bottom: 10px; min-height: 1.2em; }
.back-link { background: none; border: 0; color: var(--muted); font-size: 0.85rem; margin-bottom: 12px; }

/* toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--card); border: 1px solid var(--blue); color: var(--text);
  border-radius: 12px; padding: 12px 20px; font-size: 0.9rem; z-index: 200;
  opacity: 0; pointer-events: none; transition: all 0.25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- admin ---------- */
.admin-layout { max-width: 1120px; margin: 0 auto; padding: 28px 20px 80px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.admin-head h1 { font-family: var(--font-display); font-size: 1.6rem; display: flex; align-items: center; gap: 12px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 28px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat .label { font-size: 0.78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.stat .value { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; margin-top: 4px; }
.stat.warn .value { color: var(--danger); }
.tabs { display: flex; gap: 8px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tab { background: none; border: 0; color: var(--muted); font-weight: 600; font-size: 0.95rem; padding: 10px 14px; border-bottom: 2px solid transparent; }
.tab.active { color: var(--text); border-bottom-color: var(--blue); }
.panel { display: none; }
.panel.active { display: block; }
.panel-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { text-align: left; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 10px 8px; border-bottom: 1px solid var(--line); }
td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
td input { background: var(--card); border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 7px 9px; font-size: 0.88rem; width: 100%; }
td input.num { width: 76px; }
.icon-btn { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 6px 10px; font-size: 0.8rem; }
.icon-btn:hover { border-color: var(--blue-soft); color: var(--text); }
.icon-btn.danger:hover { border-color: var(--danger); color: var(--danger); }
.save-btn { background: var(--blue); border: 0; color: #fff; border-radius: 8px; padding: 7px 12px; font-size: 0.82rem; font-weight: 600; }
.badge { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: 0.75rem; font-weight: 600; }
.badge.nieuw { background: rgba(47,107,255,0.18); color: var(--blue-soft); }
.badge.in_behandeling { background: rgba(255,196,0,0.15); color: #ffc400; }
.badge.onderweg { background: rgba(111,149,255,0.15); color: var(--blue-soft); }
.badge.bezorgd { background: rgba(55,217,154,0.15); color: var(--ok); }
.badge.geannuleerd { background: rgba(255,95,109,0.15); color: var(--danger); }
.badge.betaald { background: rgba(55,217,154,0.15); color: var(--ok); }
.badge.open, .badge.bij_bezorging { background: rgba(139,151,180,0.15); color: var(--muted); }
.badge.mislukt { background: rgba(255,95,109,0.15); color: var(--danger); }
.order-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.order-card .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.order-card .meta { color: var(--muted); font-size: 0.85rem; }
.order-card ul { list-style: none; margin: 8px 0; font-size: 0.88rem; }
.order-card select { background: var(--card-hover); border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 7px 10px; font-size: 0.85rem; }
.filter-select { background: var(--card); border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 8px 12px; font-size: 0.88rem; }
.add-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 22px; }
.add-form h3 { font-family: var(--font-display); margin-bottom: 12px; font-size: 1.05rem; }
.add-form .grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 12px; }
.login-box { max-width: 380px; margin: 12vh auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.login-box h1 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }

/* bedankt */
.thanks { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.thanks .check { font-size: 3rem; margin-bottom: 12px; }
.thanks h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 10px; }
.thanks p { color: var(--muted); max-width: 40ch; }

@media (max-width: 820px) {
  .main-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .hero { padding: 60px 0 64px; }
  .two-col { grid-template-columns: 1fr; }
  .topbar .status-chip { display: none; }
  .topbar-inner { gap: 10px; height: auto; min-height: 62px; padding: 8px 0; }
  .brand { gap: 8px; min-width: 0; flex: 1 1 auto; }
  /* volledige naam blijft staan: kleiner en netjes over twee regels */
  .brand span { font-size: 0.92rem; white-space: normal; line-height: 1.15; max-width: 150px; }
  .cart-btn { padding: 9px 14px; font-size: 0.85rem; flex: 0 0 auto; }
}
@media (max-width: 400px) {
  .brand span { font-size: 0.85rem; max-width: 128px; }
  .brand img { width: 30px; height: 30px; }
  .cart-btn { padding: 8px 12px; font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- volg je bestelling ---------- */
.track-page { padding: 40px 20px 70px; max-width: 900px; }
.track-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 4.5vw, 2.3rem); margin-top: 6px; }
.track-eta { color: var(--muted); margin-top: 10px; font-size: 1.05rem; }
.track-eta strong { color: var(--text); font-family: var(--font-display); font-size: 1.25rem; }
.eta-sub { font-size: 0.85rem; }

.timeline { list-style: none; display: flex; margin: 36px 0 40px; }
.timeline li { flex: 1; position: relative; text-align: center; padding-top: 26px; }
.timeline li::before {
  content: ''; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px;
  background: var(--line);
}
.timeline li:first-child::before { display: none; }
.timeline li.done::before, .timeline li.current::before { background: var(--blue); box-shadow: 0 0 10px rgba(47,107,255,0.5); }
.tl-dot {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--line);
}
.timeline li.done .tl-dot { background: var(--blue); border-color: var(--blue); }
.timeline li.current .tl-dot { background: var(--blue); border-color: var(--blue-soft); box-shadow: 0 0 0 5px rgba(47,107,255,0.22), 0 0 16px rgba(47,107,255,0.6); animation: pulse 1.6s ease infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 5px rgba(47,107,255,0.22), 0 0 16px rgba(47,107,255,0.6); } 50% { box-shadow: 0 0 0 9px rgba(47,107,255,0.10), 0 0 16px rgba(47,107,255,0.6); } }
.tl-icon { display: block; font-size: 1.4rem; margin-top: 10px; opacity: 0.35; }
.tl-label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-top: 4px; }
.timeline li.done .tl-icon, .timeline li.current .tl-icon { opacity: 1; }
.timeline li.current .tl-label { color: var(--text); }
.timeline.cancelled li .tl-dot { border-color: var(--danger); }

.track-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.track-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.track-card h2 { font-size: 1.05rem; margin-bottom: 12px; }
.track-address { color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; }
.map-frame { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: invert(0.9) hue-rotate(190deg) saturate(0.75); }
.track-items { list-style: none; margin-bottom: 14px; }
.track-items li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.track-pay { color: var(--ok); font-size: 0.88rem; font-weight: 600; margin-top: 12px; }
.track-refresh { color: var(--muted); font-size: 0.82rem; margin-top: 26px; text-align: center; }
@media (max-width: 720px) {
  .track-grid { grid-template-columns: 1fr; }
  .tl-icon { font-size: 1.15rem; }
}

/* mandje-hints (minimum / gratis bezorging) */
.cart-hint { font-size: 0.82rem; color: var(--muted); text-align: center; margin-bottom: 10px; }
.cart-hint strong { color: var(--blue-soft); }
.cart-hint.ok { color: var(--ok); }

/* contant betalen */
.cash-with { margin: 4px 0 12px; }
.cash-with label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.cash-with select, .cash-with input { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 10px; color: var(--text); padding: 11px 12px; font-size: 0.95rem; }
.cash-info { background: rgba(47,107,255,0.08); border: 1px solid rgba(47,107,255,0.25); border-radius: 8px; padding: 8px 12px; margin-top: 8px; }
.cash-info strong { color: var(--blue-soft); }

/* ---------- WP-stijl beheeromgeving ---------- */
.wp-body { background: var(--bg); }
.wp-adminbar {
  position: sticky; top: 0; z-index: 60; height: 46px;
  background: #03050a; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px;
  font-size: 0.85rem;
}
.wp-adminbar-left, .wp-adminbar-right { display: flex; align-items: center; gap: 14px; }
.wp-adminbar strong { font-family: var(--font-display); font-size: 0.9rem; }
.wp-live { color: var(--ok); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.wp-adminbar-link { background: none; border: 0; color: var(--muted); font-size: 0.85rem; cursor: pointer; text-decoration: none; }
.wp-adminbar-link:hover { color: var(--blue-soft); }
.wp-adminbar-note { color: var(--blue-soft); font-weight: 600; }

.wp-layout { display: flex; min-height: calc(100vh - 46px); }
.wp-sidebar {
  width: 200px; flex: 0 0 200px; background: #070b16; border-right: 1px solid var(--line);
  padding: 12px 8px; display: flex; flex-direction: column; gap: 2px;
  position: sticky; top: 46px; height: calc(100vh - 46px);
}
.wp-menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: none; border: 0; border-radius: 8px; text-align: left;
  color: var(--muted); font-size: 0.9rem; font-weight: 500; padding: 10px 12px;
  cursor: pointer; text-decoration: none; position: relative;
}
.wp-menu-item:hover { background: rgba(47, 107, 255, 0.10); color: var(--text); }
.wp-menu-item.active { background: var(--blue); color: #fff; }
.wp-ico { font-size: 1rem; width: 20px; text-align: center; }
.wp-badge {
  margin-left: auto; background: var(--blue-soft); color: #04060c;
  border-radius: 999px; padding: 1px 8px; font-size: 0.72rem; font-weight: 700;
}
.wp-menu-item.active .wp-badge { background: rgba(255,255,255,0.9); }
.wp-badge.warn { background: var(--danger); color: #fff; }
.wp-sidebar-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 8px; }

.wp-main { flex: 1; padding: 26px 28px 70px; min-width: 0; }
.wp-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 18px; }
.wp-welcome {
  background: linear-gradient(135deg, var(--blue-deep), #070d1f);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 20px;
}
.wp-welcome h2 { font-family: var(--font-display); font-size: 1.25rem; }
.wp-welcome p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }

.wp-widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wp-widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.wp-widget h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 12px; }
.wp-widget-body { margin-bottom: 12px; }
.wp-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem;
}
.wp-row:last-child { border-bottom: 0; }
.wp-bar { display: inline-flex; align-items: center; gap: 8px; min-width: 45%; color: var(--muted); font-size: 0.82rem; }
.wp-bar-fill { display: inline-block; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--blue-soft)); flex: 0 1 auto; min-width: 6px; }
.wp-bar-row .wp-bar { flex: 1; justify-content: flex-start; }
.wp-view { animation: wpfade 0.18s ease; }
@keyframes wpfade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
code { background: var(--card-hover); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 0.85em; }

@media (max-width: 760px) {
  .wp-layout { flex-direction: column; }
  .wp-sidebar {
    width: 100%; flex: none; height: auto; position: static;
    flex-direction: row; overflow-x: auto; padding: 8px; gap: 4px;
  }
  .wp-menu-item { flex: 0 0 auto; padding: 8px 12px; }
  .wp-label { font-size: 0.82rem; }
  .wp-sidebar-foot { margin: 0; border: 0; padding: 0; display: flex; gap: 4px; }
  .wp-widgets { grid-template-columns: 1fr; }
  .wp-main { padding: 18px 16px 60px; }
  .wp-adminbar strong { display: none; }
}

/* betaalbadges */
.footer-grid .pay-badges, .pay-badges { display: flex !important; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.pay-badges .pay-row { display: flex !important; flex-direction: row; gap: 6px; margin: 0; }
.pay-badges img { display: inline-block !important; margin: 0; border-radius: 5px; box-shadow: 0 1px 4px rgba(0,0,0,0.35); }
.pay-mini { width: 34px; height: 21px; border-radius: 4px; vertical-align: middle; }
.pay-mini-duo { display: inline-flex; gap: 4px; }
.field select { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 10px; color: var(--text); padding: 11px 12px; font-size: 0.95rem; }
td select.cat-select { background: var(--card); border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 7px 9px; font-size: 0.88rem; width: 100%; }

.prelaunch-banner {
  background: linear-gradient(90deg, var(--blue-deep), #0a1430);
  border-bottom: 1px solid var(--line);
  color: var(--blue-soft); font-weight: 600; font-size: 0.88rem;
  text-align: center; padding: 10px 16px;
}

/* foto-upload */
.upload-combo { display: flex; gap: 8px; align-items: center; }
.upload-combo input[type="text"], .upload-combo input:not([type]) { flex: 1; }
.upload-btn { cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.upload-preview { margin-top: 8px; max-height: 70px; border-radius: 8px; border: 1px solid var(--line); }
.foto-btn { cursor: pointer; margin-right: 6px; }

/* verwijder-knop in het mandje */
.remove-line {
  background: none; border: 0; font-size: 1rem; line-height: 1;
  opacity: 0.55; padding: 6px; border-radius: 8px; transition: opacity 0.15s ease, background 0.15s ease;
}
.remove-line:hover { opacity: 1; background: rgba(255, 95, 109, 0.12); }

.cart-hint.zone-hint { color: var(--blue-soft); }

/* 18+ elementen */
.age-badge { color: var(--danger); font-weight: 700; font-size: 0.72rem; }
.age-check { background: rgba(255,95,109,0.08); border: 1px solid rgba(255,95,109,0.35); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.age-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 0.92rem; cursor: pointer; }
.age-check input { width: auto; margin-top: 3px; }
.age-check p { color: var(--muted); font-size: 0.8rem; margin-top: 8px; line-height: 1.5; }
.age-note { color: var(--danger); font-size: 0.85rem; font-weight: 600; display: inline-block; margin-top: 6px; }
.age-warn { background: rgba(255,95,109,0.10); border: 1px solid rgba(255,95,109,0.35); border-radius: 8px; padding: 8px 12px; margin-top: 8px; }
.footer-legal .nix18 { margin-bottom: 8px; }
.footer-legal a { color: var(--blue-soft); }
/* juridische pagina's */
.legal { max-width: 780px; padding: 40px 20px 80px; }
.legal h1 { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 6px; }
.legal .sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 28px; }
.legal h2 { font-family: var(--font-display); font-size: 1.05rem; margin: 26px 0 8px; }
.legal p, .legal li { color: #c6cede; font-size: 0.92rem; line-height: 1.65; }
.legal ul, .legal ol { padding-left: 22px; margin: 8px 0; }
.legal .terug { display: inline-block; margin-bottom: 24px; color: var(--blue-soft); }

/* bezorgersapp */
.courier-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.courier-actions .icon-btn { text-decoration: none; padding: 11px 16px; font-size: 0.92rem; }
.age-overlay { position: fixed; inset: 0; background: rgba(3, 5, 10, 0.85); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.age-modal { background: var(--card); border: 1px solid rgba(255,95,109,0.5); border-radius: var(--radius); padding: 24px; max-width: 420px; }
.age-modal h2 { font-family: var(--font-display); margin-bottom: 10px; }
.age-modal p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.age-confirm { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; margin: 16px 0; cursor: pointer; background: rgba(255,95,109,0.10); border: 1px solid rgba(255,95,109,0.4); border-radius: 10px; padding: 12px; }
.age-confirm input { width: auto; margin-top: 3px; }
.age-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* bezorger: dienst-knop */
.duty-btn { background: var(--ok, #22c55e); color: #04120a; border: 0; font-weight: 800; padding: 9px 16px; border-radius: 999px; font-size: 0.9rem; cursor: pointer; }
.duty-btn.off-duty { background: var(--danger, #ff5f6d); color: #fff; }
.duty-bar { background: rgba(255,159,67,0.12); border: 1px solid rgba(255,159,67,0.4); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: 0.9rem; line-height: 1.5; color: var(--text); }

/* gekoeld/ongekoeld popup */
.chill-overlay { position: fixed; inset: 0; background: rgba(3,5,10,0.82); z-index: 210; display: flex; align-items: center; justify-content: center; padding: 20px; }
.chill-modal { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 400px; width: 100%; text-align: center; }
.chill-modal h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; }
.chill-modal p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; margin-bottom: 18px; }
.chill-actions { display: flex; gap: 10px; margin-bottom: 12px; }
.chill-btn { flex: 1; padding: 16px 12px; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: transform 0.1s, border-color 0.15s; }
.chill-btn:active { transform: scale(0.97); }
.chill-btn.cold { background: rgba(47,107,255,0.14); border-color: var(--blue-soft); color: #cfe0ff; }
.chill-btn.room { background: var(--card-hover); color: var(--text); }
.chill-cancel { background: none; border: 0; color: var(--muted); font-size: 0.88rem; cursor: pointer; padding: 6px; }
.chilled-tag { font-size: 0.72rem; color: var(--blue-soft); font-weight: 700; }

/* Professional checkout and operations additions */
.delivery-intro{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;border:1px solid var(--line);background:var(--card);border-radius:20px;padding:28px;margin:24px 0 44px}.delivery-intro h2{margin:4px 0 8px}.delivery-intro p{color:var(--muted)}.delivery-intro form{min-width:0}.contact-links{display:grid;gap:6px}.remember-choice{display:flex;gap:10px;align-items:center;margin:18px 0}.remember-choice input{width:auto}.pay-option small{display:block;color:var(--muted);font-weight:400}.mobile-cart{display:none}.ops-block{border:1px solid var(--line);border-radius:12px;padding:18px;margin:18px 0}.ops-block h3{margin:0 0 12px}.issue-box{border-left:3px solid #ffbe55;background:#312919;padding:12px;margin:10px 0}.shift-summary{display:flex;flex-wrap:wrap;gap:12px;padding:12px 0}.shift-summary span{padding:10px;border:1px solid var(--line);border-radius:10px}.public-page{max-width:840px;margin:40px auto;padding:24px}.public-page p,.public-page li{line-height:1.75}.public-page a{color:var(--blue-soft)}.public-page h2{margin-top:30px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #7ea5ff;outline-offset:3px}[hidden]{display:none!important}
@media(max-width:680px){.delivery-intro{grid-template-columns:1fr;padding:20px;gap:16px}.mobile-cart:not([hidden]){position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:12px;right:12px;z-index:35;display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border:1px solid #668bff;border-radius:16px;background:#2355d9;color:#fff;box-shadow:0 8px 28px #0008;text-align:left;font:inherit}.mobile-cart small{display:block;font-size:12px;margin-top:4px;color:#dce6ff}body:has(.mobile-cart:not([hidden])){padding-bottom:90px}.cart-open .mobile-cart{display:none!important}.wp-adminbar{flex-wrap:wrap;height:auto;gap:8px;padding:10px}.wp-main{padding:16px}.public-page{padding:18px}.delivery-intro .two-col{grid-template-columns:1fr 1fr}}
@media print{body *{visibility:hidden}.print-target,.print-target *{visibility:visible}.print-target{position:absolute;inset:0;color:#000;background:#fff;padding:20px}.print-target .top:last-child,.print-target .copy-track,.print-target .print-order{display:none}.print-target li{margin:12px 0}}

.delivery-intro{margin:24px auto 44px}.incident-dialog{background:var(--card);color:var(--text);border:1px solid var(--line);border-radius:18px;max-width:480px;width:calc(100% - 32px);padding:24px}.incident-dialog::backdrop{background:#000b}#productTable textarea{min-width:160px;width:100%;margin-top:6px;background:var(--card);color:var(--text);border:1px solid var(--line);border-radius:6px;padding:8px}
.pay-badges img[hidden]{display:none!important}.pay-row:has(>img[hidden]):not(:has(>img:not([hidden]))){display:none!important}

/* Postcodecontrole bij binnenkomst */
.delivery-entry{padding-top:24px}.postcode-link,.postcode-browse{background:none;border:0;color:var(--blue-soft);font:inherit;cursor:pointer;padding:8px 0}.postcode-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 32px));min-height:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:40px;border:1px solid #334263;border-radius:18px;background:#101a30;color:var(--text);box-shadow:0 30px 100px #0009;overflow:auto}.postcode-dialog::backdrop{background:#030714c9;backdrop-filter:blur(5px)}body:has(.postcode-dialog[open]){overflow:hidden}.postcode-close{position:absolute;top:12px;right:16px;border:0;background:none;color:#acbad5;font:28px/1 system-ui;cursor:pointer;padding:6px}.postcode-content{text-align:center}.postcode-icon{width:52px;height:52px;padding:12px;box-sizing:border-box;margin:0 auto 18px;color:#83a6ff;background:#2e5ee327;border:1px solid #466cbd;border-radius:15px}.postcode-icon svg{width:100%;height:100%}.postcode-dialog h2{font-size:28px;letter-spacing:-.8px;margin:0 0 10px;line-height:1.2}.postcode-dialog #postcodeIntro{margin:0 auto 24px;color:#a8b6d0;line-height:1.6;max-width:320px}.postcode-label{display:block;text-align:left;font-size:13px;font-weight:600;margin-bottom:8px;color:#bbc8e0}.postcode-dialog input{box-sizing:border-box;width:100%;padding:15px 16px;border-radius:10px;border:1px solid #3d4d6f;background:#0b1427;color:white;font:600 18px system-ui;letter-spacing:1px;text-transform:uppercase}.postcode-dialog input::placeholder{text-transform:none;font-weight:400;font-size:16px;letter-spacing:0;color:#8291ae}.postcode-dialog .primary-btn{width:100%;justify-content:center;margin-top:12px;padding:15px 12px;font-size:15px}.postcode-dialog .primary-btn:disabled{opacity:.7;cursor:wait}.postcode-dialog #areaResult{font-size:14px;line-height:1.5;margin:14px 0 0}.postcode-dialog #areaResult:empty{display:none}.postcode-success{color:#9be1b0}.postcode-unavailable{color:#f0c791}.postcode-browse{margin-top:16px;color:#a8b6d0;font-size:13px;text-decoration:underline;text-underline-offset:4px}@media(max-width:520px){.postcode-dialog{padding:34px 24px 26px;border-radius:16px}.postcode-dialog h2{font-size:25px}.postcode-dialog #postcodeIntro{font-size:15px;margin-bottom:20px}.postcode-icon{margin-bottom:14px}}

.delivery-estimate{color:#b4c7f6;font-size:14px;line-height:1.6;margin:18px 0}.product-heading{display:flex;align-items:flex-start;gap:8px}.product-heading h3{flex:1}.product-info-btn{flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;border:1px solid #40547c;background:#1b2a48;color:#afc8ff;border-radius:50%;font-size:20px;cursor:pointer;margin-top:8px}.product-info-dialog{position:fixed;box-sizing:border-box;max-height:calc(100dvh - 32px);width:min(520px,calc(100vw - 32px));padding:30px;overflow:auto;background:var(--card);color:var(--text);border:1px solid #40547c;border-radius:18px}.product-info-dialog::backdrop{background:#030714c9;backdrop-filter:blur(4px)}.product-info-dialog h2{padding-right:20px;font-size:23px}.product-info-image{width:100%;height:150px;object-fit:contain;background:white;border-radius:12px}.product-info-dialog dt{font-weight:700;color:#b4c7f6;margin-top:18px}.product-info-dialog dd{margin:5px 0 0;line-height:1.6}.product-info-dialog a{color:#a5c2ff}.product-edit-details{margin-top:8px;white-space:normal;max-width:350px}.product-edit-details label{display:block;margin-top:10px}.product-edit-details textarea{display:block}.incident-dialog{max-height:calc(100dvh - 32px);overflow:auto}.incident-dialog textarea{box-sizing:border-box;width:100%;padding:10px;border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:8px}#orderContact a{color:var(--blue-soft)}

.product-info-dialog,.incident-dialog{margin:auto}body:has(.product-info-dialog[open]){overflow:hidden}

/* Order communication */
.pay-badges .pay-row{display:flex;flex-wrap:wrap;gap:6px}.pay-badges{max-width:290px}.receipt-wrap{max-width:720px;margin:42px auto;padding:0 18px}.receipt-card{padding:32px;border:1px solid var(--line);border-radius:20px;background:var(--surface)}.receipt-card h1{font-size:clamp(1.7rem,5vw,2.3rem);line-height:1.2;margin:12px 0 18px}.receipt-card h2{font-size:1.1rem;margin:24px 0 10px}.receipt-kicker{color:var(--blue-soft);font-size:.8rem;letter-spacing:.12em}.receipt-track{display:block;text-decoration:none;text-align:center;margin:24px 0;padding:16px}.receipt-payment{padding:1px 18px 6px;border-radius:12px;background:rgba(111,149,255,.1)}.receipt-items{padding:0;list-style:none}.receipt-items li,.receipt-total{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}.receipt-items strong{white-space:nowrap}.receipt-nav{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:24px 0}.email-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.email-row button{flex-shrink:0}.email-row small{color:var(--muted)}#emailStatus summary{cursor:pointer;padding:8px 0}#etaDialog select{width:100%;min-height:48px}#etaSubmit{margin-top:16px}@media(max-width:600px){.receipt-card{padding:22px 18px}.receipt-wrap{margin-top:22px}.email-row{display:block}.email-row button{margin-top:12px}.receipt-nav{flex-wrap:wrap}}

#emailStatus details[open]{max-height:520px;overflow:auto;padding-right:8px}
