/* 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: cover; }
.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; }
