:root {
    --bg: #f6f3ee;
    --surface: #ffffff;
    --ink: #1b1d1f;
    --muted: #6b6f76;
    --line: #e2ddd4;
    --accent: #0ab66e;
    --accent-dark: #078f56;
    --accent-soft: #dcf5e8;
    --header-bg: #373739;   /* achtergrondkleur van het logo */
    --header-ink: #f4f4f2;
    --ok: #2b8a3e;
    --danger: #c92a2a;
    --radius: 10px;
    --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
    --mono: "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; display: block; }

a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 750; }
h2, .h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3, .h3 { font-size: 1.1rem; font-weight: 650; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.center { text-align: center; justify-content: center; }
.center .lead { margin-inline: auto; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 760px; }

/* ---------- Mededelingsbalk (Site:Notice) ---------- */
.site-notice { background: var(--accent); color: #fff; font-weight: 600; text-align: center; padding-block: 10px; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
    background: var(--header-bg);
    color: var(--header-ink);
    border-bottom: 1px solid #2a2a2c;
    position: sticky; top: 0; z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* staat al in het logo; alleen voor schermlezers */
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--header-ink); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--accent); }
@media (max-width: 520px) { .brand-logo { height: 36px; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: #fff;
    font: inherit; font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-small { padding: 7px 14px; font-size: .925rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.link-btn.danger { color: var(--danger); margin-top: 20px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 8vw, 96px); }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-dark); margin-bottom: 14px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { aspect-ratio: 1; max-width: 380px; width: 100%; justify-self: end; position: relative; }
/* Gestapelde printlagen: een vorm die van onder naar boven wordt 'geprint'. */
.layers {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(to bottom, var(--accent) 0 6px, transparent 6px 10px);
    clip-path: polygon(50% 4%, 92% 28%, 92% 74%, 50% 98%, 8% 74%, 8% 28%);
    animation: print 2.4s ease-out both;
}
.hero-art::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; background: var(--ink); border-radius: 2px;
}
@keyframes print { from { clip-path: polygon(50% 98%, 92% 98%, 92% 98%, 50% 98%, 8% 98%, 8% 98%); } }
@media (prefers-reduced-motion: reduce) { .layers { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(36px, 6vw, 72px); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.page-head { margin-bottom: 32px; }
.back { display: inline-block; margin-bottom: 20px; font-size: .925rem; text-decoration: none; color: var(--muted); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.steps p { color: var(--muted); margin: 0; }
.step-no { display: block; font-family: var(--mono); font-size: .85rem; color: var(--accent-dark); margin-bottom: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin-bottom: .3em; }
.cta .lead { margin: 0; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(27, 29, 31, .08); border-color: var(--ink); color: var(--ink); }
.card-media { aspect-ratio: 4 / 3; background: var(--bg); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; }
.card-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 10px; }

.placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    background: repeating-linear-gradient(to bottom, var(--accent-soft) 0 5px, var(--bg) 5px 8px);
}
.placeholder span { font-size: 3rem; font-weight: 800; color: var(--accent); background: var(--bg); width: 1.6em; height: 1.6em; display: grid; place-items: center; border-radius: 50%; }

.tag { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.price-large { font-size: 1.6rem; margin-bottom: .6em; }
.spec { font-family: var(--mono); font-size: .8rem; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip b { font-weight: 600; opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* ---------- Product detail ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-top: 6px; }
.description { white-space: pre-line; }

.specs { margin: 24px 0; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 3px; }
.specs dd { margin: 0; overflow-wrap: anywhere; }
.product-info .btn { margin-bottom: 12px; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 24px; margin: 0; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
legend { font-weight: 700; font-size: 1.05rem; padding: 0 8px; margin-left: -8px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 16px; flex-wrap: wrap; }
.field-row .field { min-width: 180px; }
.field-small { flex: 0 1 140px; min-width: 110px !important; }
label { font-weight: 600; font-size: .925rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input:not([type]), select, textarea {
    width: 100%;
    padding: 11px 12px;
    font: inherit;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid #c9c3b8;
    border-radius: 8px;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.input-validation-error { border-color: var(--danger) !important; }
.hint { font-size: .825rem; color: var(--muted); }
.error, .field-validation-error { font-size: .875rem; color: var(--danger); }
.error-summary, .validation-summary-errors { padding: 12px 16px; border-radius: 8px; background: #fff0f0; border: 1px solid #f3c1c1; color: var(--danger); }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }
.validation-summary-valid { display: none; }
.notice { padding: 12px 16px; border-radius: 8px; background: var(--accent-soft); border: 1px solid #f6cdb1; margin-bottom: 24px; }
.check-label { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.check-label input { width: 18px; height: 18px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form > .btn { align-self: flex-start; }
/* Kopje dat een groep velden in een formulier aankondigt, bv. "Herkomst van het ontwerp". */
.form-head { font-size: 1.05rem; margin: 10px 0 -8px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-head + .hint { margin: 0; }

.dropzone { position: relative; border: 2px dashed #c9c3b8; border-radius: var(--radius); padding: 28px 16px; text-align: center; background: var(--bg); transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--accent-soft); }
.dropzone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone p { margin: 0; pointer-events: none; }
.dropzone-file { font-family: var(--mono); font-size: .9rem; margin-top: 6px !important; color: var(--accent-dark); overflow-wrap: anywhere; }
.dropzone:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }

.check { width: 72px; height: 72px; margin: 24px auto; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; color: #fff; background: var(--ok); }
.check-warn { background: var(--accent); font-weight: 700; }
.check-wait { background: var(--muted, #7a756d); }
.actions.center { justify-content: center; }

/* ---------- Admin ---------- */
.login { max-width: 400px; }
.admin-nav, .account-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.admin-nav nav, .account-nav nav { display: flex; gap: 4px; }
.admin-nav nav a, .account-nav nav a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.admin-nav nav a.active, .account-nav nav a.active { color: var(--ink); border-color: var(--accent); }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-head h1 { margin: 0; font-size: 2rem; }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .925rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--bg); }
.thumb-cell { width: 64px; }
.thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.current-image { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.current-image img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; background: #e9ecef; color: #495057; }
.status-nieuw { background: var(--accent-soft); color: var(--accent-dark); }
.status-offerte { background: #e7f0ff; color: #1c5fc4; }
.status-bezig { background: #fff3bf; color: #8a6100; }
.status-klaar { background: #d8f5dd; color: #1f7a33; }

.detail { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.detail .specs { margin-top: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 32px 20px; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner p { margin: 4px 0 0; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-links a.muted { color: var(--muted); }
.footer-bottom { margin-top: 24px; font-size: .85rem; }
.footer-col { display: flex; flex-direction: column; gap: 6px; min-width: 160px; }
.footer-col strong { margin-bottom: 4px; }
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }

/* ---------- Tekstpagina's (voorwaarden, privacy, levering) ---------- */
.prose h2 { font-size: 1.25rem; margin: 36px 0 10px; scroll-margin-top: 90px; }
.prose p, .prose li { line-height: 1.65; }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: 8px; }
.prose .table td { vertical-align: top; }
.prose code { font-family: var(--mono); font-size: .85em; }

@media (max-width: 800px) {
    .hero-inner, .product, .detail { grid-template-columns: 1fr; gap: 28px; }
    .hero-art { max-width: 200px; justify-self: start; order: -1; }
    .nav { gap: 14px; }
    .specs > div { grid-template-columns: 105px 1fr; }
}

/* ---------- Webshop ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vat { font-size: .8rem; font-weight: 400; color: var(--muted); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 2px solid var(--header-ink); border-radius: 8px; font-weight: 650 !important; }
.cart-link:hover { background: var(--header-ink); color: var(--header-bg) !important; }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .8rem; font-variant-numeric: tabular-nums; }

.streams { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stream { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.stream:hover { border-color: var(--ink); transform: translateY(-3px); color: var(--ink); }
.stream h2 { font-size: 1.5rem; }
.stream p { color: var(--muted); }
.stream-link { margin-top: auto; font-weight: 650; color: var(--accent-dark); }

.buy { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.buy .field { flex: 1 1 140px; }
.buy .btn { margin-bottom: 0 !important; }

.cart { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 72px 1fr 84px 90px auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-small span { font-size: 1.4rem; }
.cart-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-info a { color: var(--ink); text-decoration: none; }
.cart-total { text-align: right; }
.summary { position: sticky; top: 88px; }
.summary-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.summary-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.totals { margin: 0 0 18px; }
.totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 7px 0; }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.totals .grand { border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 1.1rem; }
.btn-block { display: block; text-align: center; margin-bottom: 14px; }
.summary .back { margin: 0; }
#address-fields[hidden] { display: none; }

/* ---------- Calculator ---------- */
.calc { display: flex; flex-direction: column; gap: 14px; }
.calc .field-row .field { min-width: 120px; }
.calc-result { margin: 4px 0 0; padding: 12px 14px; background: var(--bg); border-radius: 8px; font-size: .925rem; }
.calc-result .grand { font-size: 1rem; }
.panel-title { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.input-action { display: flex; gap: 12px; align-items: center; }
.input-action .link-btn { white-space: nowrap; font-size: .875rem; }
input[readonly] { background: var(--bg); color: var(--muted); }

.status-betaald { background: #e7f0ff; color: #1c5fc4; }
.status-verzonden { background: #d8f5dd; color: #1f7a33; }

@media (max-width: 800px) {
    .streams, .cart { grid-template-columns: 1fr; gap: 24px; }
    .summary { position: static; }
    .cart-line { grid-template-columns: 56px 1fr auto; row-gap: 8px; }
    .cart-thumb { width: 56px; height: 56px; grid-row: span 2; }
    .cart-info { grid-column: 2 / -1; }
    .cart-qty { grid-column: 2; max-width: 84px; }
    .cart-total { grid-column: 3; }
    .cart-line > form:last-child { grid-column: 2 / -1; }
}

/* ---- Catalogus: zijbalk met categorieën en A-Z ---- */
.catalog { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.catalog-main { min-width: 0; }
.catalog-side { position: sticky; top: 20px; }
.side-head { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; }
.side-head + .side-list { margin-bottom: 28px; }
.side-list { list-style: none; margin: 0 0 28px; padding: 0; }
.side-list li + li { margin-top: 2px; }
.side-link {
    display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
    padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--ink);
    font-size: .95rem; line-height: 1.3;
}
.side-link:hover { background: var(--accent-soft); color: var(--ink); }
.side-link.active { background: var(--ink); color: #fff; font-weight: 600; }
.side-link b { font-weight: 500; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.side-link.active b, .side-link:hover b { color: inherit; opacity: .7; }

.alpha { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.alpha-key {
    display: grid; place-items: center; min-height: 30px; border-radius: 6px;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink);
    text-decoration: none; font-size: .9rem; font-weight: 600; font-family: var(--mono);
}
a.alpha-key:hover { border-color: var(--ink); color: var(--ink); }
.alpha-key.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.alpha-key.disabled { color: #c3beb4; background: transparent; border-color: transparent; font-weight: 500; }
.alpha-all { grid-column: span 2; font-family: var(--font); font-size: .85rem; }

.side-reset { display: inline-block; margin-top: 20px; font-size: .9rem; color: var(--muted); }
.catalog-count { color: var(--muted); font-size: .925rem; margin: 0 0 18px; }
.catalog-count b { color: var(--ink); font-weight: 600; }

/* Tijdelijke categorie-illustratie zolang een product nog geen eigen foto heeft. */
.card-media .art, .product-media .art { width: 100%; height: 100%; object-fit: cover; background: var(--surface); }

@media (max-width: 860px) {
    .catalog { grid-template-columns: 1fr; gap: 24px; }
    .catalog-side { position: static; }
    .side-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
    .side-list li + li { margin-top: 0; }
    .side-link { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
    .alpha { grid-template-columns: repeat(9, 1fr); }
    .alpha-all { grid-column: span 3; }
}

/* ---------- Mijn account ---------- */
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.panel-head h2 { margin: 0; }
.panel-head a { font-size: .925rem; text-decoration: none; }

.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 0; }

.order-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.order-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.order-head strong { margin-right: 8px; }
.order-items { margin: 12px 0; }
.order-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.order-actions { display: flex; justify-content: flex-end; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- 3D-viewer ---------- */
.viewer { position: relative; width: 100%; aspect-ratio: 4 / 3; background: var(--bg); }
.viewer canvas { display: block; width: 100% !important; height: 100% !important; touch-action: none; }
.viewer-status { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); }
.viewer-dims { position: absolute; left: 12px; bottom: 10px; margin: 0; font-family: var(--mono); }
.viewer-hint { position: absolute; right: 12px; bottom: 10px; font-size: .75rem; color: var(--muted); }
