/* Stoffen Design — huisstijl
   Ivoor, zand, taupe en antraciet met één accent: warm terracotta (gebakken klei / roestige draad). */
@font-face { font-family: "Cormorant"; src: url(/fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(/fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Karla"; src: url(/fonts/karla-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Karla"; src: url(/fonts/karla-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Karla"; src: url(/fonts/karla-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Karla"; src: url(/fonts/karla-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ivory: #faf7f1;
  --paper: #f4eee4;
  --sand: #e9dfcc;
  --sand-2: #d9ccb4;
  --taupe: #8b7d6b;
  --taupe-dark: #6a5e50;
  --ink: #2f2c29;
  --ink-2: #4a4540;
  --muted: #6f675d;
  --line: #e2d8c6;
  --accent: #8a6a4e;
  --accent-dark: #6b4f38;
  --accent-soft: #f1e8dc;
  --ok: #4f6b45;
  --ok-soft: #e6eedf;
  --warn: #8a5a12;
  --warn-soft: #fbf0d9;
  --err: #9c3324;
  --err-soft: #f8e1dc;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(47, 44, 41, .06), 0 8px 24px rgba(47, 44, 41, .06);
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* verborgen blijft verborgen, ook bij velden en knoppen met een eigen weergave */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); text-decoration-color: currentColor; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.005em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
small, .small { font-size: .86rem; }
.muted { color: var(--muted); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
main { min-height: 50vh; outline: none; }
.kicker { font: 500 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe-dark); margin-bottom: .9rem; display: block; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 1.5em; border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); font: 500 .95rem/1 var(--sans); letter-spacing: .04em; border-radius: var(--radius); cursor: pointer; text-decoration: none; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn:hover { background: var(--ink-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.8); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-small { min-height: 38px; padding: 0 1em; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; text-decoration: none; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; border-radius: 50%; cursor: pointer; position: relative; }
.icon-btn:hover { background: var(--paper); color: var(--ink); }

/* ---------- Kop ---------- */
.testbar { background: #3d3a35; color: #f1e9db; text-align: center; font-size: .82rem; padding: 7px var(--gutter); }
.header { background: #f6ece6; position: sticky; top: 0; z-index: 40; border-bottom: 1px solid #ead9d0; transition: box-shadow .3s var(--ease); }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(74,44,38,.08); }
.header-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 440px) minmax(0, 1fr); align-items: center; gap: 24px; min-height: 92px; }
.head-icons { justify-self: end; display: flex; align-items: center; gap: 14px; }
.head-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 6px; border-radius: 999px; color: #2f2523; text-decoration: none; font-size: .92rem; font-weight: 500; position: relative; white-space: nowrap; }
.head-link:hover { color: #7d2f3d; }
.head-link .icon { width: 25px; height: 25px; stroke-width: 1.5; }
.head-link[aria-current="page"] .head-label { text-decoration: underline; text-underline-offset: 5px; }
.cart-btn { padding: 0 10px 0 4px; }
.cart-btn .icon { width: 30px; height: 30px; }
.fav-btn { position: relative; }
.fav-count { position: absolute; top: 2px; left: 20px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #b25d6a; color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; }
.fav-count[hidden] { display: none; }
/* Opvallende knop: Gordijnen op maat */
.cta-curtain { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px 0 16px; border-radius: 999px; text-decoration: none; color: #fff; font: 600 .93rem/1 var(--sans); letter-spacing: .02em; white-space: nowrap;
  background: linear-gradient(135deg, #a0703f 0%, #82552e 55%, #6a4325 100%); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 18px rgba(106,67,37,.28); transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease); }
.cta-curtain .icon { width: 20px; height: 20px; }
.cta-curtain:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px rgba(106,67,37,.36); }
.cta-curtain:active { transform: translateY(1px); filter: brightness(.95); box-shadow: 0 2px 8px rgba(106,67,37,.3); }
.cta-curtain:focus-visible { outline: 2.5px solid #6a4325; outline-offset: 3px; }
.cta-short { display: none; }
.cta-curtain-menu { display: none; }
.head-ctas { display: flex; align-items: center; gap: 10px; }
.cta-menu-row { display: none; }
.cta-curtain-small { min-height: 40px; font-size: .86rem; padding: 0 16px 0 12px; }
.nav-sale .nav-top { color: #9c3324; font-weight: 600; }
.logo { text-decoration: none; color: var(--ink); justify-self: start; }
.wordmark { display: inline-flex; align-items: center; }
.wordmark-text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.wm-1 { font: 500 2.3rem/.9 var(--serif); letter-spacing: .035em; text-transform: uppercase; color: #261d1b; }
.wm-2 { font: 600 .6rem/1 var(--sans); letter-spacing: .38em; text-transform: uppercase; margin-top: 8px; padding-left: .38em; color: #5d4c46; }
.wordmark-light .wm-1 { color: var(--ivory); }
.wordmark-light .wm-2 { color: var(--sand-2); }
.search { justify-self: center; display: flex; align-items: center; width: 100%; border: 1px solid #ecdcd4; border-radius: 999px; background: #fff; padding-left: 22px; box-shadow: 0 2px 12px rgba(96,62,52,.06); transition: border-color .2s; }
.search .icon-btn .icon { width: 22px; height: 22px; }
.search:focus-within { border-color: #c99ca3; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: .93rem; padding: 12px 0; color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.cart-count { position: absolute; top: 0; right: 0; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 99px; background: #231a19; color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #f6ece6; }
.menu-btn { display: none; }

.nav-wrap { border-top: 1px solid #ead9d0; background: #faf3ef; position: relative; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: wrap; }
.nav-item { position: static; display: flex; align-items: center; }
.nav-top { display: inline-flex; align-items: center; gap: 7px; min-height: 58px; padding: 12px 18px; font-size: .93rem; font-weight: 500; text-decoration: none; letter-spacing: .01em; position: relative; color: #2f2523; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nav-top .icon { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav-home, .nav-fav-item { display: none; }
/* scheidingslijntjes tussen de menu-items (niet rond de roze studioknop) */
.nav-item:not(.nav-home):not(.nav-pill-item) + .nav-item > .nav-top { background: linear-gradient(#e1cec6, #e1cec6) left center / 1px 22px no-repeat; }
/* Fabric & Pattern Studio: zachtroze knop in het menu */
.nav-pill-item { padding: 0 8px; }
.nav-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 30px 0 24px; border: 1px solid #ebbcc2; border-radius: 14px; background: #f4cdd1; color: #2f2523; font: 500 .93rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap; transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.nav-pill .icon { width: 22px; height: 22px; color: #7d2f3d; }
.nav-pill:hover { background: #f0c0c6; color: #2f2523; transform: translateY(-1px); }
.nav-pill[aria-current="page"], .is-current > .nav-pill { background: #f1c2c8; border-color: #e3a5ad; box-shadow: inset 0 0 0 1px rgba(125,47,61,.12), 0 4px 14px rgba(125,47,61,.12); }
.nav-pill-small { min-height: 40px; font-size: .86rem; border-radius: 999px; padding: 0 16px 0 12px; }
.nav-top::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 10px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
/* Klein uitklapmenu (Naaipatronen, Gordijnen, Kussens) */
.nd-links { list-style: none; margin: 0; padding: 0; }
.nd-links a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 9px 12px; border-radius: 10px; color: #2f2523; text-decoration: none; font-size: .95rem; line-height: 1.25; }
.nd-links a:hover, .nd-links a:focus-visible { background: #fbeeee; color: #7d2f3d; }
.nd-txt { display: grid; min-width: 0; }
.nd-txt small { color: var(--muted); font-size: .8rem; font-weight: 400; }
.nd-strong { font-weight: 600; }
.nd-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #f6e3e1; color: #7d2f3d; flex: none; }
.nd-ico .icon { width: 20px; height: 20px; }
.nd-studio { margin-top: 6px; border-top: 1px solid #f0e2dc; border-radius: 0 0 10px 10px; }
.nav-item.open > .nav-top { background: #fff; color: var(--accent-dark); }
.nav-item.open > .nav-top::after, .nav-item.is-current > .nav-top::after { transform: scaleX(1); }
.nav-item.open > .nav-top .icon { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .nav-item:hover > .nav-top::after { transform: scaleX(1); } }
.nav-close { display: none; }

/* Paneel onder een hoofdmenu-knop */
.nav-panel { display: none; }
.np-mobile-head, .np-pane-head { display: none; }
.np-back { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px 0 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 .95rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.np-back .icon { width: 20px; height: 20px; }
.np-count { margin-left: auto; padding-left: 10px; font-size: .78rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.np-groups, .np-links { list-style: none; margin: 0; padding: 0; }
.np-group { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 10px 12px 10px 14px; border: 0; border-left: 3px solid transparent; border-radius: 0 var(--radius) var(--radius) 0; background: transparent; font: 500 .98rem/1.25 var(--sans); color: var(--ink-2); text-align: left; cursor: pointer; }
.np-group .np-n { margin-left: auto; font-size: .78rem; color: var(--muted); }
.np-group .icon { width: 18px; height: 18px; color: var(--taupe-dark); flex: none; }
.np-group:hover { background: rgba(255,255,255,.7); color: var(--ink); }
.np-group.is-active { background: #fff; border-left-color: var(--accent); color: var(--ink); font-weight: 600; }
.np-links a { display: flex; align-items: center; min-height: 46px; padding: 10px 12px; border-radius: var(--radius); text-decoration: none; color: var(--ink); font-size: .96rem; line-height: 1.25; }
.np-links a:hover, .np-links a:focus-visible { background: #fff; color: var(--accent-dark); }
.np-links a[aria-current="page"] { background: #fff; color: var(--accent-dark); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
.np-all { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px; border-radius: var(--radius); background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: .96rem; }
.np-all .np-count { color: rgba(255,255,255,.75); }
.np-all .icon { width: 18px; height: 18px; flex: none; }
.np-all:hover { background: #46413c; color: #fff; }
.np-pane { display: none; }
.np-pane.is-active { display: block; }
.np-aside p { color: var(--muted); font-size: .92rem; margin: 0; }
.np-close { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font: 500 .9rem/1 var(--sans); color: var(--ink-2); cursor: pointer; margin-top: auto; }
.np-close .icon { width: 18px; height: 18px; }

/* drie knoppen in het menu (gordijnen, kussens, studio): iets smaller op een kleiner scherm */
.nav-pill-item + .nav-pill-item { padding-left: 0; }
@media (min-width: 1001px) and (max-width: 1440px) {
  .nav-top { padding: 12px 12px; font-size: .88rem; }
  .nav-top::after { left: 12px; right: 12px; }
  .nav-pill { padding: 0 16px 0 13px; font-size: .88rem; gap: 8px; }
  .nav-pill-item { padding: 0 5px; }
}
@media (min-width: 1001px) and (max-width: 1240px) {
  .nav-top { padding: 12px 9px; font-size: .85rem; gap: 4px; }
  .nav-top::after { left: 9px; right: 9px; }
  .nav-pill { padding: 0 11px 0 9px; font-size: .84rem; gap: 6px; min-height: 44px; }
  .nav-pill .icon { width: 18px; height: 18px; }
  .nav-pill-item { padding: 0 3px; }
}
@media (min-width: 1001px) and (max-width: 1260px) { .head-label { display: none; } .head-icons { gap: 4px; } }
@media (min-width: 1001px) and (max-width: 1300px) { .header-inner { grid-template-columns: minmax(0, 1fr) minmax(220px, 360px) minmax(0, 1fr); gap: 18px; } .wm-1 { font-size: 1.95rem; } .wm-2 { font-size: .52rem; } }
@media (min-width: 1001px) {
  .nav-list { flex-wrap: nowrap; align-items: center; justify-content: center; column-gap: clamp(6px, 1.2vw, 18px); }
  .nav-item.has-drop { position: relative; }
  .nav-item.has-drop.open .nav-panel { display: block; position: absolute; left: 0; top: calc(100% - 4px); z-index: 45; min-width: 300px; background: #fffdfb; border: 1px solid #ecdcd4; border-radius: 16px; box-shadow: 0 22px 44px rgba(74,44,38,.16); animation: npIn .18s var(--ease); }
  .nav-drop .np-inner { display: block; padding: 10px; max-height: none; }
  .nav-item.open .nav-panel { display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 45; background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(47,44,41,.12); animation: npIn .18s var(--ease); }
  .np-inner { max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gutter) 26px; display: grid; grid-template-columns: 270px 1fr 230px; grid-template-areas: "all panes aside" "groups panes aside"; grid-template-rows: auto 1fr; gap: 12px 30px; max-height: calc(100vh - 170px); }
  .np-all { grid-area: all; }
  .np-groups { grid-area: groups; overflow-y: auto; }
  .np-panes { grid-area: panes; overflow-y: auto; border-left: 1px solid var(--line); padding-left: 26px; }
  .np-pane.is-active { display: block; }
  .np-pane-head { display: block; margin: 4px 0 8px 12px; }
  .np-pane-head .np-back { display: none; }
  .np-pane-title { font: 500 1.45rem/1.1 var(--serif); margin: 0; }
  .np-links { columns: 2 220px; column-gap: 16px; }
  .np-links li { break-inside: avoid; }
  .np-aside { grid-area: aside; border-left: 1px solid var(--line); padding-left: 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
  .np-open::after { content: ""; position: fixed; inset: 0; background: rgba(32,30,28,.18); z-index: 30; pointer-events: none; }
  .np-open .header { z-index: 50; }
}
@keyframes npIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Mobiel en smalle tablet: menu als lade, stap voor stap */
@media (max-width: 1000px) {
  .menu-btn { display: inline-grid; }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 8px; min-height: 64px; }
  .nav-home, .nav-fav-item { display: flex; }
  .nav-pill-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-pill { width: 100%; justify-content: center; min-height: 50px; font-size: 1rem; }
  .cta-curtain-head { min-height: 40px; padding: 0 14px 0 11px; font-size: .84rem; gap: 7px; }
  .cta-menu-row { display: grid; gap: 8px; margin: 14px 0 18px; }
  .cta-curtain-menu { display: flex; justify-content: center; margin: 0; min-height: 52px; font-size: 1rem; }
  .head-ctas { gap: 6px; }
  .cta-curtain-menu .icon:last-child { margin-left: auto; }
  .nav-list { border-top: 1px solid var(--line); }
  .logo { justify-self: start; }
  .wm-1 { font-size: 1.5rem; } .wm-2 { font-size: .46rem; margin-top: 5px; letter-spacing: .3em; }
  .head-label { display: none; }
  .head-icons { gap: 0; }
  .head-link { padding: 0 8px; }
  .search { grid-column: 1 / -1; grid-row: 2; width: 100%; margin-bottom: 10px; }
  .nd-links { border-top: 1px solid var(--line); }
  .nd-links li { border-bottom: 1px solid var(--line); }
  .nd-links a { min-height: 56px; padding: 12px 6px; border-radius: 0; font-size: 1rem; }
  .nd-studio { margin-top: 0; border-top: 0; }
  .nav-item:not(.nav-home):not(.nav-pill-item) + .nav-item > .nav-top { background: none; }
  .nav-wrap { position: fixed; inset: 0 auto 0 0; width: min(420px, 92vw); background: var(--ivory); z-index: 60; transform: translateX(-102%); visibility: hidden; transition: transform .32s var(--ease), visibility 0s linear .32s, box-shadow .32s; overflow-y: auto; border: 0; box-shadow: none; padding: 64px 16px 24px; }
  .nav-open .nav-wrap { transform: none; visibility: visible; box-shadow: 20px 0 60px rgba(0,0,0,.18); transition: transform .32s var(--ease), visibility 0s, box-shadow .32s; }
  .nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(32,30,28,.38); z-index: 50; }
  .nav-open .header { z-index: 80; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-item { flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); }
  .nav-top { justify-content: flex-start; gap: 10px; width: 100%; min-height: 56px; padding: 14px 6px; font-size: 1rem; }
  .has-panel > .nav-top { justify-content: space-between; }
  .nav-top .icon { width: 20px; height: 20px; }
  .has-panel > .nav-top .icon, .nav-item.open > .nav-top .icon { transform: rotate(-90deg); }
  .nav-top::after { display: none; }
  .nav-item.is-current > .nav-top { color: var(--accent-dark); }
  /* Eén niveau tegelijk */
  .nav.has-open .nav-item:not(.open), .nav.has-open .cta-curtain-menu, .nav.has-open .cta-menu-row, .nav.has-open .nav-item.open > .nav-top { display: none; }
  .nav.has-open .nav-list { border-top: 0; }
  .nav.has-open .nav-item.open { border-bottom: 0; }
  .nav-item.open .nav-panel { display: block; }
  .np-inner { display: flex; flex-direction: column; gap: 12px; }
  .np-mobile-head { display: flex; align-items: center; gap: 12px; }
  .np-title, .np-pane-title { font: 500 1.5rem/1.1 var(--serif); margin: 0; }
  .np-groups { border-top: 1px solid var(--line); }
  .np-groups li { border-bottom: 1px solid var(--line); }
  .np-group { min-height: 56px; border-left: 0; border-radius: 0; padding: 12px 6px; font-size: 1rem; }
  .np-group.is-active { background: transparent; font-weight: 500; }
  .np-panes, .np-aside .np-close { display: none; }
  .np-aside { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
  .np-aside .cta-curtain { display: none; }
  .nav-panel[data-level="pane"] .np-mobile-head, .nav-panel[data-level="pane"] .np-all, .nav-panel[data-level="pane"] .np-groups, .nav-panel[data-level="pane"] .np-aside { display: none; }
  .nav-panel[data-level="pane"] .np-panes { display: block; }
  .np-pane-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
  .np-links { border-top: 1px solid var(--line); }
  .np-links li { border-bottom: 1px solid var(--line); }
  .np-links a { min-height: 54px; padding: 12px 6px; border-radius: 0; font-size: 1rem; }
  .nav-close { display: inline-grid; position: absolute; top: 10px; right: 10px; }
}

@media (max-width: 520px) {
  .cta-long { display: none; } .cta-short { display: inline; }
  .cta-curtain-head { flex-direction: column; justify-content: center; gap: 2px; min-height: 44px; padding: 4px 7px; border-radius: 12px; font-size: .64rem; letter-spacing: .01em; line-height: 1.05; }
  .cta-curtain-head .icon { width: 17px; height: 17px; }
  .head-ctas { gap: 4px; }
}
@media (max-width: 420px) { .header-inner { gap: 6px; } .wm-1 { font-size: 1.2rem; letter-spacing: .02em; } .wm-2 { font-size: .4rem; letter-spacing: .24em; } .cart-btn .icon { width: 26px; height: 26px; } }
@media (max-width: 345px) { .cta-curtain-head .cta-short { display: none; } .cta-curtain-head { padding: 0 10px; min-height: 40px; } }

/* ---------- Meldingen ---------- */
.flash-wrap { max-width: var(--wrap); margin: 16px auto 0; padding-inline: var(--gutter); display: grid; gap: 8px; }
.flash, .notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); font-size: .95rem; }
.flash-error, .notice-error { background: var(--err-soft); border-color: #ebc1b8; color: #6d2418; }
.flash-success, .notice-ok { background: var(--ok-soft); border-color: #c9d8bf; color: #34492d; }
.notice-warn { background: var(--warn-soft); border-color: #ecd6a6; color: #5d3d08; }
.notice-accent { background: var(--accent-soft); border-color: #e7c8b5; }
.notice .icon, .flash .icon { margin-top: 2px; }
.notice p:last-child { margin: 0; }

/* ---------- Secties ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.section-paper { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .4em 0 0; color: var(--muted); }

/* Hero */
.hero { position: relative; min-height: min(78vh, 720px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--sand); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroIn 1.6s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,25,22,.72) 0%, rgba(28,25,22,.38) 45%, rgba(28,25,22,0) 75%), linear-gradient(0deg, rgba(28,25,22,.35), rgba(28,25,22,0) 40%); }
.hero-content { position: relative; z-index: 1; padding: clamp(48px, 9vw, 110px) 0; max-width: 640px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: .35em; }
.hero .kicker { color: #eadfcd; }
.hero p { font-size: 1.15rem; color: #f4ede2; max-width: 52ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Tegels */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand); color: #fff; text-decoration: none; aspect-ratio: 4 / 5; display: flex; align-items: flex-end; }
.tiles .tile { grid-column: span 3; }
.tiles .tile:nth-child(1), .tiles .tile:nth-child(2) { grid-column: span 6; aspect-ratio: 16 / 10; }
.tiles .tile:only-child { grid-column: 1 / -1; }
.two-col > .tile { aspect-ratio: 16 / 10; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28,25,22,.62), rgba(28,25,22,.04) 55%); }
.tile:hover img { transform: scale(1.05); }
.tile-body { position: relative; z-index: 1; padding: 22px; }
.tile-title { font: 500 1.8rem/1.05 var(--serif); margin: 0 0 4px; color: #fff; }
.tile-text { margin: 0; font-size: .9rem; color: #f0e7da; }
.tile:hover { color: #fff; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; } .tiles .tile, .tiles .tile:nth-child(2) { grid-column: span 1; aspect-ratio: 4 / 5; } .tiles .tile:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 10; } .tile-title { font-size: 1.4rem; } .tile-body { padding: 14px; } .tile-text { display: none; } }

/* Productkaarten */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .grid, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; } }
.card { min-width: 0; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.card-media img, .img-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); display: block; }
.img-placeholder { background: repeating-linear-gradient(45deg, var(--sand), var(--sand) 6px, var(--sand-2) 6px, var(--sand-2) 7px); }
.card-link:hover .card-media img { transform: scale(1.045); }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-block; font: 600 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; background: var(--ivory); color: var(--ink); padding: 6px 8px; border-radius: 2px; }
.badge-accent { background: var(--accent); color: #fff; }
.badge-stock { background: var(--ink); color: #fff; }
.badge-demo { background: #3d3a35; color: #f1e9db; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-err { background: var(--err-soft); color: var(--err); }
.card-body { padding-top: 12px; }
.card-title { font: 500 1.05rem/1.3 var(--sans); margin: 0 0 3px; }
.card-meta { font-size: .85rem; color: var(--muted); margin: 0 0 6px; }
.card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-size: .95rem; }
.price strong { font-weight: 700; }
.price-unit { color: var(--muted); font-size: .85em; }
.price-was { color: var(--muted); font-size: .9em; }
.price-request { color: var(--taupe-dark); font-style: italic; }
.stock-out { font-size: .78rem; color: var(--err); }
.card-swatches { display: flex; gap: 4px; margin-top: 8px; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); display: inline-block; }

/* Inspiratie */
.inspo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.inspo-item { text-decoration: none; }
.inspo-media { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; background: var(--sand); }
.inspo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.inspo-item:hover img { transform: scale(1.04); }
.inspo-item h3 { margin: 16px 0 4px; }
.inspo-item p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .inspo { grid-template-columns: 1fr; } .inspo-media { aspect-ratio: 16 / 11; } }

/* Calculator-teaser */
.calc-teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.calc-teaser ol { padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; margin: 24px 0 28px; }
.calc-teaser li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; }
.calc-teaser li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--taupe); display: grid; place-items: center; font: 500 1rem var(--serif); }
.sketch { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.sketch svg { width: 100%; height: auto; }
@media (max-width: 860px) { .calc-teaser { grid-template-columns: 1fr; } }

/* Winkelblok */
.store { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: var(--ink); color: var(--ivory); border-radius: var(--radius-lg); overflow: hidden; }
.store-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.store-body { padding: clamp(28px, 5vw, 56px); }
.store-body h2 { color: var(--ivory); }
.store-body .kicker { color: var(--sand-2); }
.store-body a:not(.btn) { color: var(--ivory); }
.store .hours th { color: var(--sand-2); }
.store .hours td, .store .hours th { border-color: rgba(255,255,255,.12); }
.years { font: 500 italic 1.3rem/1.3 var(--serif); color: var(--sand); margin-bottom: 18px; display: block; }
@media (max-width: 860px) { .store { grid-template-columns: 1fr; } .store-media img { min-height: 220px; max-height: 300px; } }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; font-size: .95rem; margin-bottom: 8px; }
.hours th { text-align: left; font-weight: 400; padding: 6px 12px 6px 0; color: var(--muted); }
.hours td, .hours th { border-bottom: 1px solid var(--line); }
.hours td { padding: 6px 0; text-align: right; }

/* ---------- Kruimelpad & paginakop ---------- */
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .84rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--sand-2); }
.crumbs a { text-decoration: none; }
.page-head { padding: 28px 0 24px; }
.page-head h1 { margin: 10px 0 6px; }
.page-head p { color: var(--muted); max-width: 70ch; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; text-decoration: none; background: #fff; }
.chip:hover { border-color: var(--taupe); color: var(--ink); }
.chip.on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chip small { color: var(--muted); }
.chip.on small { color: var(--sand-2); }

/* ---------- Catalogus met filters ---------- */
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding-bottom: 80px; }
.catalog.catalog-bare { grid-template-columns: minmax(0, 1fr); }
.catalog-bare .empty { max-width: 720px; margin-inline: auto; }
.filters { font-size: .92rem; }
.filters fieldset { border: 0; border-top: 1px solid var(--line); padding: 14px 0 6px; margin: 0; }
.filters legend { font-weight: 600; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.filters legend + * { clear: both; }
.filter-list { display: grid; gap: 2px; max-height: 260px; overflow: auto; padding-right: 4px; }
.check { display: flex; align-items: center; gap: 9px; padding: 4px 0; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--ink); margin: 0; }
.check .n { margin-left: auto; color: var(--muted); font-size: .82rem; }
.check.dis { opacity: .45; }
.filter-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { position: relative; }
.sw input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sw span { display: block; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.sw input:checked + span { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 4px var(--ink); }
.sw input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 4px; }
/* Kleurgroepen met naam (filter): twee kolommen, tikbaar op gsm */
.filter-swatches-named { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; }
.sw-named { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 3px 6px 3px 3px; border-radius: 999px; cursor: pointer; }
.sw-named:hover { background: var(--accent-soft); }
.sw.sw-named span.sw-dot { flex: 0 0 26px; width: 26px; height: 26px; }
.sw.sw-named span.sw-name { display: inline; width: auto; height: auto; border: 0; border-radius: 0; font-size: .86rem; line-height: 1.2; }
.sw-named input:checked + .sw-dot { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 4px var(--ink); }
.sw-named input:checked ~ .sw-name { font-weight: 700; }
.sw-named input:focus-visible + .sw-dot { outline: 2.5px solid var(--accent); outline-offset: 4px; }
.filter-tint { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 10px; }
.filter-sub { font-size: .82rem; color: var(--muted); margin-right: 2px; width: 100%; }
.tint-opt { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .86rem; }
.tint-opt input { width: 15px; height: 15px; margin: 0; accent-color: var(--ink); }
.tint-opt .n { color: var(--muted); font-size: .78rem; }
.tint-opt:has(input:checked) { border-color: var(--ink); background: var(--accent-soft); }
.catalog-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.catalog-bar .count { color: var(--muted); font-size: .92rem; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.filters-toggle { display: none; }
.filters-actions { display: flex; gap: 8px; padding: 14px 0; }
@media (max-width: 900px) { .filters-actions { position: sticky; bottom: 0; background: var(--ivory); } }
.subcats-more summary { cursor: pointer; display: inline-flex; list-style: none; }
.subcats-more summary::-webkit-details-marker { display: none; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters.open { display: block; position: fixed; inset: 0; z-index: 70; background: var(--ivory); overflow-y: auto; padding: 20px var(--gutter) 0; }
  .filters-toggle { display: inline-flex; }
}
@media (min-width: 901px) { .filters-actions .js-close-filters { display: none; } }
.empty { text-align: center; padding: 64px 20px; background: var(--paper); border-radius: var(--radius-lg); }
.empty h2 { font-size: 1.8rem; }
.empty p { color: var(--muted); max-width: 52ch; margin-inline: auto; }

/* ---------- Formulieren ---------- */
label { font-weight: 500; font-size: .92rem; }
.field { display: grid; gap: 6px; margin-bottom: 16px; align-content: start; }
.field .hint { font-size: .84rem; color: var(--muted); font-weight: 400; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=search]:not(.search input), input[type=url], select, textarea, .input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--sand-2); border-radius: var(--radius); padding: 11px 13px; min-height: 46px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--err); }
.err-text { color: var(--err); font-size: .86rem; }
.input-unit { position: relative; display: flex; align-items: stretch; }
.input-unit input { padding-right: 52px; }
.input-unit .unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; pointer-events: none; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.radio-card { position: relative; border: 1px solid var(--sand-2); border-radius: var(--radius); background: #fff; padding: 14px 14px 12px; cursor: pointer; display: grid; gap: 4px; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card strong { font-weight: 600; }
.radio-card span { font-size: .85rem; color: var(--muted); }
.radio-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radio-card:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.radio-card:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.toggle-line { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.toggle-line input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }

/* ---------- Productpagina ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: 12px 0 64px; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-self: start; position: sticky; top: 140px; }
.gallery-main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--sand); grid-column: 2; grid-row: 1; cursor: zoom-in; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-main.zoom img { transform: scale(2); cursor: zoom-out; }
.thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
.thumbs button { padding: 0; border: 1px solid transparent; border-radius: var(--radius); overflow: hidden; background: none; cursor: pointer; aspect-ratio: 1; width: 76px; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; } .gallery { position: static; grid-template-columns: 1fr; } .gallery-main { grid-column: 1; } .thumbs { grid-row: 2; flex-direction: row; overflow-x: auto; } .thumbs button { width: 64px; } }
/* tablet (iPad staand): foto en koopblok naast elkaar, zodat "In winkelmand" zonder scrollen zichtbaar is; gsm: onder elkaar */
@media (max-width: 700px) { .product { grid-template-columns: 1fr; } }
.product h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 10px 0 6px; }
.product-price { font-size: 1.35rem; margin: 10px 0 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.product-price strong { font-weight: 700; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 22px 0; font-size: .95rem; border-top: 1px solid var(--line); padding-top: 18px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.buybox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-top: 18px; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; }
.variant-opt { position: relative; }
.variant-opt input { position: absolute; opacity: 0; inset: 0; }
.variant-opt span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--sand-2); border-radius: 999px; padding: 6px 12px 6px 6px; font-size: .9rem; cursor: pointer; background: var(--ivory); }
.variant-opt input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.variant-opt input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.variant-opt input:disabled + span { opacity: .45; text-decoration: line-through; }
.variant-opt .dot { width: 22px; height: 22px; }
.qty { display: flex; align-items: stretch; border: 1px solid var(--sand-2); border-radius: var(--radius); background: #fff; width: fit-content; }
.qty button { width: 46px; border: 0; background: transparent; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.qty button:hover { background: var(--paper); }
.qty input { width: 110px; border: 0 !important; text-align: center; font-weight: 600; font-size: 1.05rem; box-shadow: none !important; }
.qty-unit { align-self: center; padding-right: 12px; color: var(--muted); }
.live-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0; padding: 14px 0; border-block: 1px dashed var(--sand-2); }
.live-total .amount { font: 600 1.6rem/1 var(--serif); }
.cut-note { display: flex; gap: 10px; font-size: .88rem; color: var(--ink-2); background: var(--paper); padding: 10px 12px; border-radius: var(--radius); margin: 12px 0 0; }
.stock-line { font-size: .9rem; display: flex; align-items: center; gap: 6px; margin: 8px 0 0; }
.stock-line.ok { color: var(--ok); }
.stock-line.low { color: var(--warn); }
.stock-line.no { color: var(--err); }
.product-desc { margin-top: 28px; }
.product-desc h2 { font-size: 1.5rem; margin-top: 1.2em; }
.matches { margin-top: 48px; }

/* ---------- Winkelmand & afrekenen ---------- */
.cart { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding-bottom: 72px; align-items: start; }
@media (max-width: 900px) { .cart { grid-template-columns: 1fr; } }
.cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-main { min-width: 0; }
.cart-thread { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper, #fff); }
.cart-thread h2 { font-size: 1.15rem; margin: 0 0 4px; }
.cart-thread ul { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 10px; }
.cart-thread li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; }
.cart-thread li div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-thread-sw { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
@media (max-width: 560px) { .cart-thread li { grid-template-columns: 34px 1fr; } .cart-thread li form { grid-column: 2; } }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img, .cart-line .img-placeholder { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); }
.cart-line h3 { font: 600 1rem/1.3 var(--sans); margin: 0 0 4px; }
.cart-line .meta { font-size: .88rem; color: var(--muted); margin: 0 0 8px; }
.cart-line .line-total { font-weight: 700; text-align: right; }
.cart-line form { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cart-line .qty input { width: 80px; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 140px; }
.summary h2 { font-size: 1.6rem; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .95rem; }
.sum-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 1.15rem; font-weight: 700; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: .86rem; text-decoration: underline; cursor: pointer; }
.linkbtn:hover { color: var(--err); }
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; padding-bottom: 72px; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; } }
.checkout fieldset { border: 0; padding: 0; margin: 0 0 32px; }
.checkout legend { font: 500 1.6rem/1.2 var(--serif); margin-bottom: 14px; padding: 0; }
.status-hero { text-align: center; padding: 48px 0 24px; }
.status-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--ok-soft); color: var(--ok); }
.status-icon .icon { width: 30px; height: 30px; }
.status-icon.wait { background: var(--warn-soft); color: var(--warn); }
.status-icon.fail { background: var(--err-soft); color: var(--err); }
table.lines { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.lines th, table.lines td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.lines th { font-weight: 600; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
table.lines td.num, table.lines th.num { text-align: right; white-space: nowrap; }
table.lines tfoot td { font-weight: 700; border-bottom: 0; }

/* ---------- Gordijncalculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; padding-bottom: 80px; }
@media (max-width: 1000px) { .calc { grid-template-columns: 1fr; } .calc-result { position: static; } .calc { padding-bottom: 120px; } }
.calc-mobilebar { display: none; }
@media (max-width: 1000px) { .calc-mobilebar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink); color: var(--ivory); padding: 12px var(--gutter); gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -6px 24px rgba(0,0,0,.15); } .calc-mobilebar strong { font: 600 1.25rem/1.1 var(--serif); display: block; } .calc-mobilebar span { font-size: .82rem; color: var(--sand-2); } .calc-mobilebar[hidden] { display: none; } }
.calc-steps { counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px); margin-bottom: 18px; }
.step-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--ivory); display: grid; place-items: center; font: 500 1.05rem var(--serif); flex: none; }
.step-head h3, .step-head h2 { margin: 0; font-size: 1.5rem; }
.window-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.window-tab { border: 1px solid var(--sand-2); background: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: .9rem; cursor: pointer; }
.window-tab[aria-selected="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.window-tab.has-error { border-color: var(--err); }
.fabric-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; max-height: 420px; overflow-y: auto; padding: 2px; }
.fabric-opt { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ivory); cursor: pointer; font-weight: 400; display: block; }
.fabric-opt input { position: absolute; opacity: 0; }
.fabric-opt img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.fabric-opt .fo-body { display: block; padding: 8px 10px; font-size: .84rem; line-height: 1.35; }
.fo-media { display: block; position: relative; }
.fo-swatch { position: absolute; right: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.fabric-opt .fo-body strong { display: block; font-size: .88rem; }
.fabric-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.fabric-opt:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.fabric-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 14px; }
.fabric-info div { background: var(--paper); border-radius: var(--radius); padding: 10px 12px; font-size: .86rem; }
.fabric-info strong { display: block; font-size: 1rem; }
.diagram { background: var(--paper); border-radius: var(--radius); padding: 14px; margin: 6px 0 16px; }
.diagram svg { width: 100%; height: auto; max-height: 300px; }
.calc-result { position: sticky; top: 140px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.calc-result h2 { font-size: 1.7rem; }
.result-big { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.result-big div { background: var(--paper); border-radius: var(--radius); padding: 12px; }
.result-big strong { display: block; font: 600 1.6rem/1.1 var(--serif); }
.result-big span { font-size: .82rem; color: var(--muted); }
.calc-actions { display: grid; gap: 10px; margin-top: 18px; }
.calc-detail summary { cursor: pointer; font-weight: 500; padding: 8px 0; }
.calc-detail ul { font-size: .88rem; color: var(--ink-2); padding-left: 1.1em; }
.calc-loading { opacity: .55; transition: opacity .2s; }
.disclaimer { font-size: .84rem; color: var(--muted); border-left: 3px solid var(--sand-2); padding-left: 12px; margin-top: 16px; }

/* Dialoog */
dialog { border: 0; border-radius: var(--radius-lg); padding: 0; max-width: min(560px, 94vw); width: 100%; box-shadow: 0 30px 80px rgba(0,0,0,.25); background: var(--ivory); color: var(--ink); }
dialog::backdrop { background: rgba(32,30,28,.45); }
.dialog-body { padding: 28px; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* ---------- Tekstpagina's ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.8rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose li { margin-bottom: .3em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.info-card h2 { font-size: 1.6rem; }
.info-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.info-list li { display: flex; gap: 10px; align-items: flex-start; }
.placeholder-note { display: inline-block; background: var(--warn-soft); color: var(--warn); font-size: .82rem; padding: 2px 8px; border-radius: 2px; }
.notfound { text-align: center; padding: 96px 0; }
.notfound .big { font: 500 7rem/1 var(--serif); color: var(--sand-2); }

/* ---------- Voet ---------- */
.footer { background: #2a2724; color: #d9d0c2; margin-top: 0; font-size: .92rem; }
.footer a { color: #efe7d9; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand p { margin-top: 16px; max-width: 34ch; color: #bdb2a3; }
.footer-head { font: 600 .74rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #a89c8b; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer address { font-style: normal; margin-bottom: 10px; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; max-width: 260px; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: #a89c8b; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Beheer ---------- */
.admin-body { background: #f6f3ee; }
.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: var(--ink); color: #e9e2d6; padding: 22px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .logo { color: var(--ivory); display: block; margin: 0 8px 22px; }
.admin-side nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius); text-decoration: none; color: #d8cfc1; font-size: .94rem; }
.admin-side nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin-side nav a.on { background: rgba(255,255,255,.12); color: #fff; }
.admin-side .side-head { font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #b9ae9e; margin: 20px 10px 8px; }
.admin-main { padding: 28px clamp(16px, 3vw, 40px) 64px; min-width: 0; }
.admin-main h1 { font-size: 2.2rem; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 20px; }
.panel h2 { font-size: 1.5rem; }
.panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.stat strong { display: block; font: 600 2rem/1.1 var(--serif); }
.stat span { color: var(--muted); font-size: .9rem; }
.table-wrap { overflow-x: auto; }
table.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
.admin-table th, .admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; background: #fbf9f5; }
.admin-table tr:hover td { background: #fcfaf6; }
.admin-table img { width: 44px; height: 44px; object-fit: cover; border-radius: 3px; }
.admin-table td.num { text-align: right; white-space: nowrap; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.bo-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 8px 0; }
/* Beheer: technische tekeningen */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.tab { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; text-decoration: none; color: var(--ink); }
.tab.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab.is-on .muted { color: rgba(255,255,255,.7); }
.tf-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.tf-preview-panel { position: sticky; top: 16px; }
.tf-preview { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; min-height: 160px; }
.tf-preview svg { width: 100%; height: auto; max-height: 70vh; display: block; }
.tf-problems { margin: 10px 0 0; padding-left: 18px; color: #9b2c2c; font-size: .85rem; }
.tf-view { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px 12px; margin: 0 0 12px; }
.tf-view legend { font-weight: 600; padding: 0 6px; }
.tf-view legend .tf-code { width: 3.2em; display: inline-block; padding: 2px 6px; margin-left: 4px; min-height: 0; }
.tf-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 12px; }
.tf-fields label { display: grid; gap: 3px; font-size: .8rem; color: var(--muted); }
.tf-fields select, .tf-fields input { font-size: .85rem; padding: 5px 6px; }
.tf-details { margin: 10px 0 6px; font-size: .85rem; }
.tf-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 12px; margin-top: 8px; }
.tf-approve { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
@media (max-width: 1100px) { .tf-grid { grid-template-columns: minmax(0, 1fr); } .tf-preview-panel { position: static; } }
.bo-actions form { margin: 0; }
@media (max-width: 900px) { .admin { grid-template-columns: 1fr; } .admin-side { position: static; height: auto; } .admin-form-grid { grid-template-columns: 1fr; } }
.help { background: #fbf8f2; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-size: .9rem; color: var(--ink-2); margin-bottom: 16px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--warn-soft); border-radius: var(--radius); font-size: .93rem; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar input, .toolbar select { width: auto; min-height: 40px; padding: 8px 10px; }
.img-admin { display: flex; gap: 10px; flex-wrap: wrap; }
.img-admin figure { margin: 0; width: 120px; font-size: .8rem; }
.img-admin img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.variant-row { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1fr 1fr auto; gap: 8px; align-items: end; margin-bottom: 8px; }
@media (max-width: 900px) { .variant-row { grid-template-columns: 1fr 1fr; } }
.tagbox { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.tagbox .check { padding: 2px 0; font-weight: 400; font-size: .88rem; }
details.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 12px; background: #fff; }
details.box summary { cursor: pointer; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .header, .topbar, .testbar, .footer, .calc-actions, .btn { display: none !important; }
  body { background: #fff; }
}
.page-head .notice p, .notice p { color: inherit; }
.notice-accent { color: var(--ink); }
.notice-accent a { color: var(--accent-dark); }
.notfound .big { color: var(--taupe); }
label.field { display: grid; gap: 6px; }
label.field > span:first-child { font-weight: 500; font-size: .92rem; }

/* ---------- Welkomstscherm ---------- */
.splash { display: none; }
.splash-on .splash { display: block; position: fixed; inset: 0; z-index: 1000; overflow: hidden; background: #efe6d6 url(/img/welkom/placeholder.webp) center / cover no-repeat; }
.splash-on body { overflow: hidden; }
.splash-stage { position: absolute; left: 50%; top: 50%; width: max(100vw, calc(100vh * 1.7768)); height: max(100vh, calc(100vw * .5628)); transform: translate(-50%, -50%); }
.splash-bg, .splash-curtain { position: absolute; top: 0; bottom: 0; background-repeat: no-repeat; }
.splash-bg { inset: 0; background-image: url(/img/welkom/achtergrond-941.webp); background-size: 100% 100%; transition: opacity .7s cubic-bezier(.4, 0, .2, 1) .15s; }
.splash-curtain { width: 33.43%; background-size: 100% 100%; will-change: transform; transition: transform 1.3s cubic-bezier(.55, .05, .15, 1); }
.splash-left { left: 0; background-image: url(/img/welkom/links-941.webp); transform-origin: left center; }
.splash-right { right: 0; width: 27.1%; background-image: url(/img/welkom/rechts-941.webp); transform-origin: right center; }
.splash-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(18px, 3.2vh, 34px); padding: 0 16px; padding-bottom: 6vh; text-align: center; transition: opacity .3s ease, transform .4s ease; }
.splash-title { margin: 0; font: 600 clamp(2.1rem, 6.4vw, 5.6rem)/1.05 var(--serif); letter-spacing: .14em; text-transform: uppercase; color: #0d0c0b; text-wrap: balance; text-shadow: 0 0 30px rgba(255, 252, 245, .7); padding-left: .14em; }
.splash-title span { display: inline-block; }
.splash-btn { min-height: 52px; min-width: 200px; padding: 0 2.2em; border: 0; border-radius: 7px; background: #0b0b0b; color: #fff; font: 500 1rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; cursor: pointer; box-shadow: 0 8px 28px rgba(0, 0, 0, .18); transition: transform .2s, background .2s; padding-left: calc(2.2em + .32em); }
.splash-btn:hover { background: #2a2724; transform: translateY(-1px); }
.splash-btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 7px #0b0b0b; }
.splash.opening .splash-content { opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; }
.splash.opening .splash-bg { opacity: 0; }
.splash.opening .splash-left { transform: translateX(-102%) scaleX(.72); }
.splash.opening .splash-right { transform: translateX(102%) scaleX(.72); }
.splash.opening { background: transparent; transition: background-color .3s; }
@media (max-width: 700px), (max-aspect-ratio: 4/5) {
  .splash-stage { left: 0; top: 0; width: 100%; height: 100%; transform: none; }
  .splash-bg { background-image: url(/img/welkom/achtergrond-640.webp); background-size: cover; background-position: 50% 50%; }
  .splash-curtain { width: 30%; background-size: auto 100%; }
  .splash-left { background-image: url(/img/welkom/links-640.webp); background-position: right center; }
  .splash-right { width: 30%; background-image: url(/img/welkom/rechts-640.webp); background-position: left center; }
  .splash-title { font-size: clamp(2rem, 11vw, 3.4rem); letter-spacing: .12em; }
  .splash-content { padding-bottom: 10vh; }
}
@media (prefers-reduced-motion: reduce) {
  .splash-bg, .splash-curtain, .splash-content { transition: opacity .2s linear !important; }
  .splash.opening .splash-left, .splash.opening .splash-right { transform: none; opacity: 0; }
}

/* Offerte: raamfoto's in het beheer */
.quote-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 8px; }
.quote-photos img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

/* Maatwerk: traject, keuze laten maken / alleen stof, prijsopbouw */
.traject-wrap { margin: 0 0 28px; }
.traject { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.traject li { display: flex; gap: 10px; align-items: flex-start; background: var(--paper, #f4eee4); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.traject li > span:last-child { display: grid; gap: 2px; }
.traject strong { font-weight: 600; font-size: .95rem; }
.traject li > span:last-child > span { font-size: .82rem; color: var(--muted); }
.traject-num { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--taupe); display: grid; place-items: center; font: 500 1rem var(--serif); background: #fff; }
@media (max-width: 1000px) { .traject { grid-template-columns: repeat(2, minmax(0, 1fr)); } .traject li:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .traject { grid-template-columns: 1fr; } .traject li { padding: 10px 12px; } }
.calc-teaser .traject { grid-template-columns: 1fr; margin: 22px 0 26px; gap: 8px; }
.calc-teaser .traject li { background: transparent; border: 0; padding: 0; }
.calc-teaser .traject li:last-child { grid-column: auto; }
.mode-pick { border: 0; padding: 0; margin: 0 0 22px; }
.mode-pick legend { font: 500 1.5rem var(--serif); padding: 0; margin-bottom: 10px; }
.mode-pick .radio-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.order-alt { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.order-alt[hidden] { display: none; }
.breakdown { display: grid; gap: 8px; margin-top: 12px; font-size: .86rem; }
.breakdown div { border-radius: var(--radius); padding: 8px 10px; background: #fff; border: 1px solid var(--line); }
.breakdown p { margin: 0 0 2px; font-weight: 600; }
.breakdown ul { margin: 0; padding-left: 1.1em; }
.breakdown .bd-quote { border-color: var(--accent); }
.win-summary { margin: 0 0 8px; font-size: .86rem; color: var(--muted); }
.win-summary strong { color: var(--ink); font-weight: 600; }
.quote-summary { background: var(--paper, #f4eee4); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 12px; }
.quote-summary:empty { display: none; }
.photo-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; }
.photo-list li { display: flex; gap: 8px; align-items: center; }
.photo-list img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.calc-promo { display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center; background: var(--paper, #f4eee4); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; margin-top: 18px; }
.calc-promo h2 { font-size: 1.5rem; margin: 0 0 4px; }
.calc-promo p { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .calc-promo { grid-template-columns: 1fr; } }
input[type=file] { font: inherit; font-size: .9rem; max-width: 100%; padding: 10px; border: 1px dashed var(--sand-2); border-radius: var(--radius); background: #fff; width: 100%; }
input[type=file]::file-selector-button { font: inherit; font-weight: 500; border: 1px solid var(--ink); background: transparent; border-radius: 999px; padding: 6px 14px; margin-right: 10px; cursor: pointer; }
.calc-teaser .traject li::before { content: none; display: none; }

/* ---------- Live chat (bezoeker) ---------- */
.chatw[hidden] { display: none; }
.chatw-btn { position: fixed; right: 16px; bottom: calc(16px + var(--chat-lift, 0px) + env(safe-area-inset-bottom, 0px)); z-index: 45; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px 10px 14px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-family: inherit; font-weight: 500; font-size: .95rem; letter-spacing: .02em; box-shadow: 0 8px 24px rgba(47, 44, 41, .22); cursor: pointer; transition: transform .2s, bottom .2s, opacity .2s; }
.chatw.is-avoid .chatw-btn { opacity: 0; pointer-events: none; }
.chatw-btn:hover { transform: translateY(-1px); }
.chatw-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.chatw-btn svg { width: 22px; height: 22px; }
.chatw.is-online .chatw-btn::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #5f9b62; box-shadow: 0 0 0 2px var(--ink); margin-left: 2px; }
.chatw-dot { position: absolute; top: -3px; right: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; }
.chatw-dot[hidden] { display: none; }
.chatw.is-open .chatw-btn, .nav-open .chatw-btn, .filters-open .chatw-btn { display: none; }
.chatw-panel { position: fixed; z-index: 90; right: 16px; bottom: calc(16px + var(--chat-lift, 0px)); width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--paper, #f4eee4); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 18px 48px rgba(47, 44, 41, .25); overflow: hidden; }
.chatw-panel[hidden] { display: none; }
.chatw-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 14px 14px 12px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.chatw-head h2 { font-size: 1.45rem; margin: 0; }
.chatw-head p { margin: 2px 0 0; font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.chatw-state { width: 8px; height: 8px; border-radius: 50%; background: #b9ada0; flex: none; }
.chatw.is-online .chatw-state { background: #5f9b62; }
.chatw-body { flex: 1; overflow-y: auto; padding: 14px 16px; overscroll-behavior: contain; }
.chatw-greet { margin: 0 0 12px; font-size: .92rem; }
.chatw-msgs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cwm { max-width: 86%; display: grid; gap: 3px; }
.cwm-body { white-space: pre-wrap; overflow-wrap: anywhere; padding: 9px 12px; border-radius: 14px; font-size: .92rem; line-height: 1.45; }
.cwm-visitor { justify-self: end; text-align: right; }
.cwm-visitor .cwm-body { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; text-align: left; }
.cwm-staff .cwm-body { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.cwm-meta { font-size: .74rem; color: var(--muted); }
.cwm.is-failed .cwm-body { background: #9c3324; }
.chatw-note { margin: 12px 0 0; font-size: .85rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.chatw-form .field-row { grid-template-columns: 1fr; gap: 0; }
.chatw-form .field { margin-bottom: 10px; }
.chatw-compose { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; background: #fff; border-top: 1px solid var(--line); }
.chatw-compose[hidden] { display: none; }
.chatw-compose textarea { flex: 1; min-height: 44px; max-height: 140px; resize: none; padding: 10px 12px; }
.chatw-compose .btn { min-height: 44px; }
.chatw-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 16px 10px; font-size: .82rem; border-top: 1px solid var(--line); background: #fff; }
.chatw-foot a { display: inline-flex; gap: 6px; align-items: center; }
.chatw-foot svg { width: 16px; height: 16px; }
@media (max-width: 699px) {
  .chatw-btn { right: 12px; padding: 10px 14px 10px 12px; font-size: .88rem; }
  .chatw-panel { inset: var(--vv-top, 0px) 0 auto 0; width: 100%; height: var(--vv-h, 100dvh); border-radius: 0; border: 0; }
  html.chat-open, html.chat-open body { overflow: hidden; }
  body:has(.chatw:not([hidden])) .footer { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .chatw-btn { transition: none; } }
@media print { .chatw { display: none !important; } }

/* ---------- Chat in het beheer ---------- */
.chat-presence { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-left: 4px solid #b9ada0; }
.chat-presence.is-on { border-left-color: #5f9b62; }
.chat-admin { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .chat-admin { grid-template-columns: 1fr; } }
.chat-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 560px; overflow-y: auto; }
.chat-list a { display: block; padding: 8px 10px; border-radius: var(--radius); text-decoration: none; color: inherit; }
.chat-list a.on, .chat-list a:hover { background: var(--paper, #f4eee4); }
.chat-msgs { list-style: none; margin: 0 0 12px; padding: 12px; display: grid; gap: 8px; max-height: 460px; overflow-y: auto; background: var(--paper, #f4eee4); border-radius: var(--radius); }
.chat-msgs .cm { max-width: 80%; display: grid; gap: 2px; }
.chat-msgs .cm span { white-space: pre-wrap; overflow-wrap: anywhere; padding: 8px 11px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.chat-msgs .cm-staff { justify-self: end; }
.chat-msgs .cm-staff span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chat-msgs small { font-size: .74rem; color: var(--muted); }
.chat-reply { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.chat-reply textarea { min-height: 70px; }
@media (max-width: 420px) {
  .cart-line { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .cart-line img, .cart-line .img-placeholder { width: 64px; height: 64px; }
  .cart-line .line-total { grid-column: 2; text-align: left; }
  .checkout > *, .summary { min-width: 0; }
}

/* ===== Ronde 4: lijn van het welkomstscherm (linnen, daglicht, zwarte serif) ===== */
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: #1c1a18; border-color: #1c1a18; color: #fff; }
.btn-outline-dark { background: rgba(250,247,241,.55); border-color: var(--ink); color: var(--ink); backdrop-filter: blur(2px); }
.btn-outline-dark:hover { background: var(--ink); color: var(--ivory); }
.hero-linen { color: var(--ink); align-items: center; min-height: min(84vh, 760px); background: #efe6d6; }
.hero-linen::after { background: radial-gradient(ellipse 48% 58% at 50% 50%, rgba(250,247,241,.78), rgba(250,247,241,.35) 60%, rgba(250,247,241,0) 100%); }
.hero-linen .hero-media img { object-position: 50% 60%; animation-duration: 2.2s; }
.hero-linen .hero-content { margin: 0 auto; text-align: center; max-width: 720px; }
.hero-linen h1 { color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.hero-linen .kicker { color: #5b5148; }
.hero-linen p { color: #3a352f; margin-left: auto; margin-right: auto; }
.hero-linen .hero-actions { justify-content: center; }
@media (max-width: 640px) { .hero-linen { min-height: 78vh; } .hero-linen::after { background: radial-gradient(ellipse 85% 60% at 50% 50%, rgba(250,247,241,.85), rgba(250,247,241,.45) 70%, rgba(250,247,241,.1)); } .hero-linen .hero-actions .btn { flex: 1 1 100%; } }

/* Categorietegels: echte foto boven, serif-bijschrift eronder */
.tiles-photo .tile { display: block; background: transparent; color: var(--ink); aspect-ratio: auto !important; border-radius: 0; overflow: visible; }
.tiles-photo .tile::after { display: none; }
.tiles-photo .tile-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand); }
.tiles-photo .tiles .tile:nth-child(-n+2) .tile-media, .tiles-photo .tile:nth-child(-n+2) .tile-media { aspect-ratio: 16 / 10; }
.tiles-photo .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tiles-photo .tile-body { padding: 14px 2px 0; }
.tiles-photo .tile-title { color: var(--ink); font-size: 1.6rem; }
.tiles-photo .tile-text { color: var(--muted, #6f675d); display: block; }
.tiles-photo .tile:hover { color: var(--ink); }
.tile-count { display: inline-block; margin-top: 6px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe-dark); }
@media (max-width: 900px) { .tiles-photo .tile:nth-child(2) .tile-media { aspect-ratio: 4 / 5; } .tiles-photo .tile-text { display: none; } .tiles-photo .tile-title { font-size: 1.25rem; } }

/* Maatwerkband met de linnenfoto */
.calc-band .calc-teaser { grid-template-columns: 1fr 1fr; }
.calc-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); }
.calc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
@media (max-width: 860px) { .calc-band .calc-teaser { grid-template-columns: 1fr; } .calc-photo { aspect-ratio: 16 / 10; } }

/* Van dichtbij */
.closeups { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); }
.closeup { color: var(--ink); text-decoration: none; display: block; }
.closeup-media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand); margin-bottom: 16px; }
.closeup-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.closeup:hover img { transform: scale(1.04); }
.closeup h3 { font: 500 1.6rem/1.1 var(--serif); margin: 0 0 6px; }
.closeup p { margin: 0 0 6px; color: #5b5148; }
.closeup-src { font-size: .8rem; color: var(--taupe-dark); }
@media (max-width: 760px) { .closeups { grid-template-columns: 1fr; } .closeup-media { aspect-ratio: 16 / 11; } }

/* Seizoenen */
.season { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; color: var(--ink); text-decoration: none; }
.season-media { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand); }
.season-media img { width: 100%; height: 100%; object-fit: cover; }
.season .tile-title { color: var(--ink); font: 500 1.7rem/1.1 var(--serif); }
.season .tile-text { color: #5b5148; display: block; }
.season:hover { color: var(--ink); }

/* Winkelblok licht, met mozaïek van echte stoffoto's */
.store-light { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.store-light .store-body h2, .store-light .store-body a:not(.btn) { color: var(--ink); }
.store-light .store-body .kicker, .store-light .hours th { color: var(--taupe-dark); }
.store-light .hours td, .store-light .hours th { border-color: var(--line); }
.store-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; min-height: 100%; }
.store-mosaic a { display: block; aspect-ratio: 1; overflow: hidden; }
.store-mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* Productgalerij en kleuren */
.gallery-caption { grid-column: 2; margin: 0; min-height: 1.2em; font-size: .82rem; color: var(--taupe-dark); letter-spacing: .04em; }
.thumbs button { aspect-ratio: 1; overflow: hidden; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.colorway { margin: 22px 0 6px; }
.colorway-title { font-size: .9rem; font-weight: 500; margin: 0 0 8px; }
.colorway ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.colorway a { display: block; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.colorway a[aria-current="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
.colorway a span { display: grid; place-items: center; height: 100%; font-size: .6rem; text-align: center; padding: 2px; }
.colorway img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .gallery-caption { grid-column: 1; grid-row: 2; } .thumbs { grid-row: 3; } }
/* Artikelen per stuk (ritsen, knopen …): volledig in beeld, niet bijsnijden */
.card-media-item { background: #fff; border: 1px solid var(--line); }
.card-media-item img { object-fit: contain; padding: 8%; }
.card-link:hover .card-media-item img { transform: scale(1.02); }

.tiles-photo .tile:nth-child(n+3) { grid-column: span 4; }
.tiles-n3 .tile, .tiles-n3 .tile:nth-child(-n+2) { grid-column: span 4; }
.tiles-n3 .tile .tile-media, .tiles-n4 .tile .tile-media { aspect-ratio: 4 / 5 !important; }
.tiles-n4 .tile, .tiles-n4 .tile:nth-child(-n+2) { grid-column: span 3; }
.store-light .years { color: var(--taupe-dark); }
@media (max-width: 900px) { .tiles-photo .tile, .tiles-photo .tile:nth-child(n) { grid-column: span 1; } .tiles-photo .tile:first-child { grid-column: span 2; } .tiles-n4 .tile:first-child { grid-column: span 1; } .tiles-photo .tile .tile-media { aspect-ratio: 4 / 5; } .tiles-photo .tile:first-child .tile-media { aspect-ratio: 16 / 10; } .tiles-n4 .tile:first-child .tile-media { aspect-ratio: 4 / 5; } }
.gallery-single { grid-template-columns: 1fr; }
.gallery-single .gallery-main, .gallery-single .gallery-caption { grid-column: 1; }

/* Telefoon: chatknop compact (alleen pictogram), zodat hij minder van de pagina bedekt; de naam blijft voor schermlezers */
@media (max-width: 640px) {
  .chatw-btn { padding: 12px; min-width: 48px; justify-content: center; }
  .chatw-btn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* In de configurators ook op grotere schermen compact: de knop bedekt dan niet de prijs of "Bekijk overzicht" naast de weergave */
body:has([data-calc], [data-ks]) .chatw-btn { padding: 13px; min-width: 50px; min-height: 50px; justify-content: center; }
body:has([data-calc], [data-ks]) .chatw-btn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body:has([data-calc], [data-ks]) .chatw.is-online .chatw-btn::after { position: absolute; right: 3px; bottom: 5px; margin: 0; }
.colorway details { margin-top: 8px; }
.colorway summary { cursor: pointer; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; width: max-content; }
.colorway details ul { margin-top: 8px; }
/* Artikelen per stuk (machines, scharen …): volledig in beeld op de productpagina */
.gallery-item { background: #fff; border: 1px solid var(--line); }
.gallery-item img { object-fit: contain; padding: 4%; }
.thumbs button img[src*="-merk-"], .card-media-item img { object-fit: contain; }

/* Homepage: foto van de winkel (gevel + stofrollen) bovenaan, nooit uitgerekt of bijgesneden */
.hero-shop { background: var(--paper); padding: clamp(12px, 2vw, 24px) 0 clamp(36px, 5vw, 64px); }
.hero-shop-photos { display: grid; grid-template-columns: 677fr 598fr; gap: clamp(4px, .6vw, 8px); max-width: 1290px; margin: 0 auto; padding: 0 clamp(0px, 2vw, 24px); }
.hero-shop-photos img { display: block; width: 100%; height: auto; border-radius: clamp(0px, .8vw, 10px); }
.hero-shop-photos .hero-own { grid-column: 1 / -1; }
.hero-shop-text { text-align: center; max-width: 720px; margin: clamp(26px, 4vw, 48px) auto 0; }
.hero-shop-text h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 500; margin-bottom: .35em; }
.hero-shop-text p { font-size: 1.12rem; color: #3a352f; max-width: 54ch; margin: 0 auto; }
.hero-shop-text .hero-actions { justify-content: center; }
@media (max-width: 640px) { .hero-shop { padding-top: 0; } .hero-shop-photos { padding: 0; gap: 3px; } .hero-shop-photos img { border-radius: 0; } .hero-shop-text .hero-actions .btn { flex: 1 1 100%; } }



/* ---- Speerpunten op de startpagina ---- */
.prio-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; }
.prio { position: relative; display: block; overflow: hidden; border-radius: var(--radius, 6px); text-decoration: none; color: #fff; background: var(--sand, #e8dfd1); isolation: isolate; }
.prio-lead { grid-column: span 2; grid-row: span 2; }
.prio-media, .prio-media img, .prio-media .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.prio-media img { transition: transform .6s var(--ease, ease); }
.prio:hover .prio-media img, .prio:focus-visible .prio-media img { transform: scale(1.04); }
.prio::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,0) 40%, rgba(20,18,16,.62) 100%); z-index: 0; }
.prio-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; z-index: 1; }
.prio-body h3 { font: 500 1.6rem/1.1 var(--serif); margin: 0 0 4px; color: #fff; }
.prio-lead .prio-body h3 { font-size: 2.3rem; }
.prio-body p { margin: 0 0 8px; font-size: .92rem; max-width: 46ch; color: rgba(255,255,255,.92); }
.prio:not(.prio-lead) .prio-body p { display: none; }
.prio-cta { display: inline-flex; gap: 6px; align-items: center; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.prio-cta svg { width: 14px; height: 14px; }
@media (max-width: 1000px) { .prio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 560px) { .prio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; } .prio-lead { grid-column: span 2; grid-row: span 1; } .prio-body { padding: 12px 14px; } .prio-body h3 { font-size: 1.2rem; } .prio-lead .prio-body h3 { font-size: 1.6rem; } .prio-lead .prio-body p { display: none; } }

/* ---- Chat: assistent, systeemberichten, typen ---- */
.cwm-assistant .cwm-body { background: var(--paper, #f4efe6); border: 1px solid var(--line); }
.cwm-assistant .cwm-body a { color: var(--accent-dark); word-break: break-word; }
.cwm-system { list-style: none; text-align: center; margin: 8px 0; }
.cwm-system .cwm-body { display: inline-block; font-size: .8rem; color: var(--muted); background: transparent; padding: 2px 8px; }
.cwm-typing .cwm-body { display: inline-flex; gap: 4px; padding: 12px 14px; }
.cwm-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--taupe-dark, #8a7e70); animation: cwdot 1s infinite ease-in-out; }
.cwm-typing i:nth-child(2) { animation-delay: .15s; } .cwm-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cwdot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .cwm-typing i { animation: none; } }
.chatw-human { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.chatw-human svg { width: 16px; height: 16px; }
.chatw-ai-note { margin: 0 0 10px; }

/* ---- Configurator: plooien, meetgids, controles ---- */
.pleat-card { gap: 6px; }
.pleat-svg { width: 100%; max-width: 160px; height: auto; display: block; margin-bottom: 4px; }
.measure-guide { border: 1px solid var(--line); border-radius: 8px; background: #fff; margin: 4px 0 16px; }
.measure-guide summary { cursor: pointer; padding: 12px 14px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.measure-guide summary svg { width: 18px; height: 18px; }
.measure-guide-body { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 20px; padding: 0 14px 14px; align-items: start; }
.measure-guide-body svg { width: 100%; height: auto; border-radius: 6px; }
.measure-guide-body ol { margin: 0; padding-left: 1.2em; } .measure-guide-body li { margin-bottom: 6px; } .measure-guide-body ul { padding-left: 1.1em; margin: 4px 0; }
@media (max-width: 700px) { .measure-guide-body { grid-template-columns: 1fr; } }
.measure-checks ul { margin: 0; padding-left: 1.1em; }
.ok-text { color: #3f6b45; margin: 4px 0 0; }

/* ---------- Gordijnconfigurator (links keuzes, rechts live weergave) ---------- */
.cfg-intro { padding-top: 22px; padding-bottom: 8px; }
.cfg-intro h1 { margin: 6px 0 8px; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.cfg-intro .lead { margin: 0; font-size: 1.05rem; }
.cfg-intro-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; justify-items: start; margin-top: 12px; }
.cfg-intro .lead { max-width: 68ch; }
.cfg-progress { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.cfg-progress li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; color: var(--muted); cursor: pointer; }
.cfg-progress li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-weight: 700; font-size: .74rem; color: var(--ink-2); }
.cfg-progress li.is-done span { background: #82552e; color: #fff; }
.cfg-progress li.is-current { border-color: var(--ink); color: var(--ink); }
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-areas: "steps preview"; gap: clamp(20px, 3vw, 40px); align-items: start; padding-top: 18px; padding-bottom: 90px; }
.cfg-steps { grid-area: steps; min-width: 0; }
@media (min-width: 1001px) { .cfg-steps { min-height: calc(100vh - 120px); } }
.cfg-preview { grid-area: preview; position: sticky; top: 132px; min-width: 0; }
.cfg-preview-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(60, 44, 30, .08); }
.cfg-pv-tools { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--paper); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: transparent; font: 500 .82rem/1 var(--sans); padding: 8px 12px; border-radius: 999px; cursor: pointer; color: var(--ink-2); }
.seg button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.toggle-mini { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--ink-2); cursor: pointer; }
.toggle-mini input { accent-color: #82552e; }
.cfg-pv-size { margin-left: auto; display: none; }
.cfg-scene { aspect-ratio: 4 / 3; background: #efe9df; }
.cfg-scene svg { display: block; width: 100%; height: 100%; }
.cfg-pv-foot { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--ivory); }
.cfg-real { display: flex; align-items: center; gap: 10px; flex: none; max-width: 52%; }
.cfg-real img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 1px 6px rgba(0,0,0,.18); }
.cfg-real > span { display: grid; font-size: .76rem; line-height: 1.25; color: var(--ink-2); }
.cfg-real strong { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #82552e; }
.cfg-disclaimer { margin: 0; font-size: .76rem; color: var(--muted); line-height: 1.35; }
.cfg-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.cfg-chips div { padding: 10px 14px; border-right: 1px solid var(--line); min-width: 0; }
.cfg-chips div:last-child { border-right: 0; }
.cfg-chips dt { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cfg-chips dd { margin: 2px 0 0; font-size: .86rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfg-chips .dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.cfg-price { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--line); background: #fbf8f3; }
.cfg-price > div { display: grid; }
.cfg-price-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cfg-price strong { font: 600 1.9rem/1.1 var(--serif); }

.cfg-windows { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.cfg-windows .window-tab[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.cfg-step { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; transition: box-shadow .2s var(--ease), border-color .2s; }
.cfg-step.is-open { border-color: var(--sand-2); box-shadow: 0 10px 30px rgba(60,44,30,.07); }
.cfg-step-head { margin: 0; font: inherit; }
.cfg-step-head button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.cfg-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font: 700 .9rem var(--sans); flex: none; }
.cfg-step.is-open .cfg-num { background: var(--ink); color: var(--ivory); }
.cfg-title { font: 500 1.35rem/1.15 var(--serif); }
.cfg-hint { font: 400 .8rem var(--sans); color: var(--muted); }
.cfg-choice { margin-left: auto; font-size: .84rem; color: #82552e; font-weight: 600; text-align: right; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfg-step-head .icon { flex: none; transition: transform .25s var(--ease); color: var(--muted); }
.cfg-step.is-open .cfg-step-head .icon { transform: rotate(180deg); }
.cfg-body { padding: 0 18px 18px; }
.cfg-next { display: flex; justify-content: flex-end; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.cfg-fieldset { border: 0; padding: 0; margin: 14px 0; }
.cfg-fieldset legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: 8px; }
.cfg-advanced { margin-top: 12px; font-size: .92rem; }
.cfg-advanced summary { cursor: pointer; color: var(--ink-2); padding: 6px 0; }

/* Filters en stoffen */
.cfg-filter { display: grid; gap: 10px; margin-bottom: 8px; }
.cfg-search { position: relative; margin: 0; }
.cfg-search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.cfg-search input { padding-left: 42px; border-radius: 999px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
button.chip { cursor: pointer; font: inherit; font-size: .84rem; color: var(--ink-2); }
button.chip em { font-style: normal; font-size: .74rem; color: var(--muted); }
button.chip.is-on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
button.chip.is-on em { color: var(--sand-2); }
button.chip:disabled { opacity: .4; cursor: default; }
.cdot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; padding: 2px; background: none; cursor: pointer; }
.cdot i { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.cdot.is-on { border-color: var(--ink); }
.cdot:hover { transform: scale(1.08); }
.cfg-morefilters summary { cursor: pointer; font-size: .86rem; color: var(--ink-2); padding: 4px 0; }
.cfg-morefilters .chips-row { margin-top: 8px; }
.cfg-count { margin: 6px 0 10px; }
.fam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.fam-card { position: relative; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; font-weight: 400; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.fam-card:hover { border-color: var(--taupe); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(60,44,30,.1); }
.fam-card input { position: absolute; opacity: 0; }
.fam-card.is-on, .fam-card:has(input:checked) { border-color: #82552e; box-shadow: inset 0 0 0 2px #82552e; }
.fam-card:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.fam-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.fam-media img, .fam-media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.fam-badge { position: absolute; left: 8px; top: 8px; background: rgba(255,255,255,.92); }
.fam-body { display: grid; gap: 4px; padding: 10px 12px 12px; font-size: .84rem; }
.fam-body strong { font-size: .98rem; }
.fam-sub { color: var(--muted); font-size: .8rem; }
/* Kamerhoge stof: bevestigde stofhoogte bij de naam ("Kamerhoog · 300 cm"), in de stofkeuze, het overzicht en op de productpagina (v52) */
.fam-kh, .card-kh, .kh-tag { display: inline-block; justify-self: start; width: max-content; max-width: 100%; font-size: .78rem; font-weight: 600; line-height: 1.5; color: #6b4524; background: #f3ebe1; border-radius: 999px; padding: 0 9px; }
.card-kh { margin: 0 0 6px; }
.kh-line { margin: -4px 0 10px; }
.kh-tag { font-size: .85rem; padding: 2px 11px; }
.fam-dots { display: flex; flex-wrap: wrap; gap: 3px; margin: 2px 0; align-items: center; }
.fam-dots i { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.fam-dots b { font-size: .72rem; color: var(--muted); font-weight: 600; margin-left: 2px; }
.fam-meta { color: var(--ink-2); }
[data-fam-more] { margin-top: 12px; }

/* Kleuren */
.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; }
.csw { display: grid; justify-items: center; gap: 3px; padding: 6px 4px; border: 1px solid transparent; border-radius: 10px; background: none; cursor: pointer; font: inherit; text-align: center; }
.csw:hover { background: var(--paper); }
.csw.is-on { border-color: #82552e; background: #fbf6ef; }
.csw-chip { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; display: block; box-shadow: 0 1px 4px rgba(0,0,0,.18); border: 3px solid #fff; }
.csw.is-on .csw-chip { box-shadow: 0 0 0 2px #82552e; }
.csw-chip img, .csw-chip i { width: 100%; height: 100%; object-fit: cover; display: block; }
.csw-chip i { background-image: linear-gradient(115deg, rgba(255,255,255,.18), rgba(0,0,0,.08)); }
.csw-name { font-size: .8rem; line-height: 1.2; font-weight: 600; }
.csw-code { font-size: .68rem; color: var(--muted); }
.color-detail { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.cd-media { position: relative; align-self: start; }
.cd-media img, .cd-sw svg { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.cd-sw { border-radius: 10px; overflow: hidden; }
.cd-tag { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.94); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 3px; font-weight: 600; color: #82552e; }
.cd-tag-ill { color: var(--muted); }
.cd-name { margin: 0 0 6px; }
.cd-info dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 0 0 8px; font-size: .84rem; }
.cd-info dt { color: var(--muted); font-size: .74rem; }
.cd-info dd { margin: 0; font-weight: 600; }

/* Confectie */
.cfg-mode { margin-bottom: 12px; }
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 8px; }
.style-card { position: relative; display: grid; gap: 3px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 8px 10px; background: #fff; cursor: pointer; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.style-card input { position: absolute; opacity: 0; }
.style-card:hover { border-color: var(--taupe); }
.style-card.is-on, .style-card:has(input:checked) { border-color: #82552e; box-shadow: inset 0 0 0 2px #82552e; }
.style-card:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.style-media { display: block; aspect-ratio: 120 / 86; border-radius: 6px; overflow: hidden; margin-bottom: 4px; background: var(--paper); }
.style-media svg { width: 100%; height: 100%; display: block; }
.style-card strong { font-size: .92rem; }
.style-card > span:not(.style-media) { font-size: .76rem; color: var(--muted); line-height: 1.3; }
.wave-opts { margin-top: 16px; padding: 14px; background: #fbf6ef; border: 1px solid #ecdcc8; border-radius: 10px; }
.wave-title { margin: 0 0 10px; }
.wave-card .style-media { margin: -2px 0 6px; }
.wave-card.is-on { border-color: #82552e; box-shadow: inset 0 0 0 2px #82552e; }

/* Maten */
.measure-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 12px; }
.num-unit { display: flex; align-items: center; border: 1px solid var(--sand-2); border-radius: var(--radius); background: #fff; }
.num-unit input { border: 0; font-size: 1.15rem; font-weight: 600; }
.num-unit input:focus { outline: none; }
.num-unit:focus-within { outline: 2.5px solid var(--accent); outline-offset: 1px; }
.num-unit span { padding: 0 14px; color: var(--muted); }
.measure-row input[type="range"] { width: 100%; margin: 10px 0 2px; accent-color: #82552e; }
.panels-cards { grid-template-columns: 1fr 1fr; }

/* Overzicht */
.sum-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sum-media { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--paper); }
.sum-media img, .sum-media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.sum-title { margin: 0 0 4px; }
.sum-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-size: .88rem; }
.sum-list li span { display: inline-block; min-width: 82px; color: var(--muted); }
.res-win { padding: 10px 0; border-bottom: 1px solid var(--line); }
.res-win-title { margin: 0 0 6px; }
.res-win .lines { font-size: .9rem; }
.cfg-actions { display: grid; gap: 10px; margin-top: 18px; }
.calc-loading .cfg-price strong, .calc-loading [data-result-body] { opacity: .5; transition: opacity .2s; }

@media (max-width: 1100px) { .cfg-chips { grid-template-columns: 1fr 1fr; } .cfg-chips div:nth-child(2) { border-right: 0; } .cfg-chips div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 1000px) {
  .cfg-intro-row { grid-template-columns: 1fr; gap: 12px; }
  .cfg-progress { display: none; }
  .cfg { grid-template-columns: 1fr; grid-template-areas: "preview" "steps"; padding-bottom: 120px; }
  .cfg-preview { top: var(--hdr, 116px); z-index: 20; margin: 0 calc(var(--gutter) * -1); }
  .cfg-preview-card { border-radius: 0; border-left: 0; border-right: 0; box-shadow: 0 10px 24px rgba(60,44,30,.12); }
  .cfg-scene { aspect-ratio: auto; height: 27vh; min-height: 190px; }
  .cfg-preview.is-small .cfg-scene { height: 15vh; min-height: 110px; }
  .cfg-preview.is-small .cfg-pv-foot, .cfg-preview.is-small .cfg-chips { display: none; }
  .cfg-pv-size { display: inline; }
  .cfg-pv-tools { padding: 6px 10px; gap: 8px; }
  .seg button { padding: 7px 10px; }
  .cfg-pv-foot { padding: 6px 12px; }
  .cfg-disclaimer { display: none; }
  .cfg-real { max-width: none; }
  .cfg-price { display: none; }
  .cfg-chips { display: none; }
  .color-detail { grid-template-columns: 1fr; }
  .cd-media { max-width: 240px; }
}
@media (max-width: 560px) {
  .fam-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fam-body { padding: 8px 9px 10px; }
  .measure-row { grid-template-columns: 1fr; }
  .cfg-title { font-size: 1.18rem; }
  .cfg-choice { display: none; }
  .style-grid { grid-template-columns: 1fr 1fr; }
  .color-grid { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); }
  .csw-chip { width: 50px; height: 50px; }
}
.cfg-real[hidden] { display: none; }
.cfg .cfg-search input { padding-left: 44px; }
.colorway li { width: auto; min-width: 60px; max-width: 92px; display: grid; gap: 3px; justify-items: center; }
.colorway li small { font-size: .66rem; line-height: 1.15; text-align: center; color: var(--muted); overflow-wrap: normal; word-break: normal; hyphens: auto; }
.colorway .cw-dot { display: block; width: 100%; height: 100%; background-image: linear-gradient(120deg, rgba(255,255,255,.2), rgba(0,0,0,.08)); }
.card-colors { margin: 4px 0 0; font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.card-colors i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }

/* ---------- Homepage: vertrouwen, kleurverhalen, mini-configurator, BURDA ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust-row { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding-top: 22px; padding-bottom: 22px; }
.trust-big { display: flex; align-items: center; gap: 12px; }
.trust-big strong { font: 500 3.4rem/1 var(--serif); color: #82552e; }
.trust-big span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); line-height: 1.35; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.trust-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.trust-list .icon { flex: none; color: #82552e; margin-top: 2px; }
.trust-list strong { color: var(--ink); }
@media (max-width: 900px) { .trust-row { grid-template-columns: 1fr; } .trust-list { grid-template-columns: 1fr; gap: 10px; } }

.stories { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.story { grid-column: span 3; display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.story-big { grid-column: span 6; }
.story-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper); }
.story-big .story-media { aspect-ratio: 16 / 10; }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story:hover .story-media img { transform: scale(1.04); }
.story-photo-name { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.92); font-size: .72rem; padding: 4px 8px; border-radius: 3px; color: var(--ink-2); max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story-body { padding: clamp(14px, 1.8vw, 24px); display: flex; flex-direction: column; gap: 6px; }
.story-body .kicker { margin: 0; }
.story-body h3 { font-size: 1.35rem; margin: 0; }
.story-big .story-body h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.story-body p { margin: 0; color: var(--muted); font-size: .9rem; }
.story-thumbs { list-style: none; padding: 0; margin: 6px 0; display: flex; gap: 6px; }
.story-thumbs a { display: block; width: 52px; height: 52px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.story-big .story-thumbs a { width: 64px; height: 64px; }
.story-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.story-body .link-arrow { margin-top: auto; }
@media (max-width: 1000px) { .story { grid-column: span 6; } .story-big { grid-column: span 12; } }
@media (max-width: 560px) { .story { grid-column: span 12; } }

.cfg-teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cfg-teaser-preview { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(60,44,30,.08); }
.cfg-teaser-scene { aspect-ratio: 4 / 3; background: #efe9df; }
.cfg-teaser-scene svg { width: 100%; height: 100%; display: block; }
.cfg-teaser-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 14px; border-top: 1px solid var(--line); }
.cfg-teaser-colors { display: flex; gap: 6px; flex-wrap: wrap; }
.cfg-teaser-colors button { width: 30px; height: 30px; padding: 2px; border-radius: 50%; border: 2px solid transparent; background: none; cursor: pointer; }
.cfg-teaser-colors button[aria-checked="true"] { border-color: var(--ink); }
.cfg-teaser-colors i { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.cfg-teaser-note { margin: 0; padding: 0 14px 12px; }
.cfg-teaser-steps { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; counter-reset: s; }
.cfg-teaser-steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.cfg-teaser-steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; background: #82552e; color: #fff; display: grid; place-items: center; font: 700 .82rem var(--sans); }
@media (max-width: 900px) { .cfg-teaser { grid-template-columns: 1fr; } }

.burda-teaser { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; background: #2a2724; color: #efe7d9; border-radius: 14px; padding: clamp(24px, 4vw, 48px); }
.burda-teaser h2 { color: #fff; }
.burda-teaser .lead { color: #d9d0c2; }
.burda-teaser .kicker { color: #c9a77f; }
.burda-teaser .btn-dark { background: #efe7d9; color: #2a2724; border-color: #efe7d9; }
.burda-teaser .btn-ghost { color: #efe7d9; border-color: #6f655a; }
.burda-teaser .btn-ghost:hover { background: #efe7d9; color: #2a2724; }
.burda-mark { aspect-ratio: 1; border: 1px solid #6f655a; border-radius: 50%; display: grid; place-content: center; text-align: center; }
.burda-mark span { font: 600 2.6rem/1 var(--sans); letter-spacing: .18em; color: #fff; }
.burda-mark small { font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: #c9a77f; margin-top: 8px; }
@media (max-width: 760px) { .burda-teaser { grid-template-columns: 1fr; } .burda-mark { width: 160px; } }

/* ---------- BURDA-patronen zonder eigen foto ---------- */
.burda-visual { position: relative; display: grid; align-content: center; justify-items: center; gap: 4px; width: 100%; height: 100%; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #f6f0e6, #ebe1d1); color: #6a4325; text-align: center; overflow: hidden; padding: 12px; }
.bv-brand { font: 700 .72rem/1 var(--sans); letter-spacing: .32em; color: #2a2724; }
.bv-word { font: 500 1.5rem/1.1 var(--serif); color: #2a2724; text-transform: none; }
.bv-word::first-letter { text-transform: uppercase; }
.bv-num { font: 600 2.1rem/1 var(--serif); color: #82552e; }
.bv-issue { font-size: .72rem; color: var(--muted); }
.bv-lines { position: absolute; inset: 8% 12%; width: 76%; height: 84%; opacity: .14; pointer-events: none; }
.burda-visual-big { aspect-ratio: 1; }
/* Technische tekeningen van patronen (eigen schematische tekening, zwarte lijnen op wit) */
.gallery-drawing { background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); display: grid; place-items: center; padding: clamp(14px, 3vw, 28px); }
.tech-drawing { margin: 0; }
.tech-drawing svg { display: block; width: 100%; height: auto; max-height: 560px; }
.gallery-main.gallery-drawing { aspect-ratio: auto; cursor: default; }
.gallery-drawing .tech-drawing { width: 100%; }
.gallery-drawing .tech-drawing svg { max-height: min(62vh, 540px); margin: 0 auto; }
.card-drawing { position: absolute; inset: 0; display: grid; place-items: center; background: #fff; padding: 9% 12%; }
.card-drawing svg { width: 100%; height: 100%; }
.tech-block { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.tech-block h3 { margin: 0 0 14px; }
.tech-block .tech-drawing { background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); padding: clamp(12px, 3vw, 26px); }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.tech-grid.is-single { grid-template-columns: minmax(0, 620px); }
.tech-grid .tech-drawing svg { max-height: 460px; }
.tech-official img { width: 100%; height: auto; display: block; }
.tech-official figcaption { margin-top: 8px; font-size: .82rem; color: var(--muted); }
.tech-models { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.tech-models li { padding-left: 14px; position: relative; }
.tech-models li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--taupe); }
.tech-missing { display: flex; gap: 10px; align-items: flex-start; }
.tech-models li.is-skip { color: var(--muted); }
.tf-skip { display: grid; gap: 3px; font-size: .8rem; color: var(--muted); margin-top: 10px; }
.gallery-caption.burda-look { display: grid; gap: 4px; margin-top: 12px; font-size: .95rem; }
.burda-look a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.burda-look a .icon:last-child { width: 1em; height: 1em; }
.burda-look span { color: var(--muted); font-size: .85rem; }
.burda-visual-big .bv-word { font-size: 2.6rem; }
.burda-visual-big .bv-num { font-size: 4rem; }
.burda-visual-big .bv-brand { font-size: .9rem; }
.burda-info-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.burda-request { margin-top: 20px; max-width: 760px; }
@media (max-width: 760px) { .burda-info-grid { grid-template-columns: 1fr; } }
.burda-info .spec-list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.burda-info .spec-list > div { display: contents; }
.burda-info .spec-list dt { color: var(--muted); font-size: .9rem; }
.burda-info .spec-list dd { margin: 0; font-weight: 600; }

/* Beheer: producten indelen */
.bulk-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;position:sticky;top:0;z-index:5;margin-bottom:10px}
.bulk-bar select{max-width:340px}
.bulk-bar .hint{flex-basis:100%;margin:0}
.admin-table input[type=checkbox]{width:20px;height:20px}

/* Paginanummers (groot genoeg om te tikken) */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 18px 0 40px; }
.pager a, .pager span.on, .pager-gap { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 48px; min-height: 48px; padding: 0 14px; border-radius: var(--radius); font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; }
.pager a { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.pager a:hover { border-color: var(--taupe); color: var(--accent-dark); }
.pager span.on { background: var(--ink); color: #fff; }
.pager-gap { min-width: 24px; padding: 0; color: var(--muted); }
.pager .icon { width: 18px; height: 18px; }
@media (max-width: 560px) { .pager a:not(.pager-step), .pager-gap { display: none; } .pager span.on { min-width: 0; background: transparent; color: var(--muted); font-weight: 500; } .pager span.on::before { content: "Pagina "; } .pager-step { flex: 1; } }

/* ---------- Ontdek onze stoffen ---------- */
.chip { min-height: 40px; }
.disc-head { padding-bottom: 8px; }
.disc-lead { font-size: 1.05rem; }
.find { display: flex; align-items: center; gap: 10px; max-width: 720px; margin: 18px 0 6px; padding: 6px 6px 6px 16px; background: #fff; border: 1px solid var(--sand-2); border-radius: 999px; }
.find:focus-within { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.find > .icon { width: 20px; height: 20px; color: var(--muted); flex: none; }
.find input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.02rem; padding: 10px 0; }
.find input:focus { outline: none; }
.find .btn { border-radius: 999px; min-height: 46px; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; }
.quick ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.quick-label { font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-dark); }
.disc { margin: 30px 0 10px; }
.disc-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 16px; }
.disc-title h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.disc-title p { margin: 0; color: var(--muted); font-size: .94rem; }
.gtiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.gtile { display: grid; grid-template-columns: 132px 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg, 8px); overflow: hidden; }
.gtile-media { display: block; background: var(--sand); min-height: 100%; }
.gtile-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.gtile:hover .gtile-media img { transform: scale(1.04); }
.gtile-body { padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 6px; }
.gtile h3 { margin: 0; font: 500 1.35rem/1.15 var(--serif); }
.gtile h3 a { text-decoration: none; color: var(--ink); }
.gtile h3 a::after { content: " ›"; color: var(--accent); }
.gtile-n { display: block; font: 500 .8rem/1.4 var(--sans); color: var(--muted); margin-top: 2px; }
.gtile p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.gtile-subs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.gtile-subs a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 10px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); font-size: .84rem; text-decoration: none; color: var(--ink-2); }
.gtile-subs a:hover { border-color: var(--taupe); color: var(--ink); }
.gtile-more { font-weight: 600; }
.tile-noimg { display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; color: var(--taupe); background: repeating-linear-gradient(45deg, var(--sand), var(--sand) 6px, var(--sand-2) 6px, var(--sand-2) 7px); }
.mtiles, .stiles, .ctiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mtiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.mtile, .stile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg, 8px); overflow: hidden; height: 100%; }
.mtile img, .stile img, .mtile .tile-noimg, .stile .tile-noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--sand); }
.mtile-name { padding: 10px 12px 0; font-weight: 600; font-size: .95rem; line-height: 1.25; }
.mtile-n { padding: 2px 12px 12px; font-size: .8rem; color: var(--muted); }
.mtile:hover, .stile:hover { border-color: var(--taupe); }
.stiles { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.stile-body { display: flex; flex-direction: column; padding: 12px 14px 14px; gap: 2px; }
.stile-name { font: 500 1.15rem/1.2 var(--serif); }
.stile-n { font-size: .8rem; color: var(--muted); }
.ctiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ctile { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--ink); font-size: .94rem; }
.ctile:hover { border-color: var(--taupe); }
.ctile-dot { width: 34px; height: 34px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.ctile small { margin-left: auto; color: var(--muted); font-size: .78rem; }
.list-title { margin: 36px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); font-size: clamp(1.5rem, 2.4vw, 2rem); scroll-margin-top: 140px; }
.siblings { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; }
.siblings .subcats { margin: 0; }
.siblings-label { font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) {
  .gtile { grid-template-columns: 104px 1fr; }
  .gtile-body { padding: 12px 14px; }
  .gtile p { display: none; }
  .mtiles, .stiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ctiles { grid-template-columns: repeat(2, 1fr); }
  .find .btn { padding: 0 16px; }
}
.notice-success { background: var(--ok-soft); border-color: #bcd6bf; color: var(--ink); }
.rate-table td { vertical-align: middle; }
.rate-table select { margin-top: 6px; }
.rate-row-open td:first-child { box-shadow: inset 3px 0 0 #d9a441; }
.rate-row-uit { opacity: .72; }
.variant-row.rate-row-open { box-shadow: inset 3px 0 0 #d9a441; padding-left: 8px; }
.nowrap { white-space: nowrap; }

/* Configurator: rail en ophanging */
.hw-choice { margin-bottom: 12px; }
.hw-mount { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.hw-mount button { min-height: 44px; }
.hw-title { font: 500 1.2rem/1.2 var(--serif); margin: 18px 0 8px; }
.hw-table th { font: 600 .72rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 6px 8px; }
.hw-table td { vertical-align: top; }
.hw-st { display: inline-block; padding: 3px 8px; border-radius: 999px; font: 600 .72rem/1.2 var(--sans); white-space: nowrap; }
.hw-st-nodig { background: #f3e7d4; color: #6a4325; }
.hw-st-inbegrepen { background: var(--ok-soft); color: var(--ok); }
.hw-st-optioneel { background: #ece9f3; color: #4b4366; }
.price-table td:last-child { white-space: nowrap; }
.cfg .cfg-search input[type=search], .field.cfg-search input[type=search] { padding-left: 44px; border-radius: 999px; }

/* Configurator: kleuren als lijst en vergelijken */
.color-tools { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.color-grid.color-list { display: block; }
.clist td { vertical-align: middle; }
.clist tr.is-on td { background: #fff; }
.clist-sw { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; cursor: pointer; }
.clist-sw img, .clist-sw i { display: block; width: 100%; height: 100%; object-fit: cover; }
.cmp-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; white-space: nowrap; min-height: 40px; cursor: pointer; }
.cd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.compare { margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg, 8px); background: #fff; }
.compare-title { margin: 0 0 10px; }
.compare-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cmp-card { position: relative; display: flex; flex-direction: column; gap: 6px; }
.cmp-sw { aspect-ratio: 1; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.cmp-sw img, .cmp-sw i { display: block; width: 100%; height: 100%; object-fit: cover; }
.cmp-x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.cmp-name { margin: 0; font-size: .92rem; }
.cmp-dl { margin: 0; font-size: .8rem; }
.cmp-dl div { display: flex; justify-content: space-between; gap: 6px; border-top: 1px solid var(--line); padding: 3px 0; }
.cmp-dl dt { color: var(--muted); }
.cmp-dl dd { margin: 0; text-align: right; }

/* ---------- Kaarten "Waar ben je naar op zoek?" ---------- */
.ccards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ccard { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease); }
.ccard:hover { box-shadow: 0 14px 30px rgba(47,44,41,.12); transform: translateY(-2px); border-color: var(--sand-2); }
.ccard:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.ccard-media { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.ccard-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.ccard:hover .ccard-media img { transform: scale(1.05); }
.ccard-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.ccard-name { font: 500 1.45rem/1.15 var(--serif); }
.ccard-text { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.ccard-count { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font: 600 .78rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); }
.ccard-count .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.ccard:hover .ccard-count .icon { transform: translateX(3px); }
@media (max-width: 1100px) { .ccards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ccards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .ccard-body { padding: 12px 12px 14px; } .ccard-name { font-size: 1.2rem; } .ccard-text { font-size: .82rem; } }
@media (max-width: 380px) { .ccard-text { display: none; } }

/* Alle soorten op een rij */
.dir { columns: 4 230px; column-gap: 28px; }
.dir-col { break-inside: avoid; margin-bottom: 22px; }
.dir-col h3 { font: 600 .82rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; }
.dir-col h3 a { text-decoration: none; color: var(--ink); }
.dir-col h3 a:hover { color: var(--accent-dark); }
.dir-col ul { list-style: none; margin: 0; padding: 0; }
.dir-col li a { display: flex; justify-content: space-between; gap: 10px; min-height: 40px; align-items: center; padding: 6px 0; text-decoration: none; color: var(--ink-2); font-size: .95rem; border-bottom: 1px dashed transparent; }
.dir-col li a:hover { color: var(--accent-dark); }
.dir-n { color: var(--muted); font: 500 .78rem/1 var(--sans); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.disc-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: end; }
.disc-intro .find { margin: 0 0 6px; }
@media (max-width: 900px) { .disc-intro { grid-template-columns: 1fr; gap: 10px; } }
.feat-sec { margin: 34px 0; }

/* Menu: groepsnaam = link naar de volledige pagina, pijl = soorten tonen */
.np-grow { display: flex; align-items: stretch; border-left: 3px solid transparent; border-radius: 0 var(--radius) var(--radius) 0; }
.np-grow.is-active { background: #fff; border-left-color: var(--accent); }
.np-glink { flex: 1; display: flex; align-items: center; min-height: 48px; padding: 10px 6px 10px 14px; text-decoration: none; color: var(--ink-2); font: 500 .98rem/1.25 var(--sans); }
a.np-glink:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.np-grow.is-active .np-glink { color: var(--ink); font-weight: 600; }
.np-grow .np-group { width: auto; flex: none; min-width: 64px; border-left: 0; padding: 0 12px; justify-content: flex-end; background: transparent; border-radius: 0; }
.np-grow .np-group.is-active { background: transparent; }
.np-grow .np-group .np-n { margin: 0 6px 0 0; }
.np-pane-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-size: .9rem; color: var(--accent-dark); text-decoration: none; }
.np-pane-all .icon { width: 16px; height: 16px; }
@media (max-width: 1000px) {
  .np-grow { border-left: 0; border-radius: 0; }
  .np-grow.is-active { background: transparent; }
  .np-glink { min-height: 56px; padding: 12px 6px; font-size: 1rem; }
  .np-grow .np-group { min-width: 72px; min-height: 56px; border-left: 1px solid var(--line); justify-content: center; }
  .np-pane-all { min-height: 44px; }
}
/* Categoriepagina: kop met drie stofstalen */
.cat-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 34%); gap: 30px; align-items: end; }
.cat-visual { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--sand); }
.cat-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-count { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
.cat-count a { color: var(--accent-dark); }
.cat-tiles-head { font: 600 .82rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--taupe-dark); margin: 22px 0 10px; }
.cat-tiles .stiles { margin-bottom: 8px; }
@media (max-width: 760px) { .cat-head { grid-template-columns: 1fr; gap: 14px; } .cat-visual { aspect-ratio: 3 / 1; order: -1; } }
.cat-head > :not(.cat-head-text):not(.cat-visual) { grid-column: 1 / -1; }
.stile-text { justify-content: flex-end; min-height: 120px; background: linear-gradient(160deg, #fff, var(--ivory)); } .stile-text .stile-body { padding: 18px; } .stile-n .icon { width: 14px; height: 14px; vertical-align: -2px; }

/* Sociale media (eigen neutrale iconen, geen merklogo's) */
.social { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; font-weight: 600; font-size: .92rem; }
.social a:hover { border-color: var(--taupe); color: var(--accent-dark); }
.social .icon { width: 20px; height: 20px; }
.social-footer a { background: transparent; color: var(--ivory); border-color: rgba(255,255,255,.3); }
.social-footer a:hover { color: #fff; border-color: #fff; }
.follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.follow h2 { margin: 4px 0 6px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.follow p { margin: 0; color: var(--muted); max-width: 60ch; }
.social-big a { min-height: 52px; padding: 0 22px 0 16px; font-size: 1rem; }
@media (max-width: 640px) { .mtiles, .stiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stile-name, .mtile-name, .ccard-name { overflow-wrap: anywhere; hyphens: auto; }
/* Beheer: eigen BURDA-illustraties */
.img-progress { height: 10px; background: var(--sand, #eee6da); border-radius: 99px; overflow: hidden; margin: 16px 0 12px; }
.img-progress span { display: block; height: 100%; background: var(--accent, #8a5a3b); border-radius: 99px; transition: width .4s; }
.admin-table tr.row-on td { background: var(--sand, #f4efe7); }
.img-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.img-list > li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-lg, 12px); background: #fff; }
.img-thumb { width: 96px; height: 96px; border-radius: 8px; overflow: hidden; background: var(--sand, #f4efe7); display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.img-thumb img { width: 100%; height: 100%; object-fit: cover; }
.img-info p { margin: 0 0 4px; overflow-wrap: anywhere; }
.img-prompt { background: var(--sand, #f4efe7); padding: 8px 10px; border-radius: 8px; overflow-wrap: anywhere; }
.img-actions { display: grid; gap: 6px; justify-items: end; }
@media (max-width: 700px) { .img-list > li { grid-template-columns: 64px minmax(0, 1fr); } .img-thumb { width: 64px; height: 64px; } .img-actions { grid-column: 1 / -1; justify-items: start; display: flex; flex-wrap: wrap; } }
.card-media .badge-ai { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .72rem; padding: 3px 8px; border-radius: 99px; }
.img-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.img-tiles .stat strong { font-size: 1.6rem; }
@media (max-width: 700px) { .img-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ========== Kussens op maat ========== */
.chip.is-on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
button.chip { cursor: pointer; font: inherit; font-size: .88rem; }
.ks-head { padding-bottom: 8px; }
.ks-intro { margin-top: 8px; }
.ks-intro .lead { max-width: 68ch; }
.ks-intro h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 4px 0 10px; }

.ks { margin-top: 28px; scroll-margin-top: 90px; }
.ks-progress { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 0; margin: 0 0 22px; counter-reset: none; }
.ks-progress li { position: relative; }
.ks-progress li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--sand); }
.ks-progress li.is-done::after { background: var(--taupe); }
.ks-progress li.is-current::after { background: var(--accent); }
.ks-progress button { width: 100%; display: flex; gap: 8px; align-items: center; padding: 8px 4px 12px; border: 0; background: none; cursor: pointer; font: inherit; color: var(--muted); text-align: left; }
.ks-progress button:disabled { cursor: default; opacity: .55; }
.ks-progress li.is-current button, .ks-progress li.is-done button { color: var(--ink); }
.ks-num { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--sand-2); font-size: .85rem; font-weight: 700; background: #fff; }
.is-current > button .ks-num, .ks-step.is-current .ks-num { background: var(--accent); border-color: var(--accent); color: #fff; }
.is-done > button .ks-num, .ks-step.is-done .ks-num { background: var(--ink); border-color: var(--ink); color: #fff; }
.ks-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(20px, 3vw, 40px); align-items: start; }
.ks-step { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; margin-bottom: 12px; scroll-margin-top: 96px; transition: box-shadow .25s var(--ease), border-color .25s; }
.ks-step.is-current { border-color: var(--sand-2); box-shadow: var(--shadow); }
.ks-step.is-todo { opacity: .6; }
.ks-step-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.ks-step-head h2 { font-size: 1.5rem; margin: 0; }
.ks-step-head > div { flex: 1; min-width: 0; }
.ks-chosen { margin: 2px 0 0; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.ks-chosen:empty { display: none; }
.ks-step-head .linkbtn { display: none; }
.ks-step.is-done:not(.is-current) .ks-step-head .linkbtn { display: inline; }
.ks-step-body { display: none; padding: 0 20px 20px; }
.ks-step.is-current .ks-step-body { display: block; animation: ks-in .35s var(--ease); }
@keyframes ks-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ks-step.is-current .ks-step-body { animation: none; } }
.ks-filter { display: grid; gap: 12px; margin-bottom: 8px; }
.ks-filter .chips, .ks .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ks-search { position: relative; display: block; }
.ks-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.ks .ks-search input[type="search"] { width: 100%; padding: 12px 14px 12px 42px; border: 1px solid var(--sand-2); border-radius: 999px; font: inherit; background: #fff; }
.ks-fabrics { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ks-fabrics-sm { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.ks-fab { width: 100%; display: grid; gap: 4px; padding: 0 0 10px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; cursor: pointer; text-align: left; font: inherit; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.ks-fab:hover { border-color: var(--taupe); transform: translateY(-2px); }
.ks-fab[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.ks-fab-img { aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.ks-fab-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-fab-name { padding: 6px 10px 0; font-weight: 600; font-size: .9rem; line-height: 1.3; overflow-wrap: anywhere; }
.ks-fab-meta { padding: 0 10px; color: var(--muted); font-size: .8rem; }
.ks-more { text-align: center; margin: 16px 0 0; }
.ks-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.ks-cards-3 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.ks-shape { display: block; width: 40px; height: 40px; margin-bottom: 6px; background: var(--sand); border: 1.5px solid var(--taupe); }
.ks-shape-vierkant { border-radius: 8px; }
.ks-shape-rechthoek { width: 56px; height: 34px; border-radius: 8px; }
.ks-shape-rond { border-radius: 50%; }
.ks-dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.ks-dims input[type="number"] { width: 100%; }
.ks-qty input { width: 64px; text-align: center; border: 0; font: inherit; }
.ks-back { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ks-back h3 { font-size: 1.2rem; margin: 0 0 4px; }
.ks .seg { display: inline-flex; border: 1px solid var(--sand-2); border-radius: 999px; overflow: hidden; }
.ks .seg button { border: 0; background: #fff; padding: 9px 16px; cursor: pointer; font: inherit; }
.ks .seg button[aria-checked="true"] { background: var(--ink); color: var(--ivory); }
.ks-side { position: relative; }
.ks-sticky { position: sticky; top: calc(var(--hdr, 126px) + 14px); display: grid; gap: 10px; }
.ks-visual { aspect-ratio: 420 / 380; border-radius: var(--radius-lg); background: radial-gradient(120% 90% at 50% 20%, #fff 0%, var(--paper) 70%, var(--sand) 100%); border: 1px solid var(--line); color: var(--ink); overflow: hidden; display: grid; place-items: center; }
.ks-visual svg { width: 100%; height: 100%; display: block; }
.ks-visual-empty { padding: 24px; text-align: center; color: var(--muted); }
/* Desktop: de weergave krimpt mee met lage schermen, zodat weergave, keuze en prijs samen in beeld blijven */
@media (min-width: 981px) { .ks-side .ks-visual { aspect-ratio: auto; height: clamp(210px, calc(100vh - var(--hdr, 126px) - 470px), 362px); transition: height .35s var(--ease); } }
@media (min-width: 981px) and (prefers-reduced-motion: reduce) { .ks-side .ks-visual { transition: none; } }
.ks-visual-note { margin: 0; }
.ks-price { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 14px 16px; }
.ks-lines { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px; font-size: .92rem; }
.ks-lines li { display: flex; justify-content: space-between; gap: 12px; }
.ks-lines li span { min-width: 0; overflow-wrap: anywhere; }
.ks-lines li strong { white-space: nowrap; font-weight: 600; }
.ks-lines small { color: var(--muted); }
.ks-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 10px; margin: 6px 0 0; font-size: 1.05rem; }
.ks-total strong { font: 600 1.6rem/1 var(--serif); }
.ks-per { margin: 2px 0 0; text-align: right; }
.ks-sum { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: .95rem; }
.ks-sum th, .ks-sum td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.ks-sum th[scope="row"] { width: 34%; color: var(--muted); font-weight: 500; }
.ks-sum .num { text-align: right; white-space: nowrap; }
.ks-sum-price thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ks-grand th, .ks-grand td { font-weight: 700; font-size: 1.05rem; border-bottom: 0; }
.ks-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 6px 0 12px; }
.ks-actions form { margin: 0; }
.ks-quote summary { list-style: none; display: inline-flex; cursor: pointer; }
.ks-quote summary::-webkit-details-marker { display: none; }
.ks-quote-form { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ivory); }
.ks-how { padding-top: 40px; }
.ks-how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ks-how h3 { font-size: 1.3rem; margin: 0 0 6px; }
.ks-how p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 980px) {
  /* Mobiel en tablet: de weergave blijft bovenaan staan terwijl je kiest; je keuze en de prijs volgen onder de stappen */
  .ks-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ks-side, .ks-sticky { display: contents; position: static; }
  .ks-side .ks-visual { height: clamp(190px, 30vh, 260px); aspect-ratio: auto; }
  /* de weergave zit in de 3D-houder: die houder blijft bovenaan staan (anders scrolt de weergave weg tijdens het kiezen) */
  .ks-side .ks-visual-host { order: 1; position: sticky; top: var(--hdr, 107px); z-index: 6; box-shadow: 0 10px 22px -18px rgba(47, 44, 41, .5); }
  .ks-visual-note { order: 2; margin-top: -4px; }
  .ks-steps { order: 3; }
  .ks-choice { order: 4; }
  .ks-price { order: 5; }
  .ks-how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ks-progress .ks-plabel { display: none; }
  .ks-progress button { justify-content: center; }
  .ks-dims { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-fabrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-step-head { padding: 14px; } .ks-step-body { padding: 0 14px 16px; }
  .ks-how-grid { grid-template-columns: minmax(0, 1fr); }
}
.prod-data { white-space: pre-wrap; font: .82rem/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--ivory); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; margin: 6px 0 0; }
.cart-custom { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 2px; }

/* ========== Homepage: hero met echte winkelfoto, afdelingen, bezoek + kaart ========== */
.hero2 { padding: clamp(28px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); background: linear-gradient(180deg, var(--paper), var(--ivory)); }
.hero2-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero2-text h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.02; margin: 6px 0 16px; letter-spacing: -.01em; }
.hero2-text .lead { max-width: 52ch; font-size: 1.12rem; color: var(--ink-2); }
.hero2-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 18px; }
.hero2-visit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.hero2-visit svg { width: 18px; height: 18px; color: var(--accent); }
.hero2-photo { margin: 0; position: relative; }
.hero2-photo img { width: 100%; max-width: 560px; margin-left: auto; display: block; aspect-ratio: 598 / 779; object-fit: cover; border-radius: 14px; box-shadow: 0 24px 60px rgba(47, 44, 41, .18); }
.hero2-photo figcaption { position: absolute; right: 14px; bottom: 14px; background: rgba(255, 255, 255, .9); padding: 5px 12px; border-radius: 999px; font-size: .8rem; color: var(--ink-2); }
.hero2-photo figcaption:empty { display: none; }
.open-status { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sand-2); }
.open-status.is-open { color: var(--ok); } .open-status.is-open::before { background: var(--ok); }
.open-status.is-closed { color: var(--err); } .open-status.is-closed::before { background: var(--err); }
.open-status:empty { display: none; }
.open-status-big { font-size: 1rem; font-weight: 600; margin: 4px 0 10px; }
.depts-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.dept { grid-column: span 3; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.dept:nth-child(1), .dept:nth-child(2) { grid-column: span 6; }
.dept:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.dept-media { position: relative; aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.dept-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dept:hover .dept-media img { transform: scale(1.04); }
.dept-media-pillow { background: radial-gradient(120% 90% at 50% 15%, #fff, var(--paper) 70%, var(--sand)); }
.dept-pillow { position: absolute; width: 44%; aspect-ratio: 1; left: 30%; top: 16%; border-radius: 22%; background: var(--img) center / 150%; box-shadow: 0 14px 30px rgba(47, 44, 41, .22), inset 0 0 30px rgba(0, 0, 0, .25); transform: rotate(-6deg); }
.dept-pillow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(70% 70% at 35% 30%, rgba(255, 255, 255, .38), transparent 60%), radial-gradient(75% 75% at 50% 50%, transparent 55%, rgba(0, 0, 0, .3)); }
.dept-pillow-2 { left: 14%; top: 26%; width: 36%; transform: rotate(8deg); filter: saturate(.85) brightness(.95); z-index: 0; }
.dept-pillow:not(.dept-pillow-2) { z-index: 1; }
.dept-body { padding: 18px 20px 20px; display: grid; gap: 6px; flex: 1; align-content: start; }
.dept-body h3 { font-size: 1.55rem; margin: 0; }
.dept-body p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.dept-body .link-arrow { margin-top: 6px; }
.dept .badge-ai { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .92); font-size: .72rem; padding: 3px 8px; border-radius: 99px; }
.visit-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.visit-photo { margin: 0; }
.visit-photo img { width: 100%; aspect-ratio: 682 / 779; object-fit: cover; border-radius: 12px; display: block; }
.visit-photo figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.visit-body h2 { margin: 4px 0 4px; }
.visit-list { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 6px; }
.visit-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; }
.visit-list svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 3px; }
.map { position: relative; border-radius: 12px; overflow: hidden; background: var(--sand) linear-gradient(135deg, var(--paper), var(--sand)); min-height: 360px; border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-loaded .map-consent { display: none; }
.map-consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 4px; padding: 24px; }
.map-consent > svg { width: 34px; height: 34px; color: var(--accent); }
.map-consent p { margin: 0 0 4px; max-width: 34ch; }
.visit-map { min-height: 520px; height: 100%; }
.map-card { min-height: 280px; margin-top: 16px; }
.hours .is-closed td { color: var(--muted); }
@media (max-width: 1100px) { .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .visit-map { grid-column: 1 / -1; min-height: 380px; } }
@media (max-width: 900px) { .depts-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .dept, .dept:nth-child(1), .dept:nth-child(2) { grid-column: span 1; } }
@media (max-width: 760px) {
  .hero2-grid { grid-template-columns: minmax(0, 1fr); }
  .hero2-photo { order: -1; } .hero2-photo img { max-width: none; aspect-ratio: 4 / 3; }
  .hero2-actions .btn { flex: 1 1 calc(50% - 10px); text-align: center; justify-content: center; }
  .visit-grid { grid-template-columns: minmax(0, 1fr); } .visit-photo img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) { .depts-grid { grid-template-columns: minmax(0, 1fr); } }
.needle-guide { padding-top: 32px; }
.ng-table th[scope="row"] { white-space: nowrap; font-weight: 600; }
.ng-sizes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.ng-sizes li { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px 14px; background: #fff; display: grid; gap: 4px; }
.cfg-confirm { margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: var(--ok-soft); color: var(--ok); font-size: .92rem; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s var(--ease); }
.cfg-confirm.is-on { opacity: 1; transform: none; }
@keyframes cfg-pulse { 0% { box-shadow: 0 0 0 0 rgba(138, 106, 78, .45); } 100% { box-shadow: 0 0 0 12px rgba(138, 106, 78, 0); } }
.btn.is-pulse { animation: cfg-pulse 1.2s ease-out 2; }
@media (prefers-reduced-motion: reduce) { .btn.is-pulse { animation: none; } .cfg-confirm { transition: none; } }
.dept-media-contain { background: #fff; }
.dept-media-contain img { object-fit: contain; padding: 10px; }
.visit .years { color: var(--taupe-dark); font-style: italic; opacity: 1; margin: 0 0 6px; }
.ks [hidden] { display: none !important; }
/* Startpagina: gevelfoto met ernaast openingsuren, route en kaart */
.hero-visit-grid { display: grid; grid-template-columns: minmax(0, 677fr) minmax(0, 598fr); gap: clamp(6px, .8vw, 10px); max-width: 1290px; margin: 0 auto; padding: 0 clamp(0px, 2vw, 24px); align-items: stretch; }
.hero-visit-photo { margin: 0; position: relative; min-height: 560px; }
.hero-visit-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 18% 50%; display: block; border-radius: clamp(0px, .8vw, 10px); }
.visit-panel { background: #fff; border: 1px solid var(--line); border-radius: clamp(0px, .8vw, 10px); padding: clamp(20px, 2.2vw, 30px) clamp(20px, 2.4vw, 34px); display: flex; flex-direction: column; min-width: 0; }
.visit-panel .kicker { margin-bottom: .35rem; }
.visit-panel h2 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin: 0 0 2px; line-height: 1.1; }
.visit-panel .years { color: var(--taupe-dark); font-style: italic; margin: 0 0 4px; }
.visit-list-compact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 16px; margin: 10px 0 14px; }
.visit-list-compact li { font-size: .88rem; line-height: 1.35; }
.visit-list-compact svg { width: 16px; height: 16px; margin-top: 2px; }
.visit-panel-info { gap: 6px; margin: 0 0 6px; font-size: .95rem; }
.visit-panel .open-status-big { margin: 2px 0 6px; }
.visit-panel .hours { max-width: none; font-size: .93rem; margin-bottom: 4px; }
.visit-panel .hours th, .visit-panel .hours td { padding-top: 4px; padding-bottom: 4px; }
.visit-panel .hours + .small { margin: 4px 0 0; }
.visit-panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.visit-panel-map { flex: 1 1 auto; min-height: 170px; margin-top: auto; }
.visit-panel-map .map-consent { padding: 14px; }
.hero-visit-actions { flex-wrap: wrap; }
.hero-visit .hero-shop-text { max-width: 940px; }
@media (max-width: 960px) {
  .hero-visit-grid { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 0; }
  .hero-visit-photo { min-height: 0; }
  .hero-visit-photo img { position: static; aspect-ratio: 4 / 3; height: auto; border-radius: 0; }
  .visit-panel { border-radius: 0; border-inline: 0; }
  .visit-panel-map { min-height: 260px; }
}
@media (max-width: 560px) { .visit-list-compact { grid-template-columns: minmax(0, 1fr); } .hero-visit-actions .btn, .visit-panel-actions .btn { flex: 1 1 100%; justify-content: center; text-align: center; } }

/* Afdelingen: eigen omslagfoto's */
.dept-media img[style] { object-fit: cover; }
.dept-media-banner img { object-fit: contain !important; }
.cat-cover { display: block; margin: 0; }
.cat-cover img { object-fit: cover; }
.cat-cover-contain img { object-fit: contain; }
/* Stoffen: keuze tussen Interieurstoffen en Modestoffen */
.chooser { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.chooser-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.chooser-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.chooser-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.chooser-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.chooser-card:hover .chooser-media img { transform: scale(1.03); }
.chooser-body { padding: 18px 22px 22px; display: grid; gap: 6px; }
.chooser-body strong { font: 500 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--serif); }
.chooser-body > span:not(.link-arrow) { color: var(--ink-2); }
@media (max-width: 700px) { .chooser { grid-template-columns: minmax(0, 1fr); } }
/* Afdelingspagina: soorten als filterknoppen, beeld met eigen AI-beelden (BURDA) */
.cat-collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; position: relative; margin: 0; background: var(--paper); }
.cat-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-collage .badge-ai, .dept-collage .badge-ai { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .92); font-size: .72rem; padding: 3px 8px; border-radius: 99px; }
.dept-head .soorten .subcats { margin-top: 6px; }
.dept-collage { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; background: var(--paper); }
.dept-collage img { width: 100%; height: 100%; object-fit: cover; }
.dept-burda-mark { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; background: linear-gradient(135deg, var(--paper), var(--sand)); }
.dept-burda-mark span { font: 600 2.4rem/1 var(--serif); letter-spacing: .18em; color: var(--ink); }
.dept-burda-mark small { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-dark); margin-top: 6px; }
/* Gordijnconfigurator: één stap tegelijk met Vorige en Verder */
.wz { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(60, 44, 30, .06); }
.wz-head { padding: 20px 22px 6px; }
.wz-count { margin: 0 0 4px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-dark); font-weight: 600; }
.wz-title { margin: 0 0 6px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.wz-help { margin: 0; color: var(--ink-2); font-size: .95rem; }
.wz-page { padding: 6px 22px 8px; }
.wz .cfg-step { background: none; border: 0; border-radius: 0; margin: 0; box-shadow: none; }
.wz .cfg-step + .cfg-step { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 6px; }
.wz .cfg-body { padding: 8px 0 6px; }
.cfg-sub { font: 500 1.35rem/1.2 var(--serif); margin: 12px 0 2px; }
.wz-nav { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 22px; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; backdrop-filter: blur(6px); }
.wz-nav .wz-next { margin-left: auto; min-height: 48px; padding-inline: 22px; font-size: 1rem; }
/* nog niet klaar: rustiger knop, maar de tekst blijft goed leesbaar (contrast) */
.wz-nav .wz-next:not(.is-ready) { filter: saturate(.75); }
.wz-msg { margin: 0; color: var(--err); font-size: .9rem; flex-basis: 100%; order: 5; }
.wz-msg:empty { display: none; }
.wz-mini { display: none; align-items: center; gap: 8px; min-width: 0; font-size: .82rem; color: var(--ink-2); }
.wz-mini i { width: 22px; height: 22px; border-radius: 50%; flex: none; border: 1px solid rgba(0, 0, 0, .12); }
.wz-mini span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wz-mini strong { margin-left: 4px; white-space: nowrap; }
.cfg-progress li { padding: 0; }
.cfg-progress li button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 7px; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; border-radius: 999px; }
.cfg-progress li button:disabled { cursor: default; opacity: .55; }
[data-mobilebar] { display: none !important; }
@media (max-width: 1000px) {
  .wz { border-radius: 12px; }
  .wz-head, .wz-page { padding-inline: 16px; }
  .wz-nav { padding: 10px 14px; gap: 8px; border-radius: 0; margin: 0 -1px -1px; box-shadow: 0 -8px 20px rgba(0, 0, 0, .06); }
  .wz-mini { display: flex; flex: 1 1 0; }
  .wz-nav .btn { min-height: 46px; }
  .wz-nav .wz-prev { padding-inline: 12px; }
}
@media (max-width: 420px) { .wz-mini span { display: none; } .wz-prev-label { display: none; } .wz-nav .wz-prev { min-width: 46px; justify-content: center; } }
.wz-recap dl { margin: 6px 0 16px; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.wz-recap dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.wz-recap dl > div:first-child { border-top: 0; }
.wz-recap dt { color: var(--muted); font-size: .88rem; }
.wz-recap dd { margin: 0; display: flex; align-items: center; gap: 8px; }
.wz-recap dd i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); flex: none; }
@media (max-width: 560px) { .wz-recap dl > div { grid-template-columns: minmax(0, 1fr) auto; } .wz-recap dt { grid-column: 1 / -1; } }
.wz-nav [hidden], .wz [hidden] { display: none !important; }
/* Chatknop boven de stappenbalk van de configuratoren (gsm) */
@media (max-width: 1000px) { body:has([data-wz-nav]) .chatw-btn, body:has(.ks-nav-bar) .chatw-btn { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
/* Kussensimulator: één stap tegelijk (zelfde opbouw als de gordijnconfigurator) */
.ks-wz .ks-step { border: 0; border-radius: 0; background: none; box-shadow: none; margin: 0; padding: 6px 22px 12px; scroll-margin-top: 96px; }
.ks-models { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.ks-model { display: grid; justify-items: start; gap: 6px; padding: 18px; min-height: 170px; }
.ks-model .ks-shape { width: 74px; height: 74px; margin-bottom: 8px; border-width: 2px; }
.ks-model .ks-shape-rechthoek { width: 104px; height: 64px; }
.ks-model strong { font: 500 1.35rem/1.15 var(--serif); }
.ks-model.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.ks-model.is-on .ks-shape { background: var(--taupe); border-color: var(--ink); }
.ks-shape-svg { display: block; margin-bottom: 8px; overflow: visible; }
.ks-shape-svg path, .ks-shape-svg circle { fill: var(--sand); stroke: var(--taupe); stroke-width: 1.6; transition: fill .2s var(--ease), stroke .2s var(--ease); }
.ks-model:hover .ks-shape-svg path, .ks-model:hover .ks-shape-svg circle { stroke: var(--ink); }
.ks-model.is-on .ks-shape-svg path, .ks-model.is-on .ks-shape-svg circle { fill: var(--taupe); stroke: var(--ink); }
.ks-dots { display: flex; flex-wrap: wrap; gap: 4px; padding: 2px 10px 0; align-items: center; }
.ks-dots i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); }
.ks-dots b { font-size: .72rem; color: var(--muted); font-weight: 600; }
.ks-colors { margin-top: 18px; padding-top: 6px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.ks-swatches { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.ks-swatch { width: 100%; display: grid; gap: 3px; padding: 0 0 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font: inherit; text-align: center; overflow: hidden; transition: border-color .2s, transform .2s var(--ease); }
.ks-swatch:hover { border-color: var(--taupe); transform: translateY(-2px); }
.ks-swatch[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.ks-swatch-img { aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.ks-swatch-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-swatch-name { font-size: .8rem; font-weight: 600; padding: 0 6px; line-height: 1.25; }
.ks-swatch-price { font-size: .72rem; color: var(--muted); }
.ks-choice { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.ks-choice > div { padding: 8px 12px; border-top: 1px solid var(--line); min-width: 0; }
.ks-choice > div:nth-child(-n+2) { border-top: 0; }
.ks-choice > div:nth-child(odd) { border-right: 1px solid var(--line); }
.ks-choice dt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ks-choice dd { margin: 2px 0 0; font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 6px; overflow-wrap: anywhere; }
.ks-choice dd i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); flex: none; }
.ks-wz .ks-quote-form .admin-form-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (max-width: 720px) {
  .ks-wz .ks-step { padding: 4px 14px 10px; }
  .ks-swatches { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
  .ks-model { min-height: 0; }
}
.ks-progress { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ks-side { align-self: stretch; }
@media (max-width: 980px) { .ks-side { align-self: auto; } }
#prijzen td .toolbar { flex-wrap: nowrap; gap: 6px; margin: 0; }
#prijzen td .toolbar input { min-width: 0; }
.burda-rule .toggle-line input[inputmode] { display: inline-block; padding: 4px 8px; margin: 0 4px; }
.btn-danger { background: #9c3324; border-color: #9c3324; color: #fff; }
.btn-danger:hover { background: #7f281b; color: #fff; }

/* Afrekenen: leveringswijze die niet kan (te zwaar, te lang, ander land) */
.radio-card.is-unavailable { cursor: not-allowed; background: var(--sand-1, #f7f3ee); border-style: dashed; }
.radio-card.is-unavailable strong { color: var(--muted); }
.radio-card .err-text { font-size: .82rem; }

/* Tabellen in teksten (bv. verzendtarieven, herroepingsrecht per product) */
.prose .table-wrap { overflow-x: auto; margin: 1em 0 1.4em; }
.prose-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose-table th, .prose-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--sand-2); vertical-align: top; }
.prose-table thead th { font-weight: 600; background: var(--sand-1, #f7f3ee); }

/* Herroepingsfunctie */
.w-summary { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 16px; }
.w-summary dt { color: var(--muted); }
.w-summary dd { margin: 0; font-weight: 600; }

/* Beheer: verzendwijzen */
.ship-method { border: 1px solid #e3d8c8; border-radius: 10px; padding: 12px 18px 6px; margin: 14px 0; background: #fffdf9; }
.ship-method legend { font-weight: 700; padding: 0 8px; font-size: 1.02rem; }
.ship-rates td { padding: 6px 10px 6px 0; }
.ship-rates input { max-width: 200px; }
.ship-new { margin: 10px 0 4px; }
.ship-new > summary { cursor: pointer; font-weight: 600; color: var(--accent-dark, #6e4a2c); padding: 6px 0; }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2px 18px; }

/* Gordijnweergave: vloeiende overgangen */
.sdc-stage { position: relative; overflow: hidden; }
.sdc-frame { position: absolute; inset: 0; transition: opacity .38s ease; }
.sdc-frame.is-in { opacity: 0; }
.sdc-frame svg { display: block; width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) { .sdc-frame { transition: none; } }

/* Kussenweergave: vloeiende overgangen */
.ksp-stage { position: relative; overflow: hidden; }
.ksp-frame { position: absolute; inset: 0; transition: opacity .35s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
.ksp-frame.is-in { opacity: 0; }
.ksp-frame.is-enter { opacity: 0; transform: translateY(-12px) scale(.98); }
.ksp-frame svg { display: block; width: 100%; height: 100%; }
.ksp-frame.is-plump { animation: ksp-plump .6s cubic-bezier(.3, 1.3, .5, 1); transform-origin: 50% 72%; }
@keyframes ksp-plump { 0% { transform: scale(1); } 35% { transform: scale(.97, .95); } 70% { transform: scale(1.012, 1.02); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ksp-frame { transition: none; } .ksp-frame.is-plump { animation: none; } }

/* Alleen voor schermlezers (toegankelijke kopstructuur zonder zichtbare titel) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Leesbaarheid en tikdoelen (WCAG 2.2 AA: tekst niet kleiner dan 12px, tikdoelen minstens 24px) */
.colorway li small { font-size: .75rem; }
.colorway a span { font-size: .72rem; }
.footer-head { font-size: .76rem; }
.footer a, .footer-legal a { display: inline-flex; align-items: center; min-height: 24px; }
.logo { display: inline-block; padding: 4px 0; }
.linkbtn { min-height: 24px; padding: 2px 0; }
.bv-brand, .bv-issue { font-size: .76rem; }
@media (max-width: 520px) { .cta-curtain-head { font-size: .72rem; } }

/* BURDA: eigen catalogusweergave (logo, nummer, moeilijkheid, maten, tekeningen) */
.gallery-main.burda-card { background: transparent; border: 0; padding: 0; }
.burda-card .bcard { max-width: 640px; margin-inline: auto; }
.bcard { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(14px, 3.5vw, 26px); color: var(--ink); }
.bcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bcard-logo { display: inline-flex; flex-direction: column; line-height: 1; padding-bottom: 7px; background: linear-gradient(90deg, rgba(138,106,78,.5), rgba(138,106,78,0)) no-repeat 0 100% / 74% 1.5px; }
.bcard-logo-1 { font: 600 clamp(1.35rem, 3.6vw, 1.75rem)/1 var(--serif); }
.bcard-logo-2 { font: 500 .62rem/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--taupe-dark); margin-top: 4px; }
.bcard-no { flex: none; width: clamp(66px, 15vw, 88px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-content: center; text-align: center; line-height: 1; }
.bcard-no small { font: 700 .6rem/1 var(--sans); letter-spacing: .2em; }
.bcard-no b { font: 600 clamp(1.3rem, 3.8vw, 1.85rem)/1.05 var(--serif); margin-top: 3px; }
.bcard-title { font: 500 clamp(1.2rem, 3.2vw, 1.5rem)/1.2 var(--serif); margin: 10px 0 12px; }
.bcard-facts { display: grid; grid-template-columns: auto 1.5fr auto; gap: 0; margin: 0 0 16px; border-block: 1px solid var(--line); }
.bcard-facts > div { padding: 9px 14px 10px; border-left: 1px solid var(--line); min-width: 0; }
.bcard-facts > div:first-child { border-left: 0; padding-left: 0; }
.bcard-facts dt { font: 700 .66rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.bcard-facts dd { margin: 0; font-size: .92rem; color: var(--ink-2); white-space: normal; overflow-wrap: break-word; }
.bcard-dots { display: inline-flex; gap: 4px; vertical-align: -1px; margin-right: 4px; }
.bcard-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.4px solid var(--line); }
.bcard-dots i.on { background: var(--ink); border-color: var(--ink); }
.bcard-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: .78rem; color: var(--muted); }
@media (max-width: 420px) { .bcard-facts { grid-template-columns: 1fr 1fr; } .bcard-facts > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .bcard-facts dd { white-space: normal; } }

/* Driedelige weergave per model: gedragen · het kledingstuk · technische tekening */
.bcard-r { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bcard-tabbar { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.bcard-tabbar label { cursor: pointer; padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; color: var(--ink-2); min-height: 32px; display: inline-flex; align-items: center; background: #fff; }
.bcard > .bcard-r:nth-of-type(1):checked ~ .bcard-tabbar label:nth-child(1),
.bcard > .bcard-r:nth-of-type(2):checked ~ .bcard-tabbar label:nth-child(2),
.bcard > .bcard-r:nth-of-type(3):checked ~ .bcard-tabbar label:nth-child(3),
.bcard > .bcard-r:nth-of-type(4):checked ~ .bcard-tabbar label:nth-child(4),
.bcard > .bcard-r:nth-of-type(5):checked ~ .bcard-tabbar label:nth-child(5),
.bcard > .bcard-r:nth-of-type(6):checked ~ .bcard-tabbar label:nth-child(6) { background: var(--ink); border-color: var(--ink); color: #fff; }
.bcard > .bcard-r:nth-of-type(1):focus-visible ~ .bcard-tabbar label:nth-child(1),
.bcard > .bcard-r:nth-of-type(2):focus-visible ~ .bcard-tabbar label:nth-child(2),
.bcard > .bcard-r:nth-of-type(3):focus-visible ~ .bcard-tabbar label:nth-child(3),
.bcard > .bcard-r:nth-of-type(4):focus-visible ~ .bcard-tabbar label:nth-child(4),
.bcard > .bcard-r:nth-of-type(5):focus-visible ~ .bcard-tabbar label:nth-child(5),
.bcard > .bcard-r:nth-of-type(6):focus-visible ~ .bcard-tabbar label:nth-child(6) { outline: 2px solid var(--accent); outline-offset: 2px; }
.bcard-model { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bcard-views > .bcard-model:only-child,
.bcard > .bcard-r:nth-of-type(1):checked ~ .bcard-views > .bcard-model:nth-child(1),
.bcard > .bcard-r:nth-of-type(2):checked ~ .bcard-views > .bcard-model:nth-child(2),
.bcard > .bcard-r:nth-of-type(3):checked ~ .bcard-views > .bcard-model:nth-child(3),
.bcard > .bcard-r:nth-of-type(4):checked ~ .bcard-views > .bcard-model:nth-child(4),
.bcard > .bcard-r:nth-of-type(5):checked ~ .bcard-views > .bcard-model:nth-child(5),
.bcard > .bcard-r:nth-of-type(6):checked ~ .bcard-views > .bcard-model:nth-child(6) { display: grid; }
.bcard-panel { position: relative; margin: 0; background: #fbf9f6; border: 1px solid var(--line); border-radius: 8px; aspect-ratio: 3 / 4; display: grid; place-items: center; padding: 12px 12px 34px; overflow: hidden; min-width: 0; }
.bcard-panel > svg { width: 100%; height: 100%; }
.bcard-photo { padding: 0 0 34px; background: #f2eee8; }
.bcard-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.bcard-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 6px; font: 700 .66rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: #fff; border-top: 1px solid var(--line); text-align: center; }
.bcard-ph { display: grid; place-items: center; align-content: center; gap: 10px; width: 100%; height: 100%; color: var(--muted); text-align: center; font-size: .82rem; padding: 10px; }
.bcard-ph svg { width: 30%; max-width: 70px; fill: #e2d9cc; }
.bcard-model-empty { display: grid; grid-template-columns: 1fr; }
.bcard-none { aspect-ratio: auto; min-height: 220px; padding: 22px; }
.bcard-none .bcard-ph { gap: 8px; max-width: 34em; }
.bcard-none .bcard-ph svg { width: 54px; fill: none; stroke: #c9b9a3; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.bcard-none .bcard-ph b { color: var(--ink); font-size: .95rem; }
.burda-more { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 14px 0 0; }
.burda-more li { width: 104px; display: grid; gap: 4px; }
.burda-more img { width: 104px; height: 104px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); display: block; }
.burda-more span { font-size: .74rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 640px) {
  .bcard-model { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 76%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .bcard-panel { scroll-snap-align: start; }
  .bcard-model.no-photo .bcard-photo { order: 3; }
}

/* Eigen modelfoto bij een BURDA-patroon: staand beeld, hoofd en schouders in beeld houden */
.card-media-model img { object-position: 50% 18%; }

.cta-studio .icon { width: 18px; height: 18px; }

/* ---------- Fabric & Pattern Studio (opmaak volgens de referentie) ---------- */
.page-studio main { background: #f6ece6; position: relative; }
.page-studio .footer { position: relative; z-index: 1; }
.fps { --rose: #f4cdd1; --rose-2: #ebbcc2; --rose-soft: #fbeeee; --rose-ink: #7d2f3d; --card: rgba(255, 253, 251, .96); --cline: #f0e3dd;
  --cshadow: 0 14px 36px rgba(110, 70, 60, .09); --dark: #2a201e;
  position: relative; max-width: 1440px; margin: 0 auto; padding: 34px var(--gutter) 30px; }
.fps [hidden] { display: none !important; }
/* zachte bloemen in de hoeken (eigen decor, geen foto) */
.fps-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.fps-deco span { position: absolute; background-repeat: no-repeat; background-size: contain; opacity: .95; }
.fps-deco-tr { top: 70px; right: 0; width: 420px; height: 310px; background-image: url(/img/site/bloemen-boven.webp); background-position: right top; opacity: .8 !important; }
.fps-deco-bl { bottom: 0; left: 0; width: 470px; height: 390px; background-image: url(/img/site/bloemen-links.webp); background-position: left bottom; }
.fps-deco-br { bottom: 0; right: 0; width: 430px; height: 380px; background-image: url(/img/site/bloemen-rechts.webp); background-position: right bottom; }
.fps-head, .fps-grid { position: relative; z-index: 1; }
.fps-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px 24px; margin: 0 0 26px; }
.fps-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -.01em; margin: 0 0 10px; color: #261d1b; }
.fps-head .lead { margin: 0; color: #3a2e2b; font-size: 1.08rem; max-width: 62ch; }
.fps-steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fps-steps a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid #ead9d2; background: rgba(255,255,255,.9); color: #3a2e2b; text-decoration: none; font-size: .9rem; font-weight: 500; box-shadow: 0 4px 12px rgba(110,70,60,.06); white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease); }
.fps-steps a:hover { border-color: #d9b4b9; color: var(--rose-ink); }
.fps-steps a.is-on { background: var(--dark); border-color: var(--dark); color: #fff; box-shadow: 0 6px 16px rgba(42,32,30,.25); }
.fps-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1.2fr) minmax(400px, 1fr); align-items: start; }

/* paspop links */
.fps-stage { position: sticky; top: 164px; min-width: 0; }
.fps-view { position: relative; height: clamp(520px, calc(100vh - 196px), 880px); border-radius: 24px; overflow: hidden; border: 1px solid #f0e2db; box-shadow: var(--cshadow);
  background: radial-gradient(90% 70% at 50% 30%, #fffdfb 0%, #faf3ef 55%, #f3e7e1 100%); }
.fps-canvas, .fps-flat { position: absolute; inset: 0; }
.sd2d-stage { position: absolute; inset: 0; overflow: hidden; }
.sd2d-canvas { display: block; width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 50%; transition: opacity .2s var(--ease); }
.fps-canvas.is-loading .sd2d-canvas { opacity: .55; }
.sd2d-stage.is-zoomed { cursor: grab; touch-action: none; }
.sd2d-stage.is-zoomed:active { cursor: grabbing; }
.fps-flat { display: grid; place-items: center; padding: 74px 22px 86px; }
.fps-flat svg { width: 100%; height: 100%; max-width: 100%; max-height: 100%; }
/* getekende paspop (SVG): vaste vrouw met het kledingstuk; inzoomen met + of dubbelklik, verschuiven door te slepen */
.fps-flat:has(.fps-fig) { display: block; padding: 52px 18px 72px; overflow: hidden; }
.fps-fig { width: 100%; height: 100%; transform-origin: 50% 50%; transition: transform .25s var(--ease); }
.fps-fig svg { display: block; width: 100%; height: 100%; }
.fps-fig.is-zoomed { cursor: grab; touch-action: none; transition: none; }
.fps-fig.is-zoomed:active { cursor: grabbing; }
.fps-2d-empty { display: grid; gap: 14px; justify-items: center; color: var(--muted); }
.fps-2d-empty img { max-width: min(360px, 80%); max-height: 60vh; }
.fps-view-msg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .95rem; pointer-events: none; text-align: center; padding: 20px; }
.fps-badge { position: absolute; top: 22px; left: 22px; right: 22px; max-width: none; background: rgba(255,255,255,.94); border: 1px solid #efe2db; border-radius: 14px; padding: 8px 12px; font-size: .84rem; color: #3a2e2b; line-height: 1.35; box-shadow: 0 4px 12px rgba(110,70,60,.06); }
.fps-360 { position: absolute; top: 22px; left: 22px; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px 0 14px; border-radius: 999px; border: 1px solid #f0e2db; background: rgba(255,255,255,.95); font: inherit; font-size: .95rem; font-weight: 600; color: var(--dark); cursor: pointer; box-shadow: 0 6px 16px rgba(110,70,60,.10); }
.fps-360 .icon { width: 26px; height: 26px; }
.fps-360:hover { color: var(--rose-ink); }
.fps-360[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.fps-zoom { position: absolute; right: 22px; top: 22px; display: grid; gap: 12px; }
.fps-zoom button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #f0e2db; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--dark); cursor: pointer; box-shadow: 0 6px 16px rgba(110,70,60,.10); }
.fps-zoom button .icon { width: 22px; height: 22px; }
.fps-zoom button:hover { color: var(--rose-ink); }
.fps-seg { position: absolute; left: 22px; bottom: 22px; display: inline-flex; gap: 2px; background: rgba(255,255,255,.95); border: 1px solid #f0e2db; border-radius: 999px; padding: 4px; box-shadow: 0 6px 18px rgba(110,70,60,.12); max-width: calc(100% - 44px); overflow-x: auto; }
.fps-seg button { border: 0; background: transparent; min-height: 42px; padding: 0 20px; border-radius: 999px; font: inherit; font-size: .95rem; cursor: pointer; color: #3a2e2b; white-space: nowrap; }
.fps-seg button:hover { color: var(--rose-ink); }
.fps-seg button[aria-pressed="true"] { background: var(--dark); color: #fff; }
.fps-note { margin: 10px 6px 0; font-size: .8rem; color: #6b5a54; line-height: 1.45; }

/* kaarten rechts */
.fps-side { display: grid; gap: 18px; min-width: 0; }
.fps-card { background: var(--card); border: 1px solid var(--cline); border-radius: 24px; padding: 26px 26px 24px; box-shadow: var(--cshadow); min-width: 0; scroll-margin-top: 176px; }
.fps-card h2 { font: 600 1.32rem/1.2 var(--sans); color: var(--dark); margin: 0 0 18px; display: flex; align-items: center; gap: 14px; letter-spacing: -.005em; }
.fps-card h3 { font-family: var(--sans); font-size: .95rem; font-weight: 700; margin: 14px 0 6px; }
.fps-step { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--rose-ink); color: #fff; font: 600 1rem/1 var(--sans); flex: none; }
.fps-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }
.fps-chip { border: 1px solid #ecdcd4; background: #fff; border-radius: 999px; min-height: 40px; padding: 0 20px; font: inherit; font-size: .9rem; color: var(--dark); cursor: pointer; box-shadow: 0 2px 6px rgba(110,70,60,.04); transition: background .15s, border-color .15s; }
.fps-chip:hover { border-color: #ddb4ba; }
.fps-chip.is-on { background: var(--rose); border-color: var(--rose-2); color: var(--dark); font-weight: 500; }
.fps-chips-small { margin: 14px 0 0; gap: 8px; }
.fps-chips-small .fps-chip { min-height: 36px; padding: 0 14px; font-size: .84rem; }
.fps-searchbox { display: flex; align-items: center; gap: 10px; border: 1px solid #ecdcd4; border-radius: 999px; padding: 0 18px; background: #fff; margin-bottom: 18px; box-shadow: 0 2px 8px rgba(110,70,60,.04); }
.fps-searchbox:focus-within { border-color: #c99ca3; box-shadow: 0 0 0 3px #f7e3e5; }
.fps-searchbox .icon { width: 20px; height: 20px; color: #6b5a54; flex: none; }
.fps .fps-searchbox input, .fps .fps-searchbox input[type="search"] { flex: 1; min-width: 0; min-height: 0; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: transparent; padding: 13px 0; font: inherit; font-size: .95rem; -webkit-appearance: none; appearance: none; }
.fps-empty { list-style: none; color: var(--muted); font-size: .9rem; padding: 10px 2px; }

/* patroonkaarten op één rij */
.fps-patrow { position: relative; margin: 0 -6px; }
.fps-patlist { list-style: none; margin: 0; padding: 6px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 4); gap: 10px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-padding-inline: 6px; scrollbar-width: thin; scrollbar-color: #e6cfcb transparent; overscroll-behavior-x: contain; }
.fps-patlist::-webkit-scrollbar { height: 6px; } .fps-patlist::-webkit-scrollbar-thumb { background: #e6cfcb; border-radius: 9px; }
.fps-patlist > li { scroll-snap-align: start; min-width: 0; }
.fps-pat { position: relative; display: grid; gap: 8px; align-content: start; width: 100%; height: 100%; text-align: left; padding: 8px 8px 12px; border: 1px solid #efe1db; border-radius: 14px; background: #fff; font: inherit; color: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.fps-pat:hover { border-color: #dcbcbf; transform: translateY(-1px); }
.fps-pat.is-on { border: 2px solid #c25e6e; padding: 7px 7px 11px; background: #fff7f7; box-shadow: 0 6px 16px rgba(194,94,110,.16); }
.fps-pat-img { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 6; background: #faf6f3; border-radius: 10px; overflow: hidden; }
.fps-pat-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.fps-pat-ph { font-size: .78rem; color: var(--muted); text-align: center; letter-spacing: .04em; }
.fps-pat-txt { display: grid; gap: 2px; line-height: 1.2; padding: 0 4px; }
.fps-pat-txt strong { font-size: .82rem; font-weight: 700; color: var(--dark); white-space: nowrap; }
.fps-pat-txt em { font-style: normal; font-size: .82rem; color: #3a2e2b; }
.fps-check { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #b0485b; color: #fff; box-shadow: 0 0 0 3px #fff, 0 3px 8px rgba(0,0,0,.15); }
.fps-check svg { width: 15px; height: 15px; }
.fps-tag { position: absolute; left: 6px; bottom: 6px; width: 24px; height: 24px; border-radius: 50%; background: #f6dfe1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d2f3d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5v2M8.2 5.2c1.2-.5 2.4-.7 3.8-.7s2.6.2 3.8.7c-.4 2-.4 3.7.3 5.4-.9 1.6-1.2 3.3-.6 5H8.5c.6-1.7.3-3.4-.6-5 .7-1.7.7-3.4.3-5.4zM12 15.6V21M9 21h6'/%3E%3C/svg%3E") center / 16px no-repeat; }
.fps-rowbtn { position: absolute; top: 40%; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #ecdcd4; background: #fff; color: var(--dark); cursor: pointer; box-shadow: 0 4px 12px rgba(110,70,60,.14); }
.fps-rowbtn .icon { width: 18px; height: 18px; }
.fps-rowbtn-prev { left: -8px; } .fps-rowbtn-next { right: -8px; }
.fps-patinfo { margin-top: 16px; padding-top: 16px; border-top: 1px solid #f2e6e1; display: grid; gap: 10px; font-size: .9rem; }
.fps-pi-line { margin: 0; line-height: 1.45; }
.fps-pi-line a { white-space: nowrap; }
.fps-pi-opts { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.fps-pi-grp { display: flex; align-items: center; gap: 10px; }
.fps-pi-more { margin: 0; color: #6b5a54; line-height: 1.45; }
.fps-row { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 8px; }
.fps-row-k { font-size: .74rem; font-weight: 700; color: #5d4c46; text-transform: uppercase; letter-spacing: .08em; }
.fps-models, .fps-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.fps-model, .fps-size { border: 1px solid #ecdcd4; background: #fff; border-radius: 999px; min-height: 34px; min-width: 38px; padding: 0 10px; font: inherit; font-size: .86rem; cursor: pointer; color: #3a2e2b; }
.fps-models, .fps-sizes { gap: 5px; }
.fps-model:hover, .fps-size:hover { border-color: var(--dark); }
.fps-model.is-on, .fps-size.is-on { background: var(--dark); color: #fff; border-color: var(--dark); }
.fps-model-txt, .fps-body { margin: 0; color: #3a2e2b; }
.fps-body { background: #faf3ef; border-radius: 10px; padding: 7px 10px; }

/* stoffen */
.fps-advice { background: #f8e8e5; border-radius: 12px; padding: 13px 18px; margin: 0 0 16px; color: #3a2e2b; font-size: .95rem; }
.fps-toggle { display: flex; align-items: center; gap: 12px; font-size: .95rem; margin: 0 0 14px; cursor: pointer; color: var(--dark); }
.fps-toggle input { width: 20px; height: 20px; accent-color: #2f6fdf; }
.fps-sections { display: grid; gap: 10px; margin-bottom: 10px; }
.fps-sec { position: relative; border: 1.5px solid #ebc2c8; background: #fff; border-radius: 16px; transition: box-shadow .15s, border-color .15s; }
.fps-sec:hover { border-color: #dca2ab; }
.fps-sec.is-on { border-color: #c25e6e; box-shadow: 0 0 0 3px #f7e0e3; }
.fps-sec.is-empty { border-style: dashed; }
.fps-sec-main { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 16px; width: 100%; padding: 10px 18px 10px 10px; border: 0; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.fps-sec-img { display: block; width: 96px; height: 76px; border-radius: 10px; overflow: hidden; background: #f6eeea; border: 1px solid #f0e3dd; }
.fps-sec-img img { width: 100%; height: 100%; object-fit: cover; }
.fps-sec-empty { display: grid; place-items: center; color: #b0485b; }
.fps-sec-empty svg { width: 26px; height: 26px; }
.fps-sec-txt { display: grid; gap: 2px; line-height: 1.3; min-width: 0; }
.fps-sec-part { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9a5563; }
.fps-sec-txt strong { font-size: 1rem; font-weight: 600; color: var(--dark); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fps-sec-txt > span { font-size: .88rem; color: #6b5a54; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fps-sec-go { display: grid; place-items: center; color: var(--dark); }
.fps-sec-go svg { width: 22px; height: 22px; }
.fps-sec-x { position: absolute; top: -9px; right: -9px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #ecdcd4; background: #fff; color: #6b5a54; font-size: 1rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.08); opacity: 0; transition: opacity .15s; }
.fps-sec:hover .fps-sec-x, .fps-sec-x:focus-visible { opacity: 1; }
@media (hover: none) { .fps-sec-x { opacity: 1; } }
.fps-sec-x:hover { color: var(--dark); }
.fps-split { display: block; margin: 0 0 8px; color: var(--rose-ink); }
.fps-addlink { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 4px; border: 0; background: transparent; font: inherit; font-size: .92rem; color: var(--dark); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #c9a5a5; }
.fps-addlink:hover { color: var(--rose-ink); }
.fps-plus { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #f7e3e4; color: #b0485b; }
.fps-plus .icon { width: 15px; height: 15px; }
.fps-addlink[aria-expanded="true"] .fps-plus { transform: rotate(45deg); }
.fps-lib { margin-top: 16px; padding-top: 16px; border-top: 1px solid #f2e6e1; }
.fps-libbar { display: flex; gap: 8px; align-items: center; }
.fps-libbar .fps-searchbox { flex: 1; margin: 0; }
.fps-filterbtn { min-height: 46px; padding: 0 16px; border: 1px solid #ecdcd4; border-radius: 999px; background: #fff; font: inherit; font-size: .86rem; color: var(--dark); cursor: pointer; white-space: nowrap; }
.fps-filterbtn[aria-expanded="true"] { background: var(--rose-soft); border-color: var(--rose-2); }
.fps-selects { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
.fps-selects select { width: auto; min-height: 38px; padding: 0 28px 0 12px; border: 1px solid #ecdcd4; border-radius: 999px; font: inherit; font-size: .86rem; background: #fff; color: var(--ink); max-width: 180px; }
.fps-check-inline { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; padding: 0 6px; cursor: pointer; }
.fps-check-inline input { accent-color: var(--rose-ink); }
.fps-libfor { margin: 12px 0 10px; color: #5d4c46; }
.fps-fablist { list-style: none; margin: 0 0 10px; padding: 2px; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; max-height: 620px; overflow: auto; overscroll-behavior: contain; }
.fps-fab { position: relative; border: 1px solid #efe1db; border-radius: 14px; background: #fff; overflow: hidden; height: 100%; display: grid; align-content: start; }
.fps-fab.is-on { border-color: #c25e6e; box-shadow: 0 0 0 2px #f2c9cf; }
.fps-fab.is-out { opacity: .55; }
.fps-fab-main { display: grid; gap: 6px; padding: 0 0 9px; border: 0; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; width: 100%; }
.fps-fab-main:disabled { cursor: not-allowed; }
.fps-fab-img { position: relative; aspect-ratio: 1; background: #f6eeea; overflow: hidden; }
.fps-fab-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.fps-fab-main:hover .fps-fab-img img { transform: scale(1.04); }
.fps-fab-img .fps-check { top: 8px; right: 8px; box-shadow: 0 0 0 2px #fff, 0 3px 8px rgba(0,0,0,.15); }
.fps-fab-txt { display: grid; gap: 1px; padding: 0 9px; font-size: .78rem; line-height: 1.25; }
.fps-fab-txt strong { font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fps-fab-txt span { color: #3a2e2b; }
.fps-fab-txt em { font-style: normal; font-size: .76rem; }
.fps-fab-txt em.ok { color: var(--ok); } .fps-fab-txt em.no { color: var(--err); }
.fps-fab-link { position: absolute; top: 6px; left: 6px; background: rgba(255,255,255,.94); border-radius: 999px; padding: 2px 9px; font-size: .74rem; color: #3a2e2b; text-decoration: none; }
.fps-fab-link:hover { color: var(--rose-ink); }
.fps-vars { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 9px 9px; }
.fps-var { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #ecdcd4; background: #f6eeea; cursor: pointer; padding: 0; }
.fps-var.is-on { outline: 2px solid #c25e6e; outline-offset: 1px; }
.fps-var:disabled { opacity: .35; cursor: not-allowed; }

/* jouw creatie */
.fps-line { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid #f2e6e1; font-size: .88rem; }
.fps-line-pat { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.fps-line-sw { width: 48px; height: 48px; border-radius: 10px; background-size: cover; background-position: center; border: 1px solid #f0e3dd; background-color: #f6eeea; }
.fps-line-main { display: grid; gap: 3px; min-width: 0; }
.fps-line-main > span { color: #3a2e2b; font-size: .8rem; }
.fps-checkline { display: flex; gap: 10px; align-items: start; cursor: pointer; }
.fps-checkline input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--rose-ink); }
.fps-checkline > span { display: grid; line-height: 1.3; }
.fps-checkline > span span { color: #3a2e2b; font-size: .8rem; }
.fps-qty { display: flex !important; justify-content: space-between; align-items: center; gap: 8px; color: var(--ink) !important; font-size: .86rem !important; }
.fps-qty input { width: 74px; min-height: 36px; padding: 4px 8px; border: 1px solid #ecdcd4; border-radius: 10px; font: inherit; text-align: right; }
.fps-usage { font-size: .78rem !important; color: #6b5a54 !important; }
.fps-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 6px; font-size: 1.05rem; }
.fps-total strong { font: 600 1.6rem/1 var(--serif); }
.fps-mine { margin-top: 14px; padding-top: 12px; border-top: 1px solid #f2e6e1; }
.fps-mine h3 { margin-top: 0; }
.fps-mine ul { margin: 0 0 6px; padding-left: 18px; font-size: .9rem; }
.fps-admin { margin-top: 12px; display: grid; gap: 6px; padding: 12px; border: 1px dashed #d9b4b9; border-radius: 14px; background: rgba(255,255,255,.85); }

/* balk onderaan: bewaren (en delen), totaal, in winkelmand */
/* kaart 3: in winkelmand, ontwerp bewaren en delen (geen balk onderaan meer) */
.fps-actions { display: grid; gap: 10px; margin-top: 18px; }
.fps-actions-row { display: flex; gap: 8px; }
.fps-barbtn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 14px; border: 1px solid #ecdcd4; border-radius: 999px; background: #fff; font: inherit; font-size: .98rem; font-weight: 500; color: var(--dark); cursor: pointer; }
.fps-barbtn .icon { width: 22px; height: 22px; stroke-width: 1.6; }
.fps-barbtn:hover { color: var(--rose-ink); border-color: #ddb4ba; background: #fffafa; }
.fps-barbtn span { white-space: nowrap; }
@media (max-width: 440px) {
  .fps-barbtn { gap: 7px; padding: 0 10px; font-size: .9rem; min-height: 46px; }
  .fps-barbtn .icon { width: 19px; height: 19px; }
  .fps-cart { min-height: 54px; }
}
.fps-msg { margin: 0; font-size: .88rem; color: #3a2e2b; }
.fps-msg:empty { display: none; }
.fps-libmsg { margin: 0 0 10px; padding: 8px 12px; background: #fbeeee; border-radius: 10px; }
.fps-cart { display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 60px; padding: 0 30px 0 24px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #f6d1d5, #efbfc5); color: var(--dark); font: 600 1.06rem/1 var(--sans); cursor: pointer; box-shadow: 0 8px 20px rgba(176, 72, 91, .22), inset 0 1px 0 rgba(255,255,255,.6); transition: transform .15s var(--ease), box-shadow .15s var(--ease), filter .15s; }
.fps-cart:hover { transform: translateY(-1px); filter: brightness(1.02); box-shadow: 0 12px 26px rgba(176, 72, 91, .28), inset 0 1px 0 rgba(255,255,255,.6); }
.fps-cart-ico .icon { width: 28px; height: 28px; color: var(--rose-ink); }
.fps-cart > .icon { width: 22px; height: 22px; }
.fps-cart:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Studio: compacter rechterpaneel, modelkaarten met tekening, stalen altijd zichtbaar ---------- */
.fps-patinfo { gap: 14px; }
.fps-pi-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.fps-pi-title { display: grid; gap: 3px; min-width: 0; }
.fps-pi-title strong { font: 700 .74rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #9a5563; }
.fps-pi-title span { font: 500 1.34rem/1.15 var(--serif); color: var(--dark); }
.fps-pi-link { flex: none; font-size: .84rem; color: var(--dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #d8b4b9; white-space: nowrap; padding-bottom: 3px; }
.fps-pi-link:hover { color: var(--rose-ink); }
.fps-pi-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fps-pi-badges li { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 0 11px; border-radius: 999px; background: #f8eeeb; color: #4a3a35; font-size: .8rem; }
.fps-dots { display: inline-flex; gap: 3px; }
.fps-dots i { width: 6px; height: 6px; border-radius: 50%; background: #e3cfca; }
.fps-dots i.on { background: #b0485b; }
.fps-pi-sec { display: grid; gap: 8px; }
.fps-model-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.fps-model.fps-model-card { display: grid; padding: 0; min-height: 0; border-radius: 14px; text-align: left; overflow: hidden; background: #fff; border: 1.5px solid #efe1db; color: var(--dark); transition: border-color .15s, box-shadow .15s; }
.fps-model.fps-model-card:hover { border-color: #dca2ab; }
.fps-model.fps-model-card.is-on { background: #fff; color: var(--dark); border-color: #b0485b; box-shadow: 0 0 0 3px #f7e0e3; }
.fps-model-img { display: grid; place-items: center; height: 96px; background: #faf6f3; padding: 6px 4px; }
.fps-model-img svg { width: 100%; height: 100%; }
.fps-model-txt { display: grid; gap: 1px; padding: 7px 9px 9px; line-height: 1.2; }
.fps-model-txt b { font-size: .92rem; }
.fps-model-txt small { font-size: .72rem; color: #6b5a54; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fps-sizes .fps-size { min-width: 44px; min-height: 36px; }
.fps-pi-body { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fps-pi-body div { display: grid; gap: 1px; padding: 8px 10px; border-radius: 12px; background: #faf5f2; border: 1px solid #f1e5e0; }
.fps-pi-body span { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #6e544d; }
.fps-pi-body b { font: 600 1.06rem/1.1 var(--sans); color: var(--dark); }
.fps-pi-note { margin: -6px 0 0; font-size: .76rem; color: #7a6660; line-height: 1.4; }
.fps-advice { font-size: .9rem; padding: 11px 16px; margin-bottom: 14px; }
.fps-forbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; margin: 0 0 12px; }
.fps-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .92rem; color: var(--dark); }
.fps-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fps-switch-ui { position: relative; width: 40px; height: 24px; border-radius: 999px; background: #e3d3cd; transition: background .2s; flex: none; }
.fps-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.fps-switch input:checked + .fps-switch-ui { background: #b0485b; }
.fps-switch input:checked + .fps-switch-ui::after { transform: translateX(16px); }
.fps-switch input:focus-visible + .fps-switch-ui { outline: 2px solid #b0485b; outline-offset: 2px; }
.fps-split { margin: 0; }
.fps-sections { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 14px; }
.fps-sec { border-width: 1.5px; border-radius: 14px; }
.fps-sec-main { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 7px 10px 7px 7px; }
.fps-sec-img { width: 44px; height: 44px; border-radius: 10px; }
.fps-sec-empty svg { width: 18px; height: 18px; }
.fps-sec-part { font-size: .64rem; }
.fps-sec-txt strong { font-size: .86rem; }
.fps-sec-go { display: none; }
.fps-sec.is-single { grid-column: 1 / -1; }
.fps-sec.is-single .fps-sec-main { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
.fps-sec.is-single .fps-sec-img { width: 64px; height: 64px; }
.fps-sec.is-single .fps-sec-txt strong { font-size: 1rem; }
.fps-lib { margin-top: 4px; padding-top: 14px; border-top: 1px solid #f2e6e1; }
.fps-lib .fps-chips-small { margin: 0 0 12px; }
.fps-libfor { margin: 10px 0; }
.fps-fablist { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; max-height: 660px; }
.fps-fab { border-radius: 14px; transition: box-shadow .15s, border-color .15s; }
.fps-fab:hover { border-color: #e2c4c0; box-shadow: 0 10px 20px -14px rgba(80, 40, 30, .4); }
.fps-fab.is-on { border-color: #b0485b; box-shadow: 0 0 0 3px #f3cbd1; }
.fps-fab-img img { transform: scale(1.18); }
.fps-fab-main:hover .fps-fab-img img { transform: scale(1.32); }
.fps-fab-img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04), inset 0 -26px 26px -26px rgba(0, 0, 0, .2); pointer-events: none; }
.fps-fab-txt { padding: 0 10px; gap: 2px; }
.fps-fab-txt strong { font-size: .8rem; font-weight: 600; }
.fps-fab-txt span { font-size: .84rem; font-weight: 600; color: var(--dark); }
.fps-fab-txt span small { font-size: .72rem; font-weight: 400; color: #7a6660; }
.fps-fab-txt em.low { color: #a2632a; }

/* ---------- Studio: stap 2 en 3 pas na het kiezen van een patroon ---------- */
.fps-steps a.is-locked { color: #a8958f; background: rgba(255,255,255,.55); box-shadow: none; cursor: not-allowed; }
.fps-steps a.is-locked:hover { border-color: #ead9d2; color: #a8958f; }
.fps-card.is-locked .fps-card-in { opacity: .38; filter: grayscale(.5); user-select: none; }
.fps-card.is-locked h2 { color: #8f7d77; }
.fps-card.is-locked h2 .fps-step { background: #cdbab4; }
.fps-lock { display: flex; align-items: center; gap: 10px; margin: -4px 0 16px; padding: 12px 14px; border-radius: 14px; background: #faf3f0; border: 1px dashed #dcc3bd; color: #5d4c46; font-size: .9rem; line-height: 1.4; }
.fps-lock .icon { width: 20px; height: 20px; flex: none; color: #9a5563; }
.fps-next { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; margin-top: 6px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--dark); color: #fff; font: 600 .95rem/1.2 var(--sans); cursor: pointer; box-shadow: 0 8px 18px -8px rgba(42,32,30,.45); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.fps-next svg { width: 20px; height: 20px; }
.fps-next:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -10px rgba(42,32,30,.5); }
.fps-next:focus-visible { outline: 3px solid #e7b9c1; outline-offset: 2px; }
.fps-card.is-new { animation: fps-glow 2.4s var(--ease) 1; }
#stap-patroon.is-ask { animation: fps-glow 2.2s var(--ease) 1; }
@keyframes fps-glow { 0%, 100% { box-shadow: var(--cshadow); } 25%, 60% { box-shadow: 0 0 0 4px #f1cdd3, var(--cshadow); } }
@media (prefers-reduced-motion: reduce) { .fps-card.is-new, #stap-patroon.is-ask { animation: none; } }
.fps-badge.is-example { background: rgba(42,32,30,.86); border-color: transparent; color: #fff; }
.fps-view .fps-badge { right: 86px; }
.fps-view .fps-badge.is-example { right: auto; top: auto; bottom: 22px; max-width: calc(100% - 44px); }
.fps-badge-s { display: none; }
.fps-card.is-locked .fps-card-in { max-height: 210px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 35%, transparent); mask-image: linear-gradient(#000 35%, transparent); }

@media (max-width: 1180px) {
  .fps-grid { grid-template-columns: minmax(0, 1fr) minmax(370px, 1fr); }
  .fps-patlist { grid-auto-columns: calc((100% - 20px) / 3); }
  .fps-deco-tr { width: 320px; }
}
@media (max-width: 900px) {
  .fps-grid { grid-template-columns: minmax(0, 1fr); }
  .fps-stage { position: relative; top: auto; }
  .fps-view { height: min(74vh, 640px); }
  .fps-head { margin-bottom: 18px; }
  .fps-steps { margin-top: 0; }
  .fps-patlist { grid-auto-columns: 132px; }
  .fps-rowbtn { display: none; }
  .fps-fablist { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); max-height: 560px; }
  .fps-deco-tr { display: none; }
}
@media (max-width: 480px) {
}
@media (max-width: 560px) {
  .fps-head h1 { font-size: 2.2rem; }
  .fps-steps { gap: 6px; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; }
  .fps-steps a { font-size: .82rem; padding: 0 12px; min-height: 38px; }
  .fps-card { padding: 18px 16px; border-radius: 20px; }
  .fps-card h2 { font-size: 1.15rem; gap: 10px; }
  .fps-step { width: 30px; height: 30px; font-size: .9rem; }
  .fps-chip { min-height: 36px; padding: 0 14px; font-size: .85rem; }
  .fps-row { grid-template-columns: 1fr; gap: 4px; }
  .fps-view { border-radius: 18px; }
  .fps-360 { top: 12px; left: 12px; min-height: 40px; padding: 0 12px 0 10px; font-size: .88rem; }
  .fps-zoom { top: 12px; right: 12px; gap: 8px; }
  .fps-zoom button { width: 42px; height: 42px; }
  .fps-seg { left: 12px; bottom: 12px; }
  .fps-seg button { padding: 0 14px; min-height: 38px; font-size: .88rem; }
  .fps-badge { top: 12px; left: 12px; right: 12px; font-size: .78rem; }
  .fps-view .fps-badge { right: 64px; }
  .fps-view .fps-badge.is-example { right: auto; bottom: 12px; max-width: calc(100% - 24px); }
  .fps-badge-l { display: none; }
  .fps-badge-s { display: inline; }
  .fps-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fps-fablist { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
  .fps-pi-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fps-model-cards { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
  .fps-deco-bl, .fps-deco-br { width: 260px; height: 220px; }
}

/* in de studio: de chatknop als ronde knop (minder over de kaarten) */
@media (min-width: 561px) { .page-studio .chatw-btn { width: 56px; height: 56px; min-height: 56px; padding: 0; justify-content: center; border-radius: 50%; } .page-studio .chatw-btn > span:not(.sr) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .page-studio .chatw-btn .icon { width: 24px; height: 24px; } }

/* ---------- Mijn account ---------- */
.acc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 10px 0 70px; }
.acc-card { background: #fffdfb; border: 1px solid #f0e3dd; border-radius: 20px; padding: 22px; box-shadow: 0 10px 28px rgba(110, 70, 60, .07); display: grid; align-content: start; gap: 6px; }
.acc-card h2 { font: 600 1.15rem/1.2 var(--sans); margin: 6px 0 0; }
.acc-card p { margin: 0; }
.acc-card .btn { margin-top: 8px; }
.acc-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f6e3e1; color: #7d2f3d; }
.acc-ico .icon { width: 22px; height: 22px; }
.acc-n { color: #3a2e2b; }
.acc-list { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 4px; font-size: .92rem; }
.order-remember { margin: 0 0 12px; }
@media (max-width: 900px) { .acc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .acc-grid { grid-template-columns: 1fr; } }

/* ---------- 3D-weergave in de calculators (kussens, gordijnen) ---------- */
.sd3d-switch { display: inline-flex; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.sd3d-switch button { border: 0; background: transparent; padding: 5px 12px; border-radius: 999px; font: inherit; font-size: .82rem; cursor: pointer; color: var(--ink-2); }
.sd3d-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sd3d-host { position: relative; }
.sd3d-layer { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #fffdf9 0%, #f1ebe2 65%, #e6ddd0 100%); }
.sd3d-layer .sd3d-canvas { width: 100% !important; height: 100% !important; display: block; touch-action: none; cursor: grab; }
.sd3d-layer-msg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 20px; pointer-events: none; }
.sd3d-layer-msg:empty { display: none; }
.sd3d-hint { position: absolute; left: 10px; bottom: 8px; font-size: .74rem; color: var(--muted); background: rgba(255,255,255,.8); padding: 2px 8px; border-radius: 999px; pointer-events: none; }
.btn-studio { margin-top: 12px; background: var(--ink); color: #fff; border-color: var(--ink); text-transform: uppercase; letter-spacing: .08em; font-size: .86rem; gap: 8px; }
.btn-studio:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-studio .icon { width: 19px; height: 19px; }
.studio-cta-note { margin: 6px 0 0; }
.sd3d-host { position: relative; border-radius: var(--radius-lg); }
.sd3d-corner { position: absolute; top: 8px; right: 8px; z-index: 3; box-shadow: var(--shadow); }
.cfg-scene-host .sd3d-layer { border-radius: 0; }
/* Header: de knop naar de studio past niet meer naast de andere twee op smalle schermen (staat dan in het menu) */
@media (max-width: 1240px) and (min-width: 1001px) { .cta-studio.cta-curtain-head .cta-long { display: none; } .cta-studio.cta-curtain-head .cta-short { display: inline; } }
@media (max-width: 560px) { .cta-studio.cta-curtain-head { display: none; } }
/* Winkelmand: regels die bij één ontwerp uit de studio horen */
.cart-design { list-style: none; display: grid; gap: 2px; padding: 12px 14px; margin: 14px 0 0; border: 1px solid #efd6d0; border-radius: var(--radius-lg); background: #fbf1ee; }
.cart-design-k { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #95564f; }
.cart-design strong { font-weight: 600; }
.cart-design a { font-size: .9rem; width: fit-content; }
.cart-design-parts { margin: 2px 0 6px; color: #95564f; }

/* ---------- Favorieten ---------- */
.card { position: relative; }
.card-fav { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(47,44,41,.12); background: rgba(255,255,255,.92); color: var(--ink-2); cursor: pointer; transition: transform .2s var(--ease), color .2s, background .2s; }
.card-fav .icon { width: 19px; height: 19px; }
.card-fav:hover { transform: scale(1.06); color: #a1453c; }
.card-fav.is-on, .fav-toggle.is-on { color: #a1453c; }
.card-fav.is-on .icon, .fav-toggle.is-on .icon, .fav-btn .icon { fill: none; }
.card-fav.is-on .icon, .fav-toggle.is-on .icon { fill: #d77d73; stroke: #a1453c; }
.fav-toggle { margin-top: 10px; gap: 8px; }
.fav-toggle .icon { width: 18px; height: 18px; }
.page-head { margin: 8px 0 24px; }
.page-head h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 0 0 6px; }
.page-head .lead { max-width: 70ch; color: var(--ink-2); }
.page-head .lead .icon { width: 18px; height: 18px; vertical-align: -3px; color: #a1453c; }
.fav-h { font-size: 1.6rem; margin: 10px 0 14px; }
.fav-empty .icon { width: 18px; height: 18px; vertical-align: -3px; }
.fav-designs { margin: 44px 0 56px; }
.fav-design-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; max-width: 760px; }
.fav-design-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.fav-design-list .linkbtn { margin-left: auto; }

/* ---------- Inspiratie ---------- */
.insp-sec { margin: 26px 0 50px; }
.insp-designs { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.insp-design { display: grid; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.insp-design:hover { transform: translateY(-2px); }
.insp-design img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; background: #f5efe7; }
.insp-design-txt { display: grid; gap: 3px; padding: 12px 14px 14px; line-height: 1.3; }
.insp-design-txt span { font-size: .85rem; color: var(--muted); }
.insp-design-txt em { font-style: normal; font-size: .88rem; font-weight: 600; color: #8a3f37; display: inline-flex; align-items: center; gap: 6px; }
.insp-design-txt em .icon { width: 16px; height: 16px; }
.insp-empty { display: grid; gap: 14px; justify-items: start; padding: 22px; border: 1px dashed #ecc3bc; border-radius: 16px; background: #fbf1ee; max-width: 760px; }
.insp-empty p { margin: 0; }
.insp-pills { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1000px) { .insp-pills { display: grid; gap: 10px; } }
.insp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.insp-tile { display: grid; text-decoration: none; color: inherit; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.insp-tile-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.insp-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.insp-tile:hover .insp-tile-media img { transform: scale(1.04); }
.insp-tile-txt { display: grid; gap: 4px; padding: 14px 16px 16px; }
.insp-tile-txt strong { font: 500 1.4rem/1.15 var(--serif); }
.insp-tile-txt span { color: var(--ink-2); font-size: .95rem; }
.insp-tile-txt em { font-style: normal; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; color: var(--accent-dark); }
.insp-tile-txt em .icon { width: 16px; height: 16px; }

/* ---------- Beheer: studio-ontwerpen ---------- */
.fps-admin { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 8px 12px; margin-top: 12px; padding: 12px 14px; border: 1px dashed #b25d55; border-radius: 12px; background: #fff; }
.fps-admin label { display: grid; gap: 4px; font-size: .85rem; }
.fps-admin input { min-height: 38px; padding: 6px 10px; }
.fps-admin p { grid-column: 1 / -1; margin: 0; }
.admin-designs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.admin-designs li { display: flex; gap: 14px; align-items: flex-start; }
.admin-designs img { border-radius: 8px; object-fit: cover; background: #f5efe7; }
.admin-designs li > div { display: grid; gap: 4px; }
.admin-design-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.admin-design-actions form { margin: 0; }
.admin-inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; }
.admin-inline-form .field { margin: 0; min-width: 260px; }
.field-label { font-weight: 600; font-size: .9rem; margin: 14px 0 6px; }
.sticky-actions { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(transparent, var(--ivory) 30%); z-index: 5; }
/* Gordijnconfigurator: kleur van de muur (stap 1, alleen voor de weergave) */
.wall-intro { margin: 0 0 10px; }
.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.wall-sw { display: grid; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font: inherit; text-align: center; transition: border-color .15s, box-shadow .15s, transform .15s; }
.wall-sw i { display: block; height: 40px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), inset 0 -12px 18px rgba(0, 0, 0, .05); }
.wall-sw span { font-size: .74rem; line-height: 1.15; font-weight: 600; color: var(--ink-2); }
.wall-sw:hover { border-color: var(--sand-2); transform: translateY(-1px); }
.wall-sw.is-on { border-color: #82552e; box-shadow: 0 0 0 2px #82552e; }
.wall-sw:focus-visible, .wall-pick:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.wall-custom { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.wall-pick { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .85rem; font-weight: 600; background: #fff; }
.wall-pick.is-on { border-color: #82552e; box-shadow: 0 0 0 2px #82552e; }
.wall-pick-sw { position: relative; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex: none; background: conic-gradient(#e7c1b5, #d9c98f, #b9cba4, #a9c3cf, #c4b3d4, #e7c1b5); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.wall-pick-sw input { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); border: 0; padding: 0; opacity: 0; cursor: pointer; }
@media (max-width: 560px) { .wall-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } .wall-sw i { height: 34px; } .wall-sw span { font-size: .7rem; } }
.wall-sw { min-width: 0; } .wall-sw span { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 360px) { .wall-sw { padding: 4px; } .wall-sw span { font-size: .62rem; } }
/* 3D-kussen: knoppen voorkant/achterkant */
.sd3d-sides { position: absolute; top: 8px; left: 8px; z-index: 2; box-shadow: var(--shadow); }
.sd3d-sides button { padding: 5px 10px; font-size: .78rem; }
/* Kussen: de knop Tekening/3D onderaan rechts, zodat hij de hoek van het kussen niet bedekt */
.ks-visual-host .sd3d-corner { top: auto; bottom: 8px; }
/* Productpagina: de kleuren staan nu boven de koopbox */
.colorway { margin: 14px 0 16px; }
@media (max-width: 560px) { .colorway a { width: 48px; height: 48px; } .colorway ul { gap: 6px; } }
/* Kleine gsm's (≤ 360 px): kop past op het scherm (geen horizontaal scrollen) */
@media (max-width: 360px) {
  :root { --gutter: 12px; }
  .header-inner { gap: 4px; }
  .head-link { padding: 0 4px; }
  .menu-btn { width: 40px; }
  .wm-1 { font-size: 1.04rem; letter-spacing: .01em; } .wm-2 { font-size: .34rem; letter-spacing: .18em; }
}

/* v23: afdelingen op de homepage zoals de referentie: brede rij, twee grote tegels (Modestoffen, Interieurstoffen) en
   daaronder drie (Gordijnen op maat, Kussens op maat, BURDA-patronen), met brede, lage beelden */
.depts-wrap { max-width: 1720px; padding-inline: clamp(16px, 2vw, 36px); }
.depts-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.depts-grid .dept { grid-column: span 4; }
.depts-grid .dept:nth-child(1), .depts-grid .dept:nth-child(2) { grid-column: span 6; }
.depts-grid .dept-media { aspect-ratio: 5 / 2; }
.depts-grid .dept:nth-child(1) .dept-media, .depts-grid .dept:nth-child(2) .dept-media { aspect-ratio: 3 / 1; }
@media (max-width: 1000px) { .depts-grid { gap: 14px; } .depts-grid .dept-body h3 { font-size: 1.35rem; } }
@media (max-width: 700px) {
  .depts-grid { grid-template-columns: minmax(0, 1fr); }
  .depts-grid .dept, .depts-grid .dept:nth-child(1), .depts-grid .dept:nth-child(2) { grid-column: 1 / -1; }
  .depts-grid .dept-media, .depts-grid .dept:nth-child(1) .dept-media, .depts-grid .dept:nth-child(2) .dept-media { aspect-ratio: 5 / 2; }
}
/* v23: op mobiel alleen de tekening: geen 3D-knop */
/* gsm: alleen de tekening (geen 3D-knop, 3D wordt niet geladen); tablet en computer: knop zichtbaar. De keuze gebeurt in sd3d-toggle.js op soort toestel, niet op vensterbreedte. */
.sd3d-host.sd3d-pouf .sd3d-sides { display: none; }
.sd3d-host.sd3d-phone .sd3d-corner, .sd3d-host.sd3d-phone .sd3d-layer { display: none !important; }
.fps-need { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: #faf3f0; border: 1px dashed #dcc3bd; color: #5d4c46; font-size: .9rem; }
/* v23: brede omslagfoto's (Modestoffen, Interieurstoffen) in hun eigen verhouding, niet ingezoomd */
.cat-visual.cat-cover-wide { aspect-ratio: 5 / 2; align-self: center; }
.chooser-media.chooser-media-wide { aspect-ratio: 3 / 1; }
@media (max-width: 760px) { .cat-visual.cat-cover-wide { aspect-ratio: 3 / 1; } .chooser-media.chooser-media-wide { aspect-ratio: 5 / 2; } }
/* v23b: homepage-kop zoals de referentie: brede winkelfoto links, bezoekpaneel rechts */
@media (min-width: 961px) { .hero-visit-grid { grid-template-columns: minmax(0, 915fr) minmax(0, 516fr); max-width: 1460px; gap: 12px; } }
.hero-visit-photo img { object-position: 50% 45%; }
@media (min-width: 961px) { .hero-visit .visit-panel h2 { font-size: clamp(1.6rem, 1.9vw, 2.05rem); } .hero-visit .visit-panel-map { min-height: 200px; } }
/* v24: loep "van dichtbij" naast de tekening en de 3D-weergave (kussens, gordijnen, studio) */
.sd-loupe { position: absolute; z-index: 4; margin: 0; display: grid; justify-items: center; gap: 0; pointer-events: none; filter: drop-shadow(0 6px 12px rgba(47, 44, 41, .22)); }
.sd-loupe[hidden] { display: none; }
.sd-loupe svg { width: 104px; height: 104px; display: block; }
.sd-loupe figcaption { margin-top: -10px; font-size: .72rem; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 1px 9px; }
.ks-visual-host .sd-loupe { top: 10px; right: 10px; }
.cfg-scene-host .sd-loupe { left: 10px; bottom: 34px; }
.fps-view .sd-loupe { right: 12px; bottom: 56px; }
@media (max-width: 1000px) { .sd-loupe svg { width: 78px; height: 78px; } .cfg-scene-host .sd-loupe { bottom: 10px; } }

/* v25: poef op maat (proefversie) */
.sd3d-host.sd3d-na .sd3d-corner, .sd3d-host.sd3d-na .sd3d-layer { display: none !important; }
.ks-pouf { margin-top: 18px; }
.ks-pouf .notice { margin-top: 12px; }
.ks-pouf-svg ellipse { fill: var(--sand); stroke: var(--taupe); stroke-width: 1.6; }
.ks-pouf-svg path, .ks-pouf-svg ellipse { stroke-linejoin: round; }
.ks-model:hover .ks-pouf-svg ellipse { stroke: var(--ink); }
.fps-usage-note { display: block; margin-top: 4px; }
.ks-tag { align-self: flex-start; display: inline-block; margin: 6px 0 2px; padding: 2px 8px; border-radius: 999px; background: var(--sand); color: var(--ink); font-size: .72rem; line-height: 1.4; letter-spacing: .01em; }
.ks-tag.is-pick { background: #f3e3d6; color: #6b3f26; }
.ks-tag { justify-self: start; display: inline-block; margin: 6px 10px 0; padding: 2px 8px; border-radius: 999px; background: var(--sand); color: var(--ink); font-size: .72rem; line-height: 1.4; }
.ks-tag.is-pick { background: #f3e3d6; color: #6b3f26; }

/* Menupaneel (rechterkolom "Stoffen"): alle knoppen in dezelfde roze huisstijl als de menuknoppen bovenaan,
   even breed en even hoog, met dezelfde afgeronde hoeken en tussenruimtes (v30) */
.np-aside { gap: 12px; }
.np-aside .cta-curtain, .np-aside .nav-pill, .np-aside .np-close {
  align-items: center; justify-content: flex-start; gap: 10px; box-sizing: border-box;
  width: 100%; max-width: 280px; min-height: 48px; margin: 0; padding: 0 18px;
  border: 1px solid #ebbcc2; border-radius: 14px; background: #f4cdd1; background-image: none; box-shadow: none; filter: none;
  color: #2f2523; font: 500 .93rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.np-aside .cta-curtain .icon, .np-aside .nav-pill .icon, .np-aside .np-close .icon { width: 20px; height: 20px; flex: none; color: #7d2f3d; }
.np-aside .cta-curtain:hover, .np-aside .nav-pill:hover, .np-aside .np-close:hover { background: #f0c0c6; color: #2f2523; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(125, 47, 61, .12); filter: none; }
.np-aside .cta-curtain:active, .np-aside .nav-pill:active, .np-aside .np-close:active { transform: translateY(0); box-shadow: none; }
.np-aside .cta-curtain:focus-visible, .np-aside .nav-pill:focus-visible, .np-aside .np-close:focus-visible { outline: 2.5px solid #7d2f3d; outline-offset: 3px; }
.np-aside .np-close { margin-top: auto; }
@media (min-width: 1001px) { .np-aside .cta-curtain, .np-aside .nav-pill, .np-aside .np-close { display: flex; } }
@media (max-width: 1000px) { .np-aside .nav-pill { display: flex; max-width: none; } }

/* Welkomstscherm in de huisstijl van de homepage (v30): zelfde logo (Stoffendesign + Stoffen · Patronen · Meer),
   blush-achtergrond en de roze knop van de menuknoppen. Animatie, beelden, timing en overgangen zijn ongewijzigd. */
.splash-on .splash { background-color: #f6ece6; }
.splash-content::before { content: ""; position: absolute; left: 50%; top: 46%; width: min(1100px, 96vw); height: min(520px, 70vh); transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(250, 243, 239, .78), rgba(246, 236, 230, .45) 55%, rgba(246, 236, 230, 0) 100%); }
.splash-content { isolation: isolate; }
.splash-logo { display: flex; flex-direction: column; align-items: center; letter-spacing: 0; padding-left: 0; text-shadow: none; color: #261d1b; }
.splash-logo .sl-1 { display: block; font: 500 clamp(2.3rem, 7.4vw, 6.4rem)/.9 var(--serif); letter-spacing: .035em; text-transform: uppercase; color: #261d1b; text-shadow: 0 0 34px rgba(250, 243, 239, .85); }
.splash-logo .sl-2 { display: block; margin-top: clamp(10px, 1.6vh, 20px); padding-left: .38em; font: 600 clamp(.62rem, 1.2vw, 1.02rem)/1 var(--sans); letter-spacing: .38em; text-transform: uppercase; color: #5d4c46; }
.splash-btn { border: 1px solid #ebbcc2; border-radius: 14px; background: #f4cdd1; color: #2f2523; font-weight: 600; box-shadow: 0 8px 26px rgba(125, 47, 61, .16); }
.splash-btn:hover { background: #f0c0c6; color: #2f2523; }
.splash-btn:focus-visible { outline: 2px solid #d7a3ab; outline-offset: 4px; box-shadow: 0 8px 26px rgba(125, 47, 61, .16); }
@media (max-width: 700px), (max-aspect-ratio: 4/5) {
  .splash-logo .sl-1 { font-size: clamp(1.7rem, 10.2vw, 3.2rem); letter-spacing: .02em; }
  .splash-logo .sl-2 { font-size: clamp(.5rem, 2.6vw, .78rem); letter-spacing: .3em; padding-left: .3em; }
}

/* ===== v31: rustiger en sneller (opschoning) ===== */
/* Productpagina: maatwerk met deze stof als één compacte rij in plaats van twee grote blokken */
.made-to-measure { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.mtm-title { margin: 0 0 8px; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mtm-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.mtm-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid #ebbcc2; border-radius: 12px; background: #f4cdd1; color: #2f2523; font: 500 .9rem/1.2 var(--sans); text-decoration: none; transition: background .2s var(--ease); }
.mtm-btn:hover { background: #f0c0c6; color: #2f2523; }
.mtm-btn .icon { width: 18px; height: 18px; color: #7d2f3d; flex: none; }
/* Homepage op gsm en tablet: eerst de foto, dan de boodschap met de afdelingen, dan de winkelinfo (zonder urentabel en
   kaart: die staan in de voet en op de contactpagina) */
@media (max-width: 960px) {
  .hero-visit { display: flex; flex-direction: column; }
  .hero-visit-grid { display: contents; }
  .hero-visit-photo { order: 1; }
  .hero-visit > .wrap { order: 2; }
  .hero-visit .visit-panel { order: 3; }
  .hero-visit .visit-panel .hours, .hero-visit .visit-panel-map, .hero-visit .visit-panel .visit-list-compact { display: none; }
}

/* Gordijncalculator: muurkleur standaard dicht (gebroken wit), kussens: prijsuitleg standaard dicht */
.wall-details > summary, .ks-how > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; }
.wall-details > summary::-webkit-details-marker, .ks-how > summary::-webkit-details-marker { display: none; }
.wall-details > summary { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: 500 .92rem/1.2 var(--sans); color: var(--ink-2); }
.wall-details > summary::after, .ks-how > summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease); }
.wall-details[open] > summary::after, .ks-how[open] > summary::after { transform: rotate(-135deg); }
.wall-details[open] > summary { margin-bottom: 12px; }
.ks-how > summary h2 { margin: 0; }
.ks-how:not([open]) { padding-bottom: clamp(24px, 4vw, 40px); }

/* ===== v32: stofberekening en naaigaren in de patroonstudio ===== */
.fps-need { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: .9rem; color: #2f2523; }
.fps-need b { font-weight: 600; }
.fps-okb, .fps-est { display: inline-block; padding: 1px 8px; border-radius: 999px; font: 600 .66rem/1.6 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.fps-okb { background: #e5efe6; color: #2f5d39; }
.fps-est { background: #fbeedd; color: #8a5a17; }
.fps-how { margin-top: 4px; font-size: .78rem; color: #6b5a54; }
.fps-how > summary { cursor: pointer; color: #7d2f3d; text-decoration: underline; text-underline-offset: 2px; width: max-content; }
.fps-how ul { margin: 6px 0 0; padding-left: 18px; }
.fps-how li { margin: 2px 0; }
.fps-repeat { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .8rem; color: #4d3f3b; }
.fps-also { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #fbf6f2; font-size: .82rem; color: #4d3f3b; }
.fps-also strong { display: block; margin-bottom: 4px; font-weight: 600; font-size: .8rem; }
.fps-also ul { margin: 0; padding-left: 18px; }
.fps-thread { margin-top: 12px; padding: 12px 14px; border: 1px solid #ecdcd6; border-radius: 14px; background: #fff; }
.fps-th-title { margin: 0 0 8px; font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #8a7670; }
.fps-th-row { display: flex; gap: 12px; align-items: center; }
.fps-th-sw { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); box-shadow: inset 0 0 0 4px rgba(255,255,255,.35), inset 0 -6px 10px rgba(0,0,0,.12); }
.fps-th-main { display: flex; flex-direction: column; gap: 1px; font-size: .82rem; color: #6b5a54; }
.fps-th-main strong { font-size: .9rem; color: #2f2523; font-weight: 600; }
.fps-th-alt, .fps-th-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.fps-th-opt { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 3px 9px 3px 4px; border: 1px solid #e3d3cd; border-radius: 999px; background: #fff; font: 500 .76rem/1 var(--sans); color: #4d3f3b; cursor: pointer; }
.fps-th-opt span { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.fps-th-opt.is-on { border-color: #7d2f3d; box-shadow: 0 0 0 1px #7d2f3d; }
.fps-th-more { font-size: .8rem; }
.fps-th-grid { margin-top: 8px; max-height: 260px; overflow: auto; }
.fps-th-add { margin-top: 10px; }
.fps-th-add input[type=number] { width: 52px; min-height: 32px; padding: 2px 6px; border: 1px solid #e3d3cd; border-radius: 8px; font: inherit; }
.fps-th-note { margin: 8px 0 0; }

/* Roze knoppen (zelfde roze als het menu): homepage en de blokken "laten maken" op de afdelingspagina's */
.btn-pink, .calc-promo .btn-accent { background: #f4cdd1; border: 1px solid #ebbcc2; color: #2f2523; box-shadow: none; }
.btn-pink:hover, .btn-pink:focus-visible, .calc-promo .btn-accent:hover, .calc-promo .btn-accent:focus-visible { background: #f0c0c6; border-color: #e3aeb6; color: #2f2523; }
.btn-pink:active, .calc-promo .btn-accent:active { background: #ebb5bc; }
.calc-promo .btn-accent .icon { color: #7d2f3d; }

/* Zelfde roze knoppen als in het menu (met icoon): homepage en de blokken "laten maken" */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box;
  min-height: 48px; padding: 0 20px; margin: 0;
  border: 1px solid #ebbcc2; border-radius: 14px; background: #f4cdd1; box-shadow: none;
  color: #2f2523; font: 500 .93rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-pill .icon { width: 20px; height: 20px; flex: none; color: #7d2f3d; }
.btn-pill:hover { background: #f0c0c6; color: #2f2523; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(125, 47, 61, .12); }
.btn-pill:active { transform: translateY(0); box-shadow: none; }
.btn-pill:focus-visible { outline: 2.5px solid #7d2f3d; outline-offset: 3px; }
.hero-visit-actions { gap: 12px; }
@media (max-width: 640px) { .hero-visit-actions .btn-pill { width: 100%; } .calc-promo .btn-pill { width: 100%; } }

/* Zonder eigen modelfoto: alleen weergave en technische tekening, twee even brede vakken */
.bcard-model.no-photo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .bcard-model.no-photo { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; } }

/* Gordijncalculator op gsm/tablet: wat in beeld gescrold wordt, komt onder het vaste voorbeeld (niet erachter) */
@media (max-width: 1000px) { .cfg-steps :is(input, select, textarea, button, a, [tabindex], .is-invalid, [aria-invalid="true"]) { scroll-margin-top: calc(var(--hdr, 116px) + var(--cfg-prev, 0px) + 14px); scroll-margin-bottom: 90px; } }

/* Scrollherstel na "terug": heel even niets tonen tot de juiste plek ingesteld is (max. 1,2 s, zie /js/pos.js) */
html.sd-restoring body { visibility: hidden; }

/* Lichte placeholder in de kleur van de stof zolang de foto laadt (zelfde vorm, geen verschuiving) */
.card-media[style*="--ph"] { background: color-mix(in srgb, var(--ph) 18%, var(--sand)); }

/* Stoffenbibliotheek */
.lib-covers ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lib-covers a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; color: inherit; text-decoration: none; }
.lib-covers a:hover span, .lib-covers a:focus-visible span { text-decoration: underline; }
.lib-covers img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #f3f1ed; }
.lib-covers span { display: block; padding: 10px 14px 12px; font-weight: 600; }
.lib-covers small { font-weight: 400; color: var(--muted, #6e665e); margin-left: 4px; }
.lib-cat { margin: 44px 0 0; scroll-margin-top: calc(var(--hdr, 140px) + 16px); }
.lib-cat h2 { margin: 0 0 14px; }
@media (max-width: 1000px) { .lib-covers ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .lib-covers ul { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .lib-covers li { flex: 0 0 84%; scroll-snap-align: start; }
}
.lib-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.lib-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.lib-img { display: block; aspect-ratio: 1 / 1; background: #f3f1ed; }
.lib-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lib-meta { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.lib-sources { margin: 48px 0 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.lib-sources ul { columns: 2 280px; padding-left: 18px; }
@media (max-width: 560px) { .lib-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .lib-meta { padding: 8px 10px 10px; } }

/* Kleurkeuze met stalen (eigen stoffen met foto's per kleur): zelfde opmaak als de kleuren van de groothandel */
.colorway-pick li { position: relative; }
.colorway .cw-in { position: absolute; top: 0; left: 0; width: 56px; height: 56px; margin: 0; opacity: 0; pointer-events: none; }
.colorway .cw-sw { display: block; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--sand); cursor: pointer; }
.colorway .cw-sw img { width: 100%; height: 100%; object-fit: cover; }
.colorway .cw-sw span { display: grid; place-items: center; height: 100%; font-size: .6rem; text-align: center; padding: 2px; }
.colorway .cw-dot { display: block; width: 100%; height: 100%; }
.colorway .cw-in:checked + .cw-sw { outline: 2px solid var(--ink); outline-offset: 2px; }
.colorway .cw-in:focus-visible + .cw-sw { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.colorway .cw-in:disabled + .cw-sw { opacity: .45; cursor: not-allowed; }
.colorway .cw-in:checked ~ small { color: var(--ink); }


/* ---------- Snelkeuze kleur boven de stoffen (v45) ---------- */
.colourbar { margin: 0 0 16px; min-width: 0; max-width: 100%; }
.catalog > div { min-width: 0; }
.colourbar-list { list-style: none; margin: 0; padding: 2px 2px 6px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.cb-sw { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 74px; padding: 6px 2px; border-radius: var(--radius-lg); text-decoration: none; color: var(--ink-2); font-size: .76rem; line-height: 1.15; text-align: center; }
.cb-sw:hover { background: var(--accent-soft); }
.cb-dot { display: block; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.cb-sw.on .cb-dot { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 4px var(--ink); }
.cb-sw.on .cb-name { font-weight: 700; color: var(--ink); }
.cb-sw:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.colourbar-tint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
@media (max-width: 640px) { .cb-sw { width: 64px; font-size: .72rem; } .cb-dot { width: 28px; height: 28px; } }
@media (min-width: 901px) { .colourbar { display: none; } }   /* op computer staat de kleur bovenaan in de filterkolom */

.section-sub { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }

/* Veld "Kleur" op de productpagina: per kleur een staaltje met de kleurnaam ernaast; de gekozen kleur is omrand en aangevinkt */
.colorway-named { border: 0; padding: 0; min-width: 0; }
.colorway-named legend.colorway-title { padding: 0; }
.colorway-named ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 8px; }
.colorway-named li { position: relative; width: auto; min-width: 0; max-width: none; display: block; justify-items: stretch; }
.colorway-named .cw-in { width: 1px; height: 1px; }
.colorway-named .cw-opt { display: flex; width: 100%; box-sizing: border-box; align-items: center; gap: 10px; min-height: 52px; padding: 5px 30px 5px 5px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; position: relative; }
.colorway-named .cw-opt:hover { border-color: var(--taupe-dark, #8a7d6b); }
.colorway-named .cw-sw { width: 40px; height: 40px; flex: none; border-radius: 7px; overflow: hidden; border: 1px solid var(--line); background: var(--sand); outline: 0 !important; }
.colorway-named .cw-sw img, .colorway-named .cw-sw .cw-dot { width: 100%; height: 100%; object-fit: cover; display: block; }
.colorway-named .cw-name { font-size: .86rem; line-height: 1.2; overflow-wrap: break-word; min-width: 0; }   /* breekt alleen een woord dat alleen op een regel niet past */
/* gsm: lange kleurnamen ("Koningsblauw") niet midden in een woord afbreken: wat smaller staaltje en minder ruimte voor het vinkje */
@media (max-width: 480px) { .colorway-named .cw-opt { padding-right: 24px; gap: 8px; } .colorway-named .cw-sw { width: 34px; height: 34px; } .colorway-named .cw-in:checked + .cw-opt::after { right: 8px; } .colorway-named .cw-long .cw-name { font-size: .76rem; } }
.colorway-named .cw-name small { color: var(--muted); font-size: .76rem; }
.colorway-named .cw-in:checked + .cw-opt { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.colorway-named .cw-in:checked + .cw-opt::after { content: ""; position: absolute; right: 10px; top: 50%; width: 7px; height: 12px; margin-top: -8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.colorway-named .cw-in:focus-visible + .cw-opt { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.colorway-named .cw-in:disabled + .cw-opt { opacity: .5; cursor: not-allowed; }
@media (max-width: 560px) { .colorway-named ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .colorway-named .cw-opt { min-height: 48px; } .colorway-named .cw-sw { width: 36px; height: 36px; } }
/* Productkaart: kleuren van één stof */
.card-colors .dot { width: 11px; height: 11px; border: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.card-colors .dots { display: inline-flex; gap: 3px; }
.price-from { color: var(--muted); font-size: .85em; font-weight: 400; }
/* Winkelmand: kleur en artikelcode */
.cart-line .meta-code { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }

/* v56 – cookiekeuze (Google Ads-meting) */
.cookiebar{position:fixed;left:12px;right:12px;bottom:12px;z-index:60;display:flex;justify-content:center;pointer-events:none}
.cookiebar[hidden]{display:none}
.cookiebar-in{pointer-events:auto;max-width:760px;width:100%;background:#fffdf9;border:1px solid #e4dccf;border-radius:14px;box-shadow:0 10px 30px rgba(40,30,20,.16);padding:16px 18px;display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.cookiebar-in p{margin:0;flex:1 1 360px;font-size:.94rem;line-height:1.45}
.cookiebar-btns{display:flex;gap:10px;flex:0 0 auto}
.cookiebar-btns .btn{min-width:110px}
.footer-cookies{color:inherit;text-decoration:underline;font:inherit;padding:0;background:none;border:0;cursor:pointer}
@media (max-width:560px){.cookiebar-btns{width:100%}.cookiebar-btns .btn{flex:1}}
