:root {
  --red: #e8502a;
  --red-dark: #b3361a;
  --bg: #14100c;
  --bg-light: #1f1913;
  --bg-card: #2a2119;
  --gold: #f3c26b;
  --text: #f5efe6;
  --muted: #b9a189;
  --ok: #3fbf6a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 18px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(20, 16, 12, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }

.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.35rem; letter-spacing: 1px; color: var(--text); }
.logo-img { height: 40px; width: auto; }
.logo span { color: var(--red); }

.nav { display: none; gap: 22px; }
.nav a { color: var(--text); font-weight: 600; }
.nav a:hover { color: var(--gold); text-decoration: none; }

.cart-button {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff; border: none; border-radius: 50%;
  width: 42px; height: 42px; cursor: pointer;
  transition: background 0.2s;
}
.cart-button:hover { background: var(--red-dark); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--gold); color: #1a1208;
  font-size: 0.72rem; font-weight: 800;
  min-width: 20px; height: 20px; padding: 0 4px;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 380px; display: flex; align-items: flex-start; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(0.92); }
.hero-content {
  position: relative; text-align: center;
  padding-top: 333px;   /* Bestel-nu knop 6x zijn hoogte naar beneden */
  width: 100%;
}
.hero-content .btn { margin: 0 auto; }

@media (max-width: 767px) {
  .hero { min-height: 430px; }
  .hero-content { padding-top: 353px; }
  .hero-bg { transform: scale(0.92) translateY(-18px); object-position: center 25%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 10px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  border: none; transition: transform 0.1s, background 0.2s, opacity 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); text-decoration: none; }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; padding: 15px; font-size: 1.02rem; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Info strip ---------- */
.info-strip { background: var(--bg-light); border-bottom: 1px solid rgba(255,255,255,0.06); }
.info-strip-inner { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 10px; padding: 16px 18px; }
.info-item { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; }
.info-icon { color: var(--gold); }
.info-item a { color: var(--text); }

@media (min-width: 700px) {
  .info-strip-inner {
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: 10px; padding: 14px 18px;
  }
  .info-item { justify-content: flex-start; }
  .info-item:nth-child(2) { justify-content: center; }
  .info-item:nth-child(3) { justify-content: flex-end; }
}

/* ---------- Sections ---------- */
.menu-section, .info-section { padding: 54px 0; }
.section-title {
  text-align: center; font-size: 1.8rem; letter-spacing: 1px; margin-bottom: 26px;
}
.section-title::after {
  content: ""; display: block; width: 56px; height: 3px; margin: 12px auto 0;
  background: var(--red); border-radius: 3px;
}

.category-nav {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px;
}
.category-nav button {
  background: var(--bg-card); color: var(--text); border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 0.9rem;
  transition: all 0.2s;
}
.category-nav button:hover { border-color: var(--red); }
.category-nav button.active { background: var(--red); border-color: var(--red); color: #fff; }

.category-section { margin-bottom: 42px; }
.category-heading {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.category-heading h3 { font-size: 1.35rem; }
.category-heading img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.category-heading::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.1); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 900px) { .menu-grid { gap: 14px; } }

.menu-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.15s, border-color 0.15s;
}
@media (min-width: 900px) { .menu-card { min-height: 150px; } }
.menu-card:hover { transform: translateY(-3px); border-color: rgba(232,80,42,0.5); }
.menu-card-img { width: 100%; height: 150px; object-fit: cover; background: var(--bg-light); }
.menu-card-body { padding: 12px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.menu-card-body h4 { font-size: 1.05rem; text-align: center; overflow-wrap: normal; word-break: normal; }
.item-sub {
  display: block;
  font-size: 0.5rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.2;
  margin-top: 2px;
}
.menu-card-desc {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: center;
  margin: 4px 0 0;
  overflow-wrap: normal;
  word-break: normal;
}
.menu-card-foot {
  margin-top: auto;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.menu-price { font-weight: 800; color: var(--gold); font-size: 1.05rem; white-space: nowrap; }
.menu-price small { font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.add-btn { background: var(--red); color: #fff; border: none; border-radius: 9px; padding: 8px 14px; font-weight: 700; cursor: pointer; }
.add-btn:hover { background: var(--red-dark); }
.menu-card-foot .add-btn { width: 100%; padding: 8px 8px; font-size: 0.85rem; }
.add-btn:hover { background: var(--red-dark); }

/* ---------- Menu offers (apart uitgelicht) ---------- */
.offers-section {
  background: linear-gradient(135deg, rgba(232,80,42,0.12), rgba(243,194,107,0.08));
  border: 1px solid rgba(232,80,42,0.35);
  border-radius: var(--radius);
  padding: 12px; margin-bottom: 28px;
}
.offers-title {
  font-size: 1.05rem; letter-spacing: 1px; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.offers-title::before { content: "🔥"; }
.offers-note {
  margin: 10px 0 0; text-align: center;
  color: var(--muted); font-size: 0.78rem;
}
.offers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.offer-card {
  background: var(--bg-card); border: 1px solid rgba(232,80,42,0.4);
  border-radius: 10px; padding: 10px; display: flex; flex-direction: column;
  min-width: 0; overflow: hidden;
}
.offer-name { font-weight: 800; font-size: 0.95rem; color: var(--gold); margin-bottom: 5px; }
.offer-contents { list-style: none; margin: 0 0 6px; padding: 0; flex: 1; }
.offer-contents li { color: var(--muted); font-size: 0.75rem; padding: 1px 0 1px 14px; position: relative; }
.offer-contents li::before {
  content: "•"; position: absolute; left: 3px; color: var(--red); font-weight: 800;
}
.offer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.offer-price { font-weight: 800; color: var(--gold); font-size: 0.9rem; white-space: nowrap; }
.offer-foot .add-btn { padding: 7px 12px; font-size: 0.78rem; }

/* ---------- Category cards (1 foto per categorie + dropdown) ---------- */
.category-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }

.category-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.15s, border-color 0.15s;
}
.category-card:hover { transform: translateY(-3px); border-color: rgba(232,80,42,0.5); }
.category-card-img {
  width: 100%; height: 160px; object-fit: cover; background: var(--bg-light);
}
.category-card-body { padding: 14px; }
.category-card-body h3 { font-size: 1.1rem; margin-bottom: 10px; }

.cat-select-wrap { position: relative; }
.cat-select {
  width: 100%; padding: 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14); background: var(--bg-light);
  color: var(--text); font-size: 0.95rem; font-family: inherit; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f3c26b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.cat-select:focus { outline: none; border-color: var(--red); }
.cat-select option { background: var(--bg-light); color: var(--text); }

.product-preview {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,0.1);
}
.product-preview-name { font-weight: 800; font-size: 1rem; }
.product-preview-desc { color: var(--muted); font-size: 0.85rem; margin: 4px 0 10px; }
.product-preview-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-preview-price { font-weight: 800; color: var(--gold); font-size: 1.05rem; }

/* ---------- Info grid ---------- */
.info-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px; }
@media (min-width: 700px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.info-card { background: var(--bg-card); border-radius: var(--radius); padding: 20px; }
.info-card h3 { margin-bottom: 10px; color: var(--gold); font-size: 1rem; letter-spacing: 0.5px; }
.info-card p, .info-card li { color: var(--muted); font-size: 0.92rem; margin-bottom: 6px; }
.info-card a { color: var(--gold); }
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; gap: 10px; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: #0d0a08; padding: 36px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer-credit { color: var(--muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 18px; font-size: 0.9rem; }

/* ---------- Drawer (cart) ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 100%;
  max-width: 420px; background: var(--bg-light); z-index: 70;
  transform: translateX(100%); transition: transform 0.28s ease;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.drawer-header h2 { font-size: 1.15rem; }
.drawer-close {
  background: none; border: none; color: var(--text); font-size: 1.6rem;
  cursor: pointer; line-height: 1; padding: 0 6px;
}
.drawer-close:hover { color: var(--gold); }

.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px; }
.drawer-footer {
  padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.08);
  background: var(--bg-light);
}
.cart-empty { color: var(--muted); text-align: center; padding: 40px 0; }
.cart-empty .emoji { font-size: 2.4rem; display: block; margin-bottom: 10px; }

.cart-line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.07); }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-info .name { font-weight: 700; font-size: 0.95rem; }
.cart-line-options { color: var(--muted); font-size: 0.8rem; }
.cart-line-price { color: var(--gold); font-weight: 700; white-space: nowrap; }
.qty-control {
  display: inline-flex; align-items: center; gap: 2px; margin-top: 6px;
}
.qty-control button {
  width: 26px; height: 26px; border-radius: 7px; border: none; cursor: pointer;
  background: var(--bg-card); color: var(--text); font-weight: 800; font-size: 1rem;
}
.qty-control button:hover { background: var(--red); color: #fff; }
.qty-control .qty { min-width: 30px; text-align: center; font-weight: 700; }

.cart-totals { padding: 10px 0 4px; }
.totals-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.92rem; padding: 3px 0; }
.totals-row.total { color: var(--text); font-weight: 800; font-size: 1.1rem; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 6px; padding-top: 8px; }
.totals-row.free { color: var(--ok); font-weight: 700; }
.payment-note { color: var(--muted); font-size: 0.78rem; text-align: center; margin-top: 10px; }

/* ---------- Checkout ---------- */
.checkout-view { position: absolute; inset: 0; background: var(--bg-light); display: flex; flex-direction: column; z-index: 5; }
.checkout-form { flex: 1; overflow-y: auto; padding: 18px 20px; }
.checkout-form label { display: block; margin-bottom: 14px; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.checkout-form input[type="text"], .checkout-form input[type="tel"], .checkout-form input[type="email"],
.checkout-form textarea {
  width: 100%; margin-top: 6px; padding: 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12); background: var(--bg-card); color: var(--text);
  font-size: 1rem; font-family: inherit;
}
.checkout-form input:focus, .checkout-form textarea:focus {
  outline: none; border-color: var(--red);
}
.order-type { border: none; margin-bottom: 14px; }
.order-type legend { color: var(--muted); font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.order-type .radio-card {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
  padding: 12px; margin-bottom: 8px; cursor: pointer; color: var(--text); font-size: 0.95rem;
}
.order-type .radio-card:has(input:checked) { border-color: var(--red); background: rgba(232,80,42,0.1); }
.delivery-info { color: var(--muted); font-size: 0.85rem; margin-bottom: 12px; }
.error { color: #ff7b6b; background: rgba(255,80,60,0.12); border: 1px solid rgba(255,80,60,0.3); border-radius: 10px; padding: 12px; font-size: 0.9rem; margin-bottom: 12px; }

/* ---------- Modal (options) ---------- */
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; padding: 18px; }
.modal-card {
  background: var(--bg-light); border-radius: var(--radius); max-width: 420px; width: 100%;
  padding: 22px; position: relative; max-height: 85vh; overflow-y: auto;
}
.modal-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.modal-card .sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.option-group { margin-bottom: 18px; }
.option-group label { display: block; color: var(--muted); font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.option-group select, .option-group input[type="checkbox"], .option-group input[type="text"] {
  width: 100%; padding: 11px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12);
  background: var(--bg-card); color: var(--text); font-size: 1rem; font-family: inherit;
}
.option-check {
  display: flex !important; align-items: center; gap: 10px;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  padding: 10px 12px; cursor: pointer; color: var(--text); font-weight: 500; margin-bottom: 6px;
}
.option-check input { width: auto !important; accent-color: var(--red); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--ok); color: #06220f; font-weight: 700; padding: 12px 22px;
  border-radius: 999px; z-index: 90; box-shadow: var(--shadow); font-size: 0.92rem;
}
.toast.dark { background: var(--bg-card); color: var(--text); }

/* ---------- Header user button ---------- */
.header-actions { display: flex; align-items: center; gap: 10px; }
.user-button {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff; border: none;
  border-radius: 10px; padding: 8px 12px; cursor: pointer;
  font-weight: 600; font-size: 0.9rem;
  transition: background 0.2s;
}
.user-button:hover { background: var(--red-dark); }
@media (max-width: 767px) {
  .user-button {
    width: 42px; height: 42px; padding: 0;
    justify-content: center; border-radius: 50%;
  }
  #userButtonText { display: none; }
}

/* ---------- Auth modal ---------- */
.auth-card { padding: 22px; }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.auth-tab {
  flex: 1; background: transparent; border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted); padding: 9px; border-radius: 10px; cursor: pointer;
  font-weight: 700; font-size: 0.9rem;
}
.auth-tab.active { background: var(--red); border-color: var(--red); color: #fff; }
.auth-form label {
  display: block; margin-bottom: 12px; color: var(--muted);
  font-size: 0.85rem; font-weight: 600;
}
.auth-form input {
  width: 100%; margin-top: 6px; padding: 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12); background: var(--bg-card);
  color: var(--text); font-size: 1rem;
}
.auth-form input:focus { outline: none; border-color: var(--red); }
.auth-hint { margin-top: 12px; text-align: center; color: var(--muted); font-size: 0.85rem; }

/* ---------- Account panel ---------- */
.account-panel {
  position: fixed; top: 64px; right: 12px; width: 330px;
  max-width: calc(100vw - 24px); background: var(--bg-light);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 14px;
  z-index: 75; padding: 16px; box-shadow: var(--shadow);
  max-height: 70vh; overflow-y: auto;
}
.account-panel-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  margin-bottom: 12px;
}
.account-greet { font-size: 1.05rem; }
.account-sub { color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.account-orders h4 { margin-bottom: 8px; color: var(--gold); font-size: 0.95rem; }
.account-noorders { color: var(--muted); font-size: 0.9rem; padding: 10px 0; }
.history-item { border-top: 1px dashed rgba(255,255,255,0.1); padding: 10px 0; }
.history-top { display: flex; justify-content: space-between; align-items: center; }
.history-nr { font-weight: 700; color: var(--gold); font-size: 0.9rem; }
.history-meta { color: var(--muted); font-size: 0.78rem; margin: 3px 0; }
.history-items { font-size: 0.85rem; }
.badge { padding: 2px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; }
.badge.paid { background: rgba(63,191,106,0.15); color: var(--ok); }
.badge.pending, .badge.failed { background: rgba(243,194,107,0.15); color: var(--gold); }
.badge.in_uitvoering { background: rgba(80,140,255,0.15); color: #6ea4ff; }
.badge.klaar { background: rgba(160,110,255,0.15); color: #c3a0ff; }
.badge.opgehaald, .badge.canceled { background: rgba(255,255,255,0.1); color: var(--muted); }
.btn-small { padding: 7px 12px; font-size: 0.82rem; }

/* ---------- Formulierrijen + adres ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-row label { display: block; margin-bottom: 12px; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.form-row input {
  width: 100%; margin-top: 6px; padding: 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12); background: var(--bg-card);
  color: var(--text); font-size: 1rem;
}
.form-row input:focus { outline: none; border-color: var(--red); }
.checkout-form #fCity { color: var(--muted); }

/* ---------- Categoriebalk (horizontaal swipebaar) ---------- */
.category-bar {
  position: sticky; top: 62px; z-index: 25;
  display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 4px 2px 10px; margin-bottom: 8px;
  background: var(--bg);
}
.category-bar::-webkit-scrollbar { display: none; }
.category-pill {
  flex: 0 0 auto; white-space: nowrap; background: var(--bg-card);
  color: var(--text); border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
}
.category-pill:active { transform: scale(0.97); }
.category-pill.active { background: var(--red); border-color: var(--red); color: #fff; }

.products-title {
  font-size: 1.4rem; letter-spacing: 1px; margin-bottom: 16px;
  scroll-margin-top: 140px;
}
.products-title::after {
  content: ""; display: block; width: 42px; height: 3px; margin-top: 8px;
  background: var(--red); border-radius: 3px;
}

/* ---------- Desktop: categorieën links, producten rechts ---------- */
.photos-sidebar { display: none; }
@media (min-width: 900px) {
  #menuRoot {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 28px;
    align-items: start;
  }
  #menuRoot .offers-section,
  #menuRoot .ordering-banner {
    grid-column: 1 / -1;
  }
  .category-bar {
    position: sticky; top: 76px;
    flex-direction: column;
    overflow: visible;
    background: transparent;
    padding: 4px 0 0;
    margin-bottom: 0;
  }
  .category-bar .category-pill {
    width: 100%; text-align: left; border-radius: 10px;
  }
  #productsArea { min-width: 0; }
  .products-title { margin-top: 0; }
}

/* ---------- Desktop breed: foto's rechts (2 of 3 naast elkaar) ---------- */
@media (min-width: 1200px) {
  #menuRoot {
    grid-template-columns: 220px 1fr 340px;
  }
  .photos-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-content: start;
    gap: 12px;
    position: sticky; top: 76px;
  }
  .photos-sidebar img {
    width: 100%; border-radius: 12px; object-fit: cover; aspect-ratio: 3 / 2;
    border: 1px solid rgba(255,255,255,0.06);
  }
}

/* Zeer breed scherm: breder menu + grotere foto's */
@media (min-width: 1600px) {
  .menu-section .container { max-width: 1440px; }
  #menuRoot {
    grid-template-columns: 230px 1fr 520px;
  }
}

/* ---------- Bestel-banner (voor 17:00) ---------- */
.ordering-banner {
  background: rgba(243,194,107,0.12);
  border: 1px solid rgba(243,194,107,0.35);
  color: var(--gold);
  border-radius: 12px; padding: 14px 18px;
  margin-bottom: 18px; font-size: 0.95rem;
}

/* ---------- Telefoon: kleinere namen zodat woorden op 1 lijn blijven ---------- */
@media (max-width: 767px) {
  .menu-card-body h4 { font-size: 0.9rem; }
}

/* ---------- Productkeuze bij extra's (uit winkelwagen) ---------- */
.cart-option-list { display: flex; flex-direction: column; gap: 6px; max-height: 180px; overflow-y: auto; }
.cart-option-item {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  width: 100%; text-align: left; padding: 10px 12px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.12); background: var(--bg-card);
  color: var(--text); font-size: 0.9rem; cursor: pointer; font-family: inherit;
}
.cart-option-item:hover { border-color: var(--red); }
.cart-option-item.selected { border-color: var(--red); background: rgba(232,80,42,0.15); }
.cart-option-qty { color: var(--gold); font-weight: 700; }
.cart-empty-note { color: var(--muted); font-size: 0.85rem; text-align: center; padding: 8px 0; }

/* ---------- Selects in formulieren donker (i.p.v. wit) ---------- */
.checkout-form select, .auth-form select {
  width: 100%; margin-top: 6px; padding: 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12); background: var(--bg-card);
  color: var(--text); font-size: 1rem; font-family: inherit; cursor: pointer;
}
.checkout-form select:focus, .auth-form select:focus { outline: none; border-color: var(--red); }
.checkout-form select option, .auth-form select option { background: var(--bg-light); color: var(--text); }

/* ---------- Keuze account-adres / nieuw adres ---------- */
.use-account-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 12px;
  color: var(--text); font-size: 0.88rem; cursor: pointer;
}
.use-account-row input { width: auto !important; accent-color: var(--red); }

/* ---------- Nieuw adres in account-paneel ---------- */
.account-address-box {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 12px; margin-bottom: 12px;
}
.account-address-box .addr { color: var(--text); font-size: 0.9rem; margin-bottom: 6px; }
.account-address-box input, .account-address-box select {
  width: 100%; margin-top: 6px; padding: 10px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.12); background: var(--bg-light);
  color: var(--text); font-size: 0.9rem; font-family: inherit;
}
.account-address-box select option { background: var(--bg-light); color: var(--text); }

/* ---------- Telling bestellingen (account-paneel) ---------- */
.orders-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px;
  background: var(--red); color: #fff; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800; vertical-align: middle;
}

/* ---------- Nieuwe bestelling (admin) ---------- */
.new-order-banner {
  background: var(--red); color: #fff; font-weight: 800;
  border-radius: 12px; padding: 14px 18px; margin-bottom: 16px;
  animation: bannerPulse 1.2s ease-in-out infinite;
}
@keyframes bannerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.order-card.new-order {
  border: 2px solid var(--red);
  animation: newOrderFlash 1s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(232,80,42,0.6);
}
@keyframes newOrderFlash {
  0%, 100% { background: rgba(232,80,42,0.22); }
  50% { background: rgba(232,80,42,0.05); }
}
