:root {
  /* v1.3.46 — Variant C: wit-eerst Betternights-stijl. Volledige palette-shift van warme beige+oranje naar neutraal wit+grijs+zwart. Done-groen blijft onveranderd (herkenningselement). */
  --bg-1: #F8F8F7;
  --bg-2: #F0F0EE;
  --bg-3: #F4F4F2;
  --paper: #FFFFFF;
  --paper-soft: #FAFAF9;
  --paper-warm: #F0F0EE;

  --ink: #1A1A1A;
  --ink-soft: #555555;
  --ink-faint: #888888;

  --line: #E8E8E8;
  --line-soft: #F0F0F0;
  --line-strong: #B0B0B0;

  --accent: #1A1A1A;
  --accent-deep: #000000;
  --accent-soft: #F4F4F2;

  --selected: #1A1A1A;
  --selected-deep: #000000;
  --selected-soft: #F4F4F2;
  /* v1.3.14: --done apart van --selected. Vinkjes (✓ na voltooide stap) blijven GROEN. */
  --done: #4F7C3E;
  --done-deep: #3D6230;
  --done-soft: #DCEFE3;

  --glass-bg: rgba(255,255,255,0.55);
  --glass-bg-strong: rgba(255,255,255,0.88);
  --glass-border: rgba(255,255,255,0.5);
  --glass-blur: blur(22px) saturate(160%);

  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 22px;
  --r-pill: 999px;

  --ease: cubic-bezier(.4,.14,.3,1);
  --ease-spring: cubic-bezier(.5, 1.5, .4, 1);

  --sidebar-w: 440px;
  --bottom-right-w: 440px;
}

#wellsleep-configurator-wrap * { box-sizing: border-box; margin: 0; padding: 0; }
body.wellsleep-takeover-active {
  height: 100%;
  font-family: var(--font-body);
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  overflow: hidden;
}
#wellsleep-configurator-wrap button,
#wellsleep-configurator-wrap input,
#wellsleep-configurator-wrap textarea { font-family: inherit; cursor: pointer; border: none; background: transparent; color: inherit; }
#wellsleep-configurator-wrap input,
#wellsleep-configurator-wrap textarea { cursor: text; }
::selection { background: var(--accent); color: #fff; }

#wellsleep-configurator-wrap .app { position: fixed; inset: 0; overflow: hidden; }

/* === VIEWPORT 3D background === */
#wellsleep-configurator-wrap .viewport-3d {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 70% 50% at 35% 60%, rgba(31,26,20,0.06), transparent 60%),
    linear-gradient(180deg, #F5F1EA 0%, #E8DFC9 70%, #D8CBAA 100%);
  display: grid; place-items: center;
  padding: 140px 484px 110px 24px;
}
#wellsleep-configurator-wrap .viewport-3d-mock {
  width: 100%; max-width: 600px;
  aspect-ratio: 1.5;
  filter: drop-shadow(0 18px 24px rgba(31,26,20,.12));
}
#wellsleep-configurator-wrap .viewport-3d-mock svg { width: 100%; height: 100%; }

/* === 3D CANVAS (Three.js) — v1.0.3 === */
#wellsleep-configurator-wrap .viewport-3d-canvas-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none; /* alleen canvas zelf catched events */
  z-index: 1;
}
#wellsleep-configurator-wrap .viewport-3d-canvas-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  pointer-events: auto;
  outline: none;
  cursor: grab;
}
#wellsleep-configurator-wrap .viewport-3d-canvas-wrap canvas:active { cursor: grabbing; }

/* Modes: 3D toont canvas + verbergt SVG, 2D toont SVG + verbergt canvas */
#wellsleep-configurator-wrap .app[data-view-mode="3d"] .viewport-3d-mock { display: none; }
#wellsleep-configurator-wrap .app[data-view-mode="3d"] .viewport-3d-canvas-wrap { display: block; }
#wellsleep-configurator-wrap .app[data-view-mode="2d"] .viewport-3d-mock { display: block; }
#wellsleep-configurator-wrap .app[data-view-mode="2d"] .viewport-3d-canvas-wrap { display: none; }
#wellsleep-configurator-wrap .viewport-3d-canvas-wrap { display: none; } /* default verborgen tot 3D actief */

/* Loading-state */
#wellsleep-configurator-wrap .viewport-3d-loading {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: var(--ink-soft);
  font-size: 13px;
  font-family: var(--font-display);
  font-style: italic;
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
#wellsleep-configurator-wrap .viewport-3d-canvas-wrap.is-loading + .viewport-3d-loading { opacity: 1; }

/* === TOPBAR === */
#wellsleep-configurator-wrap .topbar {
  position: fixed; top: 24px; left: 24px; right: 24px; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 18px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
}
#wellsleep-configurator-wrap .brand { display: flex; align-items: center; gap: 16px; }
#wellsleep-configurator-wrap .brand-logo {
  width: 38px; height: 38px;
  background: var(--ink); color: var(--bg-1);
  border-radius: 11px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
#wellsleep-configurator-wrap .brand-name-wrap { display: flex; flex-direction: column; line-height: 1.1; }
#wellsleep-configurator-wrap .brand-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -.015em; }
#wellsleep-configurator-wrap .brand-sub { color: var(--ink-faint); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-top: 1px; }
#wellsleep-configurator-wrap .top-right { display: flex; align-items: center; gap: 12px; }
#wellsleep-configurator-wrap .help-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px 7px 11px;
  background: var(--paper); color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: all .2s var(--ease);
}
#wellsleep-configurator-wrap .help-link:hover { background: #fff; color: var(--ink); border-color: var(--line-strong); }
#wellsleep-configurator-wrap .help-link svg { width: 12px; height: 12px; }

/* v1.3.53: feedback-link in top-bar (vervangt floating) — accent-kleur (paars) zodat zichtbaar */
#wellsleep-configurator-wrap .wls-feedback-link {
  background: #5048E5; color: #ffffff; border-color: #4339d0;
}
#wellsleep-configurator-wrap .wls-feedback-link:hover {
  background: #3E37BC; color: #ffffff; border-color: #2f29a3;
}
/* v1.3.53: auth-link (login/uitlog) — subtiel, naast feedback */
#wellsleep-configurator-wrap .wls-auth-link {
  background: var(--paper); color: var(--ink-soft);
}
#wellsleep-configurator-wrap #wlsFeedbackTopSlot,
#wellsleep-configurator-wrap #wlsAuthTopSlot {
  display: inline-flex; align-items: center;
}
/* v1.3.53: oude floating feedback-knop expliciet verbergen voor het geval er resten zijn */
body.wellsleep-takeover-active > button#wls-feedback-btn { display: none !important; }

/* Preset-link in topbar — zelfde stijl als help-link + active dot als preset gekozen */
#wellsleep-configurator-wrap .preset-link { position: relative; }
#wellsleep-configurator-wrap .preset-link.is-active {
  background: var(--selected-soft);
  border-color: var(--selected);
  color: var(--selected-deep);
}
#wellsleep-configurator-wrap .preset-link.is-active::after {
  content: ''; position: absolute; top: 4px; right: 4px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--selected);
  border: 1.5px solid var(--paper-warm);
}
#wellsleep-configurator-wrap .preset-link.is-active:hover { background: var(--selected-soft); color: var(--selected-deep); border-color: var(--selected); }
#wellsleep-configurator-wrap .lang-flags {
  display: flex; gap: 2px; padding: 3px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
#wellsleep-configurator-wrap .flag { padding: 4px 9px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; color: var(--ink-soft); letter-spacing: .04em; }
#wellsleep-configurator-wrap .flag.is-active { background: var(--ink); color: #fff; }

/* === STEP PILLS === */
#wellsleep-configurator-wrap .step-pills {
  position: fixed; top: 96px; right: 24px;
  width: var(--sidebar-w);
  z-index: 9;
  display: flex; gap: 2px;
  padding: 4px 5px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  overflow-x: auto; scrollbar-width: none;
}
#wellsleep-configurator-wrap .step-pills::-webkit-scrollbar { display: none; }
#wellsleep-configurator-wrap .step-pills { cursor: grab; user-select: none; }
#wellsleep-configurator-wrap .step-pills:active { cursor: grabbing; }
#wellsleep-configurator-wrap .step-tab {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 4px;
  padding: 4px 9px 4px 4px;
  border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 700;
  color: var(--ink-faint); letter-spacing: .03em;
  white-space: nowrap;
  transition: all .2s var(--ease);
}
#wellsleep-configurator-wrap .step-tab:hover:not(.is-active) { color: var(--ink); }
#wellsleep-configurator-wrap .step-tab.is-active { background: var(--ink); color: #fff; }
#wellsleep-configurator-wrap .step-tab.is-done { color: var(--done-deep); }
#wellsleep-configurator-wrap .step-tab .step-num {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-3); color: var(--ink-faint);
  display: grid; place-items: center;
  font-size: 7.5px; font-weight: 800;
  transition: background-color .2s var(--ease);
}
#wellsleep-configurator-wrap .step-tab.is-active .step-num { background: var(--accent); color: #fff; }
#wellsleep-configurator-wrap .step-tab.is-done .step-num { background: var(--done); color: #fff; }
#wellsleep-configurator-wrap .step-tab.is-done .step-num span { display: none; }
#wellsleep-configurator-wrap .step-tab.is-done .step-num::before { content: '✓'; font-size: 14px; }

/* === SIZE BADGE + MODE TOGGLE === */
#wellsleep-configurator-wrap .size-badge-top {
  position: fixed; top: 96px; left: 24px; z-index: 7;
  padding: 7px 13px;
  background: var(--ink); color: #fff;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 14px; font-weight: 500;
}
#wellsleep-configurator-wrap .mode-toggle {
  position: fixed; top: 96px;
  /* Midden van werk-area (excl sidebar): (left-pad + sidebar-left-edge) / 2 */
  left: calc(24px + (100vw - var(--sidebar-w) - 48px) / 2);
  transform: translateX(-50%); z-index: 7;
  display: flex; gap: 3px;
  padding: 3px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
}
#wellsleep-configurator-wrap .mode-btn { padding: 5px 11px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; color: var(--ink-soft); letter-spacing: .02em; text-transform: uppercase; }
#wellsleep-configurator-wrap .mode-btn.is-active { background: var(--ink); color: #fff; }

/* === SIDEBAR === */
#wellsleep-configurator-wrap .sidebar {
  position: fixed; top: 140px; right: 24px;
  bottom: 96px; width: var(--sidebar-w); z-index: 8;
  overflow-y: auto; scrollbar-width: thin;
  display: flex; flex-direction: column; gap: 10px;
  padding-right: 4px;
  scroll-behavior: smooth;
}
#wellsleep-configurator-wrap .sidebar::-webkit-scrollbar { width: 4px; }
#wellsleep-configurator-wrap .sidebar::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.08); border-radius: 2px; }

#wellsleep-configurator-wrap .card {
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  flex-shrink: 0;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
#wellsleep-configurator-wrap .card.is-done { background: #fff; border-color: rgba(79,124,62,.3); }
#wellsleep-configurator-wrap .card.is-active { background: #fff; border-color: var(--line-strong); }
#wellsleep-configurator-wrap .card-head {
  display: grid; grid-template-columns: 26px 1fr auto;
  align-items: center; gap: 10px;
  padding: 10px 13px; width: 100%;
  text-align: left; user-select: none;
}
#wellsleep-configurator-wrap .card:not(.is-active) .card-head:hover { background: rgba(255,255,255,0.35); }
#wellsleep-configurator-wrap .num {
  width: 26px; height: 26px;
  border-radius: 50%; background: var(--accent);
  color: #fff; font-weight: 800; font-size: 14px;
  display: grid; place-items: center;
}
#wellsleep-configurator-wrap .card.is-done .num { background: var(--done); }
#wellsleep-configurator-wrap .card.is-done .num span { display: none; }
#wellsleep-configurator-wrap .card.is-done .num::before { content: '✓'; font-size: 13px; }
#wellsleep-configurator-wrap .card.is-active:not(.is-done) .num { background: var(--ink); }
#wellsleep-configurator-wrap .label-block { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#wellsleep-configurator-wrap .card-name { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: -.01em; line-height: 1.2; }
#wellsleep-configurator-wrap .card-value { font-size: 14px; color: var(--done-deep); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
#wellsleep-configurator-wrap .card-value::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--done); flex-shrink: 0; }
#wellsleep-configurator-wrap .card-value.empty { display: none; }
#wellsleep-configurator-wrap .right-meta { display: flex; align-items: center; gap: 7px; }
#wellsleep-configurator-wrap .block-info-btn {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  border: 2px solid #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: 14px; line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(194,106,45,.45);
  transition: all .15s var(--ease);
  flex-shrink: 0;
}
#wellsleep-configurator-wrap .block-info-btn:hover { background: var(--accent-deep); transform: scale(1.1); }
#wellsleep-configurator-wrap .pill-required {
  background: var(--accent); color: #fff;
  font-size: 7.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill);
}
#wellsleep-configurator-wrap .chev {
  color: var(--ink-faint);
  width: 20px; height: 20px;
  background: rgba(0,0,0,0.04); border-radius: 50%;
  display: grid; place-items: center; font-size: 14px;
  transition: transform .2s var(--ease);
}
#wellsleep-configurator-wrap .card.is-active .chev { transform: rotate(180deg); background: rgba(0,0,0,0.08); }

#wellsleep-configurator-wrap .card-body { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
#wellsleep-configurator-wrap .card.is-active .card-body { max-height: 1600px; }
#wellsleep-configurator-wrap .card-body-inner { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 8px; }
#wellsleep-configurator-wrap .card-desc { color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; margin: 0 0 2px; }

/* === TILE GRID === */
#wellsleep-configurator-wrap .tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
#wellsleep-configurator-wrap .tile-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
#wellsleep-configurator-wrap .tile {
  position: relative;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 9px 10px;
  display: flex; flex-direction: column; gap: 4px;
  text-align: left;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
#wellsleep-configurator-wrap .tile:hover:not(.is-sel) { background: #fff; border-color: var(--line-strong); }
#wellsleep-configurator-wrap .tile.is-sel { border-color: var(--selected); background: var(--selected-soft); }
#wellsleep-configurator-wrap .tile.is-sel::after {
  content: '✓'; position: absolute; top: 8px; right: 8px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--selected); color: #fff;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
}
#wellsleep-configurator-wrap .tile-illus {
  aspect-ratio: 16/7;
  background: var(--bg-3); border-radius: 6px;
  display: grid; place-items: center; overflow: hidden;
}
#wellsleep-configurator-wrap .tile.is-sel .tile-illus { background: #fff; }
#wellsleep-configurator-wrap .tile-illus svg { width: 70%; height: 70%; color: var(--ink); }
#wellsleep-configurator-wrap .tile-name { font-family: var(--font-display); font-weight: 600; font-size: 14px; line-height: 1.2; }
#wellsleep-configurator-wrap .tile-meta { font-size: 13px; color: var(--ink-faint); line-height: 1.4; }
/* User-wens: voeteinde-stap zonder sub-tekst (alleen naam + prijs) */
#wellsleep-configurator-wrap .card[data-step="footboard"] .tile-meta { display: none; }
#wellsleep-configurator-wrap .tile-price { font-weight: 700; font-size: 14px; color: var(--ink); }
#wellsleep-configurator-wrap .tile-price.is-base { color: var(--ink-faint); font-style: italic; font-weight: 500; }
#wellsleep-configurator-wrap .tile-badge {
  position: absolute; top: 7px; left: 7px;
  background: var(--ink); color: #fff;
  font-size: 8px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
  padding: 2px 6px; border-radius: var(--r-pill);
}
#wellsleep-configurator-wrap .tile-badge.is-new { background: var(--selected); }
#wellsleep-configurator-wrap .tile-badge.is-custom { background: var(--accent); }

/* v1.0.5 D — "Matras op maat" tile: subtle cognac/accent accent */
#wellsleep-configurator-wrap .tile-custom {
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--paper) 70%);
}
#wellsleep-configurator-wrap .tile-custom .tile-wide-illus {
  background: var(--paper);
  color: var(--accent-deep);
}
#wellsleep-configurator-wrap .tile-custom .tile-name { color: var(--accent-deep); }
#wellsleep-configurator-wrap .tile-custom:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(199,127,59,.15);
}
#wellsleep-configurator-wrap .tile-custom.is-sel {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(199,127,59,.25);
}
#wellsleep-configurator-wrap .tile-info-btn {
  position: absolute; bottom: 8px; right: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  border: 2px solid #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: 14px; line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(194,106,45,.45);
  transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .tile-info-btn:hover { background: var(--accent-deep); transform: scale(1.1); }
#wellsleep-configurator-wrap .tile-info-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#wellsleep-configurator-wrap .tile.is-sel .tile-info-btn { background: var(--selected-deep); }

/* Wide tiles (matras/topper) */
#wellsleep-configurator-wrap .tile.is-wide { grid-column: span 2; }
#wellsleep-configurator-wrap .tile-wide-inner { display: flex; gap: 12px; align-items: center; }
#wellsleep-configurator-wrap .tile-wide-illus { flex: 0 0 90px; aspect-ratio: 16/10; background: var(--bg-3); border-radius: 6px; display: grid; place-items: center; }
#wellsleep-configurator-wrap .tile.is-sel .tile-wide-illus { background: #fff; }
#wellsleep-configurator-wrap .tile-wide-illus svg { width: 70%; height: 70%; color: var(--ink); }
#wellsleep-configurator-wrap .tile-wide-body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }

/* === SIZE BUTTONS (stap 1) === */
#wellsleep-configurator-wrap .size-group { margin-bottom: 14px; }
#wellsleep-configurator-wrap .size-group:last-child { margin-bottom: 0; }
#wellsleep-configurator-wrap .size-group-label {
  font-size: 13px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 7px;
}
#wellsleep-configurator-wrap .size-group-label .val {
  float: right; font-family: var(--font-display);
  font-weight: 600; font-size: 14px;
  color: var(--accent); letter-spacing: 0; text-transform: none;
}
#wellsleep-configurator-wrap .size-btn-list { display: flex; gap: 5px; flex-wrap: wrap; }
#wellsleep-configurator-wrap .size-btn {
  padding: 7px 12px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 700;
  color: var(--ink-soft);
  transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .size-btn:hover:not(.is-sel) { border-color: var(--line-strong); color: var(--ink); }
#wellsleep-configurator-wrap .size-btn.is-sel { background: var(--ink); color: #fff; border-color: var(--ink); }
#wellsleep-configurator-wrap .size-btn .extra { color: var(--accent); font-style: italic; font-weight: 500; font-size: 12.5px; margin-left: 3px; }
#wellsleep-configurator-wrap .size-btn.is-sel .extra { color: var(--accent-soft); }

/* === STOF B — Tabs + kleur-grid (user-keuze, vervangt accordion) === */
#wellsleep-configurator-wrap .fab-tabs {
  display: flex; gap: 4px;
  padding: 4px;
  background: var(--bg-1);
  border-radius: var(--r-pill);
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
#wellsleep-configurator-wrap .fab-tabs::-webkit-scrollbar { display: none; }
#wellsleep-configurator-wrap .fab-tab {
  flex: 1 0 auto;
  border: none; background: transparent;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s var(--ease);
  font-family: var(--font-display);
}
#wellsleep-configurator-wrap .fab-tab:hover { color: var(--ink); }
#wellsleep-configurator-wrap .fab-tab.is-active { background: var(--ink); color: #fff; }

/* v1.0.10 E1: Meer weten knop ÓNDER tabs + inline expand */
#wellsleep-configurator-wrap .fab-info-toggle {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: var(--paper-warm);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  margin: 10px 0;
  transition: all .15s var(--ease);
  text-align: left;
  font-family: inherit;
}
#wellsleep-configurator-wrap .fab-info-toggle:hover { border-color: var(--accent); }
#wellsleep-configurator-wrap .fab-info-toggle.is-open { border-color: var(--accent); background: var(--accent-soft); }
#wellsleep-configurator-wrap .fab-info-toggle-icon {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ink); color: var(--paper);
  flex-shrink: 0;
}
#wellsleep-configurator-wrap .fab-info-toggle-icon svg { width: 14px; height: 14px; }
#wellsleep-configurator-wrap .fab-info-toggle-text {
  flex: 1;
  font-size: 13px; font-weight: 600;
  color: var(--ink);
}
#wellsleep-configurator-wrap .fab-info-toggle-chev {
  font-size: 12px;
  color: var(--ink-soft);
}
#wellsleep-configurator-wrap .fab-info-expand {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  margin-bottom: 10px;
  animation: fab-info-slide .25s var(--ease);
}
@keyframes fab-info-slide {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
#wellsleep-configurator-wrap .fab-info-expand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
#wellsleep-configurator-wrap .fab-info-expand-text p {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 6px;
}
#wellsleep-configurator-wrap .fab-info-expand-text p.fab-info-expand-sub {
  color: var(--ink-faint);
  font-size: 12px;
}

#wellsleep-configurator-wrap .fab-content {
  background: var(--paper-warm);
  border-radius: var(--r-sm);
  padding: 14px;
}
#wellsleep-configurator-wrap .fab-info {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
#wellsleep-configurator-wrap .fab-info-text {
  font-size: 13px; color: var(--ink-soft);
  line-height: 1.5;
  flex: 1; min-width: 0;
}
#wellsleep-configurator-wrap .fab-info-text strong {
  display: block;
  color: var(--ink); font-weight: 600; font-family: var(--font-display);
  font-size: 14px; letter-spacing: -.01em;
  margin-bottom: 2px;
}
#wellsleep-configurator-wrap .fab-info-sub {
  display: block;
  font-size: 12.5px; color: var(--ink-soft);
  line-height: 1.45;
}
#wellsleep-configurator-wrap .fab-info-price {
  font-family: var(--font-display);
  font-weight: 700; font-size: 13px;
  color: var(--accent);
  flex-shrink: 0;
}
#wellsleep-configurator-wrap .fab-info-price.is-base {
  color: var(--ink-faint); font-style: italic; font-weight: 600;
}
#wellsleep-configurator-wrap .fab-colors-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
#wellsleep-configurator-wrap .fab-color {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 8px 10px;
  cursor: pointer;
  text-align: center;
  transition: all .15s var(--ease);
  /* Backend-ready: per-kleur media-bron — fallback op kleur als geen media */
  overflow: hidden; position: relative;
}
#wellsleep-configurator-wrap .fab-color:hover { border-color: var(--accent); transform: translateY(-1px); }
#wellsleep-configurator-wrap .fab-color.is-sel {
  border-color: var(--selected);
  background: var(--selected-soft);
  box-shadow: 0 0 0 2px rgba(95,133,64,.15);
}
#wellsleep-configurator-wrap .fab-color-swatch {
  display: block;
  width: 100%; aspect-ratio: 1;
  border-radius: 50%;
  margin-bottom: 6px;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  /* Backend-ready: kan ook background-image (foto/gif) of <video> bevatten */
  background-size: cover; background-position: center;
}
#wellsleep-configurator-wrap .fab-color-name {
  font-size: 13px; font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
#wellsleep-configurator-wrap .fab-color.is-sel .fab-color-name { color: var(--selected-deep); }

/* B1 — Info-icoontje rechtsboven op kleur-swatch */
#wellsleep-configurator-wrap .fab-color-info {
  position: absolute;
  top: 4px; right: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  font-style: italic;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 2;
  transition: all .12s var(--ease);
  box-shadow: 0 1px 2px rgba(31,26,20,.10);
}
#wellsleep-configurator-wrap .fab-color-info:hover {
  background: var(--ink);
  color: #fff;
  transform: scale(1.1);
}

/* B2 — Oude "Gekozen:" regel CSS blijft staan voor back-compat maar wordt niet meer gebruikt */

/* Bevestigings-regel onderaan: "Gekozen: Tresor · Zand" */
#wellsleep-configurator-wrap .fab-chosen {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px;
  padding: 9px 14px;
  background: var(--selected-soft);
  border-radius: var(--r-sm);
  font-size: 13px;
}
#wellsleep-configurator-wrap .fab-chosen-swatch {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  background-size: cover; background-position: center;
  flex-shrink: 0;
}
#wellsleep-configurator-wrap .fab-chosen-label {
  font-size: 14px; font-weight: 800;
  color: var(--selected-deep);
  letter-spacing: .1em;
  text-transform: uppercase;
}
#wellsleep-configurator-wrap .fab-chosen-value {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
  flex: 1;
}

/* === TOPPER B — List + dikte-badges (user-keuze, geen sub-tekst) === */
#wellsleep-configurator-wrap .topper-list { display: flex; flex-direction: column; gap: 6px; }
#wellsleep-configurator-wrap .topper-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  position: relative;
  transition: all .15s var(--ease);
  text-align: left;
}
#wellsleep-configurator-wrap .topper-row:hover { border-color: var(--accent); }
#wellsleep-configurator-wrap .topper-row.is-sel {
  border-color: var(--selected);
  background: var(--selected-soft);
  box-shadow: 0 0 0 2px rgba(95,133,64,.15);
}
#wellsleep-configurator-wrap .topper-thickness {
  flex: 0 0 38px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 4px 6px;
  text-align: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px;
  color: var(--ink);
}
#wellsleep-configurator-wrap .topper-thickness small {
  display: block;
  font-size: 8px;
  color: var(--ink-faint);
  font-weight: 600;
  letter-spacing: .08em;
  font-family: var(--font-body);
}
#wellsleep-configurator-wrap .topper-row.is-sel .topper-thickness {
  background: var(--paper);
  color: var(--selected-deep);
  border-color: var(--selected);
}
#wellsleep-configurator-wrap .topper-info { flex: 1; min-width: 0; }
#wellsleep-configurator-wrap .topper-name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 12.5px;
  display: flex; align-items: center; gap: 6px;
}
#wellsleep-configurator-wrap .topper-tag {
  font-size: 8.5px; font-weight: 800;
  padding: 2px 6px; border-radius: 3px;
  background: var(--ink); color: #fff;
  letter-spacing: .06em; text-transform: uppercase;
}
#wellsleep-configurator-wrap .topper-tag.is-new { background: var(--selected); }
#wellsleep-configurator-wrap .topper-price {
  font-family: var(--font-display);
  font-weight: 700; font-size: 14px;
  color: var(--ink);
  flex-shrink: 0;
}
#wellsleep-configurator-wrap .topper-price.is-base { color: var(--ink-faint); font-style: italic; font-weight: 500; }
#wellsleep-configurator-wrap .topper-row.is-sel .topper-price { color: var(--selected-deep); }
#wellsleep-configurator-wrap .topper-info-btn {
  position: absolute;
  top: 50%; right: 44px;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  border: 2px solid #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: 13px; line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(194,106,45,.45);
  transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .topper-info-btn:hover { background: var(--accent-deep); transform: translateY(-50%) scale(1.1); }
#wellsleep-configurator-wrap .topper-row.is-sel .topper-info-btn { background: var(--selected-deep); }

/* === FABRIC ACCORDION (LEGACY — not used since Stof B) === */
#wellsleep-configurator-wrap .fabric-collection {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 6px;
  transition: border-color .15s var(--ease);
}
#wellsleep-configurator-wrap .fabric-collection.is-open { border-color: var(--accent); }
#wellsleep-configurator-wrap .fabric-collection.is-selected { border-color: var(--selected); }
#wellsleep-configurator-wrap .fabric-head {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 1fr auto auto auto auto;
  align-items: center; gap: 8px;
  padding: 10px 12px;
}
#wellsleep-configurator-wrap .fabric-head:hover { background: var(--paper-soft); }
#wellsleep-configurator-wrap .fabric-head-name { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
#wellsleep-configurator-wrap .fabric-pg { font-size: 14px; font-weight: 800; padding: 3px 7px; background: var(--accent-soft); color: var(--accent-deep); border-radius: var(--r-pill); letter-spacing: .04em; }
#wellsleep-configurator-wrap .fabric-badge { font-size: 14px; font-weight: 800; padding: 3px 7px; background: var(--ink); color: #fff; border-radius: var(--r-pill); letter-spacing: .04em; text-transform: uppercase; }
#wellsleep-configurator-wrap .fabric-badge.is-new { background: var(--selected); }
#wellsleep-configurator-wrap .fabric-info-btn {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700; font-style: italic; font-size: 14px;
  display: grid; place-items: center;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(194,106,45,.45);
  transition: all .15s var(--ease);
  cursor: pointer;
}
#wellsleep-configurator-wrap .fabric-info-btn:hover { background: var(--accent-deep); transform: scale(1.1); }
#wellsleep-configurator-wrap .fabric-count { font-size: 13px; color: var(--ink-faint); }
#wellsleep-configurator-wrap .fabric-chev { color: var(--ink-faint); font-size: 14px; transition: transform .2s var(--ease); }
#wellsleep-configurator-wrap .fabric-collection.is-open .fabric-chev { transform: rotate(180deg); }
#wellsleep-configurator-wrap .fabric-colors {
  max-height: 0; overflow: hidden;
  transition: max-height .3s var(--ease);
}
#wellsleep-configurator-wrap .fabric-collection.is-open .fabric-colors { max-height: 220px; }
#wellsleep-configurator-wrap .fabric-colors-inner {
  padding: 6px 12px 12px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
}
#wellsleep-configurator-wrap .swatch {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  position: relative;
  transition: transform .15s var(--ease);
}
#wellsleep-configurator-wrap .swatch:hover { transform: scale(1.12); }
#wellsleep-configurator-wrap .swatch.is-sel {
  box-shadow: 0 0 0 2.5px var(--selected);
}
#wellsleep-configurator-wrap .swatch.is-sel::after {
  content: '✓'; position: absolute; inset: 0;
  display: grid; place-items: center;
  color: #fff; font-size: 14px; font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}

/* === HARDNESS / QUILTING PILLS === */
#wellsleep-configurator-wrap .sub-section { margin-top: 12px; }
#wellsleep-configurator-wrap .sub-section-label {
  font-size: 13px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 7px;
  display: flex; align-items: center; justify-content: space-between;
}
#wellsleep-configurator-wrap .sub-section-label .info-btn {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  border: 1.5px solid rgba(255,255,255,.2);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-style: italic; font-size: 13px;
  letter-spacing: 0; text-transform: none;
  box-shadow: 0 2px 5px rgba(31,26,20,.18);
  cursor: pointer;
  transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .sub-section-label .info-btn:hover { background: var(--accent); transform: scale(1.1); }

/* inline info-btn voor size-group labels */
#wellsleep-configurator-wrap .size-group-label { display: flex; align-items: baseline; gap: 6px; }
#wellsleep-configurator-wrap .info-btn-inline {
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  border: 1.5px solid rgba(255,255,255,.2);
  display: inline-grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-style: italic; font-size: 12.5px;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 1;
  box-shadow: 0 2px 5px rgba(31,26,20,.18);
  cursor: pointer;
  transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .info-btn-inline:hover { background: var(--accent); transform: scale(1.1); }
#wellsleep-configurator-wrap .pill-list { display: flex; gap: 5px; flex-wrap: wrap; }
#wellsleep-configurator-wrap .pill-btn {
  padding: 6px 12px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 700;
  color: var(--ink-soft);
  transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .pill-btn:hover:not(.is-sel) { border-color: var(--line-strong); color: var(--ink); }
#wellsleep-configurator-wrap .pill-btn.is-sel { background: var(--ink); color: #fff; border-color: var(--ink); }
#wellsleep-configurator-wrap .pill-btn .extra { color: var(--accent); font-style: italic; font-weight: 500; font-size: 12.5px; margin-left: 3px; }
#wellsleep-configurator-wrap .pill-btn.is-sel .extra { color: var(--accent-soft); }

/* === SENSOWELL ADD-ON ROW (matras-stap) === */
#wellsleep-configurator-wrap .sw-addon-row {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--bg-1);
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  transition: all .2s var(--ease);
}
#wellsleep-configurator-wrap .sw-addon-row.is-on {
  background: linear-gradient(135deg, var(--selected-soft) 0%, #EAF2DD 100%);
  border: 1.5px solid var(--selected);
}
#wellsleep-configurator-wrap .sw-addon-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-2); color: var(--ink-soft);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all .2s var(--ease);
}
#wellsleep-configurator-wrap .sw-addon-row.is-on .sw-addon-icon { background: var(--selected); color: #fff; }
#wellsleep-configurator-wrap .sw-addon-icon svg { width: 14px; height: 14px; }
#wellsleep-configurator-wrap .sw-addon-text { display: flex; flex-direction: column; gap: 0; line-height: 1.2; }
#wellsleep-configurator-wrap .sw-addon-title { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
#wellsleep-configurator-wrap .sw-addon-sub { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
#wellsleep-configurator-wrap .sw-addon-row.is-on .sw-addon-sub { color: var(--selected-deep); }
#wellsleep-configurator-wrap .sw-addon-info-btn {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  background: var(--ink); color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700; font-style: italic;
  font-size: 14px;
  display: grid; place-items: center;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(31,26,20,.18);
  cursor: pointer;
  transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .sw-addon-info-btn:hover { background: var(--accent); transform: scale(1.1); }
#wellsleep-configurator-wrap .sw-addon-row.is-on .sw-addon-info-btn { background: var(--selected-deep); }
#wellsleep-configurator-wrap .sw-addon-switch {
  width: 32px; height: 18px;
  background: var(--line);
  border-radius: var(--r-pill);
  position: relative;
  flex-shrink: 0;
  transition: background-color .2s var(--ease);
}
#wellsleep-configurator-wrap .sw-addon-switch::after {
  content: ''; position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform .25s var(--ease-spring);
}
#wellsleep-configurator-wrap .sw-addon-row.is-on .sw-addon-switch { background: var(--selected); }
#wellsleep-configurator-wrap .sw-addon-row.is-on .sw-addon-switch::after { transform: translateX(14px); }

/* === PARTNER-MATRAS button (matras-stap) === */
#wellsleep-configurator-wrap .partner-row {
  margin-top: 8px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  width: 100%;
  transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .partner-row:hover { border-color: var(--line-strong); background: #fff; }
#wellsleep-configurator-wrap .partner-row.is-on { background: var(--accent-soft); border-color: var(--accent); }
#wellsleep-configurator-wrap .partner-row-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-2); color: var(--ink-soft);
  display: grid; place-items: center;
  flex-shrink: 0;
}
#wellsleep-configurator-wrap .partner-row.is-on .partner-row-icon { background: var(--accent); color: #fff; }
#wellsleep-configurator-wrap .partner-row-icon svg { width: 13px; height: 13px; }
#wellsleep-configurator-wrap .partner-row-text { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
#wellsleep-configurator-wrap .partner-row-title { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
#wellsleep-configurator-wrap .partner-row-sub { font-size: 13.5px; color: var(--ink-soft); }
#wellsleep-configurator-wrap .partner-row.is-on .partner-row-sub { color: var(--accent-deep); font-weight: 600; }
#wellsleep-configurator-wrap .partner-row-arrow { color: var(--ink-faint); }
#wellsleep-configurator-wrap .partner-row:hover .partner-row-arrow { color: var(--accent); }

/* === FEET COLORS === */
#wellsleep-configurator-wrap .color-circles { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
#wellsleep-configurator-wrap .color-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1.5px var(--line);
  transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .color-circle:hover { transform: scale(1.06); }
#wellsleep-configurator-wrap .color-circle.is-sel { box-shadow: 0 0 0 2.5px var(--selected); }

/* === CARD FOOTER === */
#wellsleep-configurator-wrap .card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  background: rgba(0,0,0,0.02);
  border-top: 1px solid var(--line-soft);
}
#wellsleep-configurator-wrap .btn-back { font-size: 14px; font-weight: 600; color: var(--ink-soft); padding: 5px 10px; }
#wellsleep-configurator-wrap .btn-back:hover:not(:disabled) { color: var(--accent); }
#wellsleep-configurator-wrap .btn-back:disabled { opacity: .5; cursor: not-allowed; }
#wellsleep-configurator-wrap .btn-next {
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 5px;
}
#wellsleep-configurator-wrap .btn-next:hover { background: #3A352E; }

/* === STAP 9: OVERZICHT — "Mijn Boxspring" === */
#wellsleep-configurator-wrap .summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 20px;
}
#wellsleep-configurator-wrap .sum-eyebrow {
  font-size: 14px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 4px;
}
#wellsleep-configurator-wrap .sum-title {
  font-family: var(--font-display);
  font-weight: 600; font-size: 21px;
  margin-bottom: 16px; letter-spacing: -.01em;
}
#wellsleep-configurator-wrap .sum-table { width: 100%; border-collapse: collapse; }
#wellsleep-configurator-wrap .sum-table td {
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
#wellsleep-configurator-wrap .sum-table tr:last-child td { border-bottom: none; }
#wellsleep-configurator-wrap .sum-key {
  color: var(--ink-faint); font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .08em;
  font-weight: 700; width: 35%;
}
#wellsleep-configurator-wrap .sum-val {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 500; font-size: 14px;
}

/* === Highlight Variant C — "Inbegrepen extra's" === */
#wellsleep-configurator-wrap .extras-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
#wellsleep-configurator-wrap .extras-header {
  font-size: 13px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--selected-deep); margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
#wellsleep-configurator-wrap .extras-header::before { content: ''; width: 8px; height: 8px; background: var(--selected); border-radius: 50%; }
#wellsleep-configurator-wrap .extras-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#wellsleep-configurator-wrap .extras-card {
  background: var(--selected-soft);
  border: 1px solid rgba(79,124,62,.3);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* v1.0.5 — Klikbare toggle-versie voor stap 9 (Sensowell + Motorrahmen) */
#wellsleep-configurator-wrap .extras-card.extras-toggle {
  cursor: pointer;
  position: relative;
  text-align: left;
  font-family: inherit;
  /* default: UIT-staat (grijs, paper-bg, niet-actief look) */
  background: var(--paper);
  border: 1.5px solid var(--line);
  transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .extras-card.extras-toggle:hover {
  border-color: var(--ink-faint);
  transform: translateY(-1px);
}
/* AAN-staat: groen accent zoals nu */
#wellsleep-configurator-wrap .extras-card.extras-toggle.is-on {
  background: var(--selected-soft);
  border-color: rgba(79,124,62,.45);
  box-shadow: 0 0 0 2px rgba(95,133,64,.12);
}
/* Check-indicator linksboven (visueel feedback) */
#wellsleep-configurator-wrap .extras-card-check {
  position: absolute;
  top: 8px; right: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  border: 1.5px solid var(--line);
  color: transparent;
  transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .extras-card.extras-toggle.is-on .extras-card-check {
  background: var(--selected);
  border-color: var(--selected-deep);
  color: #fff;
}
#wellsleep-configurator-wrap .extras-card-check svg { width: 12px; height: 12px; }
/* Icon-circle wordt grijs als off */
#wellsleep-configurator-wrap .extras-card.extras-toggle:not(.is-on) .extras-card-icon {
  background: var(--line);
  color: var(--ink-soft);
}
#wellsleep-configurator-wrap .extras-card.extras-toggle:not(.is-on) .extras-card-price {
  color: var(--ink-faint);
}
#wellsleep-configurator-wrap .extras-card-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 2px 0;
  line-height: 1.4;
}
#wellsleep-configurator-wrap .extras-card.extras-toggle:not(.is-on) .extras-card-desc { color: var(--ink-faint); }

#wellsleep-configurator-wrap .extras-card-icon-row {
  display: flex; align-items: center; gap: 7px;
}
#wellsleep-configurator-wrap .extras-card-icon {
  width: 18px; height: 18px;
  background: var(--selected); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
#wellsleep-configurator-wrap .extras-card-icon svg { width: 9px; height: 9px; }
#wellsleep-configurator-wrap .extras-card-name { font-family: var(--font-display); font-weight: 600; font-size: 13px; }
#wellsleep-configurator-wrap .extras-card-price { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--selected-deep); margin-top: 2px; }

/* === Trust items (overzicht-stap) === */
#wellsleep-configurator-wrap .trust-strip {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--paper-warm);
  border-radius: var(--r-sm);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
#wellsleep-configurator-wrap .trust-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 4px;
}
#wellsleep-configurator-wrap .trust-item svg { width: 18px; height: 18px; color: var(--accent); }
#wellsleep-configurator-wrap .trust-item-label {
  font-size: 14px; font-weight: 800;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1.3;
}

/* === REVIEW STEP — bestellen-CTA in card body (stap 9) ===
   Versimpeld v7: geen groene rand, geen "TOTAAL INCL. BTW" label. Alleen prijs + knop. */
#wellsleep-configurator-wrap .review-order-cta {
  margin-top: 14px;
  padding: 4px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
#wellsleep-configurator-wrap .review-order-price-val {
  font-family: var(--font-display);
  font-weight: 600; font-size: 22px;
  color: var(--ink);
  letter-spacing: -.01em;
}
#wellsleep-configurator-wrap .review-order-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 18px;
  background: var(--selected); color: #fff;
  font-size: 13px; font-weight: 700;
  border-radius: var(--r-pill);
  border: none; cursor: pointer;
  transition: background-color .15s var(--ease);
  white-space: nowrap;
}
#wellsleep-configurator-wrap .review-order-btn:hover { background: var(--selected-deep); }
#wellsleep-configurator-wrap .review-order-btn svg { width: 13px; height: 13px; }

/* === BOTTOM BAR === */
/* === BOTTOM BAR — 4 segmenten op één rij, allemaal 48px hoog ===
   Layout: [tools auto] ... [chips midden absolute] ... [bestellen 440px=sidebar-w]
   Chips zijn ABSOLUTE positioned midden van werk-area (excl sidebar), niet meer in flex.
   Bestellen heeft margin-left:auto om naar rechts te flexen. */
#wellsleep-configurator-wrap .bottom-bar {
  position: fixed; bottom: 24px; left: 24px; right: 24px; z-index: 10;
  display: flex; align-items: stretch;
  gap: 8px; pointer-events: none;
  height: 48px;
}
/* Alle 4 segmenten delen deze stijl */
#wellsleep-configurator-wrap .bottom-segment {
  pointer-events: auto;
  height: 48px;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  display: flex; align-items: center;
}
/* ===========================================================================
   v1.2.6: BOTTOM TOOLBAR — Floating Cards V3 (3 aparte witte pill-groepen)
   - Groep 1: zoom-uit / zoom-in / draaien (3 ronde knoppen 42px)
   - Groep 2: AFMETING CTA (gelabelde pill, accent kleur, toggle)
   - Groep 3: delen / bewaar (2 ronde knoppen)
   Tussen groepen 8px gap. Elke groep heeft witte paper bg + soft shadow.
   =========================================================================== */
#wellsleep-configurator-wrap .bottom-tools {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  /* Verwijdert oude bottom-left padding/border-radius — laat bottom-bar de
     huidige rounded container behouden, maar de groepen drijven er bovenop. */
  background: transparent;
  border: none;
  padding: 0 6px;
}
#wellsleep-configurator-wrap .tool-group {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--paper);
  border-radius: 14px;
  padding: 5px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}
/* Groep 2 (afmeting CTA) zit als pill-groep maar zonder padding rondom de
   gelabelde knop, zodat de CTA visueel iets meer "eruit steekt". */
#wellsleep-configurator-wrap .tool-group--cta {
  padding: 4px;
}
#wellsleep-configurator-wrap .tool-btn {
  background: transparent;
  border: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink-soft);
  position: relative;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), transform 80ms var(--ease);
}
#wellsleep-configurator-wrap .tool-btn svg {
  width: 16px; height: 16px;
}
#wellsleep-configurator-wrap .tool-btn:hover {
  background: var(--bg);
  color: var(--ink);
}
#wellsleep-configurator-wrap .tool-btn:active {
  transform: scale(0.94);
}
#wellsleep-configurator-wrap .tool-btn.is-active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(199, 127, 59, 0.30);
}

/* Gelabelde CTA-knop (Afmeting) — wider met tekst */
#wellsleep-configurator-wrap .tool-btn-labeled {
  width: auto;
  padding: 0 14px;
  height: 36px;
  gap: 6px;
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(199, 127, 59, 0.25);
}
#wellsleep-configurator-wrap .tool-btn-labeled:hover {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 3px 10px rgba(199, 127, 59, 0.35);
}
#wellsleep-configurator-wrap .tool-btn-labeled.is-on {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 2px 6px rgba(31, 26, 20, 0.30);
}
#wellsleep-configurator-wrap .tool-btn-labeled svg {
  width: 14px; height: 14px;
}

/* Verberg de oude bottom-left segment-styling — bottom-tools heeft eigen CSS.
   Defensive: oude classes nog steeds vindbaar voor user-CSS-overrides die naar
   externe styles refereren, maar de styling is no-op. */
#wellsleep-configurator-wrap .bottom-segment.bottom-tools {
  /* override generic bottom-segment padding/border-radius — geen container-box meer */
  padding: 0 6px !important;
  background: transparent !important;
  border-radius: 0 !important;
}

/* LEFT — tool-cluster (4 iconen) — width auto, niet uitgerekt */
#wellsleep-configurator-wrap .bottom-left {
  padding: 0 6px;
  gap: 2px;
  flex: 0 0 auto;
}
#wellsleep-configurator-wrap .tool-circle {
  width: 36px; height: 36px;
  border-radius: 50%; background: transparent;
  color: var(--ink-soft);
  display: grid; place-items: center;
  transition: all .15s var(--ease);
  cursor: pointer; border: none;
}
#wellsleep-configurator-wrap .tool-circle:hover { background: var(--ink); color: #fff; }
#wellsleep-configurator-wrap .tool-circle svg { width: 15px; height: 15px; }
#wellsleep-configurator-wrap .tool-divider { width: 1px; height: 20px; background: var(--line); margin: 0 3px; }

/* AFMETING-knop in tool-cluster — accent kleur (opvallend), tekst + icon */
#wellsleep-configurator-wrap .tool-afmeting-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px;
  background: var(--accent); color: #fff;
  border: none; cursor: pointer;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 13.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
  transition: all .15s var(--ease);
  box-shadow: 0 2px 6px rgba(199,127,59,.25);
}
#wellsleep-configurator-wrap .tool-afmeting-btn:hover {
  background: var(--accent-deep);
  box-shadow: 0 3px 10px rgba(199,127,59,.35);
}
#wellsleep-configurator-wrap .tool-afmeting-btn.is-on {
  background: var(--ink); color: #fff;
  box-shadow: 0 2px 6px rgba(31,26,20,.30);
}
#wellsleep-configurator-wrap .tool-afmeting-btn svg { width: 13px; height: 13px; }

/* === AFMETINGEN OVERLAY — VOORHEEN CSS, NU 3D-ANCHORED via Three.js === */
/* De .afmeting-overlay CSS hieronder wordt niet meer gebruikt (oude 2D-overlay).
   Nieuwe systeem: Three.js dimGroup + HTML labels in .ws3d-dim-labels — zie 3D-module. */
#wellsleep-configurator-wrap .afmeting-overlay {
  display: none !important; /* uitgeschakeld — vervangen door 3D-anchored labels */
}

/* === 3D-Anchored dim-labels (Three.js Vector3.project) === */
#wellsleep-configurator-wrap .ws3d-dim-label {
  position: absolute;
  top: 0; left: 0;
  background: var(--ink); color: #fff;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  box-shadow: 0 3px 8px rgba(31,26,20,.25);
  white-space: nowrap;
  letter-spacing: .015em;
  opacity: 0;
  transition: opacity .2s var(--ease);
  pointer-events: none;
}
#wellsleep-configurator-wrap .ws3d-dim-label.is-back {
  background: var(--ink);
  box-shadow: 0 3px 8px rgba(31,26,20,.25);
}
#wellsleep-configurator-wrap .ws3d-dim-label small {
  opacity: .7; font-size: .78em;
  font-weight: 500; margin-left: 5px;
  text-transform: uppercase; letter-spacing: .08em;
}

/* Horizontale solid lijn — gewoon een border */
#wellsleep-configurator-wrap .dim-line.h {
  position: absolute;
  border-top: 2px solid var(--accent);
  height: 0;
}
/* Tick haaks aan begin + eind van horizontale lijn */
#wellsleep-configurator-wrap .dim-line.h::before,
#wellsleep-configurator-wrap .dim-line.h::after {
  content: '';
  position: absolute;
  top: -8px;
  width: 0; height: 16px;
  border-left: 2px solid var(--accent);
}
#wellsleep-configurator-wrap .dim-line.h::before { left: -1px; }
#wellsleep-configurator-wrap .dim-line.h::after { right: -1px; }

/* Verticale solid lijn */
#wellsleep-configurator-wrap .dim-line.v {
  position: absolute;
  border-left: 2px solid var(--accent);
  width: 0;
}
#wellsleep-configurator-wrap .dim-line.v::before,
#wellsleep-configurator-wrap .dim-line.v::after {
  content: '';
  position: absolute;
  left: -8px;
  width: 16px; height: 0;
  border-top: 2px solid var(--accent);
}
#wellsleep-configurator-wrap .dim-line.v::before { top: -1px; }
#wellsleep-configurator-wrap .dim-line.v::after { bottom: -1px; }

/* Achter-hoogte: ink-color variant */
#wellsleep-configurator-wrap .dim-line.back {
  border-color: var(--ink);
}
#wellsleep-configurator-wrap .dim-line.back::before,
#wellsleep-configurator-wrap .dim-line.back::after { border-color: var(--ink); }

/* Label-pill — staat ALTIJD in midden van de lijn via translate(-50%, -50%) */
#wellsleep-configurator-wrap .dim-label {
  position: absolute;
  background: var(--accent); color: #fff;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  box-shadow: 0 3px 8px rgba(199,127,59,.30);
  white-space: nowrap;
  letter-spacing: .015em;
  z-index: 1;
  transform: translate(-50%, -50%);  /* exact gecentreerd op positie */
}
#wellsleep-configurator-wrap .dim-label.back {
  background: var(--ink);
  box-shadow: 0 3px 8px rgba(31,26,20,.25);
}
#wellsleep-configurator-wrap .dim-label small {
  opacity: .8; font-size: .78em;
  font-weight: 500; margin-left: 4px;
  font-family: var(--font-body);
  font-style: italic;
}

/* v1.3.18 A: Wrapper voor sensowell-chip — gecentreerd op werk-area-mid
   IDENTIEK aan mode-toggle (50vw - 220, zie regel 233):
   - Werk-area = van x=24 (links rand) tot x=(100vw - 24 - sidebar-w) = (100vw - 464)
   - Midden = (24 + 100vw - 464)/2 = 50vw - 220
   - Was vóór v1.3.18: `100% - var(--sidebar-w) - 48px` waarbij 100% = bottom-bar
     binnenkant (100vw - 48), wat resulteerde in 50vw - 244 = 24px naar links off
   - Nu: gebruikt 100vw expliciet zodat exact gelijk aan mode-toggle */
#wellsleep-configurator-wrap .bottom-chips-wrap {
  position: absolute;
  top: 0; bottom: 0;
  left: calc(24px + (100vw - var(--sidebar-w) - 48px) / 2);
  transform: translateX(-50%);
  display: flex; align-items: stretch;
  gap: 8px;
  pointer-events: none;
}

/* RIGHT — prijs + CTA EXACT 440px (sidebar-width), niet uitgerekt */
/* margin-left:auto omdat chips absolute zijn, anders zit bestellen direct naast tools */
#wellsleep-configurator-wrap .bottom-right {
  flex: 0 0 var(--sidebar-w);
  width: var(--sidebar-w);
  margin-left: auto;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 10px;
  padding: 0 4px 0 18px;
}
#wellsleep-configurator-wrap .price-total {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -.01em;
  white-space: nowrap;
}
#wellsleep-configurator-wrap .btn-cta {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 16px;
  background: var(--selected); color: #fff;
  font-size: 13px; font-weight: 700;
  border-radius: var(--r-pill);
  letter-spacing: .015em; white-space: nowrap;
  transition: background-color .15s var(--ease);
  cursor: pointer; border: none;
}
#wellsleep-configurator-wrap .btn-cta:hover { background: var(--selected-deep); }
#wellsleep-configurator-wrap .btn-cta svg { width: 13px; height: 13px; }

/* === PREMIUM CHIPS (Motor + Sensowell) — fixed 220px breed, niet uitgerekt === */
#wellsleep-configurator-wrap .premium-chip {
  flex: 0 0 220px;
  width: 220px;
  height: 48px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 10px 0 8px;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  font-size: 14px;
  pointer-events: auto;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.premium-chip:hover { border-color: var(--accent); }
#wellsleep-configurator-wrap .premium-chip.is-on { background: var(--selected-soft); border-color: var(--selected); }
#wellsleep-configurator-wrap .chip-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--ink);
  display: grid; place-items: center;
  flex-shrink: 0;
}
#wellsleep-configurator-wrap .chip-icon svg { width: 13px; height: 13px; }
#wellsleep-configurator-wrap .premium-chip.is-on .chip-icon { background: var(--selected); color: #fff; }
#wellsleep-configurator-wrap .chip-body { display: flex; flex-direction: column; gap: 0; flex: 1; min-width: 0; line-height: 1.15; text-align: left; }
#wellsleep-configurator-wrap .chip-title { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#wellsleep-configurator-wrap .chip-sub { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#wellsleep-configurator-wrap .premium-chip.is-on .chip-sub { color: var(--selected-deep); }
#wellsleep-configurator-wrap .chip-info-btn {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700; font-style: italic;
  font-size: 13px;
  display: grid; place-items: center;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(31,26,20,.18);
  cursor: pointer;
  transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .chip-info-btn:hover { background: var(--accent); transform: scale(1.1); }
#wellsleep-configurator-wrap .premium-chip.is-on .chip-info-btn { background: var(--selected-deep); }
#wellsleep-configurator-wrap .chip-toggle {
  width: 28px; height: 16px;
  background: var(--line);
  border-radius: var(--r-pill);
  position: relative;
  transition: background-color .2s var(--ease);
  flex-shrink: 0;
}
#wellsleep-configurator-wrap .chip-toggle::after {
  content: ''; position: absolute;
  top: 2px; left: 2px;
  width: 12px; height: 12px;
  background: #fff;
  border-radius: 50%;
  transition: transform .25s var(--ease-spring);
}
#wellsleep-configurator-wrap .premium-chip.is-on .chip-toggle { background: var(--selected); }
#wellsleep-configurator-wrap .premium-chip.is-on .chip-toggle::after { transform: translateX(12px); }

/* === CHAT BELL + PANEL (Variant A zonder emoji) === */
#wellsleep-configurator-wrap .chat-bell {
  position: fixed; bottom: 88px; left: 24px; z-index: 6;
  width: 48px; height: 48px;
  background: var(--ink); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background-color .2s var(--ease);
}
#wellsleep-configurator-wrap .chat-bell:hover { background: #3A352E; }
#wellsleep-configurator-wrap .chat-bell svg { width: 19px; height: 19px; }
#wellsleep-configurator-wrap .chat-status-dot {
  position: absolute; top: 4px; right: 4px;
  width: 11px; height: 11px;
  background: var(--selected);
  border-radius: 50%;
  border: 2px solid var(--bg-1);
}

#wellsleep-configurator-wrap .chat-panel {
  position: fixed; bottom: 88px; left: 24px; z-index: 30;
  width: 360px; height: 540px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(31,26,20,.18);
}
#wellsleep-configurator-wrap .chat-panel.is-open { display: flex; }
#wellsleep-configurator-wrap .chat-head {
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line-soft);
}
#wellsleep-configurator-wrap .chat-head-left { display: flex; align-items: center; gap: 10px; }
#wellsleep-configurator-wrap .chat-avatar {
  width: 36px; height: 36px;
  background: var(--ink); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  position: relative;
}
#wellsleep-configurator-wrap .chat-avatar::after {
  content: ''; position: absolute;
  bottom: 0; right: 0;
  width: 10px; height: 10px;
  background: var(--selected);
  border-radius: 50%;
  border: 2px solid var(--paper-soft);
}
#wellsleep-configurator-wrap .chat-head-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }
#wellsleep-configurator-wrap .chat-head-name { font-family: var(--font-display); font-weight: 600; font-size: 13px; }
#wellsleep-configurator-wrap .chat-head-status { font-size: 13px; color: var(--selected-deep); font-weight: 600; }
#wellsleep-configurator-wrap .chat-close {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06); color: var(--ink-soft);
  display: grid; place-items: center; font-size: 13px;
}
#wellsleep-configurator-wrap .chat-close:hover { background: rgba(0,0,0,0.12); color: var(--ink); }
#wellsleep-configurator-wrap .chat-msgs {
  flex: 1; overflow-y: auto;
  padding: 16px 14px;
  display: flex; flex-direction: column; gap: 9px;
  background: var(--bg-1);
}
#wellsleep-configurator-wrap .chat-msg {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: var(--r);
  font-size: 13.5px; line-height: 1.45;
}
#wellsleep-configurator-wrap .chat-msg.is-agent {
  background: var(--paper);
  color: var(--ink);
  align-self: flex-start;
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}
#wellsleep-configurator-wrap .chat-msg.is-user {
  background: var(--ink);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}
#wellsleep-configurator-wrap .chat-msg-time {
  font-size: 14px; margin-top: 3px;
  font-weight: 600; letter-spacing: .04em;
  color: var(--ink-faint);
}
#wellsleep-configurator-wrap .chat-msg.is-user .chat-msg-time { color: rgba(255,255,255,.55); text-align: right; }

/* Chat-msg-group v2: bubble + naam/tijd-regel eronder (support links / klant rechts) */
#wellsleep-configurator-wrap .chat-msg-group {
  display: flex; flex-direction: column;
  max-width: 78%; gap: 3px;
}
#wellsleep-configurator-wrap .chat-msg-group.is-agent { align-self: flex-start; align-items: flex-start; }
#wellsleep-configurator-wrap .chat-msg-group.is-user { align-self: flex-end; align-items: flex-end; }
#wellsleep-configurator-wrap .chat-msg-group .chat-msg { max-width: 100%; margin: 0; }
#wellsleep-configurator-wrap .chat-meta-line {
  font-size: 13px; font-weight: 500;
  color: var(--ink-faint);
  padding: 0 6px;
  display: flex; align-items: center; gap: 4px;
}
#wellsleep-configurator-wrap .chat-meta-line strong { color: var(--ink-soft); font-weight: 700; }
#wellsleep-configurator-wrap .chat-meta-line .dot { width: 2px; height: 2px; border-radius: 50%; background: currentColor; opacity: .5; }
#wellsleep-configurator-wrap .chat-file-prev {
  display: none; align-items: center; gap: 9px;
  margin: 0 6px 8px;
  padding: 7px 10px;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 12px; font-size: 14px;
}
#wellsleep-configurator-wrap .chat-file-prev.is-active { display: flex; }
#wellsleep-configurator-wrap .chat-file-icon {
  width: 24px; height: 24px;
  background: var(--accent-soft); color: var(--accent-deep);
  border-radius: 6px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
#wellsleep-configurator-wrap .chat-file-icon svg { width: 12px; height: 12px; }
#wellsleep-configurator-wrap .chat-file-info { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
#wellsleep-configurator-wrap .chat-file-name { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
#wellsleep-configurator-wrap .chat-file-size { color: var(--ink-faint); font-size: 12.5px; }
#wellsleep-configurator-wrap .chat-file-rm {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0,0,0,.06); color: var(--ink-soft);
  display: grid; place-items: center; font-size: 13px;
}
#wellsleep-configurator-wrap .chat-file-rm:hover { background: rgba(0,0,0,.12); }
#wellsleep-configurator-wrap .chat-input-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 6px;
  padding: 10px 12px;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}
#wellsleep-configurator-wrap .chat-input-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--ink-soft);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .chat-input-btn:hover { background: rgba(0,0,0,0.06); color: var(--ink); }
#wellsleep-configurator-wrap .chat-input-btn svg { width: 16px; height: 16px; }
#wellsleep-configurator-wrap .chat-input {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 9px 14px;
  font-size: 13.5px;
  outline: none;
  width: 100%;
  resize: none;
  min-height: 36px;
  max-height: 110px;
  font-family: var(--font-body);
  line-height: 1.4;
  color: var(--ink);
}
#wellsleep-configurator-wrap .chat-input:focus { border-color: var(--accent); background: #fff; }
#wellsleep-configurator-wrap .chat-send {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--selected); color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
#wellsleep-configurator-wrap .chat-send:hover { background: var(--selected-deep); }
#wellsleep-configurator-wrap .chat-send svg { width: 14px; height: 14px; }

/* === CHAT FLOW — naam vragen + keuze-opties (Chat C uitgebreid) === */
#wellsleep-configurator-wrap .chat-flow-card {
  background: var(--paper-warm);
  border-radius: var(--r);
  padding: 12px 14px;
  margin-top: 6px;
}
#wellsleep-configurator-wrap .chat-flow-prompt {
  font-size: 13px; color: var(--ink-soft);
  margin-bottom: 10px;
  font-family: var(--font-display); font-style: italic;
}
#wellsleep-configurator-wrap .chat-flow-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
#wellsleep-configurator-wrap .chat-flow-options.is-single { grid-template-columns: 1fr; }
#wellsleep-configurator-wrap .chat-flow-btn {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 9px 11px;
  font-size: 12.5px; font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  display: flex; align-items: center; gap: 8px;
  transition: all .15s var(--ease);
  font-family: inherit;
}
#wellsleep-configurator-wrap .chat-flow-btn:hover {
  border-color: var(--selected);
  background: var(--selected-soft);
}
#wellsleep-configurator-wrap .chat-flow-btn-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid; place-items: center;
  flex-shrink: 0;
}
#wellsleep-configurator-wrap .chat-flow-btn:hover .chat-flow-btn-icon {
  background: var(--selected);
  color: #fff;
}
#wellsleep-configurator-wrap .chat-flow-btn-icon svg { width: 12px; height: 12px; }
#wellsleep-configurator-wrap .chat-flow-input-row {
  display: flex; gap: 6px; align-items: center;
}
#wellsleep-configurator-wrap .chat-flow-input {
  flex: 1;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  font-family: inherit;
}
#wellsleep-configurator-wrap .chat-flow-input:focus { border-color: var(--accent); }
#wellsleep-configurator-wrap .chat-flow-input-send {
  background: var(--selected);
  color: #fff;
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  flex-shrink: 0;
}
#wellsleep-configurator-wrap .chat-flow-input-send:hover { background: var(--selected-deep); }
#wellsleep-configurator-wrap .chat-flow-input-send svg { width: 13px; height: 13px; }
#wellsleep-configurator-wrap .chat-context-banner {
  background: var(--selected-soft);
  border-left: 3px solid var(--selected);
  padding: 7px 10px;
  margin-bottom: 8px;
  font-size: 13.5px;
  color: var(--selected-deep);
  border-radius: 3px;
}
#wellsleep-configurator-wrap .chat-context-banner strong { color: var(--ink); }

/* === MODAL BASE === */
#wellsleep-configurator-wrap .modal-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
#wellsleep-configurator-wrap .modal-backdrop.is-open { display: flex; }
#wellsleep-configurator-wrap .modal {
  background: #fff;
  border-radius: var(--r-lg);
  width: 540px; max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
#wellsleep-configurator-wrap .modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--line-soft);
}
#wellsleep-configurator-wrap .modal-title { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
#wellsleep-configurator-wrap .modal-close {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06); color: var(--ink-soft);
  display: grid; place-items: center;
}
#wellsleep-configurator-wrap .modal-close:hover { background: rgba(0,0,0,0.12); color: var(--ink); }
#wellsleep-configurator-wrap .modal-body { padding: 18px 22px 22px; }

/* ===================================================================
   INFO POPUP — Variant C "Magazine Side-by-side"
   Geïntegreerd uit info-popup-variants.html. Landscape: foto links 55%,
   content rechts 45%. Op mobile stack: foto-strip boven + content onder.
   "Prijsklasse" sectie is verwijderd zoals afgesproken — bottom-row
   bevat alleen nog "Bekijk video"-knop.
   =================================================================== */
#wellsleep-configurator-wrap .popup-c-backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
#wellsleep-configurator-wrap .popup-c-backdrop.is-open { display: flex; }
#wellsleep-configurator-wrap .popup-c {
  position: relative;
  width: 820px; max-width: calc(100vw - 32px);
  height: min(560px, calc(100vh - 80px));
  background: var(--paper);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 55% 45%;
  animation: pop-in .35s var(--ease-spring);
  box-shadow: 0 40px 120px rgba(0,0,0,.35);
}
#wellsleep-configurator-wrap .popup-c-image-side {
  position: relative;
  background:
    repeating-linear-gradient(35deg, rgba(180,160,130,0.18) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(125deg, rgba(180,160,130,0.14) 0 2px, transparent 2px 5px),
    radial-gradient(ellipse 90% 70% at 40% 50%, #ebe2cf 0%, #d4c3a8 60%, #b8a484 100%);
}
/* v1.3.80 I5: echte media-stage (img/video) vult de foto-area; controls liggen erboven. */
#wellsleep-configurator-wrap .popup-c-media-stage {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
#wellsleep-configurator-wrap .popup-c-media-el {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  background: #000;
}
#wellsleep-configurator-wrap .popup-c-media-lang,
#wellsleep-configurator-wrap .popup-c-image-label,
#wellsleep-configurator-wrap .popup-c-video-btn-left,
#wellsleep-configurator-wrap .popup-c-image-dots { z-index: 2; }
/* Media-type label rechtsonder in foto-area (v7: verborgen — user request,
   blijft in DOM voor backend-toggle later) */
#wellsleep-configurator-wrap .popup-c-image-label {
  display: none;
  position: absolute; bottom: 14px; right: 16px;
  background: rgba(255,255,255,.7);
  font-size: 14px; font-weight: 700;
  letter-spacing: .14em;
  padding: 4px 9px;
  border-radius: 4px;
  color: var(--ink-soft);
}
#wellsleep-configurator-wrap .popup-c-image-dots {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
}
#wellsleep-configurator-wrap .popup-c-image-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transition: width .2s var(--ease);
}
#wellsleep-configurator-wrap .popup-c-image-dot.is-active {
  width: 22px;
  background: #fff;
  border-radius: 3px;
}
#wellsleep-configurator-wrap .popup-c-content {
  padding: 26px 28px 22px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
#wellsleep-configurator-wrap .popup-c-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 8px;
}
#wellsleep-configurator-wrap .popup-c-eyebrow {
  font-size: 13px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
#wellsleep-configurator-wrap .popup-c-close {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--ink-soft);
  display: grid; place-items: center;
  flex-shrink: 0;
  border: none; cursor: pointer;
  transition: background-color .15s var(--ease);
}
#wellsleep-configurator-wrap .popup-c-close:hover { background: var(--ink); color: #fff; }
#wellsleep-configurator-wrap .popup-c-close svg { width: 14px; height: 14px; }
#wellsleep-configurator-wrap .popup-c-title {
  font-family: var(--font-display);
  font-weight: 600; font-size: 32px;
  letter-spacing: -.02em;
  line-height: 1;
  margin: 0 0 10px;
}
#wellsleep-configurator-wrap .popup-c-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  line-height: 1.45;
}
#wellsleep-configurator-wrap .popup-c-features {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 7px;
  margin: 0 0 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
#wellsleep-configurator-wrap .popup-c-features li {
  display: flex; align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
#wellsleep-configurator-wrap .popup-c-features svg {
  flex-shrink: 0;
  width: 13px; height: 13px;
  color: var(--selected);
  margin-top: 3px;
}
#wellsleep-configurator-wrap .popup-c-color-row {
  margin-bottom: 16px;
}
#wellsleep-configurator-wrap .popup-c-color-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
#wellsleep-configurator-wrap .popup-c-color-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 10px;
}
#wellsleep-configurator-wrap .popup-c-swatches {
  display: flex; gap: 8px;
  flex-wrap: wrap;
}
#wellsleep-configurator-wrap .popup-c-swatch {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1.5px var(--line);
  transition: all .15s var(--ease);
  cursor: pointer;
}
#wellsleep-configurator-wrap .popup-c-swatch:hover { transform: scale(1.1); }
#wellsleep-configurator-wrap .popup-c-swatch.is-sel {
  box-shadow: 0 0 0 2.5px var(--accent);
}
/* Bottom-row: groene "Selecteer deze keuze"-knop rechts */
#wellsleep-configurator-wrap .popup-c-bottom-row {
  margin-top: auto;
  display: flex; align-items: center; justify-content: flex-end;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
#wellsleep-configurator-wrap .popup-c-select-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  background: var(--selected);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 700;
  letter-spacing: .015em;
  border: none; cursor: pointer;
  transition: background-color .15s var(--ease), transform .15s var(--ease);
  box-shadow: 0 4px 12px rgba(79,124,62,.25);
}
#wellsleep-configurator-wrap .popup-c-select-btn:hover { background: var(--selected-deep); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(79,124,62,.35); }
#wellsleep-configurator-wrap .popup-c-select-btn svg { width: 14px; height: 14px; }
/* "Optie gekozen" state — al-geselecteerde optie (item 9) */
#wellsleep-configurator-wrap .popup-c-select-btn.is-selected {
  background: var(--bg-1);
  color: var(--ink-soft);
  cursor: default;
  box-shadow: none;
}
#wellsleep-configurator-wrap .popup-c-select-btn.is-selected:hover {
  background: var(--bg-1);
  transform: none;
  box-shadow: none;
}
#wellsleep-configurator-wrap .popup-c-select-btn.is-selected svg { color: var(--selected); }

/* "Bekijk video"-knop LINKS in foto-area (overlay onderaan) — alleen zichtbaar als hasVideo */
#wellsleep-configurator-wrap .popup-c-video-btn-left {
  position: absolute; bottom: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  background: rgba(31,26,20,0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.15);
  cursor: pointer;
  transition: background-color .15s var(--ease);
  z-index: 2;
}
#wellsleep-configurator-wrap .popup-c-video-btn-left:hover { background: var(--ink); }
#wellsleep-configurator-wrap .popup-c-video-btn-left svg { width: 11px; height: 11px; }

/* Per-taal indicator linksboven op foto-area — v7: verborgen (user request),
   blijft in DOM voor backend-toggle later. */
#wellsleep-configurator-wrap .popup-c-media-lang {
  display: none;
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.85);
  font-size: 14px; font-weight: 800;
  letter-spacing: .14em;
  padding: 4px 9px;
  border-radius: 4px;
  color: var(--ink);
  z-index: 2;
}

/* Toast voor select-keuze feedback */
#wellsleep-configurator-wrap .popup-c-toast {
  position: fixed; bottom: 96px; left: 50%; transform: translateX(-50%) translateY(100%);
  background: var(--ink); color: #fff;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(31,26,20,.30);
  opacity: 0; pointer-events: none;
  transition: all .3s var(--ease-spring);
  z-index: 70;
}
#wellsleep-configurator-wrap .popup-c-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Variant C — mobile responsive: stack image bovenaan, content eronder */
@media (max-width: 720px) {

  #wellsleep-configurator-wrap .popup-c {
    grid-template-columns: 1fr;
    grid-template-rows: 160px 1fr;
    height: min(680px, calc(100vh - 32px));
    width: calc(100vw - 24px);
  }
  #wellsleep-configurator-wrap .popup-c-content { padding: 18px 20px 16px; }
  #wellsleep-configurator-wrap .popup-c-title { font-size: 26px; }
  #wellsleep-configurator-wrap .popup-c-tagline { font-size: 13.5px; margin-bottom: 12px; }
  #wellsleep-configurator-wrap .popup-c-features { gap: 5px; margin-bottom: 14px; padding: 10px 0; }
  #wellsleep-configurator-wrap .popup-c-features li { font-size: 12.5px; }

}

/* === INFO MODAL met foto/video placeholder === */
#wellsleep-configurator-wrap .info-media {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--paper-warm) 100%);
  border-radius: var(--r);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
#wellsleep-configurator-wrap .info-media-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.85);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
}
#wellsleep-configurator-wrap .info-media-icon svg { width: 22px; height: 22px; }
#wellsleep-configurator-wrap .info-media-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
}
#wellsleep-configurator-wrap .info-media-note {
  position: absolute;
  bottom: 8px; right: 10px;
  font-size: 14px;
  color: var(--ink-faint);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(255,255,255,.7);
  padding: 3px 7px;
  border-radius: 4px;
}
#wellsleep-configurator-wrap .info-eyebrow {
  font-size: 14px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 4px;
}
#wellsleep-configurator-wrap .info-name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 22px;
  letter-spacing: -.015em; margin-bottom: 4px;
}
#wellsleep-configurator-wrap .info-desc { color: var(--ink-soft); font-size: 13.5px; line-height: 1.6; margin: 0 0 14px; }
#wellsleep-configurator-wrap .info-features {
  display: flex; flex-direction: column;
  gap: 7px;
  margin: 0 0 16px;
  list-style: none;
  padding: 0;
}
#wellsleep-configurator-wrap .info-features li {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
#wellsleep-configurator-wrap .info-features svg {
  flex-shrink: 0;
  width: 13px; height: 13px;
  color: var(--selected);
  margin-top: 2px;
}
#wellsleep-configurator-wrap .info-price-row {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 11px 13px;
  background: var(--bg-1);
  border-radius: var(--r);
}
#wellsleep-configurator-wrap .info-price-label {
  font-size: 14px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint);
}
#wellsleep-configurator-wrap .info-price-val {
  font-family: var(--font-display);
  font-weight: 600; font-size: 14px;
}
#wellsleep-configurator-wrap .btn-pick {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--selected); color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--r-pill);
}
#wellsleep-configurator-wrap .btn-pick:hover { background: var(--selected-deep); }
#wellsleep-configurator-wrap .btn-pick svg { width: 12px; height: 12px; }

/* === SAVE MODAL (zelfde als v3) === */
#wellsleep-configurator-wrap .save-eyebrow {
  font-size: 13px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}
#wellsleep-configurator-wrap .save-lede {
  font-family: var(--font-display);
  font-weight: 500; font-size: 17px;
  line-height: 1.4; color: var(--ink);
  margin-bottom: 18px;
}
#wellsleep-configurator-wrap .save-summary {
  background: var(--bg-1);
  border-radius: var(--r);
  padding: 12px 14px;
  margin-bottom: 18px;
  display: flex; gap: 14px; align-items: center;
}
#wellsleep-configurator-wrap .save-summary-thumb {
  width: 64px; height: 48px;
  background: var(--bg-3);
  border-radius: 6px;
  display: grid; place-items: center;
  color: rgba(0,0,0,.3);
  font-size: 14px;
  font-style: italic;
  font-family: var(--font-display);
  flex-shrink: 0;
}
#wellsleep-configurator-wrap .save-summary-text { display: flex; flex-direction: column; gap: 2px; }
#wellsleep-configurator-wrap .save-summary-key {
  font-size: 14px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint);
}
#wellsleep-configurator-wrap .save-summary-val { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
#wellsleep-configurator-wrap .save-form { display: flex; flex-direction: column; gap: 12px; }
#wellsleep-configurator-wrap .field { display: flex; flex-direction: column; gap: 5px; }
#wellsleep-configurator-wrap .field-label {
  font-size: 13px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
}
#wellsleep-configurator-wrap .field-label .req { color: var(--accent); font-weight: 700; }
#wellsleep-configurator-wrap .field input,
#wellsleep-configurator-wrap .field textarea {
  background: var(--bg-1);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  resize: none;
}
#wellsleep-configurator-wrap .field textarea { min-height: 64px; font-size: 13px; line-height: 1.4; }
#wellsleep-configurator-wrap .field input:focus,
#wellsleep-configurator-wrap .field textarea:focus { border-color: var(--accent); background: #fff; }
#wellsleep-configurator-wrap .field-hint { font-size: 13px; color: var(--ink-faint); font-style: italic; }
#wellsleep-configurator-wrap .save-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  margin-top: 6px;
  border-top: 1px solid var(--line-soft);
}
#wellsleep-configurator-wrap .save-disclaimer { font-size: 13px; color: var(--ink-faint); line-height: 1.4; flex: 1; }
#wellsleep-configurator-wrap .btn-submit {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
#wellsleep-configurator-wrap .btn-submit:hover { background: #3A352E; }
#wellsleep-configurator-wrap .btn-submit svg { width: 13px; height: 13px; }

/* === SAVE MODAL — Variant C (card-style: bed-thumb hero links + minimal form rechts) === */
#wellsleep-configurator-wrap .save-c-modal {
  background: #fff; border-radius: var(--r-lg);
  width: 600px; max-width: 100%;
  overflow: hidden;
  display: grid; grid-template-columns: 240px 1fr;
  padding: 0;
}
#wellsleep-configurator-wrap .save-c-modal .modal-header { display: none; }
#wellsleep-configurator-wrap .save-c-hero {
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--bg-1) 100%);
  padding: 30px 24px;
  display: flex; flex-direction: column; justify-content: space-between;
}
#wellsleep-configurator-wrap .save-c-hero-thumb {
  height: 130px; background: var(--bg-2);
  border-radius: var(--r); position: relative;
  margin-bottom: 14px;
  display: grid; place-items: center;
  font-size: 14px; color: var(--ink-faint); font-style: italic; font-family: var(--font-display);
}
#wellsleep-configurator-wrap .save-c-hero-name {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: -.01em; margin-bottom: 4px;
}
#wellsleep-configurator-wrap .save-c-hero-spec { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
#wellsleep-configurator-wrap .save-c-hero-spec strong { color: var(--ink); font-weight: 700; }
#wellsleep-configurator-wrap .save-c-hero-price {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
}
#wellsleep-configurator-wrap .save-c-form {
  padding: 28px 26px 22px;
  display: flex; flex-direction: column;
}
#wellsleep-configurator-wrap .save-c-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
#wellsleep-configurator-wrap .save-c-title { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; margin: 0; }
#wellsleep-configurator-wrap .save-c-close {
  width: 28px; height: 28px; border: none; background: var(--bg-1);
  color: var(--ink-soft); border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
}
#wellsleep-configurator-wrap .save-c-close:hover { background: var(--line); color: var(--ink); }
#wellsleep-configurator-wrap .save-c-sub { color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; margin: 0 0 18px; }
#wellsleep-configurator-wrap .save-c-field { margin-bottom: 12px; }
#wellsleep-configurator-wrap .save-c-label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: 5px; }
#wellsleep-configurator-wrap .save-c-input {
  width: 100%; padding: 10px 14px;
  background: var(--paper-warm); border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: inherit; font-size: 14px; color: var(--ink); outline: none;
}
#wellsleep-configurator-wrap .save-c-input:focus { border-color: var(--accent); background: var(--paper); }
#wellsleep-configurator-wrap .save-c-cta {
  background: var(--selected); color: #fff;
  border: none; cursor: pointer;
  width: 100%;
  padding: 13px 22px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(95,133,64,.25);
  transition: all .18s var(--ease);
}
#wellsleep-configurator-wrap .save-c-cta:hover { background: var(--selected-deep); }
#wellsleep-configurator-wrap .save-c-cta svg { width: 14px; height: 14px; }
#wellsleep-configurator-wrap .save-c-fineprint { font-size: 13px; color: var(--ink-faint); margin-top: 10px; text-align: center; }

/* === PRESET PICKER MODAL === */
#wellsleep-configurator-wrap .preset-picker-modal { width: 700px; max-width: 95vw; }
#wellsleep-configurator-wrap .preset-picker-sub { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin: 0 0 16px; }
#wellsleep-configurator-wrap .preset-picker-sub strong { color: var(--ink); font-weight: 700; }
#wellsleep-configurator-wrap .preset-picker-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 10px; margin-bottom: 14px;
  align-items: stretch;
}
#wellsleep-configurator-wrap .preset-picker-foot {
  display: flex; align-items: center; justify-content: center;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
#wellsleep-configurator-wrap .preset-picker-clear {
  background: transparent; color: var(--ink-soft);
  border: 1.5px solid var(--line);
  padding: 8px 16px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
}
#wellsleep-configurator-wrap .preset-picker-clear:hover { background: var(--bg-1); color: var(--ink); border-color: var(--line-strong); }

/* === PRESET CONFIRM DIALOG === */
#wellsleep-configurator-wrap .preset-confirm-modal { width: 440px; max-width: 92vw; }
#wellsleep-configurator-wrap .preset-confirm-body { padding: 28px 30px 22px; text-align: center; }
#wellsleep-configurator-wrap .preset-confirm-icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
}
#wellsleep-configurator-wrap .preset-confirm-icon svg { width: 26px; height: 26px; }
#wellsleep-configurator-wrap .preset-confirm-title {
  font-family: var(--font-display);
  font-weight: 600; font-size: 20px;
  letter-spacing: -.01em; margin: 0 0 8px;
}
#wellsleep-configurator-wrap .preset-confirm-text {
  font-size: 14px; color: var(--ink-soft);
  line-height: 1.55; margin: 0 0 14px;
}
#wellsleep-configurator-wrap .preset-confirm-text strong { color: var(--ink); font-weight: 700; }
#wellsleep-configurator-wrap .preset-confirm-note {
  display: flex; align-items: center; gap: 6px;
  background: var(--selected-soft); color: var(--selected-deep);
  padding: 8px 12px; border-radius: var(--r);
  font-size: 14px; font-weight: 600;
  margin-bottom: 18px;
  justify-content: center;
}
#wellsleep-configurator-wrap .preset-confirm-note svg { color: var(--selected); flex-shrink: 0; }
#wellsleep-configurator-wrap .preset-confirm-actions {
  display: flex; gap: 10px; justify-content: center;
}
#wellsleep-configurator-wrap .preset-confirm-cancel {
  background: transparent; color: var(--ink-soft);
  border: 1.5px solid var(--line);
  padding: 10px 18px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 700;
  cursor: pointer;
}
#wellsleep-configurator-wrap .preset-confirm-cancel:hover { background: var(--bg-1); color: var(--ink); border-color: var(--line-strong); }
#wellsleep-configurator-wrap .preset-confirm-ok {
  background: var(--selected); color: #fff;
  border: none;
  padding: 10px 18px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 12px rgba(95,133,64,.25);
}
#wellsleep-configurator-wrap .preset-confirm-ok:hover { background: var(--selected-deep); }

/* === SHARE MODAL === */
#wellsleep-configurator-wrap .share-url-row {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 6px;
  background: var(--bg-1);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 4px 4px 4px 14px;
  margin-bottom: 16px;
}
#wellsleep-configurator-wrap .share-url-row input {
  background: transparent; border: none;
  font-size: 13px; outline: none;
  font-family: var(--font-body); font-weight: 500;
}
#wellsleep-configurator-wrap .btn-copy {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 8px 14px;
  border-radius: 9px;
}
#wellsleep-configurator-wrap .btn-copy:hover { background: #3A352E; }
#wellsleep-configurator-wrap .btn-copy.is-copied { background: var(--selected); }
#wellsleep-configurator-wrap .btn-copy svg { width: 13px; height: 13px; }
#wellsleep-configurator-wrap .share-section-label {
  font-size: 13px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); margin: 8px 0 10px;
}
#wellsleep-configurator-wrap .social-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
#wellsleep-configurator-wrap .social-btn {
  background: var(--bg-1);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .social-btn:hover { background: #fff; border-color: var(--line-strong); }
#wellsleep-configurator-wrap .social-btn-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
}
#wellsleep-configurator-wrap .social-btn-icon svg { width: 18px; height: 18px; }
#wellsleep-configurator-wrap .social-btn.is-whatsapp .social-btn-icon { background: #25D366; }
#wellsleep-configurator-wrap .social-btn.is-email .social-btn-icon { background: var(--accent); }
#wellsleep-configurator-wrap .social-btn.is-facebook .social-btn-icon { background: #1877F2; }
#wellsleep-configurator-wrap .social-btn.is-x .social-btn-icon { background: var(--ink); }
#wellsleep-configurator-wrap .share-download-row {
  display: flex; gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
#wellsleep-configurator-wrap .btn-download {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--paper); border: 1.5px solid var(--line);
  font-size: 14px; font-weight: 700;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--ink);
}
#wellsleep-configurator-wrap .btn-download:hover { background: #fff; border-color: var(--line-strong); }
#wellsleep-configurator-wrap .btn-download svg { width: 13px; height: 13px; color: var(--accent); }

/* === WELCOME MODAL — Variant A (split hero + presets-rij + maat) === */
#wellsleep-configurator-wrap .welcome-modal { padding: 0; max-width: 95vw; width: 880px; overflow: hidden; }
#wellsleep-configurator-wrap .welcome-modal .modal-header { display: none; }
#wellsleep-configurator-wrap .wel-a {
  display: grid;
  grid-template-columns: 280px 1fr;
}
#wellsleep-configurator-wrap .wel-a-hero {
  background: linear-gradient(135deg, var(--paper-warm) 0%, var(--bg-1) 60%, var(--accent-soft) 100%);
  padding: 30px 24px;
  display: flex; flex-direction: column; justify-content: space-between;
}
#wellsleep-configurator-wrap .wel-a-hero-img {
  width: 100%; height: 220px; background: var(--bg-2);
  border-radius: var(--r); margin-bottom: 16px;
  position: relative;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
#wellsleep-configurator-wrap .wel-a-hero-img::after {
  content: '[ hero-bed ]'; position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 13px; color: var(--ink-faint); font-style: italic;
  font-family: var(--font-display);
}
#wellsleep-configurator-wrap .wel-a-hero-eb { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--accent); margin-bottom: 6px; }
#wellsleep-configurator-wrap .wel-a-hero-title {
  font-family: var(--font-display);
  font-weight: 600; font-size: 22px;
  letter-spacing: -.02em; line-height: 1.1;
  margin: 0 0 6px;
}
#wellsleep-configurator-wrap .wel-a-hero-sub { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

#wellsleep-configurator-wrap .wel-a-body { padding: 26px 28px 24px; display: flex; flex-direction: column; }
#wellsleep-configurator-wrap .wel-a-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
#wellsleep-configurator-wrap .wel-a-heading { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -.01em; margin: 0; }
#wellsleep-configurator-wrap .wel-a-sub { font-size: 13px; color: var(--ink-soft); margin: 0 0 16px; }
#wellsleep-configurator-wrap .wel-a-presets {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px;
  margin-bottom: 16px; align-items: stretch;
}

/* PRESET-CARD — even hoog, padding rondom image, eigen rounded corners */
#wellsleep-configurator-wrap .preset-card {
  background: var(--paper-warm); border: 2px solid var(--line);
  border-radius: var(--r);
  cursor: pointer; text-align: left;
  transition: all .18s var(--ease);
  position: relative;
  padding: 12px;
  display: flex; flex-direction: column;
}
#wellsleep-configurator-wrap .preset-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
#wellsleep-configurator-wrap .preset-card.is-sel {
  border-color: var(--selected); background: var(--selected-soft);
  box-shadow: 0 0 0 3px rgba(95,133,64,.15);
}
#wellsleep-configurator-wrap .preset-card.is-sel::before {
  content: '✓ Gekozen'; position: absolute; top: 10px; right: 10px;
  background: var(--selected); color: #fff;
  font-size: 14px; font-weight: 800; letter-spacing: .06em;
  padding: 3px 9px; border-radius: var(--r-pill); z-index: 2;
}
#wellsleep-configurator-wrap .preset-img,
#wellsleep-configurator-wrap .preset-media {
  width: 100%; height: 110px; background: var(--bg-1);
  position: relative;
  border-radius: 8px;
  margin-bottom: 10px;
  display: grid; place-items: center;
  color: var(--ink-faint); font-style: italic; font-family: var(--font-display); font-size: 13px;
}
#wellsleep-configurator-wrap .preset-card.is-sel .preset-img,
#wellsleep-configurator-wrap .preset-card.is-sel .preset-media { background: var(--paper); }
#wellsleep-configurator-wrap .preset-info,
#wellsleep-configurator-wrap .preset-meta { padding: 0 2px; flex: 1; display: flex; flex-direction: column; }
#wellsleep-configurator-wrap .preset-eyebrow,
#wellsleep-configurator-wrap .preset-eb {
  font-size: 14px; font-weight: 800; letter-spacing: .12em;
  color: var(--accent); text-transform: uppercase;
}
#wellsleep-configurator-wrap .preset-card.is-sel .preset-eyebrow,
#wellsleep-configurator-wrap .preset-card.is-sel .preset-eb { color: var(--selected-deep); }
#wellsleep-configurator-wrap .preset-name { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: -.01em; margin: 2px 0 3px; }
#wellsleep-configurator-wrap .preset-desc { display: none; }  /* v3 user request: subteksten weg */
#wellsleep-configurator-wrap .preset-size {
  display: inline-block; margin-top: 7px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-faint);
  background: var(--paper); padding: 3px 8px; border-radius: 4px;
  align-self: flex-start;
}
#wellsleep-configurator-wrap .preset-card.is-sel .preset-size { color: var(--selected-deep); background: #fff; }

#wellsleep-configurator-wrap .wel-a-divider {
  display: flex; align-items: center; gap: 10px;
  margin: 4px 0 12px;
  color: var(--ink-faint);
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
#wellsleep-configurator-wrap .wel-a-divider::before,
#wellsleep-configurator-wrap .wel-a-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
#wellsleep-configurator-wrap .wel-a-size-block {
  background: var(--paper-warm); border-radius: var(--r);
  padding: 14px 16px; margin-bottom: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
#wellsleep-configurator-wrap .size-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
#wellsleep-configurator-wrap .size-lbl { font-size: 14px; font-weight: 800; letter-spacing: .1em; color: var(--ink-faint); min-width: 56px; }
#wellsleep-configurator-wrap .size-opts { display: flex; gap: 4px; flex-wrap: wrap; }
#wellsleep-configurator-wrap .size-opt {
  border: 1.5px solid var(--line); background: var(--paper);
  padding: 6px 11px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .size-opt:hover { border-color: var(--accent); }
#wellsleep-configurator-wrap .size-opt.is-sel { background: var(--selected); color: #fff; border-color: var(--selected); }
#wellsleep-configurator-wrap .wel-a-cta {
  width: 100%; background: var(--selected); color: #fff;
  border: none; cursor: pointer;
  padding: 13px 22px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 700; letter-spacing: .01em;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 14px rgba(95,133,64,.25);
  transition: all .18s var(--ease);
}
#wellsleep-configurator-wrap .wel-a-cta:hover { background: var(--selected-deep); }
#wellsleep-configurator-wrap .wel-a-cta svg { width: 14px; height: 14px; }
#wellsleep-configurator-wrap .wel-a-close {
  width: 30px; height: 30px; border: none; background: var(--bg-1);
  color: var(--ink-soft); border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; flex-shrink: 0;
}
#wellsleep-configurator-wrap .wel-a-close:hover { background: var(--line); color: var(--ink); }

/* === PARTNER-MATRAS MODAL (alle vragen tegelijk + advies) === */
#wellsleep-configurator-wrap .partner-modal { width: 580px; max-width: 100%; max-height: 92vh; overflow-y: auto; }

/* v1.0.10 A3b: info-banner bovenaan partnerModal */
#wellsleep-configurator-wrap .pm-info-banner {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 11px 14px;
  margin: 0 0 4px;
  max-width: 536px;
  width: 100%;
  background: var(--accent-soft);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--accent);
  box-sizing: border-box;
}
#wellsleep-configurator-wrap .pm-info-banner-icon {
  flex-shrink: 0;
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  margin-top: 1px;
}
#wellsleep-configurator-wrap .pm-info-banner-icon svg { width: 15px; height: 15px; }
#wellsleep-configurator-wrap .pm-info-banner-text {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
#wellsleep-configurator-wrap .pm-info-banner-text strong {
  color: var(--ink);
  font-weight: 700;
}
#wellsleep-configurator-wrap .pm-tab-optional {
  font-size: 10.5px; font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: .01em;
  margin-left: 4px;
  text-transform: none;
}

#wellsleep-configurator-wrap .pm-tabs {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line-soft);
  margin: 0 -22px;
}
#wellsleep-configurator-wrap .pm-tab {
  padding: 9px 12px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink-faint);
  border-bottom: 2px solid transparent;
  text-align: center;
  transition: all .2s var(--ease);
}
#wellsleep-configurator-wrap .pm-tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: #fff;
}

/* Wizard intro */
#wellsleep-configurator-wrap .wiz-intro {
  margin: 14px 0 16px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.5;
}
#wellsleep-configurator-wrap .wiz-intro span { font-weight: 700; color: var(--accent); }

/* Wizard block — compacter all-at-once */
#wellsleep-configurator-wrap .wiz-block {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
#wellsleep-configurator-wrap .wiz-block:last-child { border-bottom: none; }
#wellsleep-configurator-wrap .wiz-block-title {
  font-size: 13px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
  display: flex; justify-content: space-between; align-items: baseline;
}
#wellsleep-configurator-wrap .wiz-block-title .wiz-block-val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0;
  text-transform: none;
}

/* Slider compact */
#wellsleep-configurator-wrap .wiz-slider {
  position: relative;
}
#wellsleep-configurator-wrap .wiz-slider input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  outline: none;
}
#wellsleep-configurator-wrap .wiz-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}
#wellsleep-configurator-wrap .wiz-slider input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #fff;
}
#wellsleep-configurator-wrap .wiz-slider-bounds {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-faint);
  font-weight: 700;
  letter-spacing: .04em;
}

/* Compact tiles inline */
#wellsleep-configurator-wrap .wiz-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 5px;
}
#wellsleep-configurator-wrap .wiz-tiles.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
#wellsleep-configurator-wrap .wiz-tile {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 8px 6px 7px;
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  transition: all .15s var(--ease);
  text-align: center;
  cursor: pointer;
}
#wellsleep-configurator-wrap .wiz-tile:hover:not(.is-sel) { border-color: var(--line-strong); background: var(--paper-soft); }
#wellsleep-configurator-wrap .wiz-tile.is-sel { border-color: var(--accent); background: var(--accent-soft); }
#wellsleep-configurator-wrap .wiz-tile-illus {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--bg-1);
  border-radius: 6px;
  display: grid; place-items: center;
  color: var(--ink);
}
#wellsleep-configurator-wrap .wiz-tile.is-sel .wiz-tile-illus { background: #fff; }
#wellsleep-configurator-wrap .wiz-tile-illus svg { width: 60%; height: 60%; }
#wellsleep-configurator-wrap .wiz-tile-name { font-family: var(--font-display); font-weight: 600; font-size: 12.5px; }
#wellsleep-configurator-wrap .wiz-tile-sub { font-size: 14px; color: var(--ink-faint); }
#wellsleep-configurator-wrap .wiz-tile.is-sel .wiz-tile-sub { color: var(--accent-deep); }
#wellsleep-configurator-wrap .wiz-tile-info-btn {
  position: absolute; top: 8px; right: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  border: 2px solid #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: 14px; line-height: 1;
  cursor: pointer; z-index: 2;
  box-shadow: 0 2px 8px rgba(194,106,45,.45);
  transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .wiz-tile-info-btn:hover { background: var(--accent-deep); transform: scale(1.1); }
#wellsleep-configurator-wrap .wiz-tile { position: relative; }

/* Result view */
#wellsleep-configurator-wrap .wiz-result {
  padding: 16px 0 4px;
}
#wellsleep-configurator-wrap .wiz-result-icon-row {
  display: flex; flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
#wellsleep-configurator-wrap .wiz-result-icon {
  width: 64px; height: 64px;
  background: var(--selected-soft);
  border: 2px solid var(--selected);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--selected-deep);
}
#wellsleep-configurator-wrap .wiz-result-icon svg { width: 28px; height: 28px; }
#wellsleep-configurator-wrap .wiz-result-eyebrow {
  font-size: 14px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--selected-deep);
}
#wellsleep-configurator-wrap .wiz-result-name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 24px;
  letter-spacing: -.015em;
  text-align: center;
}
#wellsleep-configurator-wrap .wiz-result-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-align: center;
}

/* Result reason box */
#wellsleep-configurator-wrap .wiz-result-why {
  margin: 14px 0 16px;
  padding: 12px 14px;
  background: var(--bg-1);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
}
#wellsleep-configurator-wrap .wiz-result-why-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
#wellsleep-configurator-wrap .wiz-result-why-text {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.55;
}
#wellsleep-configurator-wrap .wiz-result-why-text strong { color: var(--accent-deep); font-weight: 700; }

/* Result summary table */
#wellsleep-configurator-wrap .wiz-result-summary {
  margin-bottom: 14px;
  padding: 10px 12px;
  background: var(--paper-soft);
  border-radius: 10px;
  border: 1px solid var(--line);
}
#wellsleep-configurator-wrap .wiz-result-summary-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
#wellsleep-configurator-wrap .wiz-result-summary-table { width: 100%; }
#wellsleep-configurator-wrap .wiz-result-summary-table td {
  padding: 4px 0;
  font-size: 12.5px;
  vertical-align: top;
}
#wellsleep-configurator-wrap .wiz-result-summary-table td:first-child {
  color: var(--ink-faint);
  width: 45%;
}
#wellsleep-configurator-wrap .wiz-result-summary-table td:last-child {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

/* Wizard nav */
#wellsleep-configurator-wrap .wiz-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  margin-top: 12px;
}
#wellsleep-configurator-wrap .wiz-btn-back {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--ink-soft); font-size: 14px; font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  transition: color .15s var(--ease);
  cursor: pointer;
}
#wellsleep-configurator-wrap .wiz-btn-back:hover:not(:disabled) { color: var(--accent); }
#wellsleep-configurator-wrap .wiz-btn-next {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: #fff;
  font-size: 12.5px; font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color .15s var(--ease);
}
#wellsleep-configurator-wrap .wiz-btn-next:hover { background: #3A352E; }
#wellsleep-configurator-wrap .wiz-btn-next svg { width: 13px; height: 13px; }
#wellsleep-configurator-wrap .wiz-btn-next.is-primary {
  background: var(--selected);
}
#wellsleep-configurator-wrap .wiz-btn-next.is-primary:hover { background: var(--selected-deep); }

/* === Responsive — mobile/tablet → document-flow stacking === */
@media (max-width: 1100px) {

  body.wellsleep-takeover-active { overflow-y: auto; height: auto; }
  body.wellsleep-takeover-active { padding-bottom: 0; }
  #wellsleep-configurator-wrap .app {
    position: static;
    overflow: visible;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 220px;
  }

  /* Visuele volgorde via CSS order — onafhankelijk van source */
  #wellsleep-configurator-wrap .topbar { order: 1; }
  #wellsleep-configurator-wrap .step-pills { order: 2; }
  #wellsleep-configurator-wrap .size-badge-top { order: 3; }
  #wellsleep-configurator-wrap .mode-toggle { order: 4; }
  #wellsleep-configurator-wrap .viewport-3d { order: 5; }
  #wellsleep-configurator-wrap .premium-chips { order: 6; }
  #wellsleep-configurator-wrap .sidebar { order: 7; }

  /* Topbar wordt sticky bovenaan, geen rounded corners */
  #wellsleep-configurator-wrap .topbar {
    position: sticky; top: 0; left: 0; right: 0;
    margin: 0; padding: 10px 14px;
    border-radius: 0;
    background: var(--glass-bg-strong);
  }
  #wellsleep-configurator-wrap .brand-logo { width: 32px; height: 32px; font-size: 14px; }
  #wellsleep-configurator-wrap .brand-name { font-size: 14px; }
  #wellsleep-configurator-wrap .brand-sub { display: none; }
  #wellsleep-configurator-wrap .help-link { padding: 6px 10px; font-size: 13px; }
  #wellsleep-configurator-wrap .help-link svg { width: 11px; height: 11px; }
  #wellsleep-configurator-wrap .flag { padding: 3px 7px; font-size: 14px; }

  /* Pills/badges/toggle row */
  #wellsleep-configurator-wrap .step-pills {
    position: relative; top: auto; left: auto; right: auto;
    width: auto; max-width: none;
    margin: 10px 14px 0;
  }
  #wellsleep-configurator-wrap .size-badge-top {
    position: relative; top: auto; left: auto;
    align-self: flex-start; margin: 8px 14px 0;
  }
  #wellsleep-configurator-wrap .mode-toggle {
    position: relative; top: auto; left: auto; transform: none;
    align-self: center; margin: 8px 0 0;
  }

  /* Viewport in document-flow — vast formaat */
  #wellsleep-configurator-wrap .viewport-3d {
    position: relative; inset: auto;
    height: 240px; margin: 12px 14px 0;
    border-radius: var(--r);
    padding: 0;
  }
  #wellsleep-configurator-wrap .viewport-3d-mock { max-width: 380px; }

  /* Sidebar in document-flow */
  #wellsleep-configurator-wrap .sidebar {
    position: relative; top: auto; right: auto; bottom: auto;
    width: auto; max-height: none;
    margin: 12px 14px 0;
    padding-right: 0;
  }

  /* Bottom-bar — 4 segmenten stack column op mobile, niet meer fixed height */
  #wellsleep-configurator-wrap .bottom-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 8px 12px;
    flex-direction: column;
    gap: 6px;
    background: var(--bg-1);
    border-top: 1px solid var(--line);
    height: auto;
  }
  #wellsleep-configurator-wrap .bottom-segment,
#wellsleep-configurator-wrap .premium-chip {
    width: 100%;
    height: 42px;
    flex: 0 0 auto;
  }
  #wellsleep-configurator-wrap .bottom-left {
    justify-content: center;
  }
  #wellsleep-configurator-wrap .bottom-right {
    padding: 0 4px 0 16px;
  }
  #wellsleep-configurator-wrap .price-total { font-size: 17px; }
  #wellsleep-configurator-wrap .btn-cta { height: 34px; padding: 0 14px; font-size: 14px; }

  /* Chat-bell — floating bottom-right boven bottom-bar */
  #wellsleep-configurator-wrap .chat-bell {
    position: fixed;
    bottom: 220px; left: auto; right: 18px;
    z-index: 11;
  }
  #wellsleep-configurator-wrap .chat-panel {
    width: calc(100vw - 28px);
    left: 14px; right: 14px;
    bottom: 220px;
    height: min(540px, 60vh);
  }

}

/* Extra-small mobile */
@media (max-width: 480px) {

  #wellsleep-configurator-wrap .lang-flags { padding: 2px; }
  #wellsleep-configurator-wrap .flag { padding: 2px 6px; font-size: 14px; }
  #wellsleep-configurator-wrap .help-link { font-size: 14px; padding: 5px 8px; }

}


/* ============================================================================
   v1.2.7 — Tile media-galerij (carousel: dots-only + auto-play 3s)
   Memory 4: per item media-galerij carousel, video klik-to-play, verberg-leeg
   ============================================================================ */
#wellsleep-configurator-wrap .tile-gallery {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}
#wellsleep-configurator-wrap .tile-gallery-track {
  position: relative;
  width: 100%;
  height: 100%;
}
#wellsleep-configurator-wrap .tile-gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
#wellsleep-configurator-wrap .tile-gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
#wellsleep-configurator-wrap .tile-gallery-slide img,
#wellsleep-configurator-wrap .tile-gallery-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#wellsleep-configurator-wrap .tile-gallery-slide[data-type="video"] video {
  cursor: pointer;
}
#wellsleep-configurator-wrap .tile-gallery-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 2;
}
#wellsleep-configurator-wrap .tile-gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
#wellsleep-configurator-wrap .tile-gallery-dot.is-active {
  background: rgba(255,255,255,0.95);
  transform: scale(1.2);
}
#wellsleep-configurator-wrap .tile-gallery-dot:hover {
  background: rgba(255,255,255,0.8);
}
/* tile-illus moet relative zijn voor de absolute-positioned gallery */
#wellsleep-configurator-wrap .tile-illus { position: relative; }

/* === v1.3.5 — Share-config button (F3-7, Q8) === */
#wellsleep-configurator-wrap .btn-share-config {
  background: #fff;
  border: 1px solid #E3E8EE;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1A1A1A;
  margin-right: 8px;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
#wellsleep-configurator-wrap .btn-share-config:hover {
  background: #F6F9FC;
  border-color: #1A1A1A;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(26,26,26,0.15);
}
#wellsleep-configurator-wrap .btn-share-config:active {
  transform: translateY(0);
}

/* v1.3.5 — Premium-chip disabled state */
#wellsleep-configurator-wrap .premium-chip.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* === v1.3.6 — Tile-badge z-index fix (F-4) === */
/* Badges (Populair / Premium / Nieuw / Op maat) moeten boven tile-gallery + tile-illus liggen */
#wellsleep-configurator-wrap .tile-badge {
  z-index: 5;
}

/* === v1.3.8.1 URG.2 — Sensowell aantal-sensoren popup === */
#wellsleep-configurator-wrap .sensocount-modal { padding: 0; }
#wellsleep-configurator-wrap .sensocount-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  background: #FFF;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
  text-align: center;
}
#wellsleep-configurator-wrap .sensocount-card:hover {
  border-color: #1A1A1A;
  background: #FFFFFF;
}
#wellsleep-configurator-wrap .sensocount-card:active { transform: scale(0.98); }
#wellsleep-configurator-wrap .sensocount-card.is-sel {
  border-color: #1A1A1A;
  background: #F4F4F2;
}
#wellsleep-configurator-wrap .sensocount-icon { color: #1A1A1A; margin-bottom: 10px; }
#wellsleep-configurator-wrap .sensocount-label { font-weight: 600; font-size: 14px; color: #1A202C; }
#wellsleep-configurator-wrap .sensocount-meta { font-size: 12px; color: #6B7280; margin-top: 4px; line-height: 1.3; }

/* ====================== v1.3.26 — 2D-modus (Betternights-stijl) + 30% palet ====================== */

/* 2D viewport container */
#wellsleep-configurator-wrap .viewport-2d {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FAFAFA 0%, #F0F0F0 100%);
  padding: 40px;
  box-sizing: border-box;
}
#wellsleep-configurator-wrap .viewport-2d[hidden] { display: none; }
#wellsleep-configurator-wrap .viewport-2d-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 250ms ease;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.12));
}
#wellsleep-configurator-wrap .viewport-2d-fallback {
  text-align: center;
  color: #6B7280;
  font-family: system-ui, -apple-system, sans-serif;
}
#wellsleep-configurator-wrap .viewport-2d-fallback p { margin: 6px 0; }
#wellsleep-configurator-wrap .viewport-2d-fallback code {
  background: #F3F4F6;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
}
#wellsleep-configurator-wrap .viewport-2d-fallback[hidden] { display: none; }

/* v1.3.76: .view-mode-toggle CSS verwijderd (was: rechtsboven 2D-knop op viewport).
   Functioneel dubbel met topbar mode-toggle — alleen topbar-versie behouden. */

/* 30%-stijl: in test-modus de UI dempen naar wit/grijs basis + paars accent */
body.wls-test-mode #wellsleep-configurator-wrap {
  --wls-bg: #FAFAFA;
  --wls-surface: #FFFFFF;
  --wls-surface-2: #F5F5F5;
  --wls-ink: #1A202C;
  --wls-ink-soft: #6B7280;
  --wls-border: #E5E7EB;
  --wls-border-soft: #F3F4F6;
}
body.wls-test-mode #wellsleep-configurator-wrap .config-option,
body.wls-test-mode #wellsleep-configurator-wrap .tile-card {
  background: var(--wls-surface, #FFFFFF);
  border-color: var(--wls-border, #E5E7EB);
}
body.wls-test-mode #wellsleep-configurator-wrap .config-option.is-selected,
body.wls-test-mode #wellsleep-configurator-wrap .tile-card.is-selected {
  border-color: var(--accent, #7B5BFF);
  box-shadow: 0 0 0 2px rgba(123, 91, 255, 0.15);
}

/* Test-modus banner padding compensatie */
body.wls-test-mode { padding-top: 36px; }

/* 2D-modus: app-root data-view-mode */
#wellsleep-configurator-wrap[data-view-mode="2d"] .viewport-3d-canvas-wrap { display: none; }
#wellsleep-configurator-wrap[data-view-mode="2d"] .viewport-2d { display: flex; }

/* ====================== v1.3.26 — Tester-upload panel ====================== */

.tester-upload-panel {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 9998;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 13px;
}
.tester-upload-header {
  padding: 10px 14px;
  background: linear-gradient(90deg, #ff6b6b, #ffa94d);
  color: white;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tester-upload-toggle {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}
.tester-upload-body {
  padding: 14px;
}
.tester-upload-section {
  padding-bottom: 14px;
  border-bottom: 1px solid #F3F4F6;
  margin-bottom: 14px;
}
.tester-upload-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.tester-upload-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1A202C;
}
.tester-upload-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.tester-upload-file, .tester-upload-slug, .tester-upload-folder {
  padding: 6px 8px;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  font-size: 12px;
  font-family: inherit;
}
.tester-upload-file { flex: 1 1 100%; }
.tester-upload-slug { flex: 1 1 100px; }
.tester-upload-folder { flex: 0 0 100px; }
.tester-upload-btn {
  padding: 6px 12px;
  background: #7B5BFF;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.tester-upload-btn:hover { background: #6a4fe8; }
.tester-upload-status {
  font-size: 12px;
  margin-top: 6px;
  min-height: 16px;
}
.tester-upload-hint {
  font-size: 11px;
  color: #6B7280;
  margin-top: 6px;
}
.tester-upload-hint code {
  background: #F3F4F6;
  padding: 1px 4px;
  border-radius: 3px;
  font-family: monospace;
}

/* ====================== v1.3.26 — Betternights-stijl scroll-secties ====================== */

#wellsleep-configurator-wrap .bn-section {
  background: #FAFAFA;
  padding: 60px 32px;
  border-top: 1px solid #E5E7EB;
}
#wellsleep-configurator-wrap .bn-section--alt {
  background: white;
}
#wellsleep-configurator-wrap .bn-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
#wellsleep-configurator-wrap .bn-section-title {
  font-size: 28px;
  font-weight: 700;
  color: #1A202C;
  margin: 0 0 12px;
  text-align: center;
  letter-spacing: -0.5px;
}
#wellsleep-configurator-wrap .bn-section-lead {
  font-size: 15px;
  color: #6B7280;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
#wellsleep-configurator-wrap .bn-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
#wellsleep-configurator-wrap .bn-feature {
  padding: 24px;
  background: white;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
#wellsleep-configurator-wrap .bn-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
#wellsleep-configurator-wrap .bn-feature-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
#wellsleep-configurator-wrap .bn-feature-title {
  font-size: 16px;
  font-weight: 600;
  color: #1A202C;
  margin: 0 0 8px;
}
#wellsleep-configurator-wrap .bn-feature-text {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}
#wellsleep-configurator-wrap .bn-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
#wellsleep-configurator-wrap .bn-trust {
  text-align: center;
  padding: 16px;
}
#wellsleep-configurator-wrap .bn-trust-icon {
  font-size: 36px;
  margin-bottom: 8px;
}
#wellsleep-configurator-wrap .bn-trust-title {
  font-size: 15px;
  font-weight: 600;
  color: #1A202C;
  margin: 0 0 6px;
}
#wellsleep-configurator-wrap .bn-trust-text {
  font-size: 12px;
  color: #6B7280;
  line-height: 1.5;
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  #wellsleep-configurator-wrap .bn-section { padding: 40px 20px; }
  #wellsleep-configurator-wrap .bn-section-title { font-size: 22px; }
}

/* ====================== v1.3.26 item 3.7 — Video-sectie ====================== */

#wellsleep-configurator-wrap .bn-section--video {
  background: #1A202C;
  color: white;
  padding: 60px 32px;
}
#wellsleep-configurator-wrap .bn-section--video .bn-section-title { color: white; }
#wellsleep-configurator-wrap .bn-section--video .bn-section-lead { color: #9CA3AF; }

#wellsleep-configurator-wrap .bn-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
#wellsleep-configurator-wrap .bn-video-card {
  position: relative;
  margin: 0;
  background: #2D3748;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
}
#wellsleep-configurator-wrap .bn-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #1A202C;
}
/* Placeholder verbergen wanneer video een src heeft */
#wellsleep-configurator-wrap .bn-video[src]:not([src=""]) ~ .bn-video-placeholder,
#wellsleep-configurator-wrap .bn-video source[src]:not([src=""]) + .bn-video-placeholder {
  display: none;
}
#wellsleep-configurator-wrap .bn-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #374151 0%, #1F2937 100%);
  color: #9CA3AF;
  cursor: not-allowed;
  pointer-events: none;
}
#wellsleep-configurator-wrap .bn-video-placeholder-icon {
  font-size: 48px;
  color: #4B5563;
  margin-bottom: 12px;
  opacity: 0.5;
}
#wellsleep-configurator-wrap .bn-video-placeholder-text {
  font-size: 12px;
  color: #6B7280;
  line-height: 1.5;
  padding: 0 16px;
}
#wellsleep-configurator-wrap .bn-video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  color: white;
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
   v1.4.5 — Stof & kleur · Optie C (filter + zoek + collectie-lijst + groot staal-preview)
   Hergebruikt .fab-color* / .fab-colors-grid / .fab-info-toggle / .fab-info-expand.
   ============================================================ */
#wellsleep-configurator-wrap .fab-c2-mat { background-size: cover; background-position: center; position: relative; overflow: hidden; }
/* Weef-textuur over hex (collecties zonder echte foto); echte foto's krijgen .photo (geen overlay) */
#wellsleep-configurator-wrap .fab-c2-mat.weave::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.10) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 2px, transparent 2px 5px);
  background-size: 3px 3px, 3px 3px, 5px 5px; mix-blend-mode: overlay; opacity: .9;
}
#wellsleep-configurator-wrap .fab-c2-mat.weave::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,.16), transparent 60%);
}

#wellsleep-configurator-wrap .fab-c2-preview {
  display: flex; align-items: center; gap: 14px;
  background: var(--paper-warm); border-radius: var(--r); padding: 13px; margin-bottom: 13px;
}
#wellsleep-configurator-wrap .fab-c2-preview > span {
  width: 84px; height: 84px; border-radius: 14px; flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.07);
}
#wellsleep-configurator-wrap .fab-c2-preview-t { min-width: 0; }
#wellsleep-configurator-wrap .fab-c2-preview-eyebrow {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint);
}
#wellsleep-configurator-wrap .fab-c2-preview-name {
  display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600;
  letter-spacing: -.01em; margin: 2px 0 3px; color: var(--ink);
}
#wellsleep-configurator-wrap .fab-c2-preview-meta {
  display: block; font-size: 11.5px; color: var(--ink-faint); font-weight: 500; line-height: 1.4;
}

#wellsleep-configurator-wrap .fab-c2-tools { display: flex; gap: 8px; margin-bottom: 10px; }
#wellsleep-configurator-wrap .fab-c2-search {
  flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: var(--r-pill);
  padding: 9px 15px; font-family: var(--font-display); font-size: 13px; color: var(--ink);
  outline: none; transition: border-color .15s var(--ease); background: var(--paper);
}
#wellsleep-configurator-wrap .fab-c2-search:focus { border-color: var(--ink); }
#wellsleep-configurator-wrap .fab-c2-search::placeholder { color: var(--ink-faint); }

#wellsleep-configurator-wrap .fab-c2-fchips { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
#wellsleep-configurator-wrap .fab-c2-fchip {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: var(--r-pill);
  padding: 6px 14px; font-size: 12px; font-weight: 700; color: var(--ink-soft);
  cursor: pointer; font-family: var(--font-display); transition: all .15s var(--ease);
}
#wellsleep-configurator-wrap .fab-c2-fchip:hover { border-color: var(--line-strong); }
#wellsleep-configurator-wrap .fab-c2-fchip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

#wellsleep-configurator-wrap .fab-c2-list { display: flex; flex-direction: column; gap: 8px; }
#wellsleep-configurator-wrap .fab-c2-row {
  border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden;
  transition: border-color .15s var(--ease); background: var(--paper);
}
#wellsleep-configurator-wrap .fab-c2-row.open { border-color: var(--selected); }
#wellsleep-configurator-wrap .fab-c2-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer; }
#wellsleep-configurator-wrap .fab-c2-thumb { width: 44px; height: 44px; border-radius: 9px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.07); }
#wellsleep-configurator-wrap .fab-c2-headb { flex: 1; min-width: 0; }
#wellsleep-configurator-wrap .fab-c2-name {
  font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 7px;
}
#wellsleep-configurator-wrap .fab-c2-badge {
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill);
  background: var(--done); color: #fff;
}
#wellsleep-configurator-wrap .fab-c2-meta {
  font-size: 10.5px; color: var(--ink-faint); font-weight: 500; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#wellsleep-configurator-wrap .fab-c2-right { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
#wellsleep-configurator-wrap .fab-c2-price { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; color: var(--accent); }
#wellsleep-configurator-wrap .fab-c2-price.is-base { color: var(--ink-faint); font-style: italic; font-weight: 600; }
#wellsleep-configurator-wrap .fab-c2-cnt { font-size: 11px; color: var(--ink-faint); font-weight: 600; }
#wellsleep-configurator-wrap .fab-c2-chev { font-size: 12px; color: var(--ink-faint); transition: transform .2s var(--ease); }
#wellsleep-configurator-wrap .fab-c2-row.open .fab-c2-chev { transform: rotate(180deg); }
#wellsleep-configurator-wrap .fab-c2-rowbody { padding: 2px 12px 12px; }
#wellsleep-configurator-wrap .fab-c2-rowbody .fab-info-toggle { margin: 12px 0 0; }
#wellsleep-configurator-wrap .fab-c2-empty { text-align: center; color: var(--ink-faint); font-size: 13px; padding: 24px 0; }
/* 3D-upload-badge irrelevant op stof (alleen 2D) — parity met oude .fab-tab regel */
#wellsleep-configurator-wrap .fab-c2-name .wls-up-badge-3d { display: none; }

/* v1.4.8 #7B — "Bekijk in 3D"-knop in info-popup */
#wellsleep-configurator-wrap .popup-c-bottom-row { gap: 10px; }
#wellsleep-configurator-wrap .popup-c-3d-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  background: transparent;
  color: var(--ink, #1A1A1A);
  border: 1.5px solid var(--line, #D8D8D2);
  border-radius: var(--r-pill, 999px);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: border-color .15s var(--ease, ease), background-color .15s var(--ease, ease), transform .15s var(--ease, ease);
}
#wellsleep-configurator-wrap .popup-c-3d-btn:hover { border-color: var(--ink, #1A1A1A); background: rgba(0,0,0,.03); transform: translateY(-1px); }
#wellsleep-configurator-wrap .popup-c-3d-btn svg { width: 15px; height: 15px; }

/* ===== v1.5.0 (Ergun 3.12) Veiligheids-/bevestigings-popup vóór betaling ===== */
#wellsleep-configurator-wrap .wls-oc-overlay { position:fixed;inset:0;z-index:99999;background:rgba(31,26,20,.55);display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;transition:opacity .18s var(--ease); }
#wellsleep-configurator-wrap .wls-oc-overlay.is-open { opacity:1; }
#wellsleep-configurator-wrap .wls-oc-modal { background:var(--surface,#fff);border-radius:16px;max-width:440px;width:100%;padding:26px 24px 20px;box-shadow:0 24px 60px rgba(31,26,20,.32);transform:translateY(8px) scale(.98);transition:transform .18s var(--ease);text-align:center; }
#wellsleep-configurator-wrap .wls-oc-overlay.is-open .wls-oc-modal { transform:none; }
#wellsleep-configurator-wrap .wls-oc-ic { width:44px;height:44px;border-radius:50%;margin:0 auto 12px;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:24px;font-weight:800;font-style:italic;font-family:var(--font-display); }
#wellsleep-configurator-wrap .wls-oc-title { margin:0 0 8px;font-size:19px;font-weight:700;color:var(--ink);font-family:var(--font-display); }
#wellsleep-configurator-wrap .wls-oc-intro { margin:0 0 16px;font-size:14px;line-height:1.55;color:var(--ink-soft); }
#wellsleep-configurator-wrap .wls-oc-total { display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:var(--surface-2);border-radius:10px;margin-bottom:18px;font-size:14px;color:var(--ink); }
#wellsleep-configurator-wrap .wls-oc-total strong { font-size:17px; }
#wellsleep-configurator-wrap .wls-oc-actions { display:flex;gap:10px; }
#wellsleep-configurator-wrap .wls-oc-back { flex:1;padding:13px 16px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit;transition:all .15s var(--ease);background:var(--surface-2);border:1px solid var(--border);color:var(--ink-soft); }
#wellsleep-configurator-wrap .wls-oc-back:hover { background:var(--border-soft); }
#wellsleep-configurator-wrap .wls-oc-go { flex:1;padding:13px 16px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit;transition:all .15s var(--ease);background:var(--accent);border:1px solid var(--accent);color:#fff; }
#wellsleep-configurator-wrap .wls-oc-go:hover { background:var(--accent-deep); }

/* ===== v1.5.0 (Ergun 3.3) Sensowell-popup rustiger op mobiel ===== */
@media (max-width: 560px) {
  #wellsleep-configurator-wrap #sensoCountPopup .sensocount-modal { max-width: 340px !important; }
  #wellsleep-configurator-wrap #sensoCountPopup .modal-title { font-size: 16px; }
  #wellsleep-configurator-wrap #sensoCountPopup .modal-body { padding: 14px 16px 16px; }
  #wellsleep-configurator-wrap #sensoCountPopup .modal-body > p { font-size: 12.5px !important; }
  #wellsleep-configurator-wrap #sensoCountPopup .sensocount-options { gap: 8px !important; margin-top: 12px !important; }
  #wellsleep-configurator-wrap #sensoCountPopup .sensocount-card { padding: 12px 8px; border-width: 1.5px; }
  #wellsleep-configurator-wrap #sensoCountPopup .sensocount-icon { margin-bottom: 6px; }
  #wellsleep-configurator-wrap #sensoCountPopup .sensocount-icon svg { width: 22px; height: 22px; }
  #wellsleep-configurator-wrap #sensoCountPopup .sensocount-label { font-size: 13px; }
  #wellsleep-configurator-wrap #sensoCountPopup .sensocount-meta { font-size: 11px; margin-top: 2px; line-height: 1.25; }
}
