:root{
  --text-color:#FFFFFF;
  --primary-color:#6B6562;
  --secondary-color:#524E4B;
  --tertiary-color:#3A3633;
  --white:#ffffff;
  --black:#000000;
  --warning:#d12929;
  --border-subtle:rgba(255,255,255,0.15);
  --border-mid:rgba(255,255,255,0.38);
  --border-strong:rgba(255,255,255,0.75);
}

*{box-sizing:border-box;margin:0;padding:0;outline:0 !important}
html,body{background:var(--secondary-color);color:var(--white);font-family:'Montserrat',sans-serif;font-weight:300;line-height:1.5;height:100%;overflow:hidden}

h1,h2,h3,h4,.heading{font-family:industry,'Montserrat',sans-serif;font-weight:400;text-transform:uppercase;line-height:1.1;letter-spacing:0.02em}
h1{font-size:3.2rem}
h2{font-size:2.2rem;margin:0 0 0.5rem 0}
h3{font-size:1.5rem;margin:0 0 0.3rem 0}
h4{font-size:1.1rem;margin:0}
.italic{font-style:italic;font-weight:300}

.subtitle{font-family:industry,'Montserrat',sans-serif;font-size:0.85rem;text-transform:uppercase;letter-spacing:0.25em;color:rgba(255,255,255,0.55);font-weight:300}

/* ============ LAYOUT ============ */
.app{
  height:100vh;
  display:flex;
  flex-direction:column;
  background:var(--secondary-color);
  overflow:hidden;
}

/* ============ HEADER ============ */
.header{
  padding:1.5rem 2.5rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--border-subtle);
  backdrop-filter:blur(10px);
}
.logo{
  font-family:industry,'Montserrat',sans-serif;
  font-size:1.7rem;
  font-weight:500;
  letter-spacing:0.35em;
  color:var(--white);
}
.logo span{color:var(--white)}
.header-meta{
  font-size:0.75rem;
  text-transform:uppercase;
  letter-spacing:0.2em;
  color:rgba(255,255,255,0.5);
}

/* ============ PROGRESS ============ */
.progress{
  padding:1.5rem 2.5rem;
  border-bottom:1px solid var(--border-subtle);
  background:rgba(0,0,0,0.15);
}
.progress-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  max-width:1600px;
  margin:0 auto;
  gap:0.5rem;
}
.progress-step{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0.5rem;
  cursor:pointer;
  opacity:0.4;
  transition:all 0.3s ease;
  min-width:0;
}
.progress-step.active{opacity:1}
.progress-step.completed{opacity:0.8}
.progress-step.completed:hover{opacity:1}
.progress-num{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.8rem;
  width:32px;height:32px;
  border:1px solid var(--border-mid);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  transition:all 0.3s ease;
  font-weight:400;
}
.progress-step.active .progress-num{
  border-color:var(--white);
  color:var(--secondary-color);
  background:var(--white);
}
.progress-step.completed .progress-num{
  border-color:var(--white);
  background:var(--white);
  color:var(--secondary-color);
}
.progress-label{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.72rem;
  text-transform:uppercase;
  letter-spacing:0.15em;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}
.progress-connector{
  flex:0 0 20px;
  height:1px;
  background:var(--border-subtle);
}

/* ============ MAIN ============ */
.main{
  flex:1;
  display:grid;
  grid-template-columns:1fr 520px;
  min-height:0;
  overflow:hidden;
}
@media (min-width:1400px){
  .main{ grid-template-columns:1fr 580px; }
}
@media (min-width:1700px){
  .main{ grid-template-columns:1fr 640px; }
}
.main.summary-view{
  display:block;
  overflow:hidden;
}
@media (min-width:1400px){
  .main.summary-view{ display:block; }
}
@media (min-width:1700px){
  .main.summary-view{ display:block; }
}

/* cols-4 grid is ALLEEN voor kleurenswatches e.d., niet voor de panels-stap.
   De panels-stap gebruikt altijd cols-2 via de renderStepPanels HTML. */
.options-grid.cols-4{ grid-template-columns:repeat(4,1fr) }

/* ============ PREVIEW ============ */
.preview-area{
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:stretch;
  position:relative;
  border-right:1px solid var(--border-subtle);
  height:100%;
  overflow:hidden;
  background:#1c1b1a;
}
.preview-wrapper{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:stretch;
  position:relative;
  overflow:hidden;
}
#preview-svg{
  flex:1;
  width:100%;
  min-height:0;
  height:100%;
  display:block;
  overflow:hidden;
  transition:transform 0.15s ease;
  transform-origin:center center;
}
.preview-svg{
  display:block;
  width:100%;
  height:100%;
}
.preview-scene-controls{
  position:absolute;
  left:1rem;
  bottom:4.5rem;
  display:flex;
  flex-direction:column;
  gap:0.55rem;
  z-index:3;
  pointer-events:auto;
}
.scene-control-group{
  display:flex;
  align-items:center;
  gap:0.5rem;
  background:rgba(0,0,0,0.32);
  border:1px solid rgba(255,255,255,0.22);
  padding:0.4rem 0.55rem;
}
.scene-control-label{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.58rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.65);
  min-width:2.2rem;
}
.wall-swatches,.floor-swatches{
  display:flex;
  gap:0.35rem;
}
.wall-swatch,.floor-swatch{
  width:26px;
  height:26px;
  padding:0;
  border:2px solid rgba(255,255,255,0.25);
  cursor:pointer;
  transition:border-color 0.2s ease, transform 0.15s ease;
}
.wall-swatch:hover,.floor-swatch:hover{
  border-color:rgba(255,255,255,0.55);
}
.wall-swatch.selected,.floor-swatch.selected{
  border-color:#fff;
  transform:scale(1.08);
}
.preview-caption{
  position:absolute;
  left:50%;
  bottom:1.15rem;
  transform:translateX(-50%);
  margin-top:0;
  text-align:center;
  z-index:2;
  pointer-events:none;
  text-shadow:0 2px 14px rgba(0,0,0,0.35);
}
.preview-caption .dim{
  font-family:industry,'Montserrat',sans-serif;
  font-size:1.1rem;
  letter-spacing:0.3em;
  color:var(--white);
}
.preview-caption .type{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.8rem;
  letter-spacing:0.2em;
  color:rgba(255,255,255,0.5);
  text-transform:uppercase;
  margin-top:0.4rem;
}
.preview-controls{
  position:absolute;
  right:1rem;
  top:1rem;
  display:flex;
  flex-direction:column;
  gap:0.35rem;
  z-index:3;
}
.zoom-btn{
  width:34px;
  height:34px;
  border:1px solid rgba(255,255,255,0.3);
  background:rgba(0,0,0,0.28);
  color:#fff;
  font-family:industry,'Montserrat',sans-serif;
  font-size:1rem;
  line-height:1;
  cursor:pointer;
  transition:background 0.2s ease, border-color 0.2s ease;
}
.zoom-btn:hover{
  background:rgba(0,0,0,0.45);
  border-color:rgba(255,255,255,0.6);
}
.zoom-value{
  text-align:center;
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.62rem;
  letter-spacing:0.12em;
  color:rgba(255,255,255,0.78);
  background:rgba(0,0,0,0.32);
  padding:0.25rem 0.3rem;
}

/* ============ STEP CONTENT ============ */
.step-area{
  padding:3rem 2.5rem 0 2.5rem;
  overflow-y:auto;
  overflow-x:hidden;
  height:100%;
  display:flex;
  flex-direction:column;
}
.step-area::-webkit-scrollbar{width:6px}
.step-area::-webkit-scrollbar-track{background:transparent}
.step-area::-webkit-scrollbar-thumb{background:var(--border-mid);border-radius:3px}

.step-head{margin-bottom:2rem}
.step-head .subtitle{margin-bottom:0.5rem}
.step-body{flex:1}

.step-nav{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:1.25rem;
  padding:1.25rem 2.5rem;
  border-top:1px solid var(--border-subtle);
  background:var(--secondary-color);
  position:sticky;
  bottom:0;
  z-index:10;
  margin-top:auto;
  margin-left:-2.5rem;
  margin-right:-2.5rem;
}
.nav-slot{display:flex;align-items:center;min-width:0}
.nav-slot-right{justify-content:flex-end}
.nav-price{display:flex;flex-direction:column;align-items:center;text-align:center;line-height:1.2;white-space:nowrap}
.nav-price span{font-size:0.62rem;letter-spacing:0.14em;text-transform:uppercase;color:rgba(255,255,255,0.52)}
.nav-price strong{font-family:industry,'Montserrat',sans-serif;font-size:1.15rem;font-weight:400;letter-spacing:0.06em;margin-top:0.25rem}

/* ============ ACCORDION ============ */
.accordion-section{
  border:1px solid var(--border-subtle);
  background:rgba(255,255,255,0.03);
}
.accordion-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:1rem 1.25rem;
  cursor:pointer;
  user-select:none;
  transition:background 0.2s ease;
}
.accordion-header:hover{background:rgba(255,255,255,0.05)}
.accordion-header-left{
  display:flex;
  align-items:center;
  gap:0.75rem;
}
.accordion-label{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.8rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.85);
}
.accordion-summary{
  display:flex;
  align-items:center;
  gap:0.4rem;
  font-size:0.78rem;
  color:rgba(255,255,255,0.5);
  font-family:'Montserrat',sans-serif;
}
.accordion-swatch{
  display:inline-block;
  width:12px;height:12px;
  border:1px solid rgba(255,255,255,0.25);
  flex-shrink:0;
}
.accordion-chevron{
  color:rgba(255,255,255,0.5);
  transition:transform 0.25s ease;
  display:flex;align-items:center;
}
.accordion-chevron.open svg{transform:rotate(180deg)}
.accordion-body{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.35s ease, padding 0.25s ease;
  padding:0 1.25rem;
}
.accordion-body.open{
  max-height:600px;
  padding:0 1.25rem 1.25rem 1.25rem;
}

/* ============ CARDS / OPTIONS ============ */
.options-grid{
  display:grid;
  gap:0.75rem;
}
.options-grid.cols-2{grid-template-columns:1fr 1fr}
.options-grid.cols-3{grid-template-columns:repeat(3,1fr)}
.options-grid.cols-4{grid-template-columns:repeat(4,1fr)}

.option-card{
  background:rgba(255,255,255,0.05);
  border:1px solid var(--border-subtle);
  padding:1.25rem;
  cursor:pointer;
  transition:all 0.25s ease;
  position:relative;
  display:flex;
  flex-direction:column;
  gap:0.5rem;
}
.option-card:hover{
  background:rgba(255,255,255,0.09);
  border-color:var(--border-mid);
  transform:translateY(-1px);
}
.option-card.disabled{
  opacity:0.32;
  cursor:not-allowed;
  pointer-events:none;
}
.option-card.selected{
  background:rgba(255,255,255,0.10);
  border-color:var(--white);
}
.option-card.selected::after{
  content:'';
  position:absolute;
  top:0.75rem;right:0.75rem;
  width:8px;height:8px;
  background:var(--white);
  border-radius:50%;
}
.option-card .option-title{
  font-family:industry,'Montserrat',sans-serif;
  text-transform:uppercase;
  letter-spacing:0.05em;
  font-size:1rem;
  font-weight:400;
}
.option-card .option-desc{
  font-size:0.8rem;
  color:rgba(255,255,255,0.65);
  line-height:1.4;
}
.option-price{
  align-self:flex-start;
  margin-top:auto;
  padding-top:0.35rem;
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.72rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.86);
}

.scroll-hint{
  display:flex;
  align-items:center;
  gap:0.6rem;
  margin:1rem 0 0.5rem 0;
  color:rgba(255,255,255,0.45);
  font-size:0.78rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-family:industry,'Montserrat',sans-serif;
  animation:nudgeDown 2s ease-in-out infinite;
}
.scroll-hint svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;flex-shrink:0}
@keyframes nudgeDown{
  0%,100%{transform:translateY(0);opacity:0.45}
  50%{transform:translateY(3px);opacity:0.75}
}

.option-icon{
  margin-bottom:0.5rem;
  display:flex;
  align-items:center;
  justify-content:center;
  height:50px;
}
.option-icon svg{height:100%;width:auto;stroke:rgba(255,255,255,0.7);fill:none;stroke-width:1.3}
.option-card.selected .option-icon svg{stroke:var(--white)}
/* Rond glas: fills in SVG worden anders door fill:none op parent genegeerd — eigen klassen */
.option-icon svg.panel-icon--round-glass .round-glass-shape{
  fill:rgba(255,255,255,0.38);
  stroke:rgba(255,255,255,0.92);
  stroke-width:1.45;
  stroke-linejoin:round;
}
.option-card.selected .option-icon svg.panel-icon--round-glass .round-glass-shape{
  fill:rgba(255,255,255,0.5);
  stroke:#fff;
}

/* ============ DIMENSIONS ============ */
.dim-inputs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
  margin-bottom:1.5rem;
}
.dim-input{
  background:rgba(255,255,255,0.03);
  border:1px solid var(--border-subtle);
  padding:1.25rem;
  display:flex;
  flex-direction:column;
  gap:0.5rem;
}
.dim-input label{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.75rem;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.6);
}
.dim-input input{
  background:transparent;
  border:none;
  border-bottom:1px solid var(--border-mid);
  color:var(--white);
  font-family:industry,'Montserrat',sans-serif;
  font-size:2rem;
  padding:0.3rem 0;
  width:100%;
}
.dim-input input:focus{border-bottom-color:var(--white)}
.dim-input .unit{
  font-size:0.75rem;
  color:rgba(255,255,255,0.5);
  letter-spacing:0.2em;
}
.dim-range{
  font-size:0.75rem;
  color:rgba(255,255,255,0.4);
  margin-top:0.3rem;
}
.dim-slider{
  width:100%;
  appearance:none;
  -webkit-appearance:none;
  height:6px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(255,255,255,0.92) var(--slider-fill, 50%), rgba(255,255,255,0.22) var(--slider-fill, 50%));
  margin-top:0.5rem;
  outline:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.2);
  cursor:pointer;
  transition:box-shadow 0.2s ease, transform 0.2s ease;
}
.dim-slider::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:22px;
  height:22px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,0.85);
  background:radial-gradient(circle at 35% 35%, #ffffff 0%, #ece8e4 55%, #d0c8c1 100%);
  box-shadow:0 2px 10px rgba(0,0,0,0.35);
  cursor:pointer;
  transition:transform 0.15s ease, box-shadow 0.15s ease;
}
.dim-slider::-moz-range-thumb{
  width:22px;
  height:22px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,0.85);
  background:radial-gradient(circle at 35% 35%, #ffffff 0%, #ece8e4 55%, #d0c8c1 100%);
  box-shadow:0 2px 10px rgba(0,0,0,0.35);
  cursor:pointer;
}
.dim-slider:hover{ box-shadow:inset 0 0 0 1px rgba(255,255,255,0.35); }
.dim-slider:hover::-webkit-slider-thumb{ transform:scale(1.06); }
.dim-slider:hover::-moz-range-thumb{ transform:scale(1.06); }
.dim-slider:focus-visible{ box-shadow:0 0 0 2px rgba(255,255,255,0.25), inset 0 0 0 1px rgba(255,255,255,0.42); }
.range-warning{
  padding:1rem 1.25rem;
  background:rgba(209,41,41,0.1);
  border:1px solid rgba(209,41,41,0.4);
  margin-top:1rem;
  font-size:0.85rem;
  line-height:1.5;
}
.range-warning strong{color:#ff6b6b}
/* ============ COLOR SWATCHES ============ */
.color-swatches{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0.75rem;
}
.color-swatch{
  cursor:pointer;
  transition:all 0.25s ease;
  position:relative;
  border:1px solid var(--border-subtle);
  background:rgba(255,255,255,0.02);
  padding:0.5rem;
}
.color-swatch:hover{border-color:var(--border-mid)}
.color-swatch.selected{border-color:var(--white)}
.color-swatch.selected::after{
  content:'';
  position:absolute;
  top:-4px;right:-4px;
  width:10px;height:10px;
  background:var(--white);
  border-radius:50%;
}
.color-swatch-inner{
  aspect-ratio:1;
  width:100%;
  border:1px solid rgba(255,255,255,0.1);
  position:relative;
  overflow:hidden;
}
.color-swatch-inner::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%, rgba(0,0,0,0.2) 100%);
}
.color-swatch-label{
  margin-top:0.5rem;
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.7rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  text-align:center;
  color:rgba(255,255,255,0.7);
}
.color-price{
  margin-top:0.25rem;
  font-size:0.58rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  text-align:center;
  color:rgba(255,255,255,0.58);
}
.glass-option .option-price{align-self:center;margin-top:0.55rem}

/* ============ GLASS OPTIONS ============ */
.glass-options{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0.75rem;
}
.glass-option{
  background:rgba(255,255,255,0.03);
  border:1px solid var(--border-subtle);
  padding:1.25rem 1rem;
  cursor:pointer;
  transition:all 0.25s ease;
  text-align:center;
  position:relative;
}
.glass-option:hover{border-color:var(--border-mid)}
.glass-option.selected{
  background:rgba(255,255,255,0.06);
  border-color:var(--white);
}
.glass-option.selected::after{
  content:'';
  position:absolute;
  top:0.75rem;right:0.75rem;
  width:8px;height:8px;
  background:var(--white);
  border-radius:50%;
}
.glass-preview{
  width:60px;height:80px;
  margin:0 auto 0.75rem auto;
  border:1px solid rgba(255,255,255,0.2);
  position:relative;
  overflow:hidden;
}
.glass-preview::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.05) 100%);
}
.glass-option .option-title{
  font-family:industry,'Montserrat',sans-serif;
  text-transform:uppercase;
  font-size:0.95rem;
  letter-spacing:0.1em;
}
.glass-option .option-desc{
  font-size:0.7rem;
  color:rgba(255,255,255,0.5);
  margin-top:0.25rem;
}

/* ============ HANDLE OPTIONS ============ */
.handle-showcase{
  margin-bottom:1.25rem;
  border:1px solid var(--border-subtle);
  background:linear-gradient(165deg,rgba(255,255,255,0.07) 0%,rgba(255,255,255,0.02) 55%,rgba(0,0,0,0.12) 100%);
  padding:1rem 1.25rem 1.1rem;
  position:relative;
  overflow:hidden;
}
.handle-showcase::before{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse 70% 55% at 72% 38%,rgba(255,255,255,0.09),transparent 68%);
  pointer-events:none;
}
.handle-showcase-label{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.62rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.55);
  margin-bottom:0.65rem;
  position:relative;
}
.handle-showcase-visual{
  position:relative;
  height:min(28vh,220px);
  min-height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  perspective:900px;
}
.handle-showcase-img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 14px 28px rgba(0,0,0,0.35));
  transform:rotateY(-8deg) rotateX(2deg) scale(1.02);
  transition:transform 0.35s ease, filter 0.35s ease;
}
.handle-showcase.has-selection .handle-showcase-img{
  transform:rotateY(-4deg) rotateX(1deg) scale(1.06);
}
.handle-showcase-meta{
  margin-top:0.75rem;
  position:relative;
}
.handle-showcase-meta .option-title{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.95rem;
  text-transform:uppercase;
  letter-spacing:0.1em;
}
.handle-showcase-meta .option-desc{
  font-size:0.75rem;
  color:rgba(255,255,255,0.55);
  margin-top:0.2rem;
}
.handle-showcase-placeholder{
  font-size:0.82rem;
  color:rgba(255,255,255,0.45);
  text-align:center;
  padding:2rem 1rem;
  position:relative;
}
.handle-options{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:0.75rem;
}
.handle-option{
  background:rgba(255,255,255,0.03);
  border:1px solid var(--border-subtle);
  padding:0;
  cursor:pointer;
  transition:border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
}
.handle-option:hover{
  border-color:var(--border-mid);
  transform:translateY(-2px);
}
.handle-option.selected{
  background:rgba(255,255,255,0.06);
  border-color:var(--white);
}
.handle-option.selected::after{
  content:'';
  position:absolute;
  top:0.55rem;right:0.55rem;
  width:8px;height:8px;
  background:var(--white);
  border-radius:50%;
  z-index:2;
}
.handle-option.disabled{
  opacity:0.3;
  cursor:not-allowed;
  pointer-events:none;
}
.handle-visual{
  position:relative;
  height:108px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,rgba(255,255,255,0.06) 0%,rgba(0,0,0,0.08) 100%);
  border-bottom:1px solid rgba(255,255,255,0.06);
  overflow:hidden;
}
.handle-visual img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  padding:0.35rem 0.5rem;
  filter:drop-shadow(0 6px 14px rgba(0,0,0,0.28));
  transition:transform 0.25s ease;
}
.handle-option:hover .handle-visual img{transform:scale(1.04)}
.handle-option.selected .handle-visual{
  background:linear-gradient(180deg,rgba(255,255,255,0.1) 0%,rgba(255,255,255,0.02) 100%);
}
.handle-info{
  padding:0.75rem 0.85rem 0.9rem;
  min-width:0;
}
.handle-info .option-title{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.82rem;
  text-transform:uppercase;
  letter-spacing:0.08em;
  line-height:1.25;
}
.handle-info .option-desc{
  font-size:0.68rem;
  color:rgba(255,255,255,0.5);
  margin-top:0.2rem;
  line-height:1.35;
}
.handle-info .option-price{
  margin-top:0.45rem;
  padding-top:0;
  font-size:0.66rem;
}

/* ============ BUTTONS ============ */
.btn{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.85rem;
  letter-spacing:0.2em;
  text-transform:uppercase;
  padding:0.9rem 1.75rem;
  cursor:pointer;
  transition:all 0.25s ease;
  border:2px solid transparent;
  font-weight:400;
}
.btn-primary{
  background:var(--primary-color);
  color:var(--white);
  border-color:var(--primary-color);
}
.btn-primary:hover{
  background:var(--white);
  color:var(--secondary-color);
  border-color:var(--white);
}
.btn-primary:disabled{
  background:rgba(255,255,255,0.1);
  color:rgba(255,255,255,0.3);
  border-color:transparent;
  cursor:not-allowed;
}
.btn-ghost{
  background:transparent;
  color:rgba(255,255,255,0.6);
  border:2px solid var(--border-mid);
}
.btn-ghost:hover{color:var(--white);border-color:var(--white)}

/* ============ SUMMARY ============ */
.summary-scroll-pane{
  overflow-y:auto;
  overflow-x:hidden;
  height:100%;
  padding:2rem 2.5rem;
}
.summary-scroll-pane .step-head,
.summary-scroll-pane .step-body{
  width:min(1500px,100%);
  margin-left:auto;
  margin-right:auto;
}
.summary-scroll-pane .step-head{margin-bottom:1.25rem}
.summary-scroll-pane .step-body{flex:0}
.summary-conversion-layout{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(430px,0.92fr);
  grid-template-areas:
    "overview form"
    "total form"
    "back form";
  gap:2rem;
  align-items:start;
  padding-bottom:2rem;
}
.summary-overview-card,
.summary-form-card{
  border:1px solid var(--border-subtle);
  background:rgba(255,255,255,0.035);
  padding:1.5rem;
}
.summary-form-card{
  grid-area:form;
  border-color:var(--border-mid);
  background:rgba(255,255,255,0.055);
  position:sticky;
  top:0;
}
.summary-overview-card{grid-area:overview}
.summary-card-label{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.68rem;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.55);
  margin-bottom:0.5rem;
}
.component-price-list{border-top:1px solid var(--border-subtle)}
.component-price-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:1.25rem;
  align-items:center;
  padding:0.52rem 0;
  border-bottom:1px solid rgba(255,255,255,0.09);
}
.component-price-row > div{display:flex;flex-direction:column;min-width:0}
.component-label{
  font-size:0.62rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.48);
}
.component-price-row strong{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.88rem;
  font-weight:400;
  letter-spacing:0.045em;
  text-transform:uppercase;
  overflow-wrap:anywhere;
}
.component-price-row small{font-size:0.68rem;color:rgba(255,255,255,0.5);margin-top:0.08rem}
.component-price{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.84rem;
  letter-spacing:0.04em;
  text-align:right;
  white-space:nowrap;
}
.component-value-inline{display:flex;align-items:center;gap:0.45rem}
.summary-swatch{display:inline-block;width:12px;height:12px;border:1px solid rgba(255,255,255,0.3);flex:0 0 auto}
.summary-total{
  grid-area:total;
  border:2px solid var(--white);
  padding:1.1rem 1.25rem;
  margin-top:-0.75rem;
  background:rgba(255,255,255,0.04);
}
.summary-total > div{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}
.summary-total span{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.7rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.62);
}
.summary-total strong{
  font-family:industry,'Montserrat',sans-serif;
  font-size:2rem;
  font-weight:300;
  letter-spacing:0.03em;
  text-align:right;
}
.summary-total p{font-size:0.68rem;color:rgba(255,255,255,0.53);line-height:1.45;margin-top:0.45rem}
.summary-total .request-reasons{color:rgba(255,255,255,0.78)}
.summary-back-action{
  grid-area:back;
  display:flex;
  align-items:flex-start;
}
.summary-form-card #submit-form{
  background:var(--white);
  color:var(--secondary-color);
  border-color:var(--white);
}
.summary-form-card #submit-form:hover{
  background:var(--primary-color);
  color:var(--white);
  border-color:var(--primary-color);
}
.summary-details{
  display:flex;
  flex-direction:column;
  gap:1.5rem;
}
.summary-section{
  border-top:1px solid var(--border-subtle);
  padding-top:1.25rem;
}
.summary-section:first-child{border-top:none;padding-top:0}
.summary-section .label{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.72rem;
  letter-spacing:0.25em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.5);
  margin-bottom:0.5rem;
}
.summary-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0.4rem 0;
  font-size:0.95rem;
}
.summary-row .key{color:rgba(255,255,255,0.7)}
.summary-row .val{font-family:industry,'Montserrat',sans-serif;text-transform:uppercase;letter-spacing:0.05em}

.price-box{
  background:rgba(255,255,255,0.04);
  border:2px solid var(--white);
  padding:2rem;
  margin-top:1rem;
}
.price-box .label{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.75rem;
  letter-spacing:0.25em;
  color:rgba(255,255,255,0.55);
  text-transform:uppercase;
}
.price-box .amount{
  font-family:industry,'Montserrat',sans-serif;
  font-size:3rem;
  font-weight:300;
  color:var(--white);
  margin:0.5rem 0 0.25rem 0;
  letter-spacing:0.02em;
}
.price-box .note{
  font-size:0.75rem;
  color:rgba(255,255,255,0.55);
  line-height:1.5;
}
.price-breakdown{
  margin-top:1rem;
  padding-top:1rem;
  border-top:1px solid rgba(255,255,255,0.1);
}
.price-breakdown .row{
  display:flex;
  justify-content:space-between;
  font-size:0.82rem;
  color:rgba(255,255,255,0.7);
  padding:0.2rem 0;
}

.maatwerk-box{
  background:rgba(255,255,255,0.03);
  border:2px solid var(--border-mid);
  padding:2rem;
  margin-top:1rem;
  text-align:center;
}
.maatwerk-box .label{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.8rem;
  letter-spacing:0.25em;
  color:rgba(255,255,255,0.7);
  text-transform:uppercase;
  margin-bottom:0.5rem;
}
.maatwerk-box .msg{
  color:rgba(255,255,255,0.7);
  font-size:0.9rem;
  line-height:1.5;
}

/* ============ FORM ============ */
.lead-form{
  margin-top:2rem;
  padding-top:2rem;
  border-top:1px solid var(--border-subtle);
}
.summary-form-card .lead-form{margin:0;padding:0;border:0}
.lead-form-title{
  font-family:industry,'Montserrat',sans-serif;
  font-size:1.35rem;
  font-weight:400;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--white);
  margin:0 0 0.35rem 0;
}
.lead-form-intro{
  font-size:0.85rem;
  color:rgba(255,255,255,0.55);
  margin:0 0 0.25rem 0;
}
.lead-form-intro{line-height:1.5;margin-bottom:0}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
  margin-top:1rem;
}
.form-field{display:flex;flex-direction:column;gap:0.4rem}
.form-field.full{grid-column:1 / -1}
.form-field label{
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.72rem;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--white);
}
.form-field .field-readonly{
  background:rgba(255,255,255,0.04);
  border:1px solid var(--border-subtle);
  color:rgba(255,255,255,0.45);
  padding:0.75rem 1rem;
  font-family:'Montserrat',sans-serif;
  font-size:0.95rem;
}
.form-field .field-hint{
  font-size:0.7rem;
  color:rgba(255,255,255,0.45);
  margin-top:0.35rem;
}
.form-field input,
.form-field textarea{
  background:rgba(255,255,255,0.04);
  border:1px solid var(--border-subtle);
  color:var(--white);
  padding:0.75rem 1rem;
  font-family:'Montserrat',sans-serif;
  font-size:0.95rem;
  transition:border-color 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus{border-color:var(--white)}
.form-field textarea{resize:vertical;min-height:80px;font-family:inherit}
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"]{border-color:var(--warning)}
.form-error{
  min-height:0;
  font-size:0.68rem;
  line-height:1.35;
  color:#ffb4b4;
}
.form-error:empty{display:none}
.contact-error{margin-top:-0.45rem}
.montage-status{
  display:grid;
  grid-template-columns:1fr auto;
  gap:0.15rem 0.75rem;
  padding:0.7rem 0.85rem;
  border:1px solid var(--border-subtle);
  background:rgba(255,255,255,0.035);
}
.montage-status span{font-size:0.68rem;letter-spacing:0.1em;text-transform:uppercase;color:rgba(255,255,255,0.55)}
.montage-status strong{font-family:industry,'Montserrat',sans-serif;font-size:0.78rem;font-weight:400;text-transform:uppercase}
.montage-status small{grid-column:1 / -1;font-size:0.66rem;color:rgba(255,255,255,0.48)}
.optional-message{border-top:1px solid var(--border-subtle);padding-top:0.65rem}
.optional-message summary{
  cursor:pointer;
  font-family:industry,'Montserrat',sans-serif;
  font-size:0.72rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.78);
}
.optional-message summary span{color:rgba(255,255,255,0.42)}
.optional-message .form-field{margin-top:0.75rem}
.form-global-error{
  min-height:0;
  margin-top:0.75rem;
  padding:0.7rem 0.85rem;
  border:1px solid rgba(209,41,41,0.6);
  background:rgba(209,41,41,0.12);
  color:#ffd1d1;
  font-size:0.75rem;
  line-height:1.4;
}
.form-global-error:empty{display:none}
.lead-form-actions{display:flex;gap:0.75rem;margin-top:1rem}
.lead-form-actions .btn-primary{flex:1}

.thank-you{
  text-align:center;
  padding:4rem 2rem;
}
.thank-you .icon{
  width:64px;height:64px;
  border:2px solid var(--white);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 1.5rem auto;
  color:var(--white);
  font-size:1.8rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px){
  /* Op tablet/mobiel: body mag weer scrollen */
  html,body{ height:auto; overflow:auto; }
  .app{ height:auto; overflow:visible; }

  .main{
    display:grid;
    grid-template-columns:1fr;
    overflow:visible;
  }
  .main.summary-view{ overflow:visible; }

  .preview-area{
    position:sticky;
    top:0;
    z-index:5;
    height:38vh;
    min-height:220px;
    overflow:hidden;
    padding:0;
    border-right:none;
    border-bottom:1px solid var(--border-subtle);
  }
  .preview-wrapper{ max-width:none; max-height:100% }
  .preview-svg{ width:100%; height:100% }
  .preview-caption{ margin-top:0.6rem }
  .preview-caption .dim{ font-size:0.95rem }
  .preview-caption .type{ font-size:0.7rem; margin-top:0.2rem }

  .step-area{
    height:auto;
    overflow:visible;
    padding:1.75rem 1.5rem 0 1.5rem;
  }
  .progress{ padding:0.75rem 1rem }
  .main.summary-view{
    display:block;
    overflow:visible;
  }
  .summary-scroll-pane{
    height:auto;
    overflow:visible;
    padding:1.75rem 1.5rem 0 1.5rem;
  }
  .summary-conversion-layout{
    grid-template-columns:1fr;
    grid-template-areas:
      "total"
      "back"
      "form"
      "overview";
    gap:1rem;
  }
  .summary-form-card{position:static}
  .summary-total{margin-top:0}
  .summary-back-action .btn{width:100%}
  h2{ font-size:1.75rem }
  .header{ padding:1rem 1.25rem }
  .logo svg{ height:28px }
  .header-meta{ font-size:0.65rem; letter-spacing:0.12em }
  .options-grid.cols-4{ grid-template-columns:1fr 1fr }
  .step-nav{ padding:1rem 1.5rem; margin-left:-1.5rem; margin-right:-1.5rem }
}

@media (max-width: 768px){
  .header{ padding:0.85rem 1rem }
  .logo svg{ height:24px }
  .header-meta{ display:none }

  .progress{ padding:0.6rem 1rem }
  .progress-label{ display:none }
  .progress-num{ width:26px; height:26px; font-size:0.7rem }
  .progress-connector{ flex:0 0 8px }

  .preview-area{ height:32vh; min-height:180px; padding:0 }
  .preview-svg{ width:100%; height:100% }
  .preview-caption{ margin-top:0.5rem }
  .preview-caption .dim{ font-size:0.85rem; letter-spacing:0.15em }

  .step-area{ padding:1.25rem 1rem 0 1rem }
  .step-head{ margin-bottom:1rem }
  h2{ font-size:1.35rem }
  .subtitle{ font-size:0.75rem; letter-spacing:0.18em }

  .options-grid.cols-2{ grid-template-columns:1fr 1fr }
  .dim-inputs{ grid-template-columns:1fr 1fr }
  .options-grid.cols-4{ grid-template-columns:1fr 1fr }
  .color-swatches{ grid-template-columns:repeat(4,1fr) }
  .glass-options{ grid-template-columns:repeat(2,1fr) }
  .handle-options{ grid-template-columns:1fr 1fr }
  .handle-showcase-visual{ min-height:120px; height:22vh }
  .handle-visual{ height:92px }
  .dim-slider{ height:8px; margin-top:0.6rem; }
  .dim-slider::-webkit-slider-thumb{ width:24px; height:24px; }
  .dim-slider::-moz-range-thumb{ width:24px; height:24px; }

  .step-nav{ gap:0.6rem; padding:0.85rem 1rem; margin-left:-1rem; margin-right:-1rem }
  .btn{ padding:0.75rem 1.25rem; font-size:0.8rem; letter-spacing:0.15em }

  .summary-scroll-pane{ padding:1.5rem 1rem 0 1rem }
  .summary-overview-card,.summary-form-card{padding:1rem}
  .summary-total strong{font-size:1.65rem}
  .lead-form-actions{flex-direction:column}
  .lead-form-actions .btn{width:100%}
  .price-box .amount{ font-size:2.4rem }
  .form-grid{ grid-template-columns:1fr }
}

@media (max-width: 480px){
  .preview-area{ height:26vh; min-height:150px; padding:0 }
  .preview-svg{ width:100%; height:100% }
  .preview-caption .dim{ font-size:0.75rem; letter-spacing:0.1em }
  .preview-caption .type{ display:none }

  .options-grid.cols-2{ grid-template-columns:1fr 1fr }
  .dim-inputs{ grid-template-columns:1fr }
  .dim-input input{ font-size:1.6rem }
  .options-grid.cols-4{ grid-template-columns:1fr 1fr }
  .color-swatches{ grid-template-columns:repeat(4,1fr) }
  .glass-options{ grid-template-columns:1fr 1fr }
  .handle-options{ grid-template-columns:1fr }

  .step-nav{ grid-template-columns:1fr 1fr; }
  .nav-price{grid-column:1 / -1;grid-row:1}
  .nav-slot-left{grid-column:1;grid-row:2}
  .nav-slot-right{grid-column:2;grid-row:2}
  .nav-slot-right .btn{width:100%}
  .btn-primary{ flex:1 }
  h2{ font-size:1.2rem }
  .price-box{ padding:1.25rem }
  .price-box .amount{ font-size:2rem }
}

/* ============ TRANSITIONS ============ */
.fade-in{animation:fadeIn 0.3s ease}
@keyframes fadeIn{
  from{opacity:0;transform:translateY(6px)}
  to{opacity:1;transform:translateY(0)}
}
