/* Lenselink Zaaglijst – donkerblauw + oranje, mono-labels, golflijnen. */
:root {
  --navy: #0D1E27;   /* Lenselink-donkerblauw (topbalk, knoppen, tekst) */
  --navy-2: #13293A;
  --navy-3: #1D3A4F;
  --ink: #0D1E27;
  --orange: #E8590C;
  --orange-2: #C94A06;
  --orange-ink: #B23F00;
  --orange-soft: #FDEEE4;
  --grey: #F2F2EF;
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --line: #E4E4DF;
  --line-2: #CFD2CC;
  --muted: #4E5D66;
  --muted-light: #A9B8C2;
  --err: #A22F00;
  --ok: #0F6B3D;
  --ok-soft: #E4F3EA;
  --info: #0E6A8F;
  --info-soft: #E3F1F7;
  --radius: 8px;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1320px;
  --ctl: 38px;      /* hoogte van invoervelden en knoppen (zoals lenselink.nl) */
  --ctl-sm: 34px;   /* kleine knoppen, velden in tabellen en werkbalken */
  --ctl-lg: 44px;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 81px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-size: 15px; line-height: 1.55; font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; background: var(--bg); color: var(--ink); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: var(--ink); text-underline-offset: 2px; }
a:hover { color: var(--orange-ink); }
img { max-width: 100%; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.12; }
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin: 0 0 10px; }
.h-xl { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; margin: 6px 0 28px; }
.h2 { font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.h3 { font-size: 18px; font-weight: 800; margin: 0 0 10px; }
.h4 { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.h2-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.h2-row .h2, .h2-row .h3 { margin: 0; }
.light { color: #fff; }
.muted { color: var(--muted); }
.muted-light { color: var(--muted-light); }
.small { font-size: 13px; }
.center { text-align: center; }
.right { text-align: right; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mono, .mono-label { font-family: var(--mono); }
.mono-label { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.grow { flex: 1; }
.strong { font-weight: 800; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.lead { color: var(--muted); font-size: 17px; margin: 0 0 12px; }
.lead-light { color: #D3DEE5; font-size: 17px; max-width: 560px; }
.err { color: var(--err); font-weight: 600; }
.warn { color: var(--orange-ink); }
.loading { color: var(--muted); padding: 40px 0; }
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.page { padding-top: 32px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 18px; }
.page-wide { max-width: var(--container); padding-top: 24px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 18px; }
.narrow { max-width: 780px; }
.narrow-sm { max-width: 460px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } .hide-sm { display: none !important; } }

/* ---------- eyebrow (mono-labels met oranje streepje) */
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin: 0 0 14px; display: block; }
.eyebrow::before { content: ''; display: inline-block; vertical-align: middle; width: 22px; height: 2px; margin: -2px 10px 0 0; background: var(--orange); }
.eyebrow span { color: #fff; opacity: .6; }
.eyebrow-dark { color: var(--orange-ink); }
.eyebrow-dark::before { background: var(--orange); }

/* ---------- topbar */
.topbar { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar-in { padding: 0 24px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; height: 80px; }
/* logo: even veel ruimte links als boven en onder het oranje blok */
.brand { display: flex; align-items: center; min-height: 44px; }
.brand { min-height: 0; }
.brand img { width: 280px; max-width: 100%; height: auto; display: block; }
.nav { display: flex; gap: 32px; }
.nav-link { position: relative; color: #C9D5DC; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 0; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .15s; }
.nav-link:hover { color: #fff; }
.nav-link:hover::after, .nav-link.is-on::after { transform: scaleX(1); }
.nav-link.is-on { color: #fff; }
.steps-nav { gap: 14px; align-items: center; }
.step-link { display: inline-flex; align-items: center; white-space: nowrap; }
.step-sep { color: #5E7584; font-size: 15px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; height: 22px; padding: 0 7px; margin-right: 4px; border-radius: 999px; background: rgba(255,255,255,.1); color: #C9D5DC; font-family: var(--mono); font-size: 11.5px; font-weight: 500; }
.step-link.is-on .step-n { background: var(--orange); color: #fff; }
.step-link.is-done .step-n { background: rgba(232,89,12,.22); color: #FFD9C2; }
@media (max-width: 640px) { .nav.steps-nav { gap: 6px; flex-wrap: nowrap; justify-content: space-between; } .step-link { font-size: 13px; } .step-n { height: 20px; padding: 0 5px; margin-right: 2px; } .step-sep { font-size: 13px; } }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: var(--ctl); padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pill-dark { color: #fff; border: 1px solid rgba(255,255,255,.22); }
.pill-dark:hover, .pill-dark.is-on { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.pill-orange { background: var(--orange); color: #fff; border-radius: 999px; }
.pill-orange:hover { background: var(--orange-2); color: #fff; }
.cart-count[hidden] { display: none; }
.cart-count { background: var(--orange); color: #fff; border-radius: 999px; font-size: 12px; min-width: 20px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
/* topbalk responsief: eerst compacter, daarna stappen op een eigen regel */
@media (max-width: 1240px) {
  .topbar-in { gap: 24px; }
  .brand img { width: 220px; }
  .steps-nav { gap: 10px; }
}
@media (max-width: 1080px) {
  .topbar-in { gap: 6px 16px; padding: 12px 24px 0; height: auto; }
  .brand img { width: 200px; }
  .nav { order: 3; width: 100%; overflow-x: auto; gap: 24px; padding-bottom: 2px; }
  .nav-link { padding: 10px 0 12px; }
  .pill-orange { display: none; }
}
@media (max-width: 640px) { .topbar-in { padding: 12px 16px 0; flex-wrap: wrap; } .brand img { width: 136px; } .topbar-right { flex-wrap: nowrap; gap: 4px; } .pill-cart { padding: 0 10px; } .top-link { padding: 0 4px; font-size: 13px; } .pill { padding: 0 12px; } }

/* ---------- donkere vlakken + golven */
.dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.dark h1, .dark h2 { color: #fff; }
.hero { padding: 104px 0 112px; }
.hero .hero-in { position: relative; }
.hero-copy { max-width: 620px; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero.has-photo { padding: 72px 0 64px; }
.page-hero .lead-light, .page-hero h1 { max-width: 720px; }
.hero.has-photo::before, .page-hero.has-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,30,39,.96) 0%, rgba(13,30,39,.88) 38%, rgba(13,30,39,.35) 75%, rgba(13,30,39,.15) 100%); }
@media (max-width: 760px) { .hero.has-photo::before, .page-hero.has-photo::before { background: rgba(13,30,39,.82); } }
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); max-width: 620px; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-alt { color: var(--muted-light); font-size: 14px; margin: 22px 0 0; }
.hero-alt a { color: #fff; }
.hero .checks { margin-top: 26px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; color: #D3DEE5; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks svg { color: var(--orange); }
@media (min-width: 961px) { .hide-lg { display: none !important; } }
@media (max-width: 960px) { .hero-in { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 44px 0 52px; } }

.page-hero { padding: 48px 0 40px; }
.page-hero .page-hero h1 { max-width: 760px; }
.app-top { padding: 26px 0 22px; }
.app-top h1 { font-size: clamp(26px, 3vw, 36px); margin: 0; }
.app-top .eyebrow { margin-bottom: 8px; }
.app-top 
/* ---------- USP's / stappen */
.usps { border-bottom: 1px solid var(--line); }
.usp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.usp-grid > div { padding: 30px 24px 30px 0; }
.usp-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.usp-grid h2 { font-size: 20px; margin: 0 0 6px; }
.usp-grid p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .usp-grid { grid-template-columns: 1fr 1fr; } .usp-grid > div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .usp-grid { grid-template-columns: 1fr; } .usp-grid > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }
.band-grey { background: var(--grey); padding: 72px 0 40px; }
.band-grey.pb { padding: 32px 0 72px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { background: #fff; border-radius: 8px; padding: 26px; }
.step h3 { font-size: 19px; margin: 18px 0 8px; }
.step p { margin: 0; color: var(--muted); }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; }
.step-num-orange { background: var(--orange); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.panel-dark { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #fff; border-radius: 24px; padding: 44px; /* buitenradius gecompenseerd voor de tegels erin */ }
@media (max-width: 640px) { .panel-dark { padding: 26px 18px; border-radius: 16px; } }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: var(--ctl); padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; background: transparent; }
.chip:hover { color: #fff; border-color: #fff; }
.chip-on, .chip.chip-on { background: var(--orange); border-color: var(--orange); color: #fff; }
.chip svg { width: 15px; height: 15px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 22px; }
.tile { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 8px 8px 8px 16px; color: #fff; text-decoration: none; font-weight: 600; min-height: 112px; }
.tile-name { display: block; }
.tile-sub { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted-light); margin-top: 2px; }
.tile:hover { color: #fff; border-color: var(--orange); background: rgba(232,89,12,.12); }
.tile-img { width: 92px; height: 92px; background-color: #fff; border-radius: 8px; overflow: hidden; flex: none; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* lichte chips (op witte achtergrond) */
.chips-light, .thick { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-light { display: inline-flex; align-items: center; height: var(--ctl-sm); padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 600; text-decoration: none; font-family: inherit; cursor: pointer; }
.chip-light:hover { border-color: var(--ink); color: var(--ink); }
.chip-light.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: var(--ctl); padding: 0 18px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-lg { height: var(--ctl-lg); font-size: 15px; padding: 0 22px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-2); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #E9EEF1; color: var(--ink); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: var(--ctl-sm); padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost[disabled] { opacity: .45; cursor: default; }
.icon-btn { width: var(--ctl-sm); height: var(--ctl-sm); flex: none; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; }
.icon-btn[disabled] { opacity: .35; cursor: default; }
.icon-btn.soft { background: var(--orange-soft); border-color: transparent; color: var(--orange-ink); }
.icon-btn.rot { color: #7F8C93; }
.icon-btn.rot.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.stack { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.actions { white-space: nowrap; text-align: right; }
.actions .icon-btn { margin-left: 4px; }
.row-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.push-right { margin-left: auto; }
.inline { display: inline; }

/* ---------- tags / status */
.tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--grey); color: var(--muted); }
.tag-ok, .pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-wait { background: var(--orange-soft); color: var(--orange-ink); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--grey); color: var(--muted); white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-nieuw, .s-open, .s-bekeken { background: var(--grey); color: var(--muted); }
.s-winkelmandje, .s-afrekenen, .s-materiaal-besteld, .s-besteld, .s-pending, .s-wacht { background: var(--orange-soft); color: var(--orange-ink); }
.s-betaald, .s-materiaal-binnen, .s-binnen, .s-voorraad, .s-gezaagd, .s-verzonden, .s-sent, .s-delivered { background: var(--info-soft); color: var(--info); }
.s-klaar, .s-afgerond { background: var(--ok-soft); color: var(--ok); }
.s-geannuleerd, .s-failed, .s-mislukt { background: #FBE9E4; color: var(--err); }

/* ---------- formulieren */
input[type=text], input[type=number], input[type=email], input[type=search], input[type=password], input[type=date], input[type=tel], select, textarea {
  font: inherit; font-size: 14.5px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 8px; height: var(--ctl); padding: 0 12px; width: 100%;
}
textarea { padding: 10px 12px; height: auto; min-height: 90px; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(232,89,12,.18); }
input[type=checkbox], input[type=radio] { accent-color: var(--orange); width: 18px; height: 18px; margin: 0; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.num-in { font-variant-numeric: tabular-nums; padding: 0 8px; }
.parts input, .parts select, .ref input, .period input, .toolbar input, .toolbar select, .full-row input { height: var(--ctl-sm); }
.inline-input { width: auto; display: inline-block; }
label.block, .form label:not(.check) { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .actions, .form .row-actions { text-align: left; margin-top: 18px; }
@media (max-width: 520px) { .form .form-row { grid-template-columns: 1fr; } }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; min-height: 30px; cursor: pointer; }
.alert { padding: 12px 16px; border-radius: 8px; background: #FBE9E4; color: var(--err); font-weight: 600; margin: 0 0 12px; }
.notice { background: var(--orange-soft); color: var(--ink); padding: 12px 16px; border-radius: 8px; margin: 0 0 12px; }
.notice.ok { background: var(--ok-soft); }
.tip { margin: 12px 0 0; background: var(--orange-soft); border-radius: 8px; padding: 10px 14px; font-size: 13px; }

/* ---------- kaarten */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.pad { padding: 20px; }
details.card > summary { cursor: pointer; font-weight: 700; }
.empty { color: var(--muted); text-align: center; padding: 28px; }
.empty-state { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.grid { display: grid; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- catalogus */
.catalog { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-top: 28px; padding-bottom: 64px; }
.catalog > section { flex: 999 1 560px; min-width: 0; }
.filters { flex: 1 1 220px; max-width: 260px; background: var(--grey); border-radius: 20px; padding: 12px; /* 8px (veld) + 12px (rand) */ display: flex; flex-direction: column; gap: 4px; position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; font-size: 13.5px; }
.filters .search { margin-bottom: 6px; }
.facet { border-top: 1px solid var(--line-2); }
.facet summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 2px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facet summary::-webkit-details-marker { display: none; }
.facet summary::after { content: '+'; font-family: var(--sans); font-size: 16px; line-height: 1; color: var(--ink); }
.facet[open] summary::after { content: '–'; }
.facet-n { margin-left: auto; background: var(--orange); color: #fff; border-radius: 999px; font-size: 10.5px; padding: 1px 7px; letter-spacing: 0; }
.facet-list { display: flex; flex-direction: column; max-height: 196px; overflow-y: auto; padding: 0 2px 8px; }
.facet .check { min-height: 28px; padding: 3px 0; font-size: 13.5px; gap: 8px; align-items: flex-start; }
.facet .check input { margin-top: 1px; }
.facet .check input { width: 16px; height: 16px; flex: none; }
.facet .check span { flex: 1; line-height: 1.25; }
.facet .check small { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.filter-actions { display: flex; gap: 8px; align-items: center; padding-top: 8px; border-top: 1px solid var(--line-2); }
.filter-actions .btn { flex: 1; width: auto; padding: 0 12px; }
.filter-actions .btn-ghost { height: var(--ctl); }
@media (max-width: 860px) { .filters { position: static; max-width: none; max-height: none; } }
.pickbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 0; padding: 6px 6px 6px 18px; border-radius: 14px; /* 8px knop + 6px rand */ background: var(--navy); color: #D3DEE5; font-size: 14px; }
/* witte strook boven en onder de balk: kaarten schuiven er netjes onder weg */
.pick-sticky { position: sticky; top: var(--topbar-h, 81px); z-index: 5; background: #fff; padding: 12px 0 16px; margin: -12px 0 0; }
.pickbar strong { color: #fff; }
.pick-actions { display: flex; gap: 6px; flex: none; }
.pick-actions [hidden] { display: none; }
.pickbar > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.cards > .card { position: relative; overflow: hidden; padding: 0; transition: border-color .15s, box-shadow .15s; }
.cards > .card:hover { border-color: var(--line-2); box-shadow: 0 10px 24px rgba(13,30,39,.08); }
.cards > .card:has(.card-add input:checked) { border-color: var(--orange); box-shadow: none; }
.card-pick { position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff; border-radius: 8px; width: var(--ctl-sm); height: var(--ctl-sm); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(13,30,39,.25); cursor: pointer; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); height: 100%; }
.card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; }
.card-title { font-weight: 700; font-size: 15.5px; }
.card-meta { font-size: 13px; color: var(--muted); }
.card-price { margin-top: 8px; font-weight: 800; font-size: 16px; }
.card-price small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.card-link:hover .card-title { color: var(--orange-ink); }
.heart { position: absolute; top: 12px; right: 12px; z-index: 2; width: var(--ctl-sm); height: var(--ctl-sm); border-radius: 50%; border: 0; background: #fff; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 4px rgba(13,30,39,.25); }
.heart:hover { color: var(--orange); }
.heart.is-on { color: var(--orange); }
.heart.is-on svg { fill: currentColor; }
.product-top .heart { position: static; box-shadow: none; border: 1px solid var(--line-2); }

/* ---------- materiaalpagina */
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.product { display: flex; flex-wrap: wrap; gap: 40px; }
.product-media { flex: 1 1 380px; display: flex; flex-direction: column; gap: 12px; }
.product-img { aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
.product-img img, .product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumb { width: 120px; aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
.product-info { flex: 1 1 400px; display: flex; flex-direction: column; gap: 14px; }
.product-info .eyebrow { margin: 0; }
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.product-info h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 0; }
.price-big { font-size: 30px; font-weight: 800; margin: 0; }
.price-big small { font-size: 14px; font-weight: 500; color: var(--muted); display: block; }
.product-cta { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 18px; background: var(--grey); border-radius: 8px; }
.specs { border-collapse: collapse; width: 100%; font-size: 14px; }
.specs th { text-align: left; font-weight: 600; color: var(--muted); padding: 10px 12px 10px 0; width: 42%; border-top: 1px solid var(--line); }
.specs td { padding: 10px 0; border-top: 1px solid var(--line); }

/* ---------- zaaglijst */
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ref { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.ref input { width: 240px; }
.tabs { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.tab-wrap { display: flex; align-items: center; }
.tab { height: var(--ctl); padding: 0 12px; border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2.5px solid transparent; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.tab:hover { color: var(--ink); }
.tab.is-on { border-bottom-color: var(--orange); color: var(--ink); font-weight: 700; }
.tab-x { width: 30px; height: 30px; border: 0; background: transparent; color: #7F8C93; font-size: 18px; border-radius: 8px; cursor: pointer; }
.tab-x:hover { background: var(--grey); color: var(--ink); }
.tabs-line { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs-line .tab { border-radius: 0; margin-bottom: -1px; }
.dot { width: 14px; height: 14px; border-radius: 8px; border: 1px solid rgba(13,30,39,.2); display: inline-block; flex: none; }
.cols { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.col-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.page-wide .col-main { flex-basis: 790px; } /* zaaglijst: tabel past zonder horizontaal scrollen; anders gaat het zaagschema eronder */
.col-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 84px; }
@media (max-width: 1000px) { .col-side { position: static; } }
.mat { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.mat-img { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; flex: none; border: 1px solid rgba(13,30,39,.12); }
.mat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mat-info { flex: 1 1 240px; display: flex; flex-direction: column; gap: 2px; }
.band { display: flex; flex-direction: column; gap: 2px; padding-left: 16px; border-left: 1px solid var(--line); }
.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice-btn { text-align: left; padding: 12px 16px; border-radius: 8px; background: #fff; border: 1.5px solid var(--line); font: inherit; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-height: 66px; }
.choice-btn:hover { border-color: var(--line-2); }
.choice-btn.is-on { border-color: var(--orange); background: var(--orange-soft); }
@media (max-width: 520px) { .choice { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; }
table.parts { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 14px; }
.parts th { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 12px 6px 4px; white-space: nowrap; }
.parts th.num { text-align: right; }
.parts tr.sub td { padding: 0 6px 8px; border-bottom: 1px solid var(--line); font-size: 11px; }
.parts td { padding: 6px 4px; border-bottom: 1px solid #EEEEEA; vertical-align: middle; }
.parts td:first-child { padding-left: 10px; width: 36px; }
.parts tr[data-row] td:nth-child(2) { min-width: 120px; }
.parts td:nth-child(2) input { width: 100%; }
.parts tr[data-row] td:nth-child(3), .parts tr[data-row] td:nth-child(4) { width: 84px; }
.parts td:nth-child(3) input, .parts td:nth-child(4) input { min-width: 76px; }
.parts td.edge-cell { width: 44px; padding-left: 1px; padding-right: 1px; text-align: center; }
.parts td.dir-cell { width: 44px; text-align: center; padding-left: 1px; padding-right: 1px; }
.dir-btn { display: inline-flex; align-items: center; justify-content: center; width: var(--ctl-sm); height: var(--ctl-sm); padding: 0; border-radius: 8px; border: 1.5px dashed var(--line-2); background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.dir-btn svg { flex: none; }
.dir-btn:hover { border-color: var(--ink); border-style: solid; }
.dir-btn.is-on { background: var(--navy); border: 1.5px solid var(--navy); color: #fff; }
.dir-btn.is-mixed { background: var(--orange-soft); border: 1.5px solid var(--orange); color: var(--orange-ink); justify-content: center; }
.mat-switch { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 1px solid var(--line); }
.mat-switch select { height: var(--ctl-sm); max-width: 220px; }
.parts td.actions { width: 86px; padding-right: 10px; }
.parts tr.has-err input.num-in { border: 2px solid #C23A00; }
.parts .err-row td { border-bottom: 1px solid #EEEEEA; padding-top: 0; font-size: 13px; }
.parts tr:has(+ .err-row:not([hidden])) td { border-bottom: 0; }
.edge-head { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.edge-btn { width: var(--ctl-sm); height: var(--ctl-sm); border-radius: 8px; border: 1.5px dashed var(--line-2); background: #fff; color: var(--ink); font: inherit; font-family: var(--mono); font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.edge-btn:hover { border-color: var(--ink); border-style: solid; }
.edge-btn.is-on { background: var(--navy); border: 1.5px solid var(--navy); color: #fff; }
.edge-btn.is-mixed { background: var(--orange-soft); border: 1.5px solid var(--orange); color: var(--orange-ink); }
.edge-btn[disabled] { opacity: .3; cursor: not-allowed; }
.badge { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--navy); }
.full-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid #EEEEEA; }
.full-row label { display: flex; align-items: center; gap: 8px; }
.full-row input { width: 80px; }

.schema-meta { display: flex; justify-content: space-between; margin: 12px 0 6px; font-size: 12px; color: var(--muted); }
.schema-meta strong { color: var(--ink); }
.schema-meta .right { text-align: right; }
.sheet.grain { background: repeating-linear-gradient(0deg, #EEEEEA 0 2px, #fff 2px 7px); }
.sheet { position: relative; width: 100%; border: 1.5px solid var(--navy); background: repeating-linear-gradient(135deg, #EEEEEA 0 5px, #fff 5px 10px); overflow: hidden; border-radius: 0; }
.piece { position: absolute; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 10px; font-weight: 700; color: var(--ink); background: #FCE1D0; border: 1.5px solid var(--orange); overflow: hidden; line-height: 1.1; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.schema-empty { padding: 40px 12px; text-align: center; color: var(--muted); background: var(--grey); border-radius: 8px; }
.big-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
.big-grid figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 520px) { .big-grid { grid-template-columns: 1fr; } }

.total-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total-big { font-size: 30px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-status { margin-top: 6px; }
.lines { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.line { display: flex; justify-content: space-between; gap: 12px; }
.totals { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.totals .strong { font-weight: 800; font-size: 16px; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }

/* ---------- tabellen */
.table { border-collapse: collapse; width: 100%; font-size: 14px; }
.table th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th.num { text-align: right; }
.table td { padding: 11px 12px; border-bottom: 1px solid #EEEEEA; vertical-align: top; }
.table tr.has-err td { background: #FFF6F2; }
.table tr[data-href] { cursor: pointer; }
.table tbody tr:hover td { background: #FAFAF8; }
.table.compact td { padding: 7px 0; }
.table.compact td + td { padding-left: 12px; }
.addr { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr; gap: 10px; margin-top: 14px; }
.addr label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
@media (max-width: 520px) { .addr { grid-template-columns: 1fr 1fr; } }
.summary { width: 100%; border-collapse: collapse; margin: 16px 0; }
.summary td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary .total td { font-weight: 800; }
.page-head { margin-bottom: 4px; }

/* ---------- account */
.auth { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

/* ---------- beheer */
.admin { gap: 20px; }
.period { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.period label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.period input[type=date] { width: auto; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.kpi strong { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.kpi:first-child { background: var(--navy); border-color: var(--navy); color: #fff; }
.kpi:first-child .mono-label, .kpi:first-child .muted { color: var(--muted-light); }
.charts { align-items: stretch; }
.chart { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 16px 8px; }
.chart figcaption { font-weight: 700; margin-bottom: 8px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .grid { stroke: #E9E9E4; stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--sans); }
.chart .bar:hover path { opacity: .8; }
.timeline { list-style: none; padding: 0; margin: 16px 0 18px; display: flex; flex-direction: column; gap: 0; }
.timeline li { position: relative; padding: 0 0 14px 22px; border-left: 2px solid var(--line); margin-left: 5px; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.supplier-block { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.supplier-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; background: var(--grey); border-bottom: 1px solid var(--line); }
.supplier-head h3 { margin: 0; }
.supplier-block > h3 { padding: 14px 20px; margin: 0; background: var(--grey); border-bottom: 1px solid var(--line); }
.supplier-block .table-wrap { padding: 0 8px; }
.supplier-block > .form-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px 20px 18px; }
.supplier-block > .form-row input[type=text] { flex: 1 1 260px; width: auto; }
.supplier-block + .supplier-block { margin-top: 4px; }

/* ---------- landingspagina */
.section { padding: 80px 0; }
.section.pt0 { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head .h-xl { margin-bottom: 0; }
.cta-center { display: flex; justify-content: flex-start; margin-top: 32px; }
.cta-row.center { justify-content: center; }
@media (max-width: 640px) { .section { padding: 56px 0; } .band-grey { padding: 56px 0 32px; } .band-grey.pb { padding: 24px 0 56px; } }

.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust-in { display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font-size: 14px; font-weight: 600; }
.trust-in span { display: inline-flex; align-items: center; gap: 8px; }
.trust-in svg { color: var(--orange); }

.pop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .pop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pop-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pop-card:hover { color: var(--ink); border-color: var(--line-2); box-shadow: 0 14px 30px rgba(13,30,39,.1); transform: translateY(-2px); }
.pop-img { aspect-ratio: 4 / 3; overflow: hidden; display: block; }
.pop-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pop-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.pop-title { font-weight: 700; font-size: 16px; }
.pop-price { font-weight: 800; font-size: 17px; margin-top: 6px; }
.pop-price small { font-weight: 500; font-size: 12.5px; color: var(--muted); }
.pop-cta { margin-top: auto; padding-top: 12px; color: var(--orange-ink); font-weight: 700; font-size: 14px; }

.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.price-grid .lead { margin-bottom: 24px; }
.price-list { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.price-list > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 20px; align-items: center; }
.price-list > div + div { border-top: 1px solid var(--line); }
.price-list dt { font-weight: 700; }
.price-list dd { margin: 0; display: contents; color: var(--muted); font-size: 13.5px; }
.price-list dd > .pv { grid-column: 2; grid-row: 1 / span 2; font-weight: 800; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; gap: 28px; } }

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; padding-bottom: 40px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border-radius: 8px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--orange); flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 18px; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

.final { padding: 80px 0; }
.final .h-xl { margin: 6px 0 12px; }
.final .lead-light { margin: 0; }
.final .cta-row { margin-bottom: 0; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(13,30,39,.08); }
.sticky-cta[hidden] { display: none; }
@media (min-width: 761px) { .sticky-cta { display: none !important; } }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.06); }
.hero-pick { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-pick .mono-label { color: var(--muted-light); }
.hero-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch-link { display: inline-flex; align-items: center; gap: 10px; height: var(--ctl); padding: 0 16px 0 5px; border-radius: 8px; background: rgba(13,30,39,.72); border: 1px solid rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(4px); text-decoration: none; font-size: 14px; font-weight: 600; }
.swatch-link small { color: var(--muted-light); font-weight: 500; }
.swatch-link:hover { color: #fff; border-color: var(--orange); }
.swatch { width: 34px; height: 34px; border-radius: 6px; overflow: hidden; flex: none; }
.swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swatch-all { padding-left: 16px; color: var(--orange); }
@media (max-width: 560px) { .hero-pick { margin-top: 32px; } .hero-swatches { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; } .swatch-link { flex: none; } }

/* ---------- footer */
.footer { background: var(--navy); color: #C9D5DC; font-size: 14px; border-top: 1px solid #2A4A60; }
.footer-in { max-width: var(--container); margin: 0 auto; padding: 44px 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
@media (min-width: 961px) { .footer-in:not(:has(> :nth-child(5))) { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer a { color: #fff; }
.footer a:hover { color: var(--orange); }
.footer .mono-label { color: var(--orange); margin-bottom: 6px; }
@media (max-width: 960px) { .footer-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr; padding: 32px 16px; } }

@media print {
  .topbar, .footer, .no-print, .tabs-line, .row-actions { display: none !important; }
  body { font-size: 12px; }
  .card, .supplier-block { border: 0; }
}
@media (max-width: 560px) {
  .pop { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pop-body { padding: 12px; }
  .pop-title { font-size: 14.5px; }
  .pop-price { font-size: 15px; }
  .pop-price small { display: block; }
  .trust-in { display: grid; grid-template-columns: 1fr 1fr; font-size: 13px; }
  .section-head .btn { display: none; }
}
.pages { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.hero-pick { border-top: 0; padding-top: 0; }
.hero-pick::before { content: ''; flex-basis: 100%; height: 1px; background: rgba(255,255,255,.12); margin-bottom: 4px; }

/* formulierregels: veld + knop naast elkaar */
.form-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
.form-row > input, .form-row > select { flex: 1 1 200px; width: auto; }
form > table + .btn, form > .table-wrap + .btn { margin-top: 12px; }
.card > form + form { margin-top: 4px; }
.form-row > .btn-ghost, .period .btn-ghost { height: var(--ctl); }
.empty-state > * { margin: 0; }

/* footer-bedrijfsnaam */
.footer strong { color: #fff; font-weight: 700; }

/* beheer: instellingen */
.settings { display: flex; flex-direction: column; gap: 16px; }
.set-row { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 8px 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.set-row:first-of-type { border-top: 0; }
.set-label label { font-weight: 700; display: block; margin-bottom: 4px; }
.set-label p { margin: 6px 0 0; }
.set-field { display: flex; flex-direction: column; gap: 8px; }
.hero-upload { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-preview { width: 220px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--grey); display: flex; align-items: center; justify-content: center; padding: 0; }
.hero-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-preview .muted { padding: 8px; text-align: center; }
label.btn { cursor: pointer; }
@media (max-width: 760px) { .set-row { grid-template-columns: 1fr; } }
.facet-list > .check { flex: none; }

/* ---------- klantenservice */
.crumbs-light, .crumbs-light a { color: var(--muted-light); }
.crumbs-light { margin: 0 0 18px; }
.page-hero .lead-light { margin: 0 0 22px; }
.service-contact { padding: 48px 0 8px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); text-decoration: none; }
.contact-card strong { font-size: 16.5px; }
.contact-card span:last-child { color: var(--muted); font-size: 14px; }
a.contact-card:hover { color: var(--ink); border-color: var(--orange); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }
.service { padding-top: 40px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 48px; }
.service-topic { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; scroll-margin-top: 24px; }
.h-lg { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; margin: 0; }
.service .faq details { border: 1px solid var(--line); }
.service .faq details p a { color: var(--orange-ink); font-weight: 600; }
@media (max-width: 860px) { .service-topic { grid-template-columns: 1fr; gap: 16px; } }
.biz .mono-label { color: var(--orange-ink); margin-bottom: 4px; }
.biz .h4 { font-size: 16px; }
.biz-list { list-style: none; padding: 0; margin: 4px 0 14px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.biz-list li { display: flex; gap: 8px; align-items: center; }
.biz-list li::before { content: ''; width: 14px; height: 8px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg) translateY(-2px); flex: none; }
/* winkelmandje in de menubalk: helemaal rond, oranje zodra er iets in zit */
.pill-cart, .pill-round { border-radius: 999px; }
.pill-cart.is-filled { background: var(--orange); border-color: var(--orange); color: #fff; }
.pill-cart.is-filled:hover { background: var(--orange-2); border-color: var(--orange-2); }
.pill-cart.is-filled .cart-count { background: #fff; color: var(--orange-ink); }

/* ---------- account: klantgegevens */
.account-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.account-side { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr; } }
.form .h3 { margin: 0; }
.form > .h3 + label { margin-top: 12px; }
.form-grid { display: grid; gap: 0 12px; }
.form-grid > label { margin-top: 12px; }
.g-2 { grid-template-columns: 1fr 1fr; }
.g-3 { grid-template-columns: 1.2fr 1fr 1fr; }
.g-street { grid-template-columns: 2fr 1.4fr 1fr; }
@media (max-width: 560px) { .g-2, .g-street { grid-template-columns: 1fr; } .g-3 { grid-template-columns: 1fr 1fr; } }
.form-sub { margin: 20px 0 0; }
.form label.check.form-sub { flex-direction: row; font-weight: 500; }
.form-actions { margin-top: 18px; display: flex; gap: 8px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--grey); border-radius: 12px; /* 8px + 4px rand */ padding: 4px; height: var(--ctl); }
.seg label { position: relative; display: block; margin: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; height: 100%; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(13,30,39,.15); }
.seg input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 1px; }
.seg-sm { width: auto; height: var(--ctl); grid-template-columns: auto auto; }
.seg-sm span { padding: 0 14px; font-size: 13.5px; }
.profile:has(input[name=type][value=particulier]:checked) .biz-fields { display: none; }
.profile:has(input[name=billSame]:checked) .bill-fields { display: none; }
.form .seg label { margin: 0; display: block; }

/* catalogus: één kaart per decor met dikte-keuze */
.mat-card { display: flex; flex-direction: column; }
.mat-card .card-link { height: auto; flex: 1; }
.mat-card .card-body { padding-bottom: 8px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 16px 16px; flex-wrap: wrap; }
.card-foot .card-price { margin: 0; }
.thick-chips { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.tchip { min-width: 34px; height: 28px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.tchip:hover { border-color: var(--ink); }
.tchip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tchip.is-static { cursor: default; }
.tchip-unit { font-size: 12.5px; color: var(--muted); margin-left: 2px; }

/* incl./excl. btw-schakelaar in de menubalk (compact) */
.vat-switch { display: inline-flex; align-items: center; padding: 2px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); height: 26px; }
.vat-switch button { border: 0; background: transparent; color: #A9B8C2; font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 0 8px; height: 100%; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.vat-switch button:hover { color: #fff; }
.vat-switch button.is-on { background: rgba(255,255,255,.14); color: #fff; }
.card-m2 { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.vat-unit { font-size: 11px; color: #7F95A3; padding: 0 8px 0 4px; }
/* btw-controle (VIES) */
.g-vat { grid-template-columns: 1fr; }
.vat-row { display: flex; gap: 8px; }
.vat-row input { flex: 1; }
.vat-row .btn { flex: none; }
.vat-status { margin: 8px 0 0; color: var(--muted); }
.vat-status.ok { color: var(--ok); font-weight: 600; }
.vat-status.bad { color: var(--err); font-weight: 600; }

/* ---------------------------------------------------------------- landingspagina's per materiaal */
.btn-sm { height: var(--ctl-sm); padding: 0 14px; font-size: 13.5px; }
.nowrap { white-space: nowrap; }
.lp-facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-facts li { display: flex; flex-direction: column; gap: 2px; min-width: 128px; background: rgba(13,30,39,.55); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 10px 14px; }
.lp-facts strong { color: #fff; font-size: 18px; font-weight: 700; white-space: nowrap; }
.lp-facts span { font-size: 12.5px; color: #C9D5DD; }
.lp-facts strong .money { font: inherit; color: inherit; }
.lp-intro { max-width: 780px; margin: -12px 0 28px; }
.lp-types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-types.lp-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-types.lp-n1 { grid-template-columns: minmax(0, 1fr); }
.lp-types.lp-n1 .lp-type { flex-direction: row; }
.lp-types.lp-n1 .lp-type-img { flex: 0 0 380px; aspect-ratio: auto; }
@media (max-width: 960px) { .lp-types, .lp-types.lp-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-type { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.lp-type-img { display: block; aspect-ratio: 16 / 7; overflow: hidden; }
.lp-type-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-type-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.lp-type-body h3 { font-size: 18px; margin: 0; }
.lp-type-body h3 a { color: var(--ink); text-decoration: none; }
.lp-type-body h3 a:hover { color: var(--orange-ink); }
.lp-type-body > p { margin: 0; color: var(--muted); }
.lp-type-specs { margin: 0; font-size: 13.5px; display: grid; gap: 4px; }
.lp-type-specs div { display: grid; grid-template-columns: 82px 1fr; gap: 8px; }
.lp-type-specs dt { color: var(--muted); }
.lp-type-specs dd { margin: 0; }
.lp-tags { list-style: none; margin: 2px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lp-tags li { font-size: 12px; font-weight: 600; background: var(--grey); border-radius: 999px; padding: 3px 10px; }
.lp-type-body > .btn { align-self: flex-start; margin-top: auto; }
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.lp-split > .card { overflow: hidden; }
.lp-band { padding-bottom: 72px; }
.lp-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 24px; }
.lp-mini h3 { font-size: 15px; margin: 0 0 4px; }
.lp-mini p { margin: 0; color: var(--muted); font-size: 14.5px; }
.lp-table caption { text-align: left; padding: 14px 12px 4px; }
.lp-table td:first-child { width: 42%; }
.lp-table tbody tr:last-child td { border-bottom: 0; }
.lp-tips { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 8px; }
.lp-tips p { margin: 0; color: var(--muted); font-size: 14.5px; }
.lp-why { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; }
.lp-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.lp-pc .mono-label, .lp-sum .mono-label { color: var(--muted-light); margin-bottom: 10px; }
.lp-plus, .lp-min { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: #D3DEE5; font-size: 14.5px; }
.lp-plus li, .lp-min li { position: relative; padding-left: 22px; }
.lp-plus li::before, .lp-min li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.lp-plus li::before { content: '+'; color: var(--orange); }
.lp-min li::before { content: '–'; color: var(--muted-light); }
.lp-plus strong, .lp-min strong { color: #fff; }
.lp-sum { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 20px 22px; align-self: start; }
.lp-sum dl { margin: 0; display: grid; gap: 0; }
.lp-sum dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.lp-sum dl div:first-child { border-top: 0; }
.lp-sum dt { color: var(--muted-light); }
.lp-sum dd { margin: 0; color: #fff; }
.lp-rel-label { margin-top: 22px; }
.lp-rel { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.lp-rel a { font-weight: 600; text-decoration: none; }
@media (max-width: 960px) { .lp-split, .lp-why { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) { .lp-mini, .lp-pc { grid-template-columns: 1fr; } .lp-types, .lp-types.lp-n2 { grid-template-columns: 1fr; } .lp-types.lp-n1 .lp-type { flex-direction: column; } .lp-types.lp-n1 .lp-type-img { min-height: 0; aspect-ratio: 16 / 7; } .lp-facts li { min-width: 0; flex: 1 1 40%; } }

/* ---------------------------------------------------------------- offertes */
.offer-panel { margin-bottom: 16px; border-color: var(--orange); }
.offer-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 12px; }
.offer-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.offer-form .span2 { grid-column: 1 / -1; margin: 0; }
.quote-note { background: var(--grey); border-radius: 8px; padding: 10px 12px; margin: 0; }
.copy-link { width: 100%; max-width: 640px; height: var(--ctl-sm); font-family: var(--mono); font-size: 12px; margin-top: 4px; }
.offer-msg p:last-child { margin: 6px 0 0; }
.line.discount { color: var(--ok); }
.quote-box { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; display: grid; gap: 10px; }
.quote-box label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.quote-box textarea { min-height: 70px; }
.quote-hint { background: var(--orange-soft); color: var(--orange-ink); border-radius: 8px; padding: 10px 12px; font-size: 14px; margin: 0; }
@media (max-width: 640px) { .offer-form { grid-template-columns: 1fr; } }
@media print { .topbar, .footer, .stack .btn, .notice { display: none !important; } .app-top { background: #fff !important; color: var(--ink) !important; } .app-top h1, .app-top .lead-light { color: var(--ink) !important; } }

/* zaaglijst: selecteren en verplaatsen */
.parts td.sel-cell, .parts th.sel-cell { width: 58px; padding-left: 10px; white-space: nowrap; }
.row-pick { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.sel-box { width: 16px; height: 16px; accent-color: var(--orange); cursor: pointer; margin: 0; }
.parts tr.is-sel td { background: var(--orange-soft); }
.parts tr.is-sel .badge { background: var(--orange); }
.sel-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: var(--navy); color: #fff; border-radius: 8px; padding: 8px 10px 8px 14px; margin-bottom: 10px; }
.sel-bar .muted { color: #A9B8C2; }
.sel-bar .grow { flex: 1; }
.sel-bar .btn-ghost { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.sel-bar .btn-ghost:hover { border-color: #fff; color: #fff; }
.move-chip { display: inline-flex; align-items: center; gap: 7px; height: var(--ctl-sm); padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: none; }
.move-chip:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.move-chip.ghost { border-style: dashed; background: transparent; }
.move-chip .dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); }
.sel-hint { margin: -4px 0 8px; }
.move-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }

/* winkelmandje: plaaticoontje en kantenband als (niet aanpasbare) knopjes */
.cart-mat { display: inline-flex; align-items: center; gap: 10px; }
.mat-ico { width: 34px; height: 34px; border-radius: 6px; overflow: hidden; flex: none; border: 1px solid rgba(13,30,39,.12); display: inline-block; }
.mat-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.edge-btn.ro { width: 26px; height: 26px; font-size: 12px; cursor: default; border-width: 1px; border-color: var(--line); }
.edge-btn.ro:hover { border-style: dashed; border-color: var(--line); }
.edge-btn.ro.is-on { background: #E6ECF0; border: 1px solid #C9D5DC; color: var(--navy); }
.edge-th { width: 34px; padding-left: 2px !important; padding-right: 2px !important; }
.cart-name { max-width: 220px; overflow-wrap: anywhere; }
.table th.center, .table td.center { text-align: center; }

/* catalogus: knop "Toevoegen aan zaaglijst" onderaan de kaart (zet in de selectie, stuurt niet meteen door) */
.card-add { position: relative; display: flex; align-items: center; justify-content: center; height: var(--ctl); margin-top: 12px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; color: var(--navy); font-weight: 600; font-size: 14px; cursor: pointer; user-select: none; }
.card-add:hover { border-color: var(--navy); }
.card-add input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.card-add .add-on { display: none; }
.card-add:has(input:checked) { background: var(--orange); border-color: var(--orange); color: #fff; }
.card-add:has(input:checked) .add-on { display: inline; }
.card-add:has(input:checked) .add-off { display: none; }
.card-add:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }
.card-foot .card-add { flex: 1 1 100%; }

/* zaaglijst: tabbladen per plaat (materiaal + dikte) */
.sheet-tabs { align-items: stretch; }
.sheet-tab { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; text-align: left; }
.tab-ico { width: 30px; height: 30px; border-radius: 6px; overflow: hidden; flex: none; border: 1px solid rgba(13,30,39,.14); }
.tab-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tab-txt { display: flex; flex-direction: column; line-height: 1.2; }
.tab-name { font-weight: 700; font-size: 14px; color: var(--navy); }
.tab-sub { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.sheet-tab.is-on .tab-sub { color: var(--orange-ink); }
.tab-n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--grey); color: var(--navy); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.sheet-tab.is-on .tab-n { background: var(--orange); color: #fff; }
.tab-add { align-self: center; margin-left: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; border: 1px dashed var(--line-2); white-space: nowrap; }
.tab-add:hover { color: var(--navy); border-color: var(--navy); }
.thick-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.thick-row .mono-label { width: 72px; }
.thick-row .tchip { height: 34px; padding: 0 12px; display: inline-flex; align-items: baseline; gap: 6px; }
.thick-row .tchip small { font-size: 11.5px; font-weight: 500; opacity: .75; }
.thick-row .tchip.is-new { border-style: dashed; color: var(--muted); }
.size-tip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; padding: 12px 14px; border-radius: 8px; background: var(--info-soft); border: 1px solid #BFE0EE; }
.size-tip > div { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; }
.size-tip-ico { font-size: 18px; }
.sel-label { color: #A9B8C2; font-size: 13px; }

.page-nums { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }
.page-num { min-width: var(--ctl-sm); height: var(--ctl-sm); padding: 0 8px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; color: var(--navy); text-decoration: none; border: 1px solid transparent; }
a.page-num:hover { border-color: var(--line-2); }
.page-num.is-on { background: var(--navy); color: #fff; }
.page-gap { color: var(--muted); padding: 0 2px; }

/* topbalk: rustiger – tekstlinks, account en winkelmandje; btw-keuze als lipje onder de lijn rechts */
.top-link { color: #C9D5DC; text-decoration: none; font-weight: 600; font-size: 14px; padding: 0 10px; height: var(--ctl); display: inline-flex; align-items: center; }
.top-link:hover, .top-link.is-on { color: #fff; }
.vat-tab { position: absolute; right: 24px; top: calc(100% + 8px); z-index: 29; }
.vat-tab .vat-switch { background: var(--navy); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; height: 30px; padding: 2px 2px 2px 12px; gap: 2px; box-shadow: 0 2px 8px rgba(13,30,39,.18); }
.vat-tab .vat-unit { color: #7F95A3; font-size: 11px; font-weight: 600; margin-right: 4px; }
@media (max-width: 640px) { .vat-tab { right: 16px; } }

.card-brand { display: flex; align-items: center; gap: 8px; min-height: 16px; }
.brand-logo { height: 14px; width: auto; display: block; }
.card-brand .mono-label { margin: 0; }
.mat-brand { height: 16px; width: auto; display: block; margin-bottom: 4px; }
.mat .mat-brand { width: auto; height: 16px; max-width: 120px; object-fit: contain; border: 0; align-self: flex-start; }
.import-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.product-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.product-brand .brand-logo { height: 22px; }
.product-brand .eyebrow { margin: 0; }

/* zaaglijst: aantal met - en +, gemengd neutraal, logo tegen de scheidingslijn, geen dubbele rand */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 8px; height: var(--ctl-sm); overflow: hidden; background: #fff; }
.stepper .num-in.q { border: 0; width: 44px; min-width: 0 !important; text-align: center; height: 100%; padding: 0; -moz-appearance: textfield; border-radius: 0; }
.stepper .num-in.q::-webkit-outer-spin-button, .stepper .num-in.q::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .num-in.q:focus { outline: none; box-shadow: none; }
.stepper:focus-within { border-color: var(--navy); }
.step-btn { width: 26px; height: 100%; border: 0; background: var(--grey); color: var(--navy); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; line-height: 1; }
.step-btn:hover { background: #E6ECF0; }
.step-btn[disabled] { opacity: .35; cursor: default; }
.parts tr[data-row] td:nth-child(5) { width: 104px; }
.edge-btn.is-mixed, .dir-btn.is-mixed { background: #fff; border: 1.5px dashed var(--line-2); color: var(--muted); }
.mat .mat-brand { margin: 0 0 0 auto; align-self: center; height: 18px; max-width: 110px; }
.mat .mat-brand + .band { margin-left: 0; }
.parts tbody tr:nth-last-child(-n+2) td { border-bottom: 0; }
.thick-row .tchip { align-items: center; line-height: 1; }
.thick-row .tchip small { line-height: 1; }
.footer-part { font-size: 12.5px; color: #7F95A3; }
@media (max-width: 1000px) { .page-wide .col-main, .page-wide .col-side { flex-basis: 100%; max-width: 100%; } }
.col-main > section, .table-wrap { max-width: 100%; min-width: 0; }
.table-wrap { position: relative; } /* absolute elementen (sr-tekst) blijven binnen de scrollbare tabel */
.related { margin-top: 56px; }
.related .h2 { margin-bottom: 16px; }

/* oranje streep onder het actieve menu-item valt precies op de onderrand van de topbalk (1px) */
.topbar-in > .nav { align-self: stretch; }
.nav-link { display: inline-flex; align-items: center; }
.nav-link::after { bottom: -1px; height: 1px; }
@media (max-width: 1080px) { .topbar-in > .nav { align-self: auto; } .nav-link { padding: 10px 0 12px; } }
.topbar-in > .nav.steps-nav { align-items: stretch; }
.steps-nav .step-sep { align-self: center; }
@media (max-width: 1080px) { .nav { padding-bottom: 0; } }

/* projecten */
.proj { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.proj-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.proj input { height: var(--ctl-sm); width: 220px; }
.proj select { height: var(--ctl-sm); max-width: 240px; font-weight: 600; }

/* ---------------------------------------------------------------- mobiel (≤ 640px) */
@media (max-width: 640px) {
  /* topbalk: groter logo, alleen iconen rechts */
  .brand img { width: 168px !important; }
  .topbar-right .top-link { display: none; }
  .vat-tab { right: 16px; }
  .app-top { padding-top: 14px; }
  .app-top h1 { font-size: 26px; }
  .app-top .lead-light { font-size: 15px; }
  /* zaaglijst-werkbalk */
  .toolbar { gap: 8px; }
  .proj { width: 100%; }
  .proj input { flex: 1 1 140px; width: auto; }
  /* tabbladen: horizontaal schuiven i.p.v. onder elkaar */
  .sheet-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
  .sheet-tabs .tab-wrap { flex: none; }
  .tab-add { flex: none; }
  /* materiaalblok compact */
  .mat { display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; align-items: start; position: relative; }
  .mat-img { width: 56px; height: 56px; grid-row: 1 / span 2; }
  .mat-info { display: contents; }
  .mat-info > strong { grid-column: 2; padding-right: 76px; }
  .mat-info > .muted { grid-column: 2; }
  .mat .mat-brand { position: absolute; top: 18px; right: 16px; height: 14px; margin: 0; }
  .mat .thick-row { grid-column: 1 / -1; margin-top: 10px; }
  .thick-row .mono-label { width: 100%; }
  .thick-row .tchip { height: 32px; padding: 0 10px; font-size: 13px; }
  .mat .band { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
  /* onderdelen als kaartjes per regel */
  table.parts { min-width: 0; }
  table.parts thead tr:first-child { display: none; }
  table.parts, table.parts tbody, table.parts thead { display: block; }
  table.parts tr[data-row], table.parts tr.sub { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 44px; gap: 8px 6px; padding: 12px; border-bottom: 1px solid var(--line); align-items: end; }
  table.parts tr[data-row] td, table.parts tr.sub td { display: block; padding: 0; border: 0; width: auto !important; min-width: 0 !important; }
  table.parts td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 3px; text-align: center; }
  table.parts td.c-l::before, table.parts td.c-w::before, table.parts td.c-q::before { text-align: left; }
  table.parts .sel-cell { grid-column: 1; grid-row: 1; align-self: center; }
  table.parts .c-name { grid-column: 2 / 5; grid-row: 1; }
  table.parts .c-name input { width: 100%; }
  table.parts .actions { grid-column: 5 / 7; grid-row: 1; display: flex; justify-content: flex-end; gap: 6px; align-self: center; }
  table.parts .c-l { grid-column: 1 / 3; grid-row: 2; }
  table.parts .c-w { grid-column: 3 / 5; grid-row: 2; }
  table.parts .c-q { grid-column: 5 / 7; grid-row: 2; }
  table.parts .c-l input, table.parts .c-w input { width: 100%; min-width: 0 !important; }
  table.parts .stepper { width: 100%; }
  table.parts .stepper .num-in.q { flex: 1; width: auto; }
  table.parts tr[data-row] .edge-cell, table.parts tr[data-row] .dir-cell { grid-row: 3; text-align: center; }
  table.parts tr.sub .sub-sel { display: none; }
  table.parts tr.sub .sub-help { grid-column: 1 / -1; grid-row: 1; }
  table.parts tr.sub .edge-cell, table.parts tr.sub .dir-cell { grid-row: 2; text-align: center; }
  table.parts tr.sub .edge-head { display: flex; justify-content: center; font-size: 11px; color: var(--muted); font-family: var(--mono); margin-bottom: 3px; }
  table.parts tr.sub .edge-head + * { margin: 0 auto; }
  table.parts tr.sub > td:last-child:empty { display: none; }
  table.parts tr.err-row:not([hidden]) { display: block; padding: 0 12px 10px; }
  table.parts tr.err-row td { display: block; padding: 0; border: 0; }
  table.parts tr.err-row td:first-child { display: none; }
  .row-actions { flex-wrap: wrap; }
}

/* winkelmandje: projecten kiezen */
.proj-pick-cart { margin-bottom: 16px; }
.proj-checks { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 8px; }
.proj-check { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer; }
.proj-check > span { display: flex; flex-direction: column; line-height: 1.25; }
.proj-check input { accent-color: var(--orange); width: 16px; height: 16px; }
.proj-check.is-on { border-color: var(--orange); background: var(--orange-soft); }
.proj-row td { background: var(--grey); font-weight: 700; font-size: 13px; padding: 6px 12px; }
/* btw-pil verdwijnt zodra u scrolt (staat anders over de inhoud) */
.topbar.is-scrolled .vat-tab { opacity: 0; pointer-events: none; transform: translateY(-4px); }
.vat-tab { transition: opacity .15s, transform .15s; }
.parts tr.sub .edge-head { display: flex; justify-content: center; margin-bottom: 4px; } .parts tr.sub td.edge-cell { vertical-align: bottom; }
.parts tr.sub td.sub-help { text-align: right; vertical-align: bottom; padding-bottom: 14px; padding-right: 10px; } @media (max-width: 640px) { .parts tr.sub td.sub-help { text-align: left; padding: 0; } }
.footer-logo { width: 240px; height: auto; display: block; margin-bottom: 4px; }
.lp-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 18px 0 0; font-size: 14px; color: #A9B8C2; }
.lp-links a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.lp-links a:hover { text-decoration-color: var(--orange); }

/* cookiebanner (consent.js) */
.consent { position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.consent-in { pointer-events: auto; width: 100%; max-width: 560px; background: #fff; color: var(--ink); border: 1px solid var(--line, #E3E5E6); border-radius: 10px; box-shadow: 0 12px 40px rgba(13, 30, 39, .22); padding: 18px 20px; }
.consent-title { margin: 0 0 6px; font-weight: 700; font-size: 16px; }
.consent-text { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--muted, #4A5A63); }
.consent-text a { color: var(--ink); }
.consent-opts { display: grid; gap: 8px; margin: 0 0 14px; }
.consent-opts[hidden] { display: none; }
.consent-opt { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 8px 10px; border: 1px solid var(--line, #E3E5E6); border-radius: 8px; cursor: pointer; }
.consent-opt input { margin-top: 3px; accent-color: var(--orange); }
.consent-opt small { color: var(--muted, #4A5A63); }
.consent-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 520px) { .consent { left: 8px; right: 8px; bottom: 8px; } .consent-btns .btn { flex: 1 1 100%; } }

/* gratis stalen */
.sample-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0 4px; }
.sample-cta .btn { display: inline-flex; align-items: center; gap: 8px; }
.sample-cta .btn.is-on { border-color: var(--orange); color: var(--orange-ink); background: #FFF4EC; }
.sample-list { list-style: none; margin: 8px 0 0; padding: 0; }
.sample-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line, #E3E5E6); }
.sample-list li:last-child { border-bottom: 0; }
.sample-list li > a { flex: 1; color: var(--ink); font-weight: 500; text-decoration: none; }
.sample-list li > a:hover { text-decoration: underline; }
.sample-del { font-size: 20px; line-height: 1; padding: 2px 8px; }
.samples-card .h2-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.addr2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.product-cta .sample-cta { width: 100%; margin: 8px 0 0; padding-top: 14px; border-top: 1px solid rgba(13, 30, 39, .1); }
.sample-cta .btn:not(.is-on) { background: #fff; }
.decor-text p { margin: 0 0 10px; }

/* homepage: soorten plaat */
.soorten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.soort-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.soort-card:hover { color: var(--ink); border-color: var(--line-2); box-shadow: 0 14px 30px rgba(13,30,39,.1); transform: translateY(-2px); }
.soort-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.soort-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.soort-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.soort-name { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.soort-name::after { content: ' ›'; color: var(--orange); }
.soort-text { color: var(--muted, #4A5A63); font-size: 14px; line-height: 1.45; flex: 1; }
.soort-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted, #4A5A63); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.soort-meta strong { color: var(--ink); font-size: 15px; }
.soort-apps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; }
.section-tight { padding-top: 0; }
.pop-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.pop-6 .pop-img { aspect-ratio: 1 / 1; }
.pop-sub { font-size: 12px; color: var(--muted, #4A5A63); }
@media (max-width: 1080px) { .pop-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .soorten { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .soorten { grid-template-columns: 1fr; } .soort-img { aspect-ratio: 21 / 9; } .pop-6 { grid-template-columns: 1fr 1fr; } }
.pop-6 .pop-flat { aspect-ratio: 4 / 3; }
.pop-6 .pop-flat img { width: 100%; height: 100%; object-fit: cover; }
.pop-6 .pop-body { gap: 4px; padding: 12px 14px 14px; }
.pop-6 .pop-price small.block { display: block; font-weight: 400; }

/* stappen in de topbalk: oranje streep loopt bij hover door tot de streep van de volgende stap */
.topbar .nav.steps-nav { gap: 0; }
.steps-nav .step-sep { width: 12px; flex: none; text-align: center; }
.steps-nav .step-link { padding-left: 14px; padding-right: 14px; }
.steps-nav .step-link:first-child { padding-left: 0; }
.steps-nav .step-link:last-child { padding-right: 0; }
.steps-nav .step-link::after { left: -6px; right: -6px; }
.steps-nav .step-link:first-child::after { left: 0; }
.steps-nav .step-link:last-child::after { right: 0; }
@media (max-width: 1240px) { .steps-nav .step-link { padding-left: 10px; padding-right: 10px; } }
@media (max-width: 640px) {
  .topbar .nav.steps-nav { justify-content: flex-start; }
  .steps-nav .step-link { flex: 1 1 auto; justify-content: center; padding-left: 4px; padding-right: 4px; }
  .steps-nav .step-link:first-child { justify-content: flex-start; }
  .steps-nav .step-link:last-child { justify-content: flex-end; }
}
/* soorten in het donkere blok */
.tiles-soort { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile-soort { align-items: stretch; min-height: 150px; padding: 18px 12px 12px 20px; }
.tile-soort > span:first-child { display: flex; flex-direction: column; gap: 6px; }
.tile-soort .tile-name { font-size: 19px; font-weight: 800; }
.tile-arrow { color: var(--orange); }
.tile-text { display: block; font-size: 13.5px; font-weight: 400; line-height: 1.45; color: #C9D5DC; flex: 1; }
.tile-soort .tile-img { width: 120px; height: auto; min-height: 120px; }
.tile-soort:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
@media (max-width: 1080px) { .tiles-soort { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tiles-soort { grid-template-columns: 1fr; } .tile-soort .tile-img { width: 96px; min-height: 96px; } }
/* kantenband-kop: knoppen gelijk uitlijnen (ook als er een cijfer in staat), koppen gecentreerd boven de knoppen */
.edge-btn, .dir-btn { vertical-align: middle; }
.parts th.center { text-align: center; }
.parts tr.sub td.sub-help { padding-bottom: 16px; }
@media (max-width: 640px) { .parts tr.sub td.sub-help { padding-bottom: 0; } }
/* beheer: order verwijderen */
.danger-zone { border-color: #F1C9C4; margin-top: 16px; }
.danger-zone summary { cursor: pointer; }
.danger-zone .form-row { align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.danger-zone input { display: block; margin-top: 4px; }
.btn-danger { background: #B42318; border-color: #B42318; color: #fff; }
.btn-danger:hover { background: #912018; border-color: #912018; color: #fff; }
/* actieve stap: geen vaste oranje streep (het oranje bolletje is genoeg); streep alleen bij hover */
.steps-nav .step-link.is-on::after { transform: scaleX(0); }
.steps-nav .step-link.is-on:hover::after { transform: scaleX(1); }
/* platen in de zaaglijst als losse bubbels (in plaats van tabbladen met een streep) */
.sheet-tabs { gap: 8px; padding: 8px; }
.sheet-tabs .tab-wrap { border: 1px solid var(--line-2); border-radius: 10px; background: #fff; padding: 0 4px 0 0; transition: border-color .15s, background .15s; }
.sheet-tabs .tab-wrap:hover { border-color: var(--navy); }
.sheet-tabs .sheet-tab { height: auto; min-height: 48px; padding: 7px 8px 7px 8px; border-bottom: 0; border-radius: 10px; }
.sheet-tabs .tab-wrap:has(.sheet-tab.is-on) { border-color: var(--orange); background: #FFF4EC; }
.sheet-tabs .tab-x { width: 26px; height: 26px; font-size: 16px; }
.sheet-tabs .tab-add { align-self: stretch; display: inline-flex; align-items: center; margin-left: 0; padding: 0 16px; border-radius: 10px; min-height: 48px; }
/* staal: uitleg onder de knop */
.sample-cta { flex-direction: column; align-items: flex-start; gap: 6px; }
/* bubbels: elke binnenradius = buitenradius - ruimte ertussen, zodat alle hoeken evenwijdig lopen:
   balk 20 (8 ruimte) → bubbel 12 (1 rand + 6 ruimte) → foto 5 */
.sheet-tabs { border-radius: 20px; }
.sheet-tabs .tab-wrap { border-radius: 12px; }
.sheet-tabs .sheet-tab { padding: 6px 8px 6px 6px; border-radius: 11px; min-height: 44px; }
.sheet-tabs .tab-ico { width: 32px; height: 32px; border-radius: 5px; }
.sheet-tabs .tab-add { border-radius: 12px; min-height: 46px; }
/* registreren: bedrijfsnaam alleen bij zakelijk */
.form:has(input[name=type][value=particulier]:checked) .biz-only { display: none; }
.narrow-sm.auth-wide { max-width: 640px; }
/* inloggen / account aanmaken: lucht boven de knop */
.narrow-sm .form > button.btn { margin-top: 24px; margin-bottom: 8px; align-self: flex-start; }
.narrow-sm .form > .seg { margin-bottom: 4px; }

/* ---------------------------------------------------------------- kasten op maat */
.kast-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.kast-tile { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.kast-tile:hover { border-color: var(--ink); box-shadow: 0 6px 20px rgba(13,30,39,.08); color: var(--ink); }
.kast-tile-img { display: block; aspect-ratio: 3 / 2; background: linear-gradient(#F7F7F4, #ECECE7); }
.kast-tile-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.kast-tile-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.kast-tile-body strong { font-size: 17px; }
.kast-tile-body > span { color: var(--muted); font-size: 14px; }
.kast-tile-body .kast-tile-go { color: var(--orange-ink); font-weight: 600; margin-top: auto; padding-top: 6px; }
.kast-tiles-home { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.kast-hero { padding-bottom: 40px; }
.kast-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.kast-hero-img { border-radius: 14px; background: radial-gradient(ellipse at 50% 60%, #F4F4F0 0%, #E3E4DF 70%); overflow: hidden; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; }
.kast-hero-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 900px) { .kast-hero-in { grid-template-columns: 1fr; } }
.kast-presets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .kast-presets { grid-template-columns: 1fr; } }
.kast-preset { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; }
.kast-preset:hover { border-color: var(--ink); color: var(--ink); box-shadow: 0 6px 20px rgba(13,30,39,.08); }
.kast-preset-img { display: block; aspect-ratio: 3 / 2; background: linear-gradient(#F7F7F4, #ECECE7); }
.kast-preset-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.kast-preset-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; font-size: 14px; }
.kast-preset-name { font-weight: 700; font-size: 17px; }
.kast-preset-price { font-size: 20px; font-weight: 700; margin-top: auto; padding-top: 6px; }
.kast-preset-price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.top-link.is-on { color: #fff; }
.kast-grid { display: grid; grid-template-columns: minmax(340px, 1fr) minmax(0, 1.25fr); gap: 24px; align-items: start; }
/* zoals de zaaglijst: instellingen links, voorbeeld en prijs rechts */
.kast-form { grid-column: 1; grid-row: 1; }
.kast-view { grid-column: 2; grid-row: 1; }
[data-secs] { display: flex; flex-direction: column; gap: 12px; }
.kast-view { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; }
.kast-canvas-wrap { position: relative; background: linear-gradient(#F7F7F4, #ECECE7); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.kast-canvas { display: block; width: 100%; height: min(54vh, 520px); touch-action: none; cursor: grab; }
.kast-canvas:active { cursor: grabbing; }
.kast-view-btns { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.kast-hint { position: absolute; bottom: 8px; right: 12px; margin: 0; font-size: 12px; color: var(--muted); pointer-events: none; }
.kast-sum { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.kast-price { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.kast-price strong { display: block; font-size: 28px; line-height: 1.1; }
.kast-price .small { text-align: right; }
.kast-lines summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.kast-lines table { width: 100%; margin-top: 8px; font-size: 13px; border-collapse: collapse; }
.kast-lines td, .kast-lines th { padding: 5px 6px 5px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.kast-lines .num { text-align: right; white-space: nowrap; }
.kast-proto { margin: 0; }
.notice-warn ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.kast-form { display: flex; flex-direction: column; gap: 12px; }
.kcard { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; }
.kcard h2 { font-size: 16px; margin: 0 0 10px; }
.kdet summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.kdet summary::-webkit-details-marker { display: none; }
.kdet summary h2 { margin: 0; }
.kdet summary::after { content: '▾'; color: var(--muted); }
.kdet[open] summary::after { content: '▴'; }
.kdet[open] summary { margin-bottom: 10px; }
.kdet summary .muted { margin-left: auto; }
.kf { margin: 0 0 12px; }
.kf:last-child { margin-bottom: 0; }
.kf-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.kf-note { margin: 6px 0 0; font-size: 12.5px; color: var(--info); background: var(--info-soft); padding: 6px 10px; border-radius: 6px; }
.kf select { width: 100%; height: var(--ctl); border: 1px solid var(--line-2); border-radius: 8px; padding: 0 10px; font: inherit; background: #fff; }
.kseg { display: flex; flex-wrap: wrap; gap: 6px; }
.kseg button { flex: 1 1 auto; min-height: var(--ctl-sm); padding: 4px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--ink); }
.kseg button:hover { border-color: var(--ink); }
.kseg button.is-on { border-color: var(--orange); background: #FFF4EC; }
.slider { display: flex; align-items: center; gap: 12px; }
.slider input[type=range] { flex: 1; accent-color: var(--orange); }
.slider-val { display: inline-flex; align-items: center; gap: 4px; }
.slider-val input { width: 76px; height: var(--ctl-sm); border: 1px solid var(--line-2); border-radius: 8px; padding: 0 8px; font: inherit; text-align: right; }
.slider-val small { color: var(--muted); }
.mat-list { display: flex; flex-direction: column; gap: 8px; }
.mat-pick { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px 8px 8px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.mat-pick:hover { border-color: var(--ink); }
.mat-sw { width: 40px; height: 40px; flex: none; border-radius: 6px; background-size: cover; background-position: center; border: 1px solid rgba(0,0,0,.08); }
.mat-txt { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.mat-txt small { color: var(--muted); font-size: 12px; }
.mat-chg { color: var(--orange-ink); font-weight: 600; font-size: 13px; }
.mat-dlg { border: 0; border-radius: 14px; padding: 0; width: min(760px, calc(100vw - 32px)); max-height: min(80vh, 760px); }
.mat-dlg::backdrop { background: rgba(13,30,39,.55); }
.mat-dlg-in { display: flex; flex-direction: column; gap: 12px; padding: 18px; max-height: min(80vh, 760px); box-sizing: border-box; }
.mat-dlg-head { display: flex; justify-content: space-between; align-items: center; font-size: 17px; }
.btn-x { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); }
.mat-dlg input[type=search] { height: var(--ctl); border: 1px solid var(--line-2); border-radius: 8px; padding: 0 12px; font: inherit; }
.mat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; overflow: auto; }
.mat-opt { display: flex; gap: 8px; align-items: center; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 12px; text-align: left; cursor: pointer; line-height: 1.25; color: var(--ink); }
.mat-opt:hover { border-color: var(--ink); }
.mat-opt.is-on { border-color: var(--orange); background: #FFF4EC; }
@media (max-width: 900px) {
  .kast-grid { grid-template-columns: 1fr; }
  .kast-view { position: static; }
  .kast-canvas { height: 46vh; }
}
.only-touch { display: none; }
@media (hover: none) { .only-touch { display: inline; } .hide-touch { display: none; } }
.dp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 16px 0; }
.dp-item { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 13px; }
.dp-item.is-rot { border-color: var(--orange); background: #FFF4EC; }
.dp-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--grey); }
.dp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dp-item.is-rot .dp-img img { transform: rotate(90deg); }
.dp-arrow { position: absolute; left: 6px; top: 6px; background: rgba(13,30,39,.75); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 4px; }
.sticky-actions { position: sticky; bottom: 0; background: #fff; padding: 12px 0; border-top: 1px solid var(--line); }
.mat-row { display: flex; flex-direction: column; gap: 6px; }
.kseg-sm { align-items: center; }
.kseg-sm button { min-height: 28px; padding: 2px 10px; font-size: 12.5px; flex: 0 1 auto; }
.kseg-lab { font-size: 12px; color: var(--muted); margin: 0 4px 0 2px; }
.kast-bar { display: none; }
@media (max-width: 900px) {
  .kast-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(13,30,39,.08); }
  .kast-page .footer { padding-bottom: 80px; }
  .kast-bar strong { display: block; font-size: 18px; line-height: 1.2; }
  .kast-grid { display: flex; flex-direction: column; }
  .kast-form { order: 2; }
  .kast-view { order: 1; }
}
.dp-item .check { margin-top: auto; }
