/* ═══════════════════════════════════════════════════════════════
   SnackPay - Design System v3
   Premium theme · Deep Forest + Soft Gold · Clean & spacious
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --bg:  #F6F5F2;
  --sf:  #ffffff;
  --s2:  #EEEDEA;
  --s3:  #E5E4E0;
  --bd:  #D9D8D4;
  --bd2: #C8C7C3;
  --ac:  #D6A84F;
  --ac2: #C49A42;
  --a2:  #0F3D36;
  --tx:  #1F2937;
  --t2:  #374151;
  --mu:  #6B7280;
  --gr:  #22c55e;
  --gr2: #16a34a;
  --rd:  #ef4444;
  --bl:  #3b82f6;
  --df:  #0F3D36;
  --r:   16px;
  --r2:  10px;
  --r3:  8px;
  --pill: 50px;
  --sh:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --sh2: 0 4px 24px rgba(0,0,0,.08);
  --sh3: 0 8px 40px rgba(0,0,0,.10);
  --tr:  .2s ease;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--tx);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 76px;
}

html {
  overflow-x: clip;
}

body {
  overflow-x: hidden;
}

a { color: var(--df); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--ac); }

::selection { background: rgba(15,61,54,.15); color: var(--tx); }

/* Links inside buttons must always inherit button color */
a.btn { color: inherit; }
a.btn:hover { color: inherit; }
a.btn-p, a.btn-p:hover, a.btn-p:visited { color: #fff !important; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bd); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--bd2); }

/* ── SVG Icon System ────────────────────────────────────────── */
.i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.15em;
  flex-shrink: 0;
  color: var(--ac);
}
.i svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.i-sm { width: .9em; height: .9em; }
.i-lg { width: 1.5em; height: 1.5em; }
.i-xl { width: 2em; height: 2em; }
.i-gr { color: var(--gr) !important; }
.i-rd { color: var(--rd) !important; }
.i-mu { color: var(--mu) !important; }
.i-bl { color: var(--bl) !important; }
.i-tx { color: #fff !important; }
.i-24 { width: 24px; height: 24px; }

/* ── Header ─────────────────────────────────────────────────── */
.hdr {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bd);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}
.logo {
  font-family: 'Boogaloo', cursive;
  font-size: 1.85rem;
  color: var(--df);
  text-decoration: none !important;
  letter-spacing: -.5px;
}
.logo span { color: var(--ac); }
.hdr-sub {
  font-size: .75rem;
  color: var(--mu);
  margin-top: 1px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hdr-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Badge / Status ─────────────────────────────────────────── */
.badge {
  background: var(--sf);
  border: 1px solid var(--bd);
  color: var(--mu);
  font-size: .72rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--pill);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1;
}
.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.dot-g { background: var(--gr); box-shadow: 0 0 6px rgba(34,197,94,.4); }
.dot-r { background: var(--rd); }
.dot-y { background: var(--ac); box-shadow: 0 0 6px rgba(214,168,79,.4); }
.dot-off { background: var(--bd2); }

/* ── Navigation Tabs ────────────────────────────────────────── */
nav.tabs {
  background: #fff;
  border-bottom: 1px solid var(--bd);
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
}
nav.tabs.tabs-scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
nav.tabs.tabs-scroll::-webkit-scrollbar { display: none; }
nav.tabs a {
  padding: 13px 20px;
  color: var(--mu);
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all var(--tr);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
nav.tabs a.on { color: var(--ac); border-color: var(--ac); }
nav.tabs a:hover:not(.on) { color: var(--tx); }

/* ── Layout ─────────────────────────────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 28px 20px; }
.wrap-sm { max-width: 520px; margin: 0 auto; padding: 48px 20px; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--sh);
}
.card-accent { border-color: var(--ac); }
.ct {
  font-family: 'Boogaloo', cursive;
  font-size: 1.3rem;
  color: var(--tx);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ct-lg { font-size: 1.6rem; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--pill);
  border: 2px solid transparent;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: .9rem;
  font-weight: 800;
  transition: all var(--tr);
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1.3;
}
.btn-p  { background: var(--df); color: #fff; border-color: var(--df); }
.btn-p:hover { background: #0B2E28; border-color: #0B2E28; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,61,54,.3); }
.btn-gr { background: var(--gr); color: #fff; border-color: var(--gr); }
.btn-gr:hover { background: var(--gr2); border-color: var(--gr2); }
.btn-rd { background: var(--rd); color: #fff; border-color: var(--rd); }
.btn-rd:hover { opacity: .9; }
.btn-s  { background: transparent; color: var(--tx); border: 2px solid var(--tx); }
.btn-s:hover { background: var(--tx); color: #fff; }
.btn-d  { background: transparent; color: var(--rd); border: 2px solid var(--rd); }
.btn-d:hover { background: var(--rd); color: #fff; }
.btn-sm { padding: 7px 16px; font-size: .8rem; }
.btn-xs { padding: 4px 10px; font-size: .72rem; }
.btn-w  { width: 100%; padding: 14px; font-size: 1rem; }
.btn-icon { padding: 8px; border-radius: var(--r2); }

/* ── Forms ──────────────────────────────────────────────────── */
input, select, textarea {
  background: #fff;
  border: 2px solid var(--bd);
  color: var(--tx);
  border-radius: var(--r2);
  padding: 12px 14px;
  font-family: 'Nunito', sans-serif;
  font-size: .95rem;
  width: 100%;
  transition: border-color var(--tr), box-shadow var(--tr);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ac);
  box-shadow: 0 0 0 3px rgba(214,168,79,.12);
}
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--ac); }
.fl {
  font-size: .8rem;
  color: var(--mu);
  margin-bottom: 6px;
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.fr { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.fg { flex: 1; min-width: 130px; }
.form-row { margin-bottom: 16px; }

/* ── Tags ───────────────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(214,168,79,.08); color: var(--ac2);
  border: 1px solid rgba(214,168,79,.2);
  border-radius: var(--pill); padding: 4px 12px;
  font-size: .75rem; font-weight: 800;
}
.tag-gr { background: rgba(34,197,94,.08); color: var(--gr); border-color: rgba(34,197,94,.2); }
.tag-rd { background: rgba(239,68,68,.08); color: var(--rd); border-color: rgba(239,68,68,.2); }
.tag-bl { background: rgba(59,130,246,.08); color: var(--bl); border-color: rgba(59,130,246,.2); }

/* ── Alerts ─────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px; border-radius: var(--r2); margin-bottom: 16px;
  font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: 10px;
}
.alert-ok  { background: rgba(34,197,94,.06); border: 1px solid rgba(34,197,94,.2); color: var(--gr); }
.alert-err { background: rgba(239,68,68,.06); border: 1px solid rgba(239,68,68,.2); color: var(--rd); }
.alert-info { background: rgba(214,168,79,.05); border: 1px solid rgba(214,168,79,.15); color: var(--ac2); }

/* ── Empty / Divider ────────────────────────────────────────── */
.empty { color: var(--mu); padding: 20px 0; font-size: .95rem; text-align: center; }
.divider { border: none; border-top: 1px solid var(--bd); margin: 20px 0; }

/* ── Status Banners ─────────────────────────────────────────── */
.banner-open { background: rgba(34,197,94,.04); border: 2px solid rgba(34,197,94,.2); border-radius: var(--r); padding: 20px 24px; margin-bottom: 16px; }
.banner-closed { background: var(--sf); border: 1px solid var(--bd); border-radius: var(--r); padding: 20px 24px; margin-bottom: 16px; }

/* ── Toggle / Range ─────────────────────────────────────────── */
.toggle-chk { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.toggle-chk label { font-weight: 700; cursor: pointer; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 3px;
  background: var(--s2); border: none; outline: none; padding: 0; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ac); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15); cursor: pointer;
  transition: transform .15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ac); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15); cursor: pointer;
}
input[type="range"]:disabled { opacity: .4; cursor: default; }

/* ── Restaurant Cards ───────────────────────────────────────── */
.r-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 16px; }
.r-card {
  background: #fff; border: 1px solid var(--bd); border-radius: var(--r);
  padding: 22px; box-shadow: var(--sh);
  transition: box-shadow var(--tr), transform var(--tr);
}
.r-card:hover { box-shadow: var(--sh2); transform: translateY(-2px); }
.r-naam { font-family: 'Boogaloo', cursive; font-size: 1.25rem; color: var(--tx); margin-bottom: 4px; }
.r-meta { font-size: .8rem; color: var(--mu); margin-bottom: 14px; line-height: 1.6; }

/* ── Bestelling List ────────────────────────────────────────── */
.blist { list-style: none; }
.bi { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--bd); }
.bi:last-child { border-bottom: none; }
.bii { flex: 1; }
.bin { font-weight: 800; font-size: .95rem; }
.bid { font-size: .8rem; color: var(--mu); margin-top: 3px; line-height: 1.5; }
.bip { color: var(--tx); font-weight: 800; font-size: .95rem; padding-top: 2px; white-space: nowrap; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  background: var(--sf); border-bottom: 1px solid var(--bd);
  padding: 10px 24px; font-size: .82rem; color: var(--mu);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--ac); }
.breadcrumb span { color: var(--tx); font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   BESTELLEN PAGE
   ══════════════════════════════════════════════════════════════ */
.totaalbtn {
  background: var(--ac); color: #fff; font-weight: 800;
  padding: 10px 24px; border-radius: var(--pill); font-size: 1rem;
  cursor: pointer; border: none; font-family: 'Nunito', sans-serif;
  white-space: nowrap; transition: all var(--tr);
  box-shadow: 0 4px 16px rgba(214,168,79,.3);
}
.totaalbtn:hover { background: var(--ac2); transform: translateY(-1px); }

.cat-tabs { display: flex; overflow-x: auto; gap: 8px; padding: 16px 0; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  background: #fff; border: 2px solid var(--bd); color: var(--mu);
  padding: 8px 20px; border-radius: var(--pill); cursor: pointer;
  font-size: .88rem; font-weight: 700; white-space: nowrap; transition: all var(--tr);
}
.cat-tab.on, .cat-tab:hover { border-color: var(--ac); color: var(--ac); background: rgba(214,168,79,.04); }

/* Sticky category tabs on bestellen page */
.cat-tabs-sticky {
  position: sticky;
  top: 56px; /* below header */
  z-index: 100;
  background: var(--sf);
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 20px;
  padding-right: 20px;
  border-bottom: 1px solid var(--bd);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
#sticky-sub {
  position: fixed;
  left: 0;
  right: 0;
  top: 0; /* will be set dynamically by JS */
  z-index: 150;
  background: #fff;
  border-bottom: 1px solid var(--bd);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
@media (max-width: 600px) {
  .cat-tabs-sticky {
    top: 46px;
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

.menu-sect { margin-bottom: 28px; }
.menu-sect-title {
  font-family: 'Boogaloo', cursive; font-size: 1.2rem; color: var(--tx);
  margin-bottom: 10px; padding-left: 4px; display: flex; align-items: center; gap: 6px;
}

.menu-item {
  background: #fff; border: 1px solid var(--bd); border-radius: var(--r);
  padding: 14px 16px; margin-bottom: 10px; display: flex; align-items: center;
  gap: 12px; transition: box-shadow var(--tr); flex-wrap: wrap; box-shadow: var(--sh);
  max-width: 100%; overflow: hidden;
}
.menu-item:hover { box-shadow: var(--sh2); }
.mi-naam { font-weight: 800; font-size: .95rem; color: var(--tx); }
.mi-cat  { font-size: .75rem; color: var(--mu); margin-top: 2px; }
.mi-prijs { color: var(--tx); font-weight: 800; font-size: 1rem; white-space: nowrap; }

.maat-btns { display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.maat-btn {
  background: #fff; border: 2px solid var(--bd); color: var(--tx);
  padding: 8px 14px; border-radius: var(--r2); cursor: pointer;
  font-size: .88rem; font-weight: 800; font-family: 'Nunito', sans-serif;
  transition: all var(--tr); white-space: nowrap;
  display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.2;
}
.maat-btn:hover { border-color: var(--ac); color: var(--ac); }
.maat-size { font-size: .65rem; font-weight: 700; color: var(--mu); text-transform: uppercase; letter-spacing: .5px; }

.add-btn {
  background: var(--ac); color: #fff; border: none; border-radius: var(--pill);
  padding: 8px 20px; font-weight: 800; cursor: pointer; font-size: .88rem;
  font-family: 'Nunito', sans-serif; white-space: nowrap; transition: all var(--tr);
}
.add-btn:hover { background: var(--ac2); }

/* Naam Overlay */
.naam-ov {
  position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 900;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.naam-modal {
  background: #fff; border-radius: var(--r); padding: 40px 32px;
  width: 100%; max-width: 400px; text-align: center; box-shadow: var(--sh3);
}
.naam-modal h2 { font-family: 'Boogaloo', cursive; font-size: 2.2rem; color: var(--tx); margin-bottom: 8px; }
.naam-modal p { color: var(--mu); font-size: .95rem; margin-bottom: 24px; line-height: 1.55; }

/* Item Modal */
.item-ov {
  position: fixed; inset: 0; background: rgba(0,0,0,.3); z-index: 800;
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.item-ov.open { display: flex; }
.item-modal {
  background: #fff; border-radius: var(--r); width: 100%; max-width: 520px;
  max-height: 88vh; overflow-y: auto; padding: 28px 24px 40px; box-shadow: var(--sh3);
}
@media (max-width: 600px) {
  .item-ov { align-items: flex-end; }
  .item-modal { border-radius: 20px 20px 0 0; max-width: 100%; padding: 22px 16px 32px; }
}
.im-titel { font-family: 'Boogaloo', cursive; font-size: 1.5rem; color: var(--tx); margin-bottom: 4px; }
.im-prijs-hdr { font-weight: 800; font-size: 1.15rem; margin-bottom: 20px; color: var(--tx); }
.msec { margin-bottom: 18px; }
.mst { font-weight: 800; font-size: .9rem; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; color: var(--tx); }
.sgrid { display: flex; flex-direction: column; gap: 8px; }
.optlbl {
  display: flex; align-items: center; gap: 10px;
  background: var(--sf); border: 2px solid var(--bd); border-radius: var(--r2);
  padding: 12px 14px; cursor: pointer; font-size: .9rem; transition: border-color var(--tr);
}
.optlbl:hover { border-color: var(--ac); }
.opt-prijs { margin-left: auto; color: var(--ac2); font-weight: 800; font-size: .85rem; white-space: nowrap; }
.im-add-btn {
  background: var(--ac); color: #fff; border: none; border-radius: var(--pill);
  padding: 16px; width: 100%; font-weight: 800; font-size: 1.05rem;
  cursor: pointer; font-family: 'Nunito', sans-serif; margin-top: 12px; transition: all var(--tr);
}
.im-add-btn:hover { background: var(--ac2); }
.im-close {
  margin-left: auto; background: var(--sf); border: 1px solid var(--bd); color: var(--mu);
  width: 36px; height: 36px; border-radius: 50%; font-size: 1.1rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--tr); line-height: 1; padding: 0;
}
.im-close:hover { background: var(--rd); color: #fff; border-color: var(--rd); }

/* Bon Items */
.bon-item { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--bd); }
.bon-item:last-child { border-bottom: none; }
.bon-prijs { color: var(--tx); font-weight: 800; font-size: .95rem; white-space: nowrap; }
.del-btn {
  background: transparent; border: 1px solid var(--bd); color: var(--mu);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  font-size: .8rem; font-family: 'Nunito', sans-serif;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--tr); flex-shrink: 0; padding: 0;
}
.del-btn:hover { background: var(--rd); color: #fff; border-color: var(--rd); }

/* ══════════════════════════════════════════════════════════════
   KLANT DASHBOARD
   ══════════════════════════════════════════════════════════════ */
.layout { display: flex; gap: 24px; align-items: flex-start; min-width: 0; }
.sidebar { width: 280px; flex-shrink: 0; min-width: 0; }
.main-area { flex: 1; min-width: 0; }

.rest-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border-radius: var(--r2); cursor: pointer; transition: all var(--tr);
  border: 1px solid transparent; text-decoration: none !important; color: var(--tx);
}
.rest-item:hover { background: var(--sf); border-color: var(--bd); }
.rest-item.actief { background: rgba(214,168,79,.05); border-color: var(--ac); }
.rest-naam { font-weight: 800; font-size: .95rem; line-height: 1.3; }
.rest-meta { font-size: .75rem; color: var(--mu); }
.rest-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.zoek-results { background: #fff; border: 1px solid var(--bd); border-radius: var(--r); margin-top: 8px; box-shadow: var(--sh2); }
.zoek-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--bd); }
.zoek-item:last-child { border-bottom: none; }

.open-banner { background: rgba(34,197,94,.04); border: 2px solid rgba(34,197,94,.2); border-radius: var(--r); padding: 20px 24px; margin-bottom: 16px; }
.closed-banner { background: var(--sf); border: 1px solid var(--bd); border-radius: var(--r); padding: 20px 24px; margin-bottom: 16px; }
.link-box {
  background: var(--sf); border: 1px solid var(--bd); border-radius: var(--r2);
  padding: 12px 16px; font-size: .82rem; color: var(--mu);
  word-break: break-all; overflow-wrap: break-word;
  margin: 10px 0; font-family: 'Courier New', monospace;
  overflow: hidden;
}

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.stat-card { background: #fff; border: 1px solid var(--bd); border-radius: var(--r2); padding: 18px; text-align: center; box-shadow: var(--sh); }
.stat-num { font-family: 'Boogaloo', cursive; font-size: 1.8rem; color: var(--tx); }
.stat-lbl { font-size: .75rem; color: var(--mu); text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }

.bon-card { background: var(--sf); border: 1px solid var(--bd); border-radius: var(--r2); padding: 16px 18px; margin-bottom: 10px; }
.bon-naam { font-weight: 800; font-size: .95rem; margin-bottom: 8px; display: flex; justify-content: space-between; }

.verd-row { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--bd); font-size: .9rem; }
.verd-row:last-child { border-bottom: none; }

/* ══════════════════════════════════════════════════════════════
   RESTAURANT DASHBOARD
   ══════════════════════════════════════════════════════════════ */
.set-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--bd); }
.set-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.set-titel { font-weight: 800; font-size: .95rem; margin-bottom: 14px; color: var(--tx); display: flex; align-items: center; gap: 6px; }

.order-card { background: #fff; border: 1px solid var(--bd); border-radius: var(--r2); margin-bottom: 12px; overflow: hidden; box-shadow: var(--sh); transition: box-shadow var(--tr); }
.order-card:hover { box-shadow: var(--sh2); }
.order-hdr { display: flex; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer; transition: background var(--tr); }
.order-hdr:hover { background: var(--sf); }
.order-body { display: none; border-top: 1px solid var(--bd); padding: 16px 18px; }
.order-toggle { color: var(--mu); font-size: .8rem; transition: transform var(--tr); display: inline-flex; }
.order-toggle.open { transform: rotate(180deg); }

.eo-blok { background: var(--sf); border: 1px solid var(--bd); border-radius: var(--r2); padding: 18px; margin-bottom: 12px; }

/* Order totaal action bar */
.order-totaal-bar{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}

/* Excel import/export grid */
.menu-grid-ie{grid-template-columns:1fr 1fr}
.menu-grid-ie>div{min-width:0;overflow:hidden}

/* ══════════════════════════════════════════════════════════════
   LANDING PAGE
   ══════════════════════════════════════════════════════════════ */
/* Hero with background image */
.hero-img {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.hero-img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.75) 0%, rgba(255,255,255,.3) 60%, rgba(255,255,255,0) 100%);
}
.hero-img-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 20px;
  min-height: 420px;
  max-width: 680px;
  margin: 0 auto;
}
.hero-img-content .hero-badge {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-img-content .hero-titel { color: var(--tx); text-shadow: 0 1px 2px rgba(255,255,255,.6); }
.hero-img-content .hero-sub { color: #444; }
.hero-img-content .btn-s { background: #fff; }

@media (min-width: 1200px) {
  .hero-img { min-height: 0; }
  .hero-img-bg { position: relative; display: block; width: 100%; height: auto; }
  .hero-img-content { position: absolute; inset: 0; min-height: 0; padding: 40px 20px; }
}
@media (max-width: 768px) {
  .hero-img { min-height: 0; }
  .hero-img-content { min-height: 0; padding: 48px 20px; }
  .hero-img-content .hero-titel { font-size: 2.4rem; }
  .hero-img-content .hero-sub { font-size: .95rem; }
}
@media (max-width: 480px) {
  .hero-img-content { padding: 36px 16px; }
  .hero-img-content .hero-titel { font-size: 2rem; }
  .hero-img-content .hero-sub { font-size: .88rem; }
  .hero-img-content .btn { padding: 10px 20px; font-size: .88rem; }
}

.hero { text-align: center; padding: 80px 20px 56px; max-width: 740px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(214,168,79,.06); border: 1px solid rgba(214,168,79,.2);
  color: var(--ac2); font-size: .75rem; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 20px; border-radius: var(--pill); margin-bottom: 24px;
}
.hero-titel { font-family: 'Boogaloo', cursive; font-size: 3.6rem; line-height: 1.08; margin-bottom: 18px; color: var(--tx); }
.hero-titel span { color: var(--df); }
.hero-sub { color: var(--mu); font-size: 1.15rem; line-height: 1.7; max-width: 540px; margin: 0 auto 40px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }

.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 980px; margin: 0 auto 70px; padding: 0 20px;
}
@media (max-width: 700px) {
  .how-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; gap: 10px;
    padding: 0 16px 12px; margin-bottom: 40px;
    scrollbar-width: none;
  }
  .how-grid::-webkit-scrollbar { display: none; }
  .how-grid .how-card {
    min-width: calc(100vw - 80px); max-width: calc(100vw - 80px);
    scroll-snap-align: start; flex-shrink: 0;
    padding: 20px 16px;
  }
  .how-grid .how-num { font-size: 1.6rem; margin-bottom: 4px; }
  .how-grid .how-titel { font-size: .88rem; margin-bottom: 4px; }
  .how-grid .how-txt { font-size: .78rem; line-height: 1.5; }
}
.how-card {
  background: #fff; border: 1px solid var(--bd); border-radius: var(--r);
  padding: 32px 24px; text-align: center; box-shadow: var(--sh);
  transition: box-shadow var(--tr), transform var(--tr);
}
.how-card:hover { box-shadow: var(--sh2); transform: translateY(-3px); }
.how-num { font-family: 'Boogaloo', cursive; font-size: 2.4rem; color: var(--ac); margin-bottom: 8px; }
.how-titel { font-weight: 800; margin-bottom: 8px; font-size: 1.05rem; }
.how-txt { font-size: .88rem; color: var(--mu); line-height: 1.7; }

.types-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 0 auto 70px; padding: 0 20px; }
.type-blok { background: #fff; border: 2px solid var(--bd); border-radius: var(--r); padding: 32px 28px; box-shadow: var(--sh); }
.type-blok.rest { border-color: var(--ac); }
.type-ikon {
  width: 52px; height: 52px; border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; background: rgba(214,168,79,.08);
  border: 1px solid rgba(214,168,79,.15); color: var(--ac);
}
.type-titel { font-family: 'Boogaloo', cursive; font-size: 1.4rem; color: var(--tx); margin-bottom: 10px; }
.type-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.type-list li { font-size: .88rem; color: var(--t2); display: flex; gap: 8px; align-items: flex-start; }
.type-list li .i { flex-shrink: 0; margin-top: 2px; }

.sect-titel { text-align: center; font-family: 'Boogaloo', cursive; font-size: 2rem; color: var(--tx); margin-bottom: 32px; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto 70px; padding: 0 20px; }
.feature {
  background: #fff; border: 1px solid var(--bd); border-radius: var(--r);
  padding: 24px; box-shadow: var(--sh);
  transition: box-shadow var(--tr), transform var(--tr);
}
.feature:hover { box-shadow: var(--sh2); transform: translateY(-2px); }
.feature-icon {
  width: 40px; height: 40px; border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; background: rgba(214,168,79,.06);
  border: 1px solid rgba(214,168,79,.12); color: var(--ac);
}
.feature-titel { font-weight: 800; margin-bottom: 6px; font-size: 1rem; }
.feature-txt { font-size: .85rem; color: var(--mu); line-height: 1.7; }

/* ── Register ───────────────────────────────────────────────── */
.reg-hero { text-align: center; padding: 56px 20px 36px; max-width: 600px; margin: 0 auto; }
.reg-hero h1 { font-family: 'Boogaloo', cursive; font-size: 2.6rem; margin-bottom: 10px; color: var(--tx); }
.reg-hero p { color: var(--mu); font-size: 1rem; line-height: 1.6; }

.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 560px; margin: 36px auto; }
.type-card {
  background: #fff; border: 2px solid var(--bd); border-radius: var(--r);
  padding: 32px 24px; text-align: center; cursor: pointer;
  transition: all var(--tr); text-decoration: none !important;
  color: var(--tx); box-shadow: var(--sh);
}
.type-card:hover, .type-card.sel { border-color: var(--ac); box-shadow: var(--sh2); transform: translateY(-2px); }
.type-card-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; background: rgba(214,168,79,.06);
  border: 1px solid rgba(214,168,79,.15); color: var(--ac);
}
.type-card-titel { font-family: 'Boogaloo', cursive; font-size: 1.3rem; color: var(--tx); margin-bottom: 8px; }
.type-card-sub { font-size: .85rem; color: var(--mu); line-height: 1.6; }

/* ── Restaurant Register Hero ───────────────────────────────── */
.reg-rest-hero {
  position: relative; margin-top: -20px;
}
.reg-rest-img {
  position: relative; width: 100%; height: 580px;
  overflow: hidden;
}
.reg-rest-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.reg-rest-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.45) 35%, transparent 60%);
}
.reg-rest-img-overlay {
  position: absolute; top: 48px; left: 48px;
  color: var(--tx); max-width: 400px; z-index: 1;
}
.reg-rest-img-overlay h1 {
  font-family: 'Boogaloo', cursive; font-size: 2.4rem;
  margin-bottom: 6px; line-height: 1.1;
}
.reg-rest-img-overlay h1 span { color: var(--ac); }
.reg-rest-img-overlay p {
  font-size: .92rem; color: var(--t2); line-height: 1.6;
}
.reg-rest-form {
  position: relative; z-index: 1;
  width: 520px; max-width: calc(100% - 40px);
  background: #fff;
  padding: 36px 32px;
  margin: -80px auto 40px;
  border-radius: var(--r);
  box-shadow: 0 8px 40px rgba(0,0,0,.1);
}
@media (min-width: 900px) {
  .reg-rest-form {
    margin: -542px 48px 40px auto;
  }
}
@media (max-width: 700px) {
  .reg-rest-img { height: 280px; }
  .reg-rest-img::after {
    background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.3) 50%, transparent 70%);
  }
  .reg-rest-img-overlay { top: 32px; left: 16px; max-width: calc(100% - 32px); }
  .reg-rest-img-overlay h1 { font-size: 1.5rem; }
  .reg-rest-img-overlay p { font-size: .8rem; }
  .reg-rest-form {
    width: auto; max-width: 100%;
    margin: -32px 12px 24px;
    padding: 24px 18px;
    border-radius: var(--r);
  }
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer { display: none; } /* legacy, replaced by sp-footer */

/* ── Premium Footer ─────────────────────────────────────── */
.sp-footer { margin-top: 40px; }
.sp-footer-wave { line-height: 0; margin-bottom: -2px; }
.sp-footer-wave svg { display: block; width: 100%; height: 60px; }
.sp-footer-bg { background: #0F3D36; position: relative; overflow: hidden; }
.sp-footer-illu { position: relative; max-width: 800px; margin: 0 auto; padding: 0 20px; }
.sp-footer-people { display: block; width: 100%; height: auto; max-height: 100px; }
.sp-footer-inner { max-width: 800px; margin: 0 auto; padding: 0 20px 32px; position: relative; z-index: 1; }
.sp-footer-logo {
  font-family: 'Boogaloo', cursive; font-size: 1.6rem; color: #fff; text-decoration: none;
  display: inline-block; margin-bottom: 4px;
}
.sp-footer-logo span { color: #D6A84F; }
.sp-footer-tagline { color: rgba(255,255,255,.55); font-size: .88rem; margin-bottom: 24px; }
.sp-footer-links { display: flex; gap: 48px; margin-bottom: 28px; flex-wrap: wrap; }
.sp-footer-col { display: flex; flex-direction: column; gap: 8px; }
.sp-footer-col-title { color: #D6A84F; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.sp-footer-col a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .85rem; transition: color .2s; }
.sp-footer-col a:hover { color: #fff; }
.sp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
  font-size: .75rem; color: rgba(255,255,255,.35);
}
@media (max-width: 480px) {
  .sp-footer-links { gap: 28px; }
  .sp-footer-wave svg { height: 36px; }
  .sp-footer-people { max-height: 70px; }
}

/* ── Algemene Voorwaarden ────────────────────────────────── */
.av-content h2 { font-family: 'Boogaloo', cursive; font-size: 1.2rem; color: var(--df); margin: 28px 0 8px; }
.av-content p { font-size: .9rem; color: var(--tx); line-height: 1.7; margin-bottom: 10px; }
.av-content ul { margin: 0 0 14px 20px; padding: 0; }
.av-content li { font-size: .88rem; color: var(--tx); line-height: 1.6; margin-bottom: 4px; }

/* ── Count Badge ────────────────────────────────────────────── */
.count-badge {
  background: var(--ac); color: #fff; font-family: 'Boogaloo', cursive;
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .9rem;
}

/* ── Print ──────────────────────────────────────────────────── */
.print-bon { display: none; }
@media print {
  body * { visibility: hidden; }
  .print-bon.printing, .print-bon.printing * { visibility: visible; }
  .print-bon.printing {
    display: block !important; position: fixed; top: 0; left: 0;
    width: 100%; background: #fff; color: #000; padding: 10mm; font-family: Arial, sans-serif;
  }
}

/* ── Mobile Menu ────────────────────────────────────────────── */
.mob-menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto;
}
.mob-close-btn { display: none; }
.mob-menu-btn span { display: block; width: 22px; height: 2px; background: var(--tx); margin: 5px 0; transition: .2s; }
.hdr-nav { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hdr-nav a { font-size: .9rem; color: var(--tx); text-decoration: none; white-space: nowrap; font-weight: 700; }

/* Fullscreen mobile overlay - sits outside header, direct child of body */
.mob-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 99999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.mob-overlay.mob-open { display: flex; }
.mob-overlay a {
  padding: 22px 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--tx);
  text-decoration: none;
  border-bottom: 1px solid var(--bd);
  width: 80%;
  text-align: center;
}
.mob-overlay a:last-of-type { border-bottom: none; }
.mob-overlay .btn {
  margin-top: 20px;
  padding: 16px 40px;
  font-size: 1.15rem;
  width: 80%;
  justify-content: center;
  border-bottom: none;
}
.mob-overlay .mob-close-btn {
  display: flex;
  position: absolute;
  top: 18px;
  right: 22px;
  background: var(--sf);
  border: 1px solid var(--bd);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--tx);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: all var(--tr);
}
.mob-overlay .mob-close-btn:hover { background: var(--s3); }
body.menu-open { overflow: hidden; }

.hdr-nav-desktop { display: flex; align-items: center; gap: 10px; margin-left: auto; }

@media (max-width: 700px) {
  .mob-menu-btn { display: block; }
  .hdr-nav-desktop { display: none !important; }
  /* Center badge between logo and hamburger */
  .badge { flex: 1; justify-content: center; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE - Mobile & Tablet friendly
   ══════════════════════════════════════════════════════════════ */

/* ── Tablet (max 1024px) ───────────────────────────────────── */
@media (max-width: 1024px) {
  .layout { flex-direction: column; }
  .sidebar { width: 100%; }
  .main-area { width: 100%; }
}

/* ── Small Tablet (max 768px) ──────────────────────────────── */
@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hdr { padding: 12px 16px; }
  body { padding-top: 64px; }
  .wrap { padding: 20px 16px; }
  .types-grid { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: 1fr; }

  /* Nav tabs: reduce padding so more fit, scroll for the rest */
  nav.tabs a { font-size: .82rem; padding: 12px 14px; }

  /* optlbl: allow price text to wrap */
  .opt-prijs { white-space: normal; text-align: right; font-size: .78rem; }
  .optlbl { padding: 10px 12px; gap: 8px; font-size: .85rem; }
}

/* ── Mobile (max 600px) ────────────────────────────────────── */
@media (max-width: 600px) {
  body { font-size: 15px; }

  /* Forms stack */
  .fr { flex-direction: column; }

  /* Hero */
  .hero-titel { font-size: 2.2rem; }
  .hero-sub { font-size: .92rem; }

  /* Nav tabs compact */
  nav.tabs a { font-size: .78rem; padding: 11px 10px; gap: 4px; }

  /* Cards */
  .card { padding: 14px 12px; }
  .bon-card { padding: 12px 10px; }
  .ct { font-size: 1.15rem; }

  /* Wraps */
  .wrap-sm { padding: 32px 14px; }
  .wrap { padding: 14px 12px; }

  /* Stats */
  .stat-card { padding: 12px 6px; }
  .stat-num { font-size: 1.4rem; }
  .stat-lbl { font-size: .68rem; }
  .stats-row { gap: 6px; }

  /* Menu items */
  .menu-item { padding: 10px; gap: 8px; }
  .maat-btns { gap: 4px; }
  .maat-btn { padding: 6px 10px; font-size: .82rem; }
  .maat-size { font-size: .58rem; }

  /* Header */
  .hdr { padding: 10px 12px; gap: 8px; }
  body { padding-top: 56px; }
  .badge { font-size: .65rem; padding: 4px 10px; }
  .link-box { font-size: .72rem; padding: 10px 12px; }

  /* Sticky sub */
  #sticky-sub { font-size: .78rem; }
  .totaalbtn { font-size: .78rem !important; padding: 5px 10px !important; }

  /* Buttons */
  .btn { padding: 8px 16px; font-size: .82rem; }
  .btn-w { padding: 12px; font-size: .95rem; }
  .btn-sm { padding: 6px 12px; font-size: .76rem; }
  .totaalbtn { font-size: .9rem; padding: 8px 18px; }

  /* CTA row */
  .cta-row { gap: 10px; }
  .cta-row .btn { width: 100%; }

  /* optlbl: stack vertically on small screens */
  .optlbl { flex-wrap: wrap; padding: 10px; gap: 6px; font-size: .82rem; }
  .opt-prijs { white-space: normal; font-size: .75rem; margin-left: 0; }

  /* Tables scroll */
  table { font-size: .82rem; }
  td, th { padding: 6px 4px; }
}

/* ── Small Mobile (max 480px) ──────────────────────────────── */
@media (max-width: 480px) {
  .hero-titel { font-size: 1.9rem; }
  .card { padding: 12px 10px; }
  .wrap { padding: 12px 10px; }
  .hdr { padding: 8px 10px; gap: 6px; }
  body { padding-top: 48px; }
  .logo { font-size: 1.5rem; }

  .stat-card { padding: 8px 4px; }
  .stat-num { font-size: 1.2rem; }
  .stat-lbl { font-size: .6rem; }
  .stats-row { gap: 4px; }

  nav.tabs a { font-size: .72rem; padding: 10px 8px; }
}

/* Order detail mini-tabs */
.od-tab { opacity:.5; transition: all .2s; }
.od-tab.on { opacity:1; background: var(--ac); color: #fff; border-color: var(--ac); }

/* ══════════════════════════════════════════════════════════════
   KLANT REGISTRATIE LANDING PAGE
   ══════════════════════════════════════════════════════════════ */
/* ── Klant Landing Page ─────────────────────────────────── */
.reg-landing-hdr{background:#fff;border-bottom:1px solid var(--bd);padding:14px 24px;display:flex;align-items:center;gap:14px;position:sticky;top:0;z-index:200}
.reg-landing-hdr nav{margin-left:auto;display:flex;align-items:center;gap:12px}
.klant-hero{display:grid;grid-template-columns:1fr 1fr;min-height:calc(100vh - 60px);overflow:hidden}
.klant-hero-left{position:relative;padding:0;display:flex;flex-direction:column;justify-content:center;overflow:hidden;min-height:600px}
.klant-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.klant-hero-overlay{position:absolute;inset:0;background:linear-gradient(165deg,rgba(15,61,54,.92) 0%,rgba(15,61,54,.82) 30%,rgba(10,45,40,.72) 60%,rgba(0,0,0,.5) 100%)}
.klant-hero-content{position:relative;z-index:2;padding:80px 60px}
.klant-hero-left::before{content:'';position:absolute;top:-120px;right:-120px;width:400px;height:400px;background:radial-gradient(circle,rgba(214,168,79,.1) 0%,transparent 70%);border-radius:50%;z-index:1}
.klant-hero-left::after{content:'';position:absolute;bottom:-80px;left:-80px;width:300px;height:300px;background:radial-gradient(circle,rgba(214,168,79,.08) 0%,transparent 70%);border-radius:50%;z-index:1}
.klant-hero-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(214,168,79,.12);border:1px solid rgba(214,168,79,.25);color:var(--ac);font-size:.72rem;font-weight:800;letter-spacing:2px;text-transform:uppercase;padding:8px 18px;border-radius:var(--pill);margin-bottom:28px;width:fit-content}
.klant-hero-title{font-family:'Boogaloo',cursive;font-size:3.2rem;color:#fff;line-height:1.1;margin-bottom:20px;position:relative;z-index:1}
.klant-hero-title span{color:var(--ac)}
.klant-hero-sub{font-size:1.1rem;color:rgba(255,255,255,.6);line-height:1.7;max-width:440px;margin-bottom:40px;position:relative;z-index:1}
.klant-hero-usps{display:flex;flex-direction:column;gap:16px;position:relative;z-index:1}
.klant-hero-usp{display:flex;align-items:center;gap:14px;color:rgba(255,255,255,.8);font-size:.95rem;font-weight:600}
.klant-hero-usp-icon{width:40px;height:40px;border-radius:10px;background:rgba(214,168,79,.1);border:1px solid rgba(214,168,79,.2);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--ac)}
.klant-hero-right{background:var(--sf);padding:60px;display:flex;align-items:center;justify-content:center}
.klant-form-card{background:#fff;border-radius:20px;padding:40px 36px;width:100%;max-width:440px;box-shadow:0 8px 40px rgba(0,0,0,.06);border:1px solid var(--bd)}
.klant-form-title{font-family:'Boogaloo',cursive;font-size:1.8rem;color:var(--tx);margin-bottom:4px;display:flex;align-items:center;gap:8px}
.klant-form-sub{font-size:.85rem;color:var(--mu);margin-bottom:28px;line-height:1.5}
.klant-form-card .form-row{margin-bottom:14px}
.klant-form-card .fl{font-size:.75rem;margin-bottom:5px}
.klant-form-card input[type="text"],.klant-form-card input[type="email"],.klant-form-card input[type="tel"],.klant-form-card input[type="password"]{padding:11px 14px;font-size:.92rem;border-radius:var(--r3)}
.klant-form-card .btn-w{margin-top:8px;padding:14px;font-size:1rem;border-radius:var(--r2)}
.klant-form-divider{display:flex;align-items:center;gap:12px;margin:20px 0;font-size:.78rem;color:var(--mu);font-weight:700}
.klant-form-divider::before,.klant-form-divider::after{content:'';flex:1;height:1px;background:var(--bd)}
.social-proof-bar{background:#fff;border-top:1px solid var(--bd);border-bottom:1px solid var(--bd);padding:28px 24px}
.social-proof-inner{max-width:960px;margin:0 auto;display:flex;justify-content:center;align-items:center;gap:48px;flex-wrap:wrap}
.social-proof-item{display:flex;align-items:center;gap:12px;color:var(--mu);font-size:.88rem;font-weight:700}
.klant-how{padding:80px 24px;max-width:1060px;margin:0 auto}
.klant-how-title{text-align:center;font-family:'Boogaloo',cursive;font-size:2.4rem;color:var(--tx);margin-bottom:12px}
.klant-how-sub{text-align:center;color:var(--mu);font-size:1rem;margin-bottom:56px;max-width:540px;margin-left:auto;margin-right:auto}
.klant-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;position:relative}
.klant-steps::before{content:'';position:absolute;top:36px;left:60px;right:60px;height:2px;background:linear-gradient(90deg,var(--ac),var(--a2));opacity:.2;z-index:0}
.klant-step{text-align:center;position:relative;z-index:1}
.klant-step-num{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,var(--ac),var(--a2));color:#fff;font-family:'Boogaloo',cursive;font-size:1.5rem;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;box-shadow:0 4px 16px rgba(214,168,79,.25)}
.klant-step-icon{width:56px;height:56px;border-radius:14px;background:rgba(214,168,79,.06);border:1px solid rgba(214,168,79,.12);display:flex;align-items:center;justify-content:center;margin:0 auto 14px;color:var(--ac)}
.klant-step-title{font-weight:800;font-size:.95rem;color:var(--tx);margin-bottom:8px}
.klant-step-txt{font-size:.85rem;color:var(--mu);line-height:1.6}
.klant-features{background:var(--sf);padding:80px 24px;border-top:1px solid var(--bd);border-bottom:1px solid var(--bd)}
.klant-features-inner{max-width:1060px;margin:0 auto}
.klant-features-title{text-align:center;font-family:'Boogaloo',cursive;font-size:2.2rem;color:var(--tx);margin-bottom:48px}
.klant-features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.klant-feat{background:#fff;border:1px solid var(--bd);border-radius:var(--r);padding:28px 24px;box-shadow:var(--sh);transition:box-shadow var(--tr),transform var(--tr)}
.klant-feat:hover{box-shadow:var(--sh2);transform:translateY(-3px)}
.klant-feat-icon{width:44px;height:44px;border-radius:12px;background:rgba(214,168,79,.07);border:1px solid rgba(214,168,79,.14);display:flex;align-items:center;justify-content:center;margin-bottom:16px;color:var(--ac)}
.klant-feat-title{font-weight:800;font-size:.95rem;margin-bottom:8px;color:var(--tx)}
.klant-feat-txt{font-size:.85rem;color:var(--mu);line-height:1.65}
.klant-cta{padding:80px 24px;text-align:center;max-width:600px;margin:0 auto}
.klant-cta-title{font-family:'Boogaloo',cursive;font-size:2.4rem;color:var(--tx);margin-bottom:12px}
.klant-cta-sub{color:var(--mu);font-size:1rem;margin-bottom:32px;line-height:1.6}
.klant-cta-note{font-size:.82rem;color:var(--mu);margin-top:16px}
@media(max-width:900px){
  .klant-hero{grid-template-columns:1fr;min-height:auto}
  .klant-hero-left{min-height:auto}
  .klant-hero-content{padding:48px 24px}
  .klant-hero-title{font-size:2.4rem}
  .klant-hero-right{padding:32px 20px}
  .klant-form-card{padding:28px 22px}
  .klant-steps{grid-template-columns:repeat(2,1fr);gap:20px}
  .klant-steps::before{display:none}
  .klant-features-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .klant-hero-left{min-height:auto}
  .klant-hero-content{padding:36px 18px}
  .klant-hero-title{font-size:2rem}
  .klant-hero-sub{font-size:.95rem}
  .klant-hero-right{padding:24px 14px}
  .klant-form-card{padding:24px 18px;border-radius:var(--r)}
  .klant-steps{grid-template-columns:1fr 1fr}
  .klant-features-grid{grid-template-columns:1fr}
  .social-proof-inner{gap:24px}
  .social-proof-item{font-size:.8rem}
  .reg-landing-hdr nav .btn{padding:6px 14px;font-size:.78rem}
  .klant-how{padding:48px 18px}
  .klant-features{padding:48px 18px}
  .klant-cta{padding:48px 18px}
}
@media(max-width:400px){
  .klant-hero-title{font-size:1.7rem}
  .klant-hero-usps{gap:12px}
  .klant-hero-usp{font-size:.85rem}
  .klant-hero-usp-icon{width:34px;height:34px}
}

/* ══════════════════════════════════════════════════════════════
   RESTAURANT REGISTRATIE LANDING PAGE
   ══════════════════════════════════════════════════════════════ */
.rest-reg-hero{display:grid;grid-template-columns:1fr 1fr;min-height:calc(100vh - 60px);overflow:hidden}
.rest-reg-hero-left{position:relative;display:flex;flex-direction:column;justify-content:center;overflow:hidden;min-height:640px}
.rest-reg-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}
.rest-reg-hero-overlay{position:absolute;inset:0;background:linear-gradient(165deg,rgba(15,61,54,.92) 0%,rgba(15,61,54,.84) 30%,rgba(10,45,40,.74) 60%,rgba(0,0,0,.55) 100%)}
.rest-reg-hero-content{position:relative;z-index:2;padding:80px 60px}
.rest-reg-hero-title{font-family:'Boogaloo',cursive;font-size:3.2rem;color:#fff;line-height:1.1;margin-bottom:20px}
.rest-reg-hero-title span{color:var(--ac)}
.rest-reg-hero-sub{font-size:1.1rem;color:rgba(255,255,255,.6);line-height:1.7;max-width:440px;margin-bottom:40px}
.rest-reg-hero-right{background:var(--sf);padding:48px;display:flex;align-items:center;justify-content:center;overflow-y:auto}
.rest-reg-form-card{background:#fff;border-radius:20px;padding:36px 32px;width:100%;max-width:460px;box-shadow:0 8px 40px rgba(0,0,0,.06);border:1px solid var(--bd)}
.rest-reg-form-card .form-row{margin-bottom:14px}
.rest-reg-form-card .fl{font-size:.75rem;margin-bottom:5px}
.rest-reg-form-card input[type="text"],.rest-reg-form-card input[type="email"],.rest-reg-form-card input[type="tel"],.rest-reg-form-card input[type="password"]{padding:11px 14px;font-size:.92rem;border-radius:var(--r3)}
.rest-reg-form-card .btn-w{margin-top:8px;padding:14px;font-size:1rem;border-radius:var(--r2)}
.rest-reg-section-label{font-size:.72rem;font-weight:800;color:var(--mu);text-transform:uppercase;letter-spacing:1px;margin-bottom:10px;display:flex;align-items:center;gap:6px}
.rest-reg-notice{background:rgba(214,168,79,.06);border:1px solid rgba(214,168,79,.15);border-radius:var(--r2);padding:12px 14px;margin:16px 0;font-size:.8rem;color:var(--mu);display:flex;align-items:center;gap:8px}
@media(max-width:900px){
  .rest-reg-hero{grid-template-columns:1fr;min-height:auto}
  .rest-reg-hero-left{min-height:auto}
  .rest-reg-hero-content{padding:48px 24px}
  .rest-reg-hero-title{font-size:2.4rem}
  .rest-reg-hero-right{padding:32px 20px}
  .rest-reg-form-card{padding:28px 22px}
}
@media(max-width:600px){
  .rest-reg-hero-left{min-height:auto}
  .rest-reg-hero-content{padding:36px 18px}
  .rest-reg-hero-title{font-size:2rem}
  .rest-reg-hero-sub{font-size:.95rem}
  .rest-reg-hero-right{padding:24px 14px}
  .rest-reg-form-card{padding:24px 18px;border-radius:var(--r)}
}
@media(max-width:400px){
  .rest-reg-hero-title{font-size:1.7rem}
}

/* ══════════════════════════════════════════════════════════════
   RESTAURANT PUBLIC PAGE
   ══════════════════════════════════════════════════════════════ */
.rp-header-card{padding:28px}
.rp-header{display:flex;align-items:flex-start;gap:18px;margin-bottom:20px}
.rp-icon{font-size:2.4rem;flex-shrink:0;width:56px;height:56px;display:flex;align-items:center;justify-content:center;background:rgba(214,168,79,.06);border:1px solid rgba(214,168,79,.14);border-radius:14px}
.rp-info{flex:1;min-width:0}
.rp-naam{font-family:'Boogaloo',cursive;font-size:2rem;color:var(--tx);margin-bottom:6px;line-height:1.1}
.rp-meta{font-size:.85rem;color:var(--mu);display:flex;align-items:center;gap:6px;margin-bottom:4px}
.rp-beschrijving{font-size:.9rem;color:var(--t2);margin-top:10px;line-height:1.6}
.rp-status{flex-shrink:0}
.rp-badges{display:flex;flex-wrap:wrap;gap:8px;padding-top:18px;border-top:1px solid var(--bd);margin-bottom:20px}
.rp-badge{display:inline-flex;align-items:center;gap:6px;background:var(--sf);border:1px solid var(--bd);border-radius:var(--pill);padding:7px 14px;font-size:.78rem;font-weight:700;color:var(--t2)}
.rp-badge-detail{color:var(--mu);font-weight:600}
.rp-cta{padding-top:18px;border-top:1px solid var(--bd);display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.rp-menu-section{margin-top:8px}
.rp-menu-cat{margin-bottom:28px}
.rp-menu-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border:1px solid var(--bd);border-radius:var(--r2);margin-bottom:6px;background:#fff;transition:box-shadow .15s}
.rp-menu-item:hover{box-shadow:var(--sh)}
.rp-mi-info{flex:1;min-width:0}
.rp-mi-naam{font-weight:700;font-size:.92rem;color:var(--tx)}
.rp-mi-prijzen{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}
.rp-mi-prijs{font-weight:800;color:var(--tx);font-size:.95rem}
.rp-mi-maat{display:flex;flex-direction:column;align-items:center;gap:1px;background:var(--sf);border:1px solid var(--bd);border-radius:var(--r3);padding:6px 12px;font-weight:800;font-size:.85rem;color:var(--tx);line-height:1.2}
.rp-mi-maat-label{font-size:.62rem;font-weight:700;color:var(--mu);text-transform:uppercase;letter-spacing:.5px}
@media(max-width:600px){
  .rp-header{flex-direction:column;gap:12px}
  .rp-header .rp-status{align-self:flex-start}
  .rp-naam{font-size:1.6rem}
  .rp-mi-prijzen{gap:6px}
  .rp-mi-maat{padding:5px 8px;font-size:.78rem}
  .rp-cta{flex-direction:column;align-items:flex-start}
}

/* ══════════════════════════════════════════════════════════════
   MENU EDITOR - Restaurant Dashboard
   ══════════════════════════════════════════════════════════════ */
/* Type selector (radio pill buttons) */
.mi-type-opt{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border:2px solid var(--bd);border-radius:var(--pill);font-size:.82rem;font-weight:700;cursor:pointer;transition:all .15s;color:var(--mu);background:#fff}
.mi-type-opt:hover{border-color:var(--ac);color:var(--ac)}
.mi-type-sel{border-color:var(--ac)!important;background:rgba(214,168,79,.06)!important;color:var(--ac)!important}

/* Euro prefix input */
.mi-prijs-input{display:flex;align-items:center;border:2px solid var(--bd);border-radius:var(--r3);overflow:hidden;transition:border-color .15s}
.mi-prijs-input:focus-within{border-color:var(--ac);box-shadow:0 0 0 3px rgba(214,168,79,.12)}
.mi-euro{padding:8px 0 8px 12px;font-weight:800;color:var(--ac);font-size:.95rem;pointer-events:none}
.mi-prijs-input input{border:none!important;box-shadow:none!important;padding-left:6px;outline:none}
.mi-prijs-input input:focus{border:none!important;box-shadow:none!important}
.mi-prijs-sm{max-width:100px}
.mi-prijs-sm .mi-euro{padding:6px 0 6px 8px;font-size:.82rem}
.mi-prijs-sm input{padding:6px 6px 6px 4px;font-size:.85rem}

/* Maten grid (add form) */
.mi-maten-grid{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.mi-maat-toggle{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border:2px solid var(--bd);border-radius:var(--r2);cursor:pointer;transition:all .15s;background:#fff;min-width:110px;flex:1}
.mi-maat-toggle:hover{border-color:var(--ac)}
.mi-maat-label{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:var(--mu)}
.mi-maat-off{opacity:.4}
.mi-maat-off .mi-prijs-input{border-color:var(--s3)}

/* Edit row in menu list */
.mi-edit-row{padding:10px 0;border-bottom:1px solid var(--bd);display:flex;align-items:center;gap:8px}
.mi-edit-row:last-child{border-bottom:none}
.mi-edit-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex:1}
.mi-edit-naam{flex:2;min-width:130px}
.mi-edit-naam input{font-weight:700}
.mi-edit-maten{display:flex;gap:6px;flex-wrap:wrap}
.mi-edit-maat{display:flex;align-items:center;gap:4px}
.mi-edit-maat-label{font-size:.68rem;font-weight:800;color:var(--mu);text-transform:uppercase;width:16px;text-align:center}

/* Drag handle */
.mi-drag-handle{
  cursor:grab;padding:2px 4px;flex-shrink:0;
  opacity:.35;transition:opacity .15s;
  touch-action:none;-webkit-user-select:none;user-select:none;
  background:none;border:none;color:var(--mu);
  font-size:1.1rem;line-height:1;letter-spacing:1px;
  display:flex;align-items:center;justify-content:center;
  min-width:20px;min-height:28px;
}
.mi-drag-handle:hover{opacity:.8;color:var(--ac)}
.mi-drag-handle:active{cursor:grabbing;opacity:1}
.mi-drag-handle *{pointer-events:none}

/* Drag states */
.mi-edit-row.mi-dragging{opacity:.25;background:var(--s2)}
.mi-drop-marker{height:3px;background:var(--ac);border-radius:2px;margin:2px 0}

/* Extra opties restyle */
.eo-optie-row{display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--bd);border-radius:var(--r3);margin-bottom:5px;background:#fff;transition:box-shadow .15s}

/* Quick-add button in category header */
.mi-quick-add-btn{
  background:rgba(214,168,79,.08);border:2px solid rgba(214,168,79,.2);color:var(--ac);
  width:30px;height:30px;border-radius:50%;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  transition:all .15s;flex-shrink:0;padding:0;font-size:1rem;
}
.mi-quick-add-btn:hover{background:var(--ac);color:#fff;border-color:var(--ac)}

/* Quick-add inline form */
.mi-quick-add{
  border-top:2px dashed rgba(214,168,79,.3);
  margin-top:8px;padding-top:12px;
}
.mi-qa-form{display:flex;flex-direction:column;gap:10px}
.mi-qa-type{display:flex;gap:6px;margin-bottom:2px}
.mi-qa-type-btn{
  background:#fff;border:2px solid var(--bd);border-radius:var(--pill);
  padding:5px 14px;font-size:.78rem;font-weight:700;cursor:pointer;
  font-family:'Nunito',sans-serif;color:var(--mu);transition:all .15s;
}
.mi-qa-type-btn:hover{border-color:var(--ac);color:var(--ac)}
.mi-qa-type-sel{border-color:var(--ac)!important;background:rgba(214,168,79,.06)!important;color:var(--ac)!important}
.mi-qa-fields{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.mi-qa-naam{flex:1;min-width:120px;font-weight:700}
.mi-qa-prijs-maten{display:flex;gap:4px;flex-wrap:wrap}
.eo-optie-row:hover{box-shadow:var(--sh)}
.eo-optie-naam{flex:1;font-weight:700;font-size:.88rem}
.eo-optie-prijs{font-size:.82rem;font-weight:700;color:var(--ac);white-space:nowrap}

/* ══════════════════════════════════════════════════════════════
   RESTAURANT DASHBOARD - FULL MOBILE RESPONSIVENESS
   ══════════════════════════════════════════════════════════════ */

/* ── Tablet (max 768px) ─ Restaurant Dashboard ─────────────── */
@media(max-width:768px){
  /* Order cards: header layout */
  .order-hdr{padding:12px 14px;gap:8px;flex-wrap:wrap}
  .order-body{padding:14px}

  /* Order bon edit rows: stack on tablet */
  .bon-edit-row{flex-wrap:wrap!important;gap:6px!important}
  .bon-edit-row>span:first-child{flex-basis:100%!important;flex:none!important}
  .bon-edit-row .btn{font-size:.7rem!important;padding:4px 8px!important}

  /* Edit dialog inside orders */
  .order-body [id^="edit-"]{padding:10px!important}
  .order-body [id^="edit-"] [style*="flex:2"]{flex:1 1 100%!important;min-width:0!important}
  .order-body [id^="edit-"] [style*="display:flex"][style*="gap:8px"][style*="flex-wrap"]{flex-direction:column}
  .order-body [id^="edit-"] select{font-size:.82rem!important}

  /* Tijd doorgeven buttons */
  .order-body [style*="display:flex"][style*="gap:6px"][style*="flex-wrap:wrap"][style*="margin-bottom:10px"]{gap:4px!important}
  .order-body [style*="display:flex"][style*="gap:6px"][style*="flex-wrap:wrap"][style*="margin-bottom:10px"] .btn{padding:6px 10px!important;font-size:.75rem!important}

  /* Extra opties blokken */
  .eo-blok{padding:14px}
  .eo-blok [style*="display:flex"][style*="align-items:center"][style*="gap:10px"]{gap:6px!important;flex-wrap:wrap!important}
  .eo-optie-row{gap:8px;padding:8px 10px}

  /* EO koppeling items grid */
  .eo-items-grid{padding-left:12px!important}
  .eo-items-grid label{font-size:.72rem!important;padding:3px 6px!important}

  /* Instellingen sections */
  .set-section{margin-bottom:18px;padding-bottom:18px}
  .toggle-chk label{font-size:.88rem}
}

/* ── Mobile (max 600px) ─ Restaurant Dashboard ─────────────── */
@media(max-width:600px){

  /* ══ GENERAL MOBILE FIXES ══ */

  /* Prevent ALL horizontal overflow */
  .card{overflow:hidden;word-break:break-word}
  .card form{max-width:100%}
  .card select{max-width:100%;box-sizing:border-box}
  input[type="text"],input[type="number"],input[type="tel"],input[type="email"],select,textarea{max-width:100%;box-sizing:border-box}
  .fg{min-width:0!important}

  /* Forms stack vertically */
  .fr{flex-direction:column}

  /* Price inputs respect container */
  .mi-prijs-input{min-width:0;max-width:100%}
  .mi-prijs-input input{min-width:0!important}
  .mi-euro{padding:6px 8px!important;font-size:.82rem!important}
  .mi-prijs-sm .mi-euro{padding:4px 0 4px 6px!important;font-size:.78rem!important}
  .mi-prijs-sm input{padding:4px 4px 4px 3px!important;font-size:.82rem!important;min-width:0!important}

  /* ══ TAB: ORDERS ══ */

  /* Order card header: stack price below name on very small screens */
  .order-hdr{padding:10px 12px;gap:6px;flex-wrap:wrap}
  .order-body{padding:12px}

  /* Contact info block */
  .order-body [style*="background:rgba(214,168,79,"]{ padding:10px 12px!important}
  .order-body [style*="background:rgba(214,168,79,"] [style*="font-size:1.05rem"]{font-size:.95rem!important}

  /* Bereidingsbon: items stack properly */
  .bon-edit-row{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    padding:10px 0!important;
    align-items:flex-start!important;
  }
  /* Item name takes full width */
  .bon-edit-row>span:first-child{
    flex:1 1 100%!important;
    min-width:0!important;
    display:block!important;
    word-break:break-word;
    line-height:1.4;
  }
  /* Price + buttons in a row below */
  .bon-edit-row>span[style*="color:var(--ac)"]{
    order:2;
    flex-shrink:0;
  }
  .bon-edit-row>.btn,
  .bon-edit-row>form{
    order:3;
  }
  .bon-edit-row .btn{font-size:.7rem!important;padding:4px 8px!important}

  /* Wijzig dialoog (edit dropdown in order) */
  .order-body [id^="edit-"]{
    padding:10px!important;
    margin:6px 0!important;
  }
  .order-body [id^="edit-"] [style*="display:flex"][style*="gap:8px"]{
    flex-direction:column!important;
    gap:8px!important;
  }
  .order-body [id^="edit-"] [style*="flex:2"]{
    flex:1 1 100%!important;
    min-width:0!important;
  }
  .order-body [id^="edit-"] [style*="min-width:90px"]{
    min-width:0!important;
    width:100%!important;
  }
  .order-body [id^="edit-"] select{
    width:100%!important;
    font-size:.82rem!important;
  }

  /* Tijd doorgeven quick buttons: 2x2 grid on mobile */
  .order-body form[style*="display:inline"]{display:inline!important}

  /* Totaal + Acties bar in orders */
  .order-totaal-bar{
    flex-direction:column!important;
    gap:10px!important;
    align-items:stretch!important;
  }
  .order-totaal-bar>span{
    text-align:center;
  }
  .order-totaal-bar>[style*="display:flex"][style*="gap:6px"]{
    display:flex!important;
    gap:6px!important;
    width:100%;
  }
  .order-totaal-bar>[style*="display:flex"][style*="gap:6px"] .btn{
    flex:1;
    text-align:center;
    justify-content:center;
    font-size:.78rem!important;
    padding:10px 8px!important;
  }

  /* Afgeronde orders: stack items properly */
  [style*="display:flex"][style*="align-items:center"][style*="gap:10px"][style*="padding:10px 0"][style*="border-bottom"]{
    flex-wrap:wrap!important;
    gap:6px!important;
  }

  /* ══ TAB: MENU ══ */

  /* Concept banner: stack */
  .menu-concept-banner{flex-direction:column;align-items:stretch!important;gap:10px!important}
  .menu-concept-banner>div{flex:none!important}
  .menu-concept-banner form{display:flex;gap:6px}
  .menu-concept-banner .btn{flex:1;text-align:center;justify-content:center;font-size:.78rem;padding:10px 8px}

  /* Published banner */
  .menu-published-bar{flex-wrap:wrap;gap:6px!important}
  .menu-published-bar .btn{margin-left:0!important;font-size:.72rem;width:100%}

  /* Excel import grid: single column */
  .menu-grid-ie{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}

  /* Excel import button full width */
  .menu-grid-ie .btn{width:100%;justify-content:center}

  /* File import row */
  [style*="display:flex"][style*="gap:7px"]{flex-direction:column!important;gap:8px!important}
  [style*="display:flex"][style*="gap:7px"] input[type="file"]{width:100%!important;flex:none!important}
  [style*="display:flex"][style*="gap:7px"] .btn{width:100%!important;justify-content:center}

  /* Voorbeeld knoppen */
  .voorbeeld-btns{gap:6px!important}
  .voorbeeld-btns form{flex:1}
  .voorbeeld-btns .btn{width:100%;text-align:center;font-size:.73rem!important;padding:8px 4px}

  /* Type selector pills */
  .mi-type-opt{padding:6px 10px;font-size:.75rem}

  /* Maten grid (add form) */
  .mi-maten-grid{gap:6px}
  .mi-maat-toggle{min-width:0;padding:8px 10px;flex:1}

  /* Menu item edit rows: grid layout with drag handle */
  .mi-edit-row{
    display:grid!important;
    grid-template-columns:auto auto 1fr auto;
    grid-template-rows:auto auto;
    gap:4px 6px;
    padding:10px 0;
    align-items:center;
  }
  .mi-edit-row:last-child{border-bottom:none}
  /* Drag handle: first column */
  .mi-edit-row>.mi-drag-handle{
    grid-column:1;grid-row:1/3;
    align-self:center;
    padding:4px 0;
  }
  /* Checkbox: second column */
  .mi-edit-row>.item-chk{
    grid-column:2;grid-row:1/3;
    position:static!important;
    align-self:start;margin-top:6px;
  }
  /* Form: third column */
  .mi-edit-form{
    grid-column:3;grid-row:1/3;
    display:flex!important;
    flex-wrap:wrap;
    gap:4px 6px;
    width:100%;
  }
  .mi-edit-naam{flex-basis:100%;width:100%;min-width:0;order:1}
  .mi-edit-naam input{font-size:.88rem;width:100%;font-weight:700}
  .mi-edit-maten{display:flex;gap:4px;flex:1;min-width:0;order:2}
  .mi-edit-maat{flex:1;min-width:0;display:flex;align-items:center;gap:3px}
  .mi-edit-maat .mi-prijs-sm{max-width:none;width:100%}
  .mi-edit-maat .mi-prijs-input{width:100%}
  .mi-edit-maat-label{width:12px;font-size:.62rem}
  .mi-edit-form>.mi-prijs-input{flex:1;max-width:140px;order:2}
  .mi-edit-form>.btn{order:3;flex-shrink:0;align-self:center}
  /* Actions: fourth column */
  .mi-item-actions{
    grid-column:4;grid-row:1/3;
    display:flex;flex-direction:column;gap:4px;
    align-self:start;margin-top:2px;
  }
  .mi-item-actions .btn{width:28px;height:28px;min-width:0;padding:0;display:flex;align-items:center;justify-content:center}

  /* Bulk bar */
  .menu-bulk-bar{gap:6px!important;flex-wrap:wrap}
  .menu-bulk-bar label{font-size:.78rem}
  .menu-bulk-bar .btn{font-size:.72rem;padding:5px 8px;margin-left:0!important;flex:1}

  /* Quick-add inline */
  .mi-qa-fields{flex-direction:column;align-items:stretch}
  .mi-qa-naam{min-width:0;width:100%}
  .mi-qa-prijs-maten{gap:4px}
  .mi-qa-prijs-maten .mi-prijs-input{flex:1}
  .mi-qa-prijs-maten .mi-prijs-input input{width:100%!important}
  .mi-qa-type-btn{flex:1;text-align:center;font-size:.72rem;padding:5px 8px}

  /* ══ TAB: EXTRA OPTIES ══ */

  /* EO blok header */
  .eo-blok{padding:12px}
  .eo-blok>[style*="display:flex"][style*="cursor:pointer"]{gap:6px!important;flex-wrap:wrap!important}
  .eo-blok>[style*="display:flex"][style*="cursor:pointer"] [style*="font-family:'Boogaloo'"]{font-size:1rem!important}
  .eo-blok>[style*="display:flex"][style*="cursor:pointer"] .tag{font-size:.68rem!important;padding:3px 8px!important}

  /* EO optie rows */
  .eo-optie-row{gap:6px;padding:6px 10px}
  .eo-optie-naam{font-size:.82rem}
  .eo-optie-prijs{font-size:.75rem}

  /* EO add optie form: stack */
  .eo-add-form{
    flex-direction:column!important;
    gap:8px!important;
    align-items:stretch!important;
  }
  .eo-add-form [style*="flex:1"]{
    min-width:0!important;
    width:100%!important;
  }
  .eo-add-form .btn{
    width:100%!important;
    justify-content:center;
  }

  /* EO Koppeling items grid: tighter on mobile */
  .eo-items-grid{padding-left:8px!important;gap:4px!important}
  .eo-items-grid label{font-size:.72rem!important;padding:3px 6px!important;border-radius:8px!important}
  .eo-items-grid input[type="checkbox"]{width:14px!important;height:14px!important}

  /* EO new block form */
  #eo-max-btns{flex-direction:column;gap:6px!important}
  #eo-max-btns .mi-type-opt{width:100%;justify-content:center;text-align:center}

  /* ══ TAB: INSTELLINGEN ══ */

  /* Settings sections */
  .set-section{margin-bottom:16px;padding-bottom:16px}
  .toggle-chk{gap:8px;margin-bottom:8px}
  .toggle-chk label{font-size:.85rem;line-height:1.4}

  /* Bezorg extra section indented less on mobile */
  #bezorg-extra{padding-left:12px!important}

  /* Tikkie sub-field less indented */
  #tikkie-naam{padding-left:12px!important}

  /* Instellingen inline forms */
  .card .form-row{margin-bottom:12px}
  .card .form-row textarea{min-height:80px}

  /* Orderontvangst section checkboxes */
  .card [style*="padding-left:22px"]{padding-left:12px!important}
}

/* ── Extra Small Mobile (max 400px) ─ Restaurant Dashboard ── */
@media(max-width:400px){
  /* Further compact nav tabs */
  nav.tabs a{font-size:.68rem;padding:9px 6px;gap:3px}
  nav.tabs a .i{width:.75em;height:.75em}

  /* Order header: stack price and chevron */
  .order-hdr{gap:4px;padding:8px 10px}
  .order-hdr [style*="font-family:'Boogaloo'"][style*="font-size:1.25rem"]{font-size:1.1rem!important}

  /* Cards even more compact */
  .card{padding:10px 8px;border-radius:12px}
  .ct{font-size:1.05rem}

  /* EO blok */
  .eo-blok{padding:10px 8px}

  /* Time buttons even smaller */
  .order-body .btn-sm{padding:5px 8px!important;font-size:.72rem!important}

  /* Tags smaller */
  .tag{font-size:.68rem;padding:3px 8px}

  /* All inline flex containers with gap:8px+ should reduce */
  .order-body [style*="gap:8px"]{gap:6px!important}
}

/* ── Touch-friendly targets ────────────────────────────────── */
@media(hover:none) and (pointer:coarse){
  /* Larger touch targets for mobile devices */
  .btn-xs{min-height:36px;min-width:36px;padding:6px 10px}
  .btn-sm{min-height:40px}
  .item-chk{min-width:20px;min-height:20px}
  .eo-items-grid input[type="checkbox"]{min-width:18px;min-height:18px}
  .toggle-chk input[type="checkbox"]{min-width:20px;min-height:20px}

  /* Order card: easier to tap */
  .order-hdr{min-height:52px}

  /* EO blok header: easier to tap */
  .eo-blok>[style*="display:flex"][style*="cursor:pointer"]{min-height:48px;padding:8px 0}
}
