:root {
  --red: #c8102e;
  --red-dark: #9e0b0b;
  --tile: #940202;          /* matches the baked-in background of the product photos */
  --yellow: #ffbc0d;
  --green: #1e7f4f;
  --radius: 6px;
  --display: 'Anton', 'Impact', sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;

  /* Theme: light */
  color-scheme: light;
  --ink: #171412;            /* main text */
  --ink-2: #2a2522;
  --paper: #f7f3ee;          /* page background */
  --white: #fff;             /* cards, tables, inputs */
  --hover: #fbf8f4;
  --line: #e3ddd5;
  --field: #cfc7bd;          /* input borders */
  --muted: #6e665e;
  --link: var(--red);
  --solid: #171412;          /* dark buttons/badges */
  --on-solid: #fff;
  --panel: #171412;          /* clock bar */
  --footer: #171412;
  --chart-2: #c9c1b7;
  --b-neutral: #ece7e0; --b-neutral-fg: #2a2522;
  --b-yellow: #fff0c2;  --b-yellow-fg: #6b4d00;
  --b-blue: #e3e8f1;    --b-blue-fg: #24324d;
  --b-green: #d9efe3;   --b-green-fg: #145236;
  --b-red: #f6dcdc;     --b-red-fg: #9e0b0b;
  --ok-bg: #ecf6f0; --ok-line: #b8dcc8; --ok-fg: #145236;
  --err-bg: #fbeceb; --err-line: #efc3c0; --err-fg: #9e0b0b;
  /* kept for inline styles in older views */
  --blue: var(--solid);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #f2ede7; --ink-2: #ddd5cc; --paper: #121010; --white: #1c1917; --hover: #24201d;
    --line: #36302b; --field: #4a423c; --muted: #a39990; --link: #ff6b6b;
    --solid: #f2ede7; --on-solid: #171412; --panel: #24201d; --footer: #0b0a09; --chart-2: #5b524b;
    --b-neutral: #302a26; --b-neutral-fg: #e3dcd4;
    --b-yellow: #3a2f0e;  --b-yellow-fg: #ffd668;
    --b-blue: #1d2638;    --b-blue-fg: #b8c7e6;
    --b-green: #14301f;   --b-green-fg: #8fd6ae;
    --b-red: #3a1515;     --b-red-fg: #ff9e9e;
    --ok-bg: #11271a; --ok-line: #24503a; --ok-fg: #9fdcb9;
    --err-bg: #2c1313; --err-line: #5c2626; --err-fg: #ffaaaa;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f2ede7; --ink-2: #ddd5cc; --paper: #121010; --white: #1c1917; --hover: #24201d;
  --line: #36302b; --field: #4a423c; --muted: #a39990; --link: #ff6b6b;
  --solid: #f2ede7; --on-solid: #171412; --panel: #24201d; --footer: #0b0a09; --chart-2: #5b524b;
  --b-neutral: #302a26; --b-neutral-fg: #e3dcd4;
  --b-yellow: #3a2f0e;  --b-yellow-fg: #ffd668;
  --b-blue: #1d2638;    --b-blue-fg: #b8c7e6;
  --b-green: #14301f;   --b-green-fg: #8fd6ae;
  --b-red: #3a1515;     --b-red-fg: #ff9e9e;
  --ok-bg: #11271a; --ok-line: #24503a; --ok-fg: #9fdcb9;
  --err-bg: #2c1313; --err-line: #5c2626; --err-fg: #ffaaaa;
}

* { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--body); font-size: 16px; color: var(--ink); background: var(--paper);
  min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
a { color: var(--link); text-underline-offset: 3px; }

/* Oranje Stad Roleplay bar */
.rp-bar { background: #ff6b00; color: #1a0f00; font-size: .85rem; }
.rp-bar .container { display: flex; gap: 12px; align-items: center; min-height: 32px; padding: 5px 0; flex-wrap: wrap; }
.rp-bar strong { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }

/* Theme toggle */
.theme-toggle { background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; display: grid; place-items: center; opacity: .85; border-radius: 4px; }
.theme-toggle:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.05; font-weight: 400; }
h1, h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: 1.75rem; }
h3 { font-family: var(--cond); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; }
p { line-height: 1.55; margin: 0 0 1em; }
code { font-size: .85em; color: var(--muted); }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 2rem; }
.mb { margin-bottom: 2rem; }
.num { font-variant-numeric: tabular-nums; }
.label { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--muted); }

/* ---------- Header ---------- */
.topbar { background: var(--red); color: #fff; position: sticky; top: 0; z-index: 50; }
.topbar .container { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand .emblem { height: 48px; width: auto; margin-top: 6px; }
.brand .wordmark { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; flex: 1; height: 100%; }
.nav a {
  color: #fff; text-decoration: none; font-family: var(--cond); font-weight: 600; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .04em; height: 100%; display: flex; align-items: center;
  border-bottom: 3px solid transparent; padding-top: 3px; white-space: nowrap;
}
.nav a:hover { border-bottom-color: rgba(255, 255, 255, .5); }
.nav a.active { border-bottom-color: var(--yellow); }
.nav .spacer { flex: 1; }
.nav a.staff { color: var(--yellow); }
.userbox { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.userbox img { width: 30px; height: 30px; border-radius: 50%; }
.userbox form { margin: 0; }
.userbox .linkbtn { color: #fff; font-family: var(--cond); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; font-size: .95rem; opacity: .85; text-decoration: none; }
.userbox .linkbtn:hover { opacity: 1; }
.menu-toggle { display: none; }
.burger-btn { display: none; cursor: pointer; margin-left: auto; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 1080px) {
  .topbar .container { flex-wrap: wrap; height: auto; min-height: 60px; gap: 12px; }
  .burger-btn { display: block; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .nav a.active { border-bottom-color: rgba(255, 255, 255, .15); color: var(--yellow); }
  .menu-toggle:checked ~ .nav { display: flex; }
  .nav .spacer { display: none; }
  .userbox { padding-top: 12px; }
}

/* ---------- Home hero ---------- */
.hero { background: var(--tile); color: #fff; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px; min-height: 480px; padding: 48px 0; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: .95; margin: 10px 0 20px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p { font-size: 1.15rem; max-width: 30em; opacity: .9; }
.hero .label { color: var(--yellow); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
/* Meal composition: each photo stays at or below its source size so it stays sharp. */
.meal { position: relative; width: 100%; max-width: 480px; aspect-ratio: 480 / 340; margin-left: auto; }
.meal img { position: absolute; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45)); }
.meal .fries { width: 52%; left: 0; bottom: 30%; }
.meal .drink { width: 40%; right: 2%; bottom: 26%; }
.meal .burger { width: 66%; left: 17%; bottom: 0; z-index: 1; }
@media (max-width: 800px) {
  .hero .container { grid-template-columns: 1fr; min-height: 0; padding: 36px 0; }
  .hero .visual { order: -1; }
  .hero .meal { margin: 0 auto; max-width: 360px; }
}

/* Section heading (used to be a big banner) */
.banner { display: flex; align-items: baseline; gap: 16px; margin: 48px 0 18px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.banner h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.banner a { margin-left: auto; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; color: var(--ink); }

/* ---------- Page header ---------- */
.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding: 36px 0 0; }
.page-head h1 { margin: 0; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.page-head .container > :last-child { margin-bottom: 0; }
.page-head .container { padding-bottom: 28px; }
.page-head .container:has(.subnav) { padding-bottom: 0; }
.subnav { display: flex; gap: 26px; margin-top: 24px; overflow-x: auto; scrollbar-width: none; }
.subnav a {
  color: var(--muted); text-decoration: none; font-family: var(--cond); font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; padding: 0 0 12px; border-bottom: 3px solid transparent; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center;
}
.subnav a:hover { color: var(--ink); }
.subnav a.active { color: var(--ink); border-bottom-color: var(--red); }
.subnav .count { background: var(--red); color: #fff; border-radius: 3px; padding: 0 6px; font-size: .8rem; line-height: 1.4; }

.section { padding: 32px 0 64px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--yellow); --fg: #171412;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--cond); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em;
  text-decoration: none; background: var(--bg); color: var(--fg); border: 2px solid var(--bg);
  border-radius: var(--radius); padding: 10px 20px; cursor: pointer; line-height: 1.1; transition: filter .12s;
}
.btn:hover { filter: brightness(.94); }
.btn:active { filter: brightness(.88); }
.btn.red { --bg: var(--red); --fg: #fff; }
.btn.blue { --bg: var(--solid); --fg: var(--on-solid); }
.btn.green { --bg: var(--green); --fg: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); filter: none; }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn.outline-light:hover { border-color: #fff; filter: none; }
.btn.discord { --bg: #5865f2; --fg: #fff; }
.btn.sm { font-size: .88rem; padding: 6px 12px; }
.btn.lg { font-size: 1.2rem; padding: 13px 26px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; filter: none; }
.linkbtn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

/* ---------- Panels ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card + .card { margin-top: 16px; }
.card.red { background: var(--tile); color: #fff; border-color: var(--tile); }
.card.red h3 { color: var(--yellow); }
.card.blue { background: var(--panel); color: #fff; border-color: var(--panel); }

.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid.side { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 28px; }
@media (max-width: 920px) { .grid.side { grid-template-columns: 1fr; } }

/* Stat tiles */
.stats { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin-bottom: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.stat { padding: 16px 20px; text-decoration: none; color: inherit; display: block; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
a.stat:hover { background: var(--hover); }
.stat .label { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--muted); }
.stat .value { font-family: var(--display); font-size: 1.9rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat.alert .value { color: var(--link); }
.stat.good .value { color: var(--ink); }
@media (max-width: 600px) { .stat { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Products ---------- */
.products { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.product { display: flex; flex-direction: column; position: relative; }
.product .img { background: var(--tile); border-radius: var(--radius); aspect-ratio: 5 / 4; padding: 9% 10%; overflow: hidden; }
.product .img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .35)); transition: transform .2s; }
.product:hover .img img { transform: scale(1.04); }
.product .body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product .head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product .name { font-family: var(--cond); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.product .desc { font-size: .92rem; color: var(--muted); margin: 0; flex: 1; }
.price { font-family: var(--display); font-size: 1.35rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.product .tag { font-size: .8rem; color: var(--muted); }
.product .tag strong { color: var(--ink); }

.qty { display: grid; grid-template-columns: 40px 1fr 40px; margin-top: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.qty button { border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--ink); height: 40px; }
.qty button:hover { background: var(--paper); }
.qty input[type=number] { margin: 0; padding: 0; border: 0; border-inline: 1px solid var(--line); border-radius: 0; text-align: center; font: 600 1.05rem var(--body); width: 100%; min-width: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty input:focus { outline: 2px solid var(--yellow); outline-offset: -2px; }
.qty.has { border-color: var(--ink); }

/* Receipt / order summary */
.summary { position: sticky; top: 84px; }
.summary .line { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, .25); font-variant-numeric: tabular-nums; }
.card:not(.red) .summary .line, .summary .card:not(.red) .line { border-bottom-color: var(--line); }
.summary .total { font-family: var(--display); font-size: 1.6rem; display: flex; justify-content: space-between; margin-top: 14px; font-variant-numeric: tabular-nums; }
.summary .empty { opacity: .7; padding: 6px 0; }

/* ---------- Forms ---------- */
form.stack { display: grid; gap: 14px; }
label { font-weight: 600; font-size: .92rem; display: block; }
label .hint { font-weight: 400; color: var(--muted); }
input[type=text], input[type=number], input[type=tel], input[type=date], input[type=datetime-local], select, textarea {
  width: 100%; font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--field); border-radius: var(--radius); background: var(--white); color: var(--ink); margin-top: 6px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--yellow); outline-offset: 0; border-color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
.row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); align-items: end; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; padding: 4px 0; }
.check input { width: 17px; height: 17px; accent-color: var(--red); margin: 0; }
.check .small { color: var(--muted); margin-left: auto; }
.inline-form { display: inline; margin: 0; }
.filters { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin-bottom: 20px; }
.filters label { min-width: 160px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap.card { padding: 0; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; font-variant-numeric: tabular-nums; }
th { text-align: left; padding: 11px 14px; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--muted); border-bottom: 2px solid var(--ink); white-space: nowrap; }
th.right { text-align: right; }
td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--hover); }
tfoot td { font-weight: 700; border-top: 2px solid var(--ink); border-bottom: 0; }
td input, td select { margin-top: 0; padding: 6px 8px; }

/* Badges */
.badge { display: inline-block; padding: 2px 8px; border-radius: 3px; font-family: var(--cond); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; background: var(--b-neutral); color: var(--b-neutral-fg); white-space: nowrap; }
.badge.nieuw, .badge.open { background: var(--b-yellow); color: var(--b-yellow-fg); }
.badge.bereiden, .badge.in-behandeling { background: var(--b-blue); color: var(--b-blue-fg); }
.badge.klaar { background: var(--b-green); color: var(--b-green-fg); }
.badge.afgerond, .badge.aangenomen, .badge.afgehandeld, .badge.on { background: var(--green); color: #fff; }
.badge.geannuleerd, .badge.afgewezen, .badge.off { background: var(--b-red); color: var(--b-red-fg); }
.badge.mgmt { background: var(--red); color: #fff; }
.badge.rank { background: var(--solid); color: var(--on-solid); }

/* Flash */
.flash { padding: 12px 16px; border-radius: var(--radius); margin: 20px 0 0; font-weight: 500; border: 1px solid; }
.flash.success { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-fg); }
.flash.error { background: var(--err-bg); border-color: var(--err-line); color: var(--err-fg); }

/* Clock bar */
.clock { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.card.blue.clock { padding: 14px 20px; }
.clock .status { display: flex; align-items: center; gap: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #8a817a; flex-shrink: 0; }
.dot.on { background: #3ddc84; }
.timer { font-family: var(--display); font-size: 1.6rem; color: var(--yellow); font-variant-numeric: tabular-nums; margin-left: 8px; }

/* Loyalty card */
.loyalty { background: var(--tile); color: #fff; border-radius: 10px; padding: 26px; position: relative; overflow: hidden; }
.loyalty .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.loyalty .brandline { height: 30px; width: auto; margin-bottom: 6px; }
.loyalty .count { font-family: var(--display); font-size: 3.4rem; color: var(--yellow); line-height: 1; }
.stamps { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 10px; margin: 22px 0 4px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); }
.stamp.full { border-color: var(--yellow); background: var(--yellow); position: relative; }
.stamp.full::after { content: ''; position: absolute; left: 38%; top: 20%; width: 24%; height: 45%; border: solid var(--tile); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.reward { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.reward img { width: 64px; height: 52px; object-fit: contain; background: var(--tile); border-radius: 4px; padding: 5px; }
.reward .grow { flex: 1; }
.reward:not(.ok) { opacity: .7; }
.progress { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 8px; }
.progress span { display: block; height: 100%; background: var(--link); }

/* People */
.person { display: flex; align-items: center; gap: 10px; }
.person img { width: 32px; height: 32px; border-radius: 50%; }
.team-card { display: flex; gap: 14px; align-items: center; }
.team-card img { width: 44px; height: 44px; border-radius: 50%; }

/* Bar chart */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 200px; padding-top: 12px; border-bottom: 1px solid var(--ink); overflow-x: auto; }
.bars .col { flex: 1 0 34px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.bars .pair { display: flex; align-items: flex-end; gap: 2px; width: 100%; height: 100%; justify-content: center; }
.bars .bar { width: 100%; max-width: 22px; background: var(--red); border-radius: 2px 2px 0 0; min-height: 1px; }
.bars .bar.cost { background: var(--chart-2); }
.bars .lbl { font-size: .72rem; color: var(--muted); white-space: nowrap; padding: 6px 0 0; }
.legend { display: flex; gap: 18px; font-size: .85rem; margin-top: 12px; color: var(--muted); }
.legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 6px; background: var(--red); }
.legend span.cost::before { background: var(--chart-2); }

/* Order tickets (staff) */
.order-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.order-card.status-bereiden { border-top-color: var(--ink); }
.order-card.status-klaar { border-top-color: var(--green); }
.order-card.status-geannuleerd { border-top-color: var(--line); opacity: .75; }
.order-card h3 { margin: 0; }
.order-card ul { margin: 0; padding: 0; list-style: none; }
.order-card li { padding: 4px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 8px; }
.order-card li:last-child { border-bottom: 0; }
.order-card .note { background: var(--paper); padding: 8px 10px; border-radius: 4px; font-size: .9rem; }
.order-card .actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }

/* Inkoop & voorraad */
.stock-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.stock-toolbar p { margin: 0; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.seg button { border: 0; background: transparent; color: var(--muted); font: 600 .9rem var(--cond); text-transform: uppercase; letter-spacing: .04em; padding: 8px 14px; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.active { background: var(--solid); color: var(--on-solid); }
.stock-group { margin-top: 22px; }
.stock-group h3 { margin-bottom: 10px; }
table.stock td { padding-top: 9px; padding-bottom: 9px; }
table.stock .thumb { width: 48px; height: 40px; object-fit: contain; background: var(--tile); border-radius: 4px; padding: 3px; }
.stock-cell { display: flex; align-items: center; gap: 10px; }
.stock-num { font-family: var(--display); font-size: 1.5rem; min-width: 2.2ch; font-variant-numeric: tabular-nums; }
table.stock tr.row-op td:first-child { box-shadow: inset 4px 0 0 var(--red); }
table.stock tr.row-bijna td:first-child { box-shadow: inset 4px 0 0 var(--yellow); }
table.stock tr.picked td { background: var(--hover); }
table.stock .qty { width: 132px; margin: 0; }
.money-input { display: flex; align-items: center; border: 1px solid var(--field); border-radius: var(--radius); background: var(--white); width: 100px; overflow: hidden; }
.money-input span { padding: 0 2px 0 9px; color: var(--muted); }
.money-input input[type=number] { border: 0; margin: 0; padding: 7px 8px 7px 2px; width: 100%; min-width: 0; outline-offset: -2px; }
.fix summary { cursor: pointer; font-size: .8rem; color: var(--muted); }
.fix-row { display: flex; gap: 6px; margin-top: 6px; }
.fix-row input[type=number] { width: 80px; margin: 0; padding: 5px 8px; }

details.expand > summary { cursor: pointer; font-weight: 600; list-style: none; font-family: var(--cond); text-transform: uppercase; letter-spacing: .04em; }
details.expand > summary::-webkit-details-marker { display: none; }
details.expand > summary::after { content: ' +'; }
details.expand[open] > summary::after { content: ' −'; }
details.expand .inner { padding: 12px 0 4px; }

/* Footer */
.footer { background: var(--footer); color: #b9b0a8; padding: 40px 0; margin-top: 56px; font-size: .9rem; }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-logo { height: 30px; width: auto; }
.footer .footer-meta { display: block; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-meta p { margin: 0 0 6px; }
.footer-meta strong { color: #fff; }
.footer-meta .credit strong { color: #ff8a2b; }
.footer a { color: #fff; text-decoration: none; margin-left: 18px; }
.footer a:hover { text-decoration: underline; }

.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }
.login-card { max-width: 420px; margin: 64px auto; }
.login-card img { width: 150px; height: auto; margin: 0 auto 22px; }

/* Home info strip */
.home-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border-top: 2px solid var(--ink); margin-top: 56px; }
.home-info > div { padding: 26px 26px 26px 0; }
.home-info > div + div { border-left: 1px solid var(--line); padding-left: 26px; }
@media (max-width: 700px) { .home-info > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }
.home-info p { color: var(--muted); }
.home-info a { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); }
table.stock { table-layout: fixed; min-width: 720px; }
table.stock .c-stock { width: 130px; }
table.stock .c-sold { width: 90px; }
table.stock .c-qty { width: 150px; }
table.stock .c-unit { width: 118px; }
table.stock .c-sub { width: 90px; }
table.stock td:first-child strong { line-height: 1.2; }
.stock-cell { flex-wrap: wrap; row-gap: 4px; }
.fix summary { list-style: none; text-decoration: underline; text-underline-offset: 2px; }
.fix summary::-webkit-details-marker { display: none; }
.fix[open] { flex-basis: 100%; }
.price-cell { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; row-gap: 4px; font-weight: 600; }

/* Tekstpagina's (privacy, voorwaarden) */
.prose { max-width: 760px; padding: 32px 36px; }
.prose h2 { font-size: 1.45rem; margin: 30px 0 10px; }
.prose h3 { margin: 18px 0 8px; font-size: 1.05rem; }
.prose p, .prose li { line-height: 1.65; }
.prose ul { padding-left: 20px; margin: 0 0 1em; }
.prose li + li { margin-top: 6px; }
.prose .lead { font-size: 1.1rem; color: var(--ink); border-left: 4px solid var(--yellow); padding-left: 14px; }
@media (max-width: 600px) { .prose { padding: 22px 18px; } }
.footer-meta a { color: #fff; margin-left: 0; text-decoration: underline; text-underline-offset: 2px; }
