/* Veranda Configurator 2.0 — alles gescoped onder .vc-configurator zodat het thema er niet mee botst */
.vc-configurator{
  --vc-brand:#1f5f4a;
  --vc-brand-soft:color-mix(in srgb, var(--vc-brand) 9%, #fff);
  --vc-text:#1c2321; --vc-muted:#5f6b67; --vc-line:#e3e7e5; --vc-bg:#f6f7f5;
  --vc-radius:14px;
  max-width:1280px; margin:24px auto; display:grid; grid-template-columns:minmax(0,1fr) 440px; gap:28px; align-items:start;
  color:var(--vc-text); font-family:inherit; text-align:left; line-height:1.45;
}
.vc-configurator *{ box-sizing:border-box }
.vc-configurator [hidden]{ display:none !important }

/* ---------- Beeld ---------- */
.vc-configurator .vc-view{ position:sticky; top:24px }
.vc-configurator .vc-stack{ position:relative; width:100%; aspect-ratio:16/9; border-radius:var(--vc-radius); overflow:hidden;
  background:linear-gradient(180deg,#eef1ef,#e2e7e4) }
.vc-configurator .vc-stack img{ position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:contain; margin:0;
  opacity:0; transition:opacity .25s ease; pointer-events:none }
.vc-configurator .vc-stack img.vc-visible{ opacity:1 }
.vc-configurator .vc-badge{ position:absolute; left:12px; top:12px; font-size:12px; padding:4px 10px; border-radius:999px;
  background:rgba(255,255,255,.85); color:var(--vc-muted); backdrop-filter:blur(4px) }
.vc-configurator .vc-summary{ display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; min-height:28px }
.vc-configurator .vc-pill{ font-size:13px; padding:4px 11px; border:1px solid var(--vc-line); border-radius:999px; background:#fff; color:var(--vc-muted) }

/* ---------- Paneel ---------- */
.vc-configurator .vc-panel{ min-width:0; background:#fff; border:1px solid var(--vc-line); border-radius:var(--vc-radius);
  box-shadow:0 12px 32px rgba(20,40,30,.06); display:flex; flex-direction:column; scroll-margin-top:16px }

.vc-configurator .vc-steps{ list-style:none; margin:0; padding:14px 16px 0; display:flex; gap:4px; overflow-x:auto; scrollbar-width:none }
.vc-configurator .vc-steps::-webkit-scrollbar{ display:none }
.vc-configurator .vc-steps li{ margin:0; padding:0; flex:1 0 auto }
.vc-configurator .vc-stepbtn{ appearance:none; width:100%; border:0; background:none; padding:6px 4px 8px; font:inherit; font-size:12px;
  color:var(--vc-muted); cursor:pointer; border-bottom:3px solid var(--vc-line); text-transform:none; letter-spacing:0; box-shadow:none; border-radius:0; line-height:1.2; min-height:0 }
.vc-configurator .vc-stepbtn.is-done{ color:var(--vc-text); border-bottom-color:color-mix(in srgb, var(--vc-brand) 45%, #fff) }
.vc-configurator .vc-stepbtn.is-current{ color:var(--vc-brand); font-weight:700; border-bottom-color:var(--vc-brand) }
.vc-configurator .vc-stepbtn:disabled{ cursor:default; opacity:.55 }
.vc-configurator .vc-stepbtn:hover:not(:disabled){ color:var(--vc-brand); background:none }

.vc-configurator .vc-head{ padding:18px 22px 4px }
.vc-configurator .vc-count{ font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--vc-brand) }
.vc-configurator .vc-step-title{ margin:4px 0 4px; font-size:22px; line-height:1.25; color:var(--vc-text) }
.vc-configurator .vc-step-intro{ margin:0; font-size:14px; color:var(--vc-muted) }
.vc-configurator .vc-step-intro:empty{ display:none }

.vc-configurator .vc-options{ padding:14px 22px 6px; display:flex; flex-direction:column; gap:10px }
.vc-configurator .vc-subhead{ font-size:13px; font-weight:700; color:var(--vc-text); margin:8px 0 -2px }
.vc-configurator .vc-grid{ display:grid; gap:8px; grid-template-columns:1fr }
.vc-configurator .vc-grid-2{ grid-template-columns:1fr }
.vc-configurator .vc-grid-3{ grid-template-columns:repeat(3,1fr) }
.vc-configurator .vc-grid-chips{ display:flex; flex-wrap:wrap; gap:6px }

/* Optiekaart */
.vc-configurator .vc-card{ position:relative; display:flex; align-items:flex-start; gap:12px; margin:0; padding:12px 14px;
  border:1.5px solid var(--vc-line); border-radius:12px; background:#fff; cursor:pointer; transition:border-color .15s, background .15s, box-shadow .15s }
.vc-configurator .vc-card:hover{ border-color:color-mix(in srgb, var(--vc-brand) 40%, var(--vc-line)) }
.vc-configurator .vc-card.is-on{ border-color:var(--vc-brand); background:var(--vc-brand-soft); box-shadow:0 0 0 1px var(--vc-brand) inset }
.vc-configurator .vc-card.is-off{ opacity:.5; cursor:not-allowed }
.vc-configurator .vc-card input{ position:absolute; opacity:0; width:1px; height:1px; margin:0; pointer-events:none }
.vc-configurator .vc-card:has(input:focus-visible){ outline:2px solid var(--vc-brand); outline-offset:2px }
.vc-configurator .vc-tick{ flex:0 0 20px; height:20px; margin-top:1px; border-radius:50%; border:1.5px solid #b9c2be; background:#fff; position:relative }
.vc-configurator .vc-card input[type=checkbox] ~ .vc-tick{ border-radius:6px }
.vc-configurator .vc-card.is-on .vc-tick{ border-color:var(--vc-brand); background:var(--vc-brand) }
.vc-configurator .vc-card.is-on .vc-tick::after{ content:""; position:absolute; left:6px; top:2.5px; width:5px; height:10px; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg) }
.vc-configurator .vc-swatch{ flex:0 0 26px; height:26px; border-radius:50%; border:1px solid rgba(0,0,0,.15); box-shadow:inset 0 0 0 2px #fff }
.vc-configurator .vc-card-body{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1 }
.vc-configurator .vc-card-title{ font-weight:600; font-size:15px; display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 10px }
.vc-configurator .vc-card-desc{ font-size:13px; color:var(--vc-muted) }
.vc-configurator .vc-card-note{ font-size:12px; color:#9a4b12 }
.vc-configurator .vc-delta{ font-size:13px; font-weight:500; color:var(--vc-muted); white-space:nowrap }
.vc-configurator .vc-from{ font-size:13px; font-weight:600; color:var(--vc-brand); white-space:nowrap }
.vc-configurator .vc-grid-3 .vc-card{ flex-direction:column; align-items:center; text-align:center; gap:8px; padding:14px 8px }
.vc-configurator .vc-grid-3 .vc-card-title{ justify-content:center; flex-direction:column; align-items:center; gap:2px }
.vc-configurator .vc-grid-3 .vc-swatch{ flex-basis:auto; width:40px; height:40px }
.vc-configurator .vc-grid-chips .vc-card{ padding:8px 12px; border-radius:999px; gap:8px; align-items:center }
.vc-configurator .vc-grid-chips .vc-tick{ flex-basis:16px; height:16px; margin:0 }
.vc-configurator .vc-grid-chips .vc-card.is-on .vc-tick::after{ left:4.5px; top:1.5px; width:4px; height:8px }
.vc-configurator .vc-grid-chips .vc-card-title{ font-size:14px; font-weight:500 }

/* Afmetingen */
.vc-configurator .vc-range{ padding:12px 14px; border:1px solid var(--vc-line); border-radius:12px; background:var(--vc-bg); margin-bottom:8px }
.vc-configurator .vc-range label{ display:block; font-size:14px; font-weight:600; margin-bottom:6px }
.vc-configurator .vc-range-row{ display:flex; align-items:center; gap:12px }
.vc-configurator .vc-range input[type=range]{ flex:1; accent-color:var(--vc-brand); margin:0; min-width:0 }
.vc-configurator .vc-num{ display:flex; align-items:center; gap:4px; font-size:14px; color:var(--vc-muted) }
.vc-configurator .vc-num input{ width:76px; padding:6px 8px; margin:0; border:1px solid var(--vc-line); border-radius:8px; font:inherit; font-size:15px; font-weight:600; text-align:right; background:#fff; height:auto; box-shadow:none }
.vc-configurator .vc-area{ font-size:14px; padding:2px 2px 0 }
.vc-configurator .vc-hint{ font-size:12px; font-weight:400; color:var(--vc-muted) }

/* Formulier */
.vc-configurator .vc-form{ display:grid; grid-template-columns:repeat(6,1fr); gap:10px }
.vc-configurator .vc-field{ grid-column:span 3; display:flex; flex-direction:column; gap:4px; margin:0 }
.vc-configurator .vc-field.vc-third{ grid-column:span 2 }
.vc-configurator .vc-full{ grid-column:1 / -1 }
.vc-configurator .vc-field label{ font-size:13px; font-weight:600; margin:0 }
.vc-configurator .vc-field input, .vc-configurator .vc-field select, .vc-configurator .vc-field textarea{
  width:100%; padding:10px 12px; margin:0; border:1.5px solid var(--vc-line); border-radius:10px; font:inherit; font-size:15px; background:#fff; color:var(--vc-text); box-shadow:none; height:auto; min-height:0 }
.vc-configurator .vc-field input:focus, .vc-configurator .vc-field select:focus, .vc-configurator .vc-field textarea:focus{ outline:none; border-color:var(--vc-brand); box-shadow:0 0 0 3px var(--vc-brand-soft) }
.vc-configurator .has-error input, .vc-configurator .has-error select{ border-color:#c0392b }
.vc-configurator .vc-check{ display:flex; gap:10px; align-items:flex-start; font-size:13px; color:var(--vc-muted); margin:2px 0 0; cursor:pointer }
.vc-configurator .vc-check input{ margin:2px 0 0; accent-color:var(--vc-brand); width:18px; height:18px; flex:0 0 18px }
.vc-configurator .vc-check.has-error span{ color:#c0392b }
.vc-configurator .vc-check a{ color:var(--vc-brand) }
.vc-configurator .vc-error{ font-size:14px; color:#9b2c1f; background:#fdecea; border-radius:10px; padding:10px 12px }
.vc-configurator .vc-hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden }
.vc-configurator .vc-usps{ list-style:none; margin:4px 0 0; padding:0; display:flex; flex-direction:column; gap:4px; font-size:13px; color:var(--vc-muted) }
.vc-configurator .vc-usps li{ margin:0; padding-left:22px; position:relative }
.vc-configurator .vc-usps li::before{ content:"✓"; position:absolute; left:2px; color:var(--vc-brand); font-weight:700 }

/* Voet: prijs + knoppen */
.vc-configurator .vc-foot{ position:sticky; bottom:0; padding:14px 22px 18px; background:#fff; border-top:1px solid var(--vc-line); border-radius:0 0 var(--vc-radius) var(--vc-radius); margin-top:8px }
.vc-configurator .vc-price{ display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 8px; margin-bottom:12px }
.vc-configurator .vc-price-label{ font-size:13px; color:var(--vc-muted) }
.vc-configurator .vc-price-value{ font-size:24px; font-weight:800; color:var(--vc-text); font-variant-numeric:tabular-nums }
.vc-configurator .vc-price-note{ font-size:12px; color:var(--vc-muted) }
.vc-configurator .vc-controls{ display:flex; gap:10px }
.vc-configurator .vc-btn{ appearance:none; border:0; background:var(--vc-brand); color:#fff; padding:14px 20px; border-radius:999px; font:inherit; font-size:15px;
  font-weight:700; line-height:1; cursor:pointer; text-transform:none; letter-spacing:normal; box-shadow:none; text-decoration:none; display:inline-flex; justify-content:center; align-items:center; min-height:0; margin:0 }
.vc-configurator .vc-btn:hover:not(:disabled){ filter:brightness(1.08); color:#fff }
.vc-configurator .vc-btn.vc-secondary{ background:#eef1ef; color:var(--vc-text) }
.vc-configurator .vc-btn.vc-secondary:hover{ color:var(--vc-text) }
.vc-configurator .vc-btn:disabled{ opacity:.45; cursor:not-allowed }
.vc-configurator .vc-next{ flex:1 }
.vc-configurator .vc-next.vc-cta{ background:#e07a1f }
.vc-configurator .vc-wa{ background:#25d366; margin-top:6px }

/* Bedankt */
.vc-configurator .vc-done{ text-align:center; padding:6px 0 16px; font-size:15px }
.vc-configurator .vc-done p{ margin:0 0 12px }
.vc-configurator .vc-done-icon{ width:56px; height:56px; margin:0 auto 14px; border-radius:50%; background:var(--vc-brand); color:#fff; font-size:28px; line-height:56px; font-weight:700 }
.vc-configurator .vc-done-price{ background:var(--vc-brand-soft); border-radius:12px; padding:12px }
.vc-configurator .vc-done-price span{ font-size:12px; color:var(--vc-muted) }

/* ---------- Tablet & mobiel ---------- */
@media (max-width:1024px){
  .vc-configurator{ grid-template-columns:minmax(0,1fr); gap:16px }
  .vc-configurator .vc-view{ position:sticky; top:0; z-index:5; background:var(--vc-page-bg, #fff); padding:8px 0 4px }
  .vc-configurator .vc-summary{ display:none }
  .vc-configurator .vc-grid-2{ grid-template-columns:1fr 1fr }
}
@media (max-width:640px){
  .vc-configurator{ margin:12px auto }
  .vc-configurator .vc-stack{ border-radius:10px }
  .vc-configurator .vc-grid-2{ grid-template-columns:1fr }
  .vc-configurator .vc-head{ padding:14px 16px 2px }
  .vc-configurator .vc-options{ padding:12px 16px 4px }
  .vc-configurator .vc-foot{ padding:12px 16px 14px }
  .vc-configurator .vc-step-title{ font-size:19px }
  .vc-configurator .vc-field, .vc-configurator .vc-field.vc-third{ grid-column:1 / -1 }
  .vc-configurator .vc-field.vc-third:nth-of-type(4), .vc-configurator .vc-field.vc-third:nth-of-type(5){ grid-column:span 3 }
}

/* Opnieuw beginnen */
.vc-configurator .vc-reset{ position:absolute; right:12px; top:12px; z-index:2; appearance:none; border:0; cursor:pointer; font:inherit; font-size:13px; font-weight:600;
  padding:7px 12px; border-radius:999px; background:rgba(255,255,255,.9); color:var(--vc-text); backdrop-filter:blur(4px); box-shadow:0 2px 8px rgba(0,0,0,.12);
  text-transform:none; letter-spacing:0; line-height:1.2; min-height:0; margin:0; transition:background .15s, color .15s }
.vc-configurator .vc-reset:hover{ background:#fff; color:var(--vc-brand) }
.vc-configurator .vc-reset.is-armed{ background:#c0392b; color:#fff }

.vc-configurator .vc-info{ font-size:13px; color:var(--vc-muted); background:var(--vc-bg); border:1px solid var(--vc-line); border-radius:10px; padding:10px 12px }

/* Bescherming tegen thema-stijlen (bijv. Salient zet nummers/bolletjes voor lijsten) */
.vc-configurator ol, .vc-configurator ul,
.vc-configurator ol li, .vc-configurator ul li{ list-style:none !important; list-style-type:none !important; background-image:none !important }
.vc-configurator ol, .vc-configurator ul{ margin-left:0 !important; padding-left:0 !important; counter-reset:none !important }
.vc-configurator .vc-steps{ padding:14px 16px 0 !important }
.vc-configurator ol li::before, .vc-configurator ul li::before,
.vc-configurator ol li::marker, .vc-configurator ul li::marker{ content:none !important; display:none !important }
.vc-configurator ol li{ counter-increment:none !important }
.vc-configurator ul.vc-usps li::before{ content:"✓" !important; display:inline !important; position:absolute; left:2px }
/* Laden van een nieuw beeld: subtiele indicator rechtsonder */
.vc-configurator .vc-loading::after{ content:""; position:absolute; right:14px; bottom:14px; width:18px; height:18px; border-radius:50%; border:2px solid rgba(255,255,255,.55); border-top-color:#fff; animation:vc-spin .8s linear infinite; z-index:5; box-shadow:0 0 0 3px rgba(0,0,0,.12) }
@keyframes vc-spin{ to{ transform:rotate(360deg) } }

/* Foto's van de klant */
.vc-configurator .vc-photo-list{ display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 }
.vc-configurator .vc-photo{ position:relative; width:72px; height:72px; border-radius:8px; overflow:hidden; border:1px solid var(--vc-line, #e3e3e3) }
.vc-configurator .vc-photo img{ width:100%; height:100%; object-fit:cover; display:block }
.vc-configurator .vc-photo button{ position:absolute; top:2px; right:2px; width:22px; height:22px; border-radius:50%; border:0; background:rgba(0,0,0,.6); color:#fff; font-size:15px; line-height:22px; padding:0; cursor:pointer }
.vc-configurator .vc-photo-add{ display:inline-flex; align-items:center; gap:6px; padding:9px 14px; border:1px dashed var(--vc-brand); border-radius:10px; color:var(--vc-brand); font-weight:600; font-size:14px; cursor:pointer }
.vc-configurator .vc-photo-add.is-busy{ opacity:.6; pointer-events:none }
.vc-configurator .vc-photo-add[hidden]{ display:none }

/* Spie: korte kop, verplicht waar nodig */
.vc-configurator .vc-spie-box{ margin:16px 0 6px; display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; font-size:15px; line-height:1.3 }
.vc-configurator .vc-spie-box strong{ font-size:16px }
.vc-configurator .vc-spie-box small{ font-weight:400; color:var(--vc-muted, #666) }
.vc-configurator .vc-spie-box em{ font-style:normal; font-weight:600; font-size:14px; color:#b36b00 }

/* JS-sticky: beeld blijft in zicht (thema-onafhankelijk) */
.vc-configurator.vc-js-sticky .vc-view{ position:relative; top:auto; z-index:6 }
.vc-configurator.vc-js-sticky .vc-stack{ z-index:7 }
@media (max-width:1024px){
  .vc-configurator.vc-js-sticky .vc-view{ position:relative; top:auto; padding:0; background:none }
  .vc-configurator.vc-js-sticky .vc-stack.vc-stuck{ box-shadow:0 8px 24px rgba(0,0,0,.18) }
}
.vc-configurator .vc-fixed{ position:fixed !important; z-index:60; margin:0 !important; transform:none !important }
@media (max-width:1024px){ .vc-configurator .vc-stack.vc-fixed{ border-radius:0 0 14px 14px } }
