/* Package demos (/voorbeelden and /voorbeeld/...): one look for all three packages, so the difference is in
   the features, not the design. */
:root {
  --sun: #ffc531;
  --sun-soft: #fff1cc;
  --red: #d9452b;
  --red-dark: #b73520;
  --ink: #2b1d14;
  --muted: #6e5d4e;
  --cream: #fff7e6;
  --paper: #fffdf8;
  --line: #efe0bf;
  --green: #2e7d4f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(43, 29, 20, 0.06), 0 6px 18px rgba(43, 29, 20, 0.07);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* Filtered-out products use the hidden attribute; the card layout must not show them again. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--paper); }
/* Short pages still end with the footer at the bottom of the screen. */
body:not(.admin) { min-height: 100vh; display: flex; flex-direction: column; }
body:not(.admin) > main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--red-dark); margin-bottom: 0.6em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 38em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* ---- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--red); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.btn:hover { background: var(--red-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #c9b9a6; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 1em; }

/* ---- demo bar: always on top, in the look of the Web om de Hoek site, so it is clear whose example this is and
   which package it shows */
.demo-bar { position: sticky; top: 0; z-index: 50; background: #2a1f16; border-bottom: 2px solid #b5451b; color: #d9cdb9; font-family: Georgia, "Times New Roman", serif; font-size: 0.9rem; }
.demo-bar-inner { max-width: 1120px; margin: 0 auto; padding: 8px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.demo-bar a { color: #f5f1e8; }
.demo-bar-home { font-size: 1.05rem; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; }
.demo-bar-home:hover { color: #e07a4f; }
.demo-bar-back { font-style: italic; text-decoration: none; white-space: nowrap; }
.demo-bar-back:hover { color: #e07a4f; }
.demo-bar-title { margin: 0; flex: 1 1 260px; }
.demo-bar-price { margin-left: 4px; font-style: italic; opacity: 0.75; white-space: nowrap; }
.demo-chip { display: inline-block; padding: 1px 8px; border: 1px solid #e07a4f; color: #e07a4f; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; vertical-align: 1px; }
.demo-bar-tabs { display: flex; border: 1px solid #4a3d31; }
.demo-bar-tabs a { padding: 3px 12px; font-style: italic; text-decoration: none; }
.demo-bar-tabs a:hover { color: #e07a4f; }
.demo-bar-tabs a[aria-current="page"] { background: #f5f1e8; color: #2a1f16; font-style: normal; }
.demo-bar-admin { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 3px; background: #b5451b; text-decoration: none; white-space: nowrap; }
.demo-bar-admin:hover { background: #f5f1e8; color: #2a1f16; }
.demo-bar-note { font-style: italic; opacity: 0.75; }
@media (max-width: 640px) {
  .demo-bar { position: static; }
  .demo-bar-inner { padding: 8px 16px; }
  .demo-bar-price { display: block; margin: 0; }
}

/* ---- site header */
.site-notice { background: var(--sun); color: var(--ink); text-align: center; font-weight: 700; padding: 10px 20px; }
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand strong { display: block; font-size: 1.15rem; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; }
.site-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.site-nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.site-nav a:hover { background: var(--sun-soft); }
.site-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.open-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #f1e7d4; color: var(--muted); font-size: 0.85rem; font-weight: 700; white-space: nowrap; }
.open-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-pill.is-open { background: #e2f2e7; color: var(--green); }
.open-pill.is-closed { background: #fbe4df; color: var(--red-dark); }
@media (max-width: 820px) {
  .header-inner { gap: 10px; }
  .site-nav { order: 3; width: 100%; margin: 0 -4px; gap: 2px; }
  .site-nav a { padding: 6px 10px; white-space: nowrap; }
  .open-pill { margin-left: auto; }
}

/* ---- sections */
.section { padding: clamp(40px, 7vw, 72px) 0; }
.section.alt { background: var(--cream); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.page-head { background: var(--sun-soft); padding: clamp(32px, 6vw, 56px) 0 clamp(24px, 4vw, 36px); border-bottom: 1px solid var(--line); }
.page-head .lead { margin: 0; }

.hero { background: linear-gradient(180deg, var(--sun-soft), var(--paper)); padding: clamp(36px, 6vw, 72px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-art img { border-radius: 22px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--cream); }
.today { color: var(--muted); font-weight: 600; margin: 0; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } }

.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.usp img { margin-bottom: 12px; }
.usp p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .usp-grid { grid-template-columns: 1fr; } }

.fav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fav-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.fav-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--sun-soft); border-radius: 10px; margin-bottom: 12px; }
.fav-card h3 { margin-bottom: 4px; }
.fav-card .price { margin: 0; }
@media (max-width: 860px) { .fav-grid { grid-template-columns: repeat(2, 1fr); } }

.price { font-weight: 800; white-space: nowrap; }
.sold-out { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fbe4df; color: var(--red-dark); font-size: 0.72rem; font-weight: 800; vertical-align: 2px; white-space: nowrap; }

/* ---- reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.review blockquote { margin: 8px 0 10px; }
.review figcaption { color: var(--muted); font-weight: 700; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-head small { display: block; color: var(--muted); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-weight: 800; }
.stars { color: #f2a900; letter-spacing: 1px; }
.stars-off { color: #e3d6bd; }
.google-score { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); flex-wrap: wrap; }
.google-score strong { color: var(--ink); }

/* ---- visit / hours / map */
.visit-grid, .contact-grid, .about-grid, .call-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .visit-grid, .contact-grid, .about-grid, .call-grid { grid-template-columns: 1fr; gap: 28px; } }
.visit-call img { border-radius: 18px; }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; }
.hours th, .hours td { text-align: left; padding: 6px 0; border-bottom: 1px dashed var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; }
.small-head { font-size: 1rem; margin: 18px 0 6px; }
.exceptions { margin: 0; padding-left: 18px; }
.map-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 24px; }
.map-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; }
.map-info p { margin: 0; }

/* ---- menu */
.filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.allergen-filter { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px 12px; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; background: #fff; }
.allergen-filter legend { font-weight: 700; padding: 0 4px; }
.allergen-filter label { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.menu-group { margin-bottom: 32px; }
.menu-group h2 { border-bottom: 3px solid var(--sun); display: inline-block; padding-bottom: 2px; }
.product-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.product { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.product-body { flex: 1; min-width: 0; }
.product h3 { margin: 0; font-size: 1rem; }
.product .desc { margin: 2px 0 0; color: var(--muted); font-size: 0.9rem; }
.product .price { margin: 0; text-align: right; }
.product .price .sold-out { display: block; margin: 4px 0 0; }
.product.is-sold-out h3, .product.is-sold-out .price { color: #a8998a; }
.product-list.with-photos { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.product-list.with-photos .product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.product-photo { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; background: var(--sun-soft); flex: none; }
.allergens { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; }
.allergens span { padding: 0 7px; border-radius: 6px; background: #f4ecdc; font-size: 0.74rem; font-weight: 600; color: var(--muted); }
.allergens.none { font-size: 0.76rem; color: var(--green); font-weight: 600; }
.filter-empty { padding: 16px; background: var(--cream); border-radius: var(--radius); }
@media (max-width: 760px) { .product-list { grid-template-columns: 1fr; } }

/* ---- hints that point at what another package adds */
.demo-hint { margin: 28px 0 0; padding: 14px 16px; border: 2px dashed #d8c49a; border-radius: var(--radius); background: #fffaf0; color: var(--muted); }
.demo-hint a { font-weight: 700; }

/* ---- ordering */
.call-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; text-align: center; }
.call-card img { margin: 0 auto 12px; }
.order-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.order-group { border: 0; margin: 0 0 22px; padding: 0; }
.order-group legend { font-size: 1.2rem; font-weight: 800; padding: 0; margin-bottom: 6px; }
.order-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.order-row.is-sold-out .order-name, .order-row.is-sold-out .order-price { color: #a8998a; }
.order-price { font-weight: 700; white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: 1.2rem; font-weight: 700; line-height: 1; cursor: pointer; }
.stepper button:disabled { border-color: #d6c8b4; color: #c3b4a1; cursor: not-allowed; }
.stepper output { min-width: 26px; text-align: center; font-weight: 800; }
.customer, .request-form, .contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.customer legend { grid-column: 1 / -1; }
.customer label, .request-form label, .contact-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 0.92rem; }
.customer .wide, .request-form .wide, .contact-form .wide, .contact-form h2, .request-form .btn, .contact-form .btn, .request-form .form-msg, .contact-form .form-msg { grid-column: 1 / -1; }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #d8c7a6; border-radius: 10px; padding: 10px 12px; min-height: 44px; width: 100%; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(255, 197, 49, 0.55); }
input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--red); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cart { position: sticky; top: 64px; background: var(--ink); color: #f6ead6; border-radius: var(--radius); padding: 22px; }
.cart h2 { color: #fff; font-size: 1.3rem; }
.cart-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.cart-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.cart-lines .muted { color: #b9a892; border: 0; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.1rem; margin: 12px 0 16px; }
.cart-total strong { color: var(--sun); }
.form-msg { margin: 10px 0 0; min-height: 1.4em; font-weight: 600; }
.form-msg.error { color: #ff9b86; }
.request-form .form-msg.error, .contact-form .form-msg.error { color: var(--red-dark); }
.form-msg.ok { color: #9fe0b5; }
.request-form .form-msg.ok, .contact-form .form-msg.ok { color: var(--green); }
@media (max-width: 900px) {
  .order-layout { grid-template-columns: 1fr; }
  .cart { position: static; }
}
@media (max-width: 560px) {
  .customer, .request-form, .contact-form { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 1fr auto; }
  .order-row .stepper { grid-column: 1 / -1; justify-self: end; }
}

/* ---- mail previews: shown instead of sending anything */
.mail-previews { margin-top: 28px; }
.mail-previews > p { font-weight: 700; }
.mail-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.mail-preview { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.mail-preview header { background: #f6efe2; padding: 10px 14px; font-size: 0.85rem; color: var(--muted); }
.mail-preview header strong { display: block; color: var(--ink); font-size: 0.95rem; margin-bottom: 2px; }
.mail-preview pre { margin: 0; padding: 14px; white-space: pre-wrap; word-break: break-word; font: 0.92rem/1.5 var(--font); }

/* ---- about, prose */
.about-photo { border-radius: 18px; box-shadow: var(--shadow); }
.facts { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.facts li { background: var(--sun-soft); border-radius: 12px; padding: 10px 14px; }
.facts strong { display: block; font-size: 1.3rem; }
.prose h2 { font-size: 1.25rem; margin-top: 1.4em; }

/* ---- footer */
.site-footer { background: var(--ink); color: #e9dcc6; padding: 40px 0 24px; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.footer-grid p { margin: 6px 0 0; }
.footer-nav { display: flex; flex-direction: column; gap: 6px; }
.legal { opacity: 0.75; font-size: 0.85rem; }
.made-by { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; opacity: 0.8; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- toast */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 100; max-width: calc(100% - 32px); background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); font-weight: 600; }
