/* Styling van de hele configurator. De grote blokken volgen grofweg de schermen:
   topbar, wizard, builder-stage, rechterpaneel, contact en responsive gedrag. */
:root {
  color-scheme: light;
  --ink: #20241f;
  --muted: #687063;
  --line: #d8ded2;
  --line-dark: #b8c1b1;
  --panel: #ffffff;
  --stage: #f5f6f2;
  --soft: #f7f8f4;
  --brand: #395c42;
  --brand-dark: #243c2b;
  --teal: #0b6f7e;
  --accent: #d2a544;
  --danger: #a34032;
  --shadow: 0 18px 42px rgba(37, 50, 34, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eef2eb;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 0;
}

h2 {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 12px;
}

h3 {
  font-size: 16px;
  line-height: 1.25;
  margin: 0 0 6px;
}

label {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 6px;
  text-transform: uppercase;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  color: var(--ink);
  padding: 10px 11px;
  width: 100%;
}

textarea {
  line-height: 1.45;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible {
  outline: 3px solid rgba(210, 165, 68, 0.45);
  outline-offset: 2px;
}

.info-note {
  background: rgba(210, 165, 68, 0.08);
  border: 1px solid rgba(210, 165, 68, 0.28);
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 14px;
  padding: 10px 12px;
}

.app-shell {
  display: grid;
  gap: 12px;
  min-height: 100vh;
  padding: 14px;
}

.topbar {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;


  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  min-height: 88px;
  padding: 16px 22px;
}

.brand-lockup {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.brand-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  flex: 0 0 auto;
  padding: 0;
}

.brand-button:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(57, 92, 66, 0.26);
  outline-offset: 4px;
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
}

.brand-lockup h1 {
  border-left: 1px solid var(--line);
  font-size: 20px;
  padding-left: 14px;
  white-space: nowrap;
}

.eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.top-summary {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: end;
}

.wizard-mode .top-summary {
  display: none;
}

.top-summary span,
.side-total span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.top-summary strong,
.side-total strong {
  font-size: 22px;
  white-space: nowrap;
}

.summary-preview {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  padding: 14px;
}

.summary-preview-header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.summary-preview-header strong,
.summary-preview-header span {
  display: block;
}

.summary-preview-header span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.summary-preview-text {
  background: var(--soft);
  border-color: var(--line);
  color: var(--ink);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.45;
  max-height: 280px;
  resize: vertical;
}

.primary-button,
.ghost-button,
.danger-button,
.tab-button,
.side-tab,
.small-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 38px;
  padding: 8px 12px;
}

.primary-button {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 850;
}

.ghost-button,
.tab-button,
.side-tab,
.small-button {
  background: #fff;
  color: var(--ink);
}

.danger-button {
  background: #fff4ee;
  border-color: #e2ad9a;
  color: var(--danger);
  font-weight: 800;
}

.wide-button {
  margin-top: 10px;
  width: 100%;
}

.small-button {
  font-size: 12px;
  min-height: 32px;
  padding: 6px 9px;
}

.configurator-shell {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 430px;
  height: calc(100vh - 126px);
}

.wizard-screen {
  display: grid;
  min-height: calc(100vh - 126px);
  place-items: center;
}

.wizard-page {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(240px, 0.42fr) minmax(620px, 780px);
  max-width: 1180px;
  width: 100%;
}

.wizard-page-intro {
  padding: 34px 8px 0;
}

.wizard-page-intro h2 {
  font-size: 42px;
  line-height: 1.05;
  margin-bottom: 16px;
}

.wizard-page-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  max-width: 360px;
}

.stage-panel,
.side-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 0;
}

.stage-panel {
  background: var(--stage);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  padding: 18px;
  position: relative;
}
.side-panel {
  overflow-y: auto;
}

.stage-toolbar {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(220px, 1fr);
  justify-items: stretch;
  margin-bottom: 12px;
}

.view-tabs,
.side-tabs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-grid;
  gap: 4px;
  grid-auto-flow: column;
  padding: 4px;
}

.tab-button,
.side-tab {
  border-color: transparent;
  font-size: 16px;
  min-width: 150px;
}

.tab-button.active,
.side-tab.active {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.stage-label {
  background: #d8d2bd;
  border: 1px solid #c6bea6;
  border-radius: 6px;
  color: #1f231e;
  display: -webkit-box;
  font-size: 15px;
  font-weight: 800;
  justify-self: stretch;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.25;
  max-width: 520px;
  overflow: hidden;
  padding: 10px 18px;
  text-align: center;
  white-space: normal;
  width: 100%;
}

.warnings {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.warning {
  background: #fff4ee;
  border: 1px solid #e4b49d;
  border-radius: 6px;
  color: var(--danger);
  font-size: 13px;
  padding: 9px 11px;
}

.stage-view {
  min-height: 0;
  overflow: auto;
}



.stage-loading {
  align-items: center;
  background: var(--stage);
  display: flex;
  flex-direction: column;
  gap: 18px;
  inset: 0;
  justify-content: center;
  position: absolute;
  z-index: 5;
}
.stage-loading-spinner {
  animation: stage-spin 0.9s linear infinite;
  border: 4px solid #d8d2bd;
  border-radius: 50%;
  border-top-color: var(--brand-dark);
  height: 48px;
  width: 48px;
}
.stage-loading-text {
  color: #1f231e;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
@keyframes stage-spin {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}

.front-stage {
  display: grid;
  gap: 14px;
  min-height: 0;
  padding: 14px 116px 14px 8px;
  place-content: center;
  position: relative;
}

.front-wall-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-width: min(100%, var(--track-width));
  width: min(100%, var(--track-width));
}

.front-wall-card.drag-over .front-row {
  box-shadow: inset 0 0 0 3px rgba(57, 92, 66, 0.23);
}

.stage-panel.drag-over {
  box-shadow: inset 0 0 0 3px rgba(57, 92, 66, 0.18), var(--shadow);
}

.is-dragging {
  cursor: grabbing;
}

.wall-title {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  font-weight: 900;
  gap: 16px;
  justify-content: space-between;
  max-width: var(--track-width);
  text-transform: uppercase;
  width: 100%;
}

.back-wall-length {
  align-items: center;
  color: var(--muted);
  display: grid;
  height: 34px;
  max-width: 100%;
  position: relative;
}

.back-wall-length::before {
  background: #9ca895;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
  top: 15px;
}

.back-wall-used {
  background: var(--brand);
  height: 4px;
  left: 0;
  position: absolute;
  top: 14px;
  width: var(--used-width);
}

.back-wall-tick {
  background: #66705f;
  height: 16px;
  position: absolute;
  top: 8px;
  width: 2px;
}

.back-wall-tick.start {
  left: 0;
}

.back-wall-tick.end {
  right: 0;
}

.back-wall-label {
  font-size: 11px;
  font-weight: 900;
  position: absolute;
  text-transform: uppercase;
  top: 21px;
}

.back-wall-label.start {
  left: 0;
}

.back-wall-label.center {
  color: var(--brand);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.back-wall-label.end {
  right: 0;
}

.front-row {
  align-items: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  max-width: var(--track-width);
  min-height: min(62vh, calc(var(--kitchen-height, 420px) + 86px));
  width: 100%;
}

.front-track {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(57, 92, 66, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(57, 92, 66, 0.06) 1px, transparent 1px),
    #f8f8f5;
  background-size: 48px 48px;
  display: grid;
  justify-items: center;
  min-height: min(58vh, calc(var(--kitchen-height, 420px) + 58px));
  overflow: hidden;
  padding: 22px 0 14px;
  width: 100%;
}

.front-kitchen {
  align-self: end;
  height: var(--kitchen-height, 420px);
  max-width: 100%;
  position: relative;
  width: var(--run-width);
}



.front-run {
  inset: 0;
  position: absolute;
}



.front-corner-side {
  background-color: var(--module-fill, #d8e1d2);
  border-left: 1px solid rgba(43, 50, 40, 0.28);
  border-right: 2px solid rgba(43, 50, 40, 0.5);
  box-shadow: inset -10px 0 16px rgba(43, 50, 40, 0.14);
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.front-corner-side-B {
  border-left: 2px solid rgba(43, 50, 40, 0.5);
  border-right: 1px solid rgba(43, 50, 40, 0.28);
  box-shadow: inset 10px 0 16px rgba(43, 50, 40, 0.14);
}

.front-corner-side-label {
  color: rgba(20, 26, 18, 0.82);
  font-size: 11px;
  font-weight: 600;
  left: 50%;
  letter-spacing: 0.14em;
  pointer-events: none;
  position: absolute;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  top: 50%;
  transform: translate(-50%, -50%) rotate(180deg);
  white-space: nowrap;
  writing-mode: vertical-rl;
  z-index: 1;
}

.front-corner-side-worktop,
.front-corner-side-plinth {
  left: 0;
  position: absolute;
  right: 0;
}

.front-corner-side-worktop {
  background: var(--worktop-fill);
  background-image: var(--worktop-texture);
  background-position: center;
  background-size: cover;
  border-bottom: 3px solid var(--worktop-edge);
  height: 24px;
  top: 0;
  z-index: 2;
}

.front-corner-side-plinth {
  background: var(--module-fill, #d8e1d2);
  bottom: 0;
  height: 8px;
  z-index: 2;
}



.front-side-layer {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}



.front-side-wood {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.16), rgba(255, 255, 255, 0.06) 42%, rgba(0, 0, 0, 0.18)),
    #a0967e;
  border-left: 1px solid rgba(43, 50, 40, 0.32);
  border-right: 1px solid rgba(43, 50, 40, 0.22);
  position: absolute;
}



.front-end-panel {
  display: flex;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.front-end-panel-right {
  border-right: 1px solid rgba(43, 50, 40, 0.78);
}

.front-end-panel-left {
  border-left: 1px solid rgba(43, 50, 40, 0.78);
}

.fep-wood-strip,
.fep-front-strip {
  height: 100%;
}

.fep-wood-strip {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.fep-front-strip {
  background-position: center;
  background-size: cover;
  border-left: 1px solid rgba(43, 50, 40, 0.52);
}

.front-worktop,
.front-worktop-segment {
  background: var(--worktop-fill);
  background-image: var(--worktop-texture);
  background-position: center;
  background-size: cover;
  border: 1px solid var(--worktop-edge);
  border-bottom-width: 3px;
  box-shadow: 0 6px 0 rgba(66, 49, 31, 0.2);
  height: 24px;
  position: relative;
  width: 100%;
  z-index: 4;
}

.front-worktop-layer {
  background: transparent;
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 5;
}

.front-worktop-segment {
  position: absolute;
  width: auto;
}

.front-worktop-corner-segment {
  min-width: 0;
}

.split-corner-front {
  background: var(--module-fill, #d8e1d2);
  overflow: hidden;
  z-index: 5;
}

.corner-split-wrap {
  background: var(--module-fill, #d8e1d2);
  overflow: hidden;
}

.corner-split-canvas {
  height: 100%;
  object-fit: fill;
  width: 100%;
}

.worktop-feature {
  align-items: center;
  bottom: 219px;
  display: flex;
  height: 34px;
  justify-content: center;
  position: absolute;
  z-index: 6;
}

.sink-cutout {
  background: #202426;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  height: 20px;
  width: min(62px, 72%);
}

.faucet-arc {
  border: 3px solid var(--faucet-color, #202426);
  border-bottom: 0;
  border-left-color: transparent;
  border-radius: 20px 20px 0 0;
  height: 28px;
  left: 50%;
  position: absolute;
  top: -19px;
  transform: translateX(-10%);
  width: 24px;
}

.faucet-arc::after {
  background: var(--faucet-color, #202426);
  border-radius: 3px;
  content: "";
  height: 12px;
  position: absolute;
  right: -3px;
  top: 20px;
  width: 4px;
}

.cooktop-glass {
  background: #17191a;
  border: 1px solid #050606;
  border-radius: 4px;
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(2, 1fr);
  height: 20px;
  padding: 3px;
  width: min(72px, 76%);
}

.cooktop-glass i {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  display: block;
}



.front-module-layer {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.front-upper-layer {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.front-plinth {
  background: var(--module-fill, #d8e1d2);
  bottom: 0;
  height: 8px;
  left: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.module-front {
  align-items: stretch;
  background: transparent;
  border: 0;
  color: var(--ink);
  display: grid;
  grid-template-rows: var(--front-height, 224px) auto;
  min-width: 48px;
  padding: 0;
  pointer-events: auto;
  position: absolute;
  touch-action: none;
  z-index: 3;
}

.module-front.drag-source,
.canvas-module.drag-source,
.module-card.drag-source {
  opacity: 0.45;
}

.drag-preview {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(37, 50, 34, 0.22);
  opacity: 0.96;
  pointer-events: none;
  transform: rotate(-1deg);
  z-index: 9999;
}

.delete-drop-zone {
  align-items: center;
  background: #fff8f6;
  border: 2px dashed rgba(163, 64, 50, 0.34);
  border-radius: 8px;
  color: var(--danger);
  display: none;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: min(340px, calc(100% - 32px));
  padding: 14px 10px;
  position: absolute;
  right: 12px;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  width: 88px;
  z-index: 30;
}

.delete-drop-zone strong,
.delete-drop-zone span {
  display: block;
}

.delete-drop-zone strong {
  font-size: 14px;
  line-height: 1.1;
}

.delete-drop-zone span {
  color: #8d5149;
  font-size: 12px;
  line-height: 1.2;
}

.dragging-placed-module .delete-drop-zone {
  display: flex;
}

.delete-drop-zone.drag-over {
  background: #fff0ed;
  border-color: rgba(163, 64, 50, 0.86);
  box-shadow: inset 0 0 0 3px rgba(163, 64, 50, 0.12);
}

.module-front.layer-upper {
  z-index: 2;
}

.module-front.layer-tall {
  z-index: 6;
}

.module-front.layer-mounted {
  z-index: 7;
}

.module-front.selected,
.canvas-module.selected,
.chosen-line.selected {
  outline: 3px solid rgba(210, 165, 68, 0.78);
  outline-offset: 2px;
  z-index: 8;
}

.asset-wrap {
  display: block;
  height: 100%;
  min-height: 0;
  position: relative;
  width: 100%;
}

.asset-wrap.textured-finish::after,
.textured-fallback::after {
  background-image: var(--finish-texture);
  background-position: center;
  background-size: cover;
  content: "";
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.asset-wrap.textured-finish .front-role-overlay,
.asset-wrap.textured-finish .appliance-badge {
  z-index: 4;
}

.textured-fallback {
  position: relative;
}

.textured-fallback > * {
  position: relative;
  z-index: 2;
}

.module-asset {
  display: block;
  height: 100%;
  object-fit: fill;
  width: 100%;
}



canvas.module-asset {
  object-fit: fill;
}

.appliance-badge {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(32, 36, 31, 0.18);
  border-radius: 999px;
  bottom: 14px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  left: 50%;
  max-width: calc(100% - 16px);
  overflow: hidden;
  padding: 3px 7px;
  position: absolute;
  text-overflow: ellipsis;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 2;
}

.appliance-badge.missing {
  background: #fff4ee;
  border-color: #e2ad9a;
  color: var(--danger);
}

.front-role-overlay {
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.oven-overlay {
  background: #1d1f20;
  border: 3px solid #111;
  border-radius: 4px;
  bottom: 48px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  height: 86px;
  left: 12%;
  right: 12%;
}

.oven-display {
  background: #353b3d;
  border-radius: 2px;
  height: 8px;
  left: 12px;
  position: absolute;
  right: 12px;
  top: 10px;
}

.oven-window {
  background: linear-gradient(145deg, #0a0b0c, #24282a);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  bottom: 14px;
  left: 12px;
  position: absolute;
  right: 12px;
  top: 26px;
}

.oven-label,
.dishwasher-label,
.fridge-label {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  bottom: -24px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 900;
  left: 50%;
  max-width: 110%;
  overflow: hidden;
  padding: 2px 5px;
  position: absolute;
  text-overflow: ellipsis;
  transform: translateX(-50%);
  white-space: nowrap;
  display: none;
}

.dishwasher-overlay {
  border: 1px solid rgba(0, 0, 0, 0.32);
  border-radius: 2px;
  inset: 18px 10px 42px;
}

.dishwasher-strip {
  background: #202426;
  border-radius: 2px;
  display: block;
  height: 10px;
  left: 8px;
  position: absolute;
  right: 8px;
  top: 10px;
}

.fridge-overlay {
  border: 1px solid rgba(0, 0, 0, 0.42);
  inset: 16px 10px 36px;
}

.fridge-overlay > span:first-child {
  background: rgba(0, 0, 0, 0.36);
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 45%;
}

.asset-wrap.has-asset .front-fallback,
.asset-wrap.has-asset .top-fallback,
.module-thumb.has-image span {
  display: none;
}

.asset-wrap.has-asset.asset-failed .module-asset,
.module-thumb.has-image.asset-failed img {
  display: none;
}

.asset-wrap.has-asset.asset-failed .front-fallback,
.asset-wrap.has-asset.asset-failed .top-fallback,
.module-thumb.has-image.asset-failed span {
  display: flex;
}

.front-fallback {
  background: var(--module-fill, #d8e1d2);
  border: 1px solid var(--module-border, #6f8165);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.top-rail {
  border: 1px solid rgba(0, 0, 0, 0.68);
  height: 9px;
  margin: 12px 12px 0;
}

.fallback-body {
  display: grid;
  flex: 1;
  gap: 5px;
  padding: 9px 10px 12px;
}

.drawer,
.single-panel,
.door-panel,
.corner-panel,
.corner-shade,
.appliance-window,
.appliance-panel,
.cooktop-line,
.sink-bowl {
  border: 1px solid rgba(0, 0, 0, 0.7);
  display: block;
}

.drawer {
  background: rgba(255, 255, 255, 0.18);
}

.single-panel {
  background: rgba(255, 255, 255, 0.12);
}

.pattern-double-door .fallback-body {
  grid-template-columns: 1fr 1fr;
}

.door-panel {
  background: rgba(255, 255, 255, 0.1);
}

.pattern-oven .fallback-body,
.pattern-appliance .fallback-body {
  align-content: center;
}

.appliance-window,
.appliance-panel {
  background: #1f2223;
  border-color: #111;
  min-height: 88px;
}

.appliance-line,
.appliance-handle {
  background: rgba(255, 255, 255, 0.5);
  display: block;
  height: 4px;
  margin: 0 14px;
}

.cooktop-line {
  background: #1f2223;
  height: 18px;
}

.sink-bowl {
  align-self: start;
  background: #222;
  height: 42px;
  margin: 4px auto 0;
  width: 72%;
}

.corner-panel {
  background: rgba(255, 255, 255, 0.14);
}

.corner-shade {
  background: rgba(0, 0, 0, 0.1);
  transform: skewX(-12deg);
}

.cabinet-code {
  background: rgba(255, 255, 255, 0.72);
  bottom: 10px;
  font-size: 11px;
  font-weight: 900;
  left: 10px;
  padding: 2px 5px;
  position: absolute;
}

.module-width {
  color: var(--muted);
  display: none;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.empty-drop,
.empty-state {
  color: var(--muted);
  font-size: 13px;
  padding: 18px;
  text-align: center;
}

.top-stage {
  display: grid;
  gap: 14px;
  min-height: 0;
  padding: 14px 116px 8px 0;
  place-items: center;
  position: relative;
  width: 100%;
}

.top-mode-tabs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  padding: 4px;
  width: min(360px, 100%);
}

.top-mode-button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 900;
  min-height: 38px;
  padding: 8px 12px;
}

.top-mode-button.active {
  background: var(--brand);
  color: #fff;
}

.planner-canvas {
  background:
    linear-gradient(90deg, rgba(67, 92, 66, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(67, 92, 66, 0.08) 1px, transparent 1px),
    #fbfcf8;
  background-size: 58px 58px;
  border: 1px solid #c8d2c1;
  border-radius: 8px;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.top-dimension {
  color: #4f5c4f;
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  z-index: 7;
}

.top-dimension::before {
  background: #9aa997;
  content: "";
  position: absolute;
}

.top-dim-used {
  background: #385f42;
  display: block;
  position: absolute;
}

.top-dim-tick {
  background: #5c6a5a;
  display: block;
  position: absolute;
}

.top-dim-label {
  position: absolute;
  white-space: nowrap;
}

.top-dimension-a {
  height: 34px;
}

.top-dimension-a::before {
  height: 2px;
  left: 0;
  right: 0;
  top: 12px;
}

.top-dimension-a .top-dim-used {
  height: 4px;
  left: 0;
  top: 11px;
  width: var(--used-width, 0);
}

.top-dimension-a .top-dim-tick {
  height: 18px;
  top: 4px;
  width: 2px;
}

.top-dimension-a .top-dim-tick.start,
.top-dimension-a .top-dim-label.start {
  left: 0;
}

.top-dimension-a .top-dim-tick.end,
.top-dimension-a .top-dim-label.end {
  right: 0;
}

.top-dimension-a .top-dim-label.start,
.top-dimension-a .top-dim-label.end {
  top: 19px;
}

.top-dimension-a .top-dim-label.center {
  color: var(--brand);
  left: 50%;
  top: -9px;
  transform: translateX(-50%);
}

.top-dimension-b {
  width: 34px;
}

.top-dimension-b::before {
  bottom: 0;
  left: 16px;
  top: 0;
  width: 2px;
}

.top-dimension-b .top-dim-used {
  height: var(--used-height, 0);
  left: 15px;
  top: 0;
  width: 4px;
}

.top-dimension-b .top-dim-tick {
  height: 2px;
  left: 7px;
  width: 18px;
}

.top-dimension-b .top-dim-tick.start {
  top: 0;
}

.top-dimension-b .top-dim-tick.end {
  bottom: 0;
}

.top-dimension-b .top-dim-label.start {
  right: 24px;
  top: -7px;
}

.top-dimension-b .top-dim-label.end {
  bottom: -2px;
  right: 24px;
}

.top-dimension-b .top-dim-label.center {
  color: var(--brand);
  left: -84px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
}

.planner-canvas.drag-over {
  box-shadow: inset 0 0 0 3px rgba(57, 92, 66, 0.25);
}

.planner-canvas.top-mode-upper {
  background:
    linear-gradient(90deg, rgba(67, 92, 66, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(67, 92, 66, 0.07) 1px, transparent 1px),
    #f7f8f4;
}

.canvas-module {
  background: transparent;
  border: 0;
  color: var(--ink);
  display: block;
  overflow: visible;
  padding: 0;
  position: absolute;
  touch-action: none;
  z-index: 4;
}

.top-footprint {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(74, 80, 67, 0.64);
  border-radius: 4px;
  box-shadow: none;
  color: rgba(32, 36, 31, 0.82);
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  padding: 3px;
  text-align: center;
}

.top-footprint:hover {
  background: rgba(57, 92, 66, 0.08);
}

.top-footprint span {
  font-size: clamp(9px, 1.2vw, 11px);
  font-weight: 900;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-footprint small {
  color: rgba(32, 36, 31, 0.5);
  font-size: 10px;
  font-weight: 800;
}

.top-has-feature span,
.top-has-feature small {
  background: rgba(255, 255, 255, 0.62);
  border-radius: 4px;
  opacity: 0.46;
  padding: 1px 3px;
}

.top-corner-zone {
  background: rgba(210, 165, 68, 0.08);
  border-color: rgba(210, 165, 68, 0.9);
}



.top-footprint.top-tall-unit {
  background-image: repeating-linear-gradient(45deg, rgba(43, 50, 40, 0.12) 0 5px, transparent 5px 11px);
  border-color: rgba(43, 50, 40, 0.72);
  border-width: 2px;
}

.top-upper-zone {
  background: transparent;
  border-style: dashed;
  color: rgba(32, 36, 31, 0.58);
  z-index: 3;
}

.top-context-module {
  background: rgba(67, 92, 66, 0.08);
  border-color: rgba(67, 92, 66, 0.22);
  color: transparent;
  opacity: 0.44;
  pointer-events: none;
  z-index: 2;
}

.top-context-module span,
.top-context-module small {
  opacity: 0;
}

.top-color-module {
  background: var(--module-fill, #d8e1d2);
  border-color: var(--module-border, #6f8165);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 3px 8px rgba(37, 50, 34, 0.14);
  color: var(--ink);
  overflow: hidden;
}

.top-footprint.top-mounted-base-context.top-color-module {
  background-image: none;
  opacity: 1;
}

.top-mode-upper .top-worktop {
  filter: saturate(0.74);
  opacity: 0.42;
  z-index: 1;
}

.top-mode-upper .top-upper-zone {
  border-style: solid;
}

.top-mode-upper .top-feature {
  filter: saturate(0.9);
  opacity: 0.74;
  z-index: 6;
}

.top-mode-upper .top-color-module {
  border-width: 2px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.32),
    0 0 0 2px rgba(210, 165, 68, 0.22),
    0 6px 14px rgba(37, 50, 34, 0.16);
  z-index: 7;
}

.top-mode-upper .top-mounted-base-context {
  opacity: 0.92;
  z-index: 3;
}

.top-mode-upper .top-mounted-base-context.top-color-module {
  border-width: 1px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 2px 5px rgba(37, 50, 34, 0.1);
  z-index: 3;
}

.top-mode-upper .top-context-module.selected {
  z-index: 3;
}

.top-color-module span,
.top-color-module small {
  position: relative;
  z-index: 2;
}

.canvas-module.role-corner {
  z-index: 5;
}

.top-empty-state {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: absolute;
  text-align: center;
  z-index: 2;
}

.top-worktop {
  background: var(--worktop-fill);
  background-image: var(--worktop-texture);
  background-position: center;
  background-size: cover;
  border: 1px solid var(--worktop-edge);
  box-shadow: 0 2px 0 rgba(65, 50, 30, 0.28);
  opacity: 1;
  position: absolute;
  z-index: 2;
}

.top-worktop-a {
  border-bottom-width: 4px;
}

.top-worktop-b {
  border-right-width: 4px;
}

.top-worktop-corner {
  border-bottom-width: 4px;
  border-right-width: 4px;
}

.top-feature {
  align-items: center;
  display: flex;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 6;
}

.top-appliance-image,
.top-sink-image {
  display: block;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  width: 100%;
}

.top-induction-image {
  border-radius: 7px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.24);
}

.top-sink-image {
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.16));
}

.top-feature-rotated .top-appliance-image {
  height: var(--feature-image-height);
  max-width: none;
  transform: rotate(90deg);
  width: var(--feature-image-width);
}

.top-cooktop-frame {
  background: linear-gradient(145deg, #101213, #24292a);
  border: 2px solid #050606;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 3px 10px;
  grid-template-columns: repeat(2, 1fr);
  height: 100%;
  padding: 5px 7px;
  position: relative;
  width: 100%;
}

.top-cooktop-frame i {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: block;
}

.top-extractor {
  background: #070808;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  height: 62%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22%;
}

.top-fallback {
  align-items: center;
  background: var(--module-fill, #d8e1d2);
  border: 1px solid var(--module-border, #6f8165);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 100%;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  padding: 2px;
  text-align: center;
  width: 100%;
}

.top-fallback span {
  font-size: clamp(8px, 1.1vw, 11px);
  font-weight: 900;
  line-height: 1.1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-fallback small {
  color: var(--muted);
  font-size: clamp(8px, 1vw, 10px);
}

.side-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.side-cta {
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 22px rgba(37, 50, 34, 0.06);
  padding: 16px 26px;
}

.side-cta .wide-button {
  margin: 0;
}

.side-total {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 22px 26px;
}

.side-tabs {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 14px 28px rgba(37, 50, 34, 0.08);
  grid-template-columns: repeat(3, 1fr);
  padding: 18px;
}

.side-tab {
  min-width: 0;
}

.side-content {
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 24px;
}

.side-section {
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  padding-bottom: 22px;
}

.side-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.section-heading {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.dimension-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0;
}

.dimension-grid label,
.side-section > label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 6px;
}

.preset-list,
.material-list {
  display: grid;
  gap: 10px;
}

.wizard-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 20px;
  min-height: 620px;
  padding: 28px;
}

.wizard-header {
  display: grid;
  gap: 4px;
}

.wizard-header span {
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.wizard-header strong {
  font-size: 24px;
}

.wizard-progress {
  background: #e4e9df;
  border-radius: 999px;
  height: 7px;
  overflow: hidden;
}

.wizard-progress span {
  background: var(--brand);
  display: block;
  height: 100%;
  width: var(--progress);
}

.wizard-step h2 {
  font-size: 34px;
  line-height: 1.12;
  margin-bottom: 22px;
}

.layout-choice-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.island-note {
  margin-top: 18px;
}

.island-note p {
  margin: 0 0 12px;
}

.island-note .wide-button {
  margin-top: 0;
}

.layout-choice {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 12px;
  min-height: 260px;
  padding: 18px;
  text-align: left;
}

.layout-choice.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(57, 92, 66, 0.14);
}

.layout-choice small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.layout-icon {
  background: #f0f1ed;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: block;
  height: 150px;
  position: relative;
}

.layout-icon i {
  background: #fff;
  border: 2px solid #20241f;
  display: block;
  position: absolute;
}

.layout-icon.straight i {
  height: 46px;
  top: 52px;
  width: 44px;
}

.layout-icon.straight i:nth-child(1) {
  left: calc(50% - 66px);
}

.layout-icon.straight i:nth-child(2) {
  left: calc(50% - 22px);
}

.layout-icon.straight i:nth-child(3) {
  left: calc(50% + 22px);
}

.layout-icon.corner i:nth-child(1) {
  height: 46px;
  left: calc(50% - 70px);
  top: 30px;
  width: 46px;
}

.layout-icon.corner i:nth-child(2) {
  height: 46px;
  left: calc(50% - 70px);
  top: 76px;
  width: 46px;
}

.layout-icon.corner i:nth-child(3) {
  height: 46px;
  left: calc(50% - 24px);
  top: 30px;
  width: 70px;
}

.layout-icon.ushape i:nth-child(1) {
  height: 88px;
  left: calc(50% - 62px);
  top: 30px;
  width: 38px;
}

.layout-icon.ushape i:nth-child(2) {
  height: 38px;
  left: calc(50% - 24px);
  top: 80px;
  width: 48px;
}

.layout-icon.ushape i:nth-child(3) {
  height: 88px;
  left: calc(50% + 24px);
  top: 30px;
  width: 38px;
}

.wizard-swatch-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, 1fr);
  margin: 0 0 22px;
}

.wizard-swatch {
  border: 2px solid;
  border-radius: 6px;
  height: 50px;
  min-height: 50px;
  padding: 0;
}

.finish-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.finish-group h3 {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  text-transform: uppercase;
}

.finish-grid {
  margin-bottom: 0;
}

.finish-swatch {
  align-items: end;
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.finish-swatch span {
  background: rgba(20, 24, 20, 0.58);
  display: block;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.1;
  padding: 3px 4px;
  text-align: center;
  width: 100%;
}

.color-card.active,
.material-card.active,
.wizard-swatch.active {
  border-color: var(--brand);
  position: relative;

  box-shadow:
    0 0 0 2px #fff,
    0 0 0 6px rgba(57, 92, 66, 0.45),
    inset 0 0 0 2px rgba(57, 92, 66, 0.35);
}
.color-card.active::after,
.material-card.active::after,
.wizard-swatch.active::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  background: var(--brand);
  border-radius: 999px;
  box-shadow: 0 0 0 2px #fff;
  z-index: 2;
}


.wizard-field-stack {
  display: grid;
  gap: 14px;
}

.worktop-card-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.side-content .worktop-card-grid {
  grid-template-columns: 1fr;
}

.worktop-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 10px;
  grid-template-columns: 76px minmax(0, 1fr);
  min-height: 86px;
  padding: 10px;
  text-align: left;
}

.worktop-card.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(57, 92, 66, 0.14);
}

.worktop-preview {
  background: var(--worktop-fill);
  background-image: var(--worktop-texture);
  background-position: center;
  background-size: cover;
  border: 1px solid var(--worktop-edge);
  border-bottom-width: 5px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  display: block;
  height: 56px;
  width: 76px;
}

.worktop-card-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.worktop-card-body strong {
  font-size: 13px;
  line-height: 1.25;
}

.worktop-card-body small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.check-row {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  gap: 10px;
  margin: 2px 0;
  padding: 10px;
  text-transform: none;
}

.check-row input {
  width: auto;
}

.wizard-summary {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.wizard-summary div {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 9px 10px;
}

.wizard-summary span {
  color: var(--muted);
  font-size: 12px;
}

.wizard-summary strong {
  font-size: 13px;
  text-align: right;
}

.wizard-error {
  background: #fff4ee;
  border: 1px solid #e2ad9a;
  border-radius: 6px;
  color: var(--danger);
  font-size: 13px;
  margin-top: auto;
  padding: 9px 11px;
}

.wizard-error + .wizard-nav {
  margin-top: 12px;
}

.wizard-nav {
  display: grid;
  align-self: end;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: auto;
}

.wizard-nav button {
  min-height: 52px;
}

#contactForm .wizard-nav {
  margin-top: 16px;
}

.contact-error {
  background: #fff4ee;
  border: 1px solid #e2ad9a;
  border-radius: 6px;
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
  padding: 9px 10px;
}

.contact-sent h2 {
  margin: 8px 0 10px;
}

.contact-sent .wizard-nav {
  grid-template-columns: 1fr;
  margin-top: 16px;
}

.color-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.preset-card,
.material-card,
.color-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 6px;
  padding: 12px;
  text-align: left;
}

.material-swatch {
  background-position: center;
  background-size: cover;
}

.preset-card.active,
.material-card.active,
.color-card.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(57, 92, 66, 0.14);
}

.preset-card span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.preset-card strong,
.material-card strong,
.color-card strong {
  font-size: 16px;
}

.preset-card small,
.material-card small,
.color-card small,
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.input-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-top: 10px;
}

.status-line {
  color: var(--muted);
  font-size: 13px;
  min-height: 20px;
  padding-top: 9px;
}

.price-breakdown {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  margin-bottom: 10px;
  overflow: hidden;
}

.price-line,
.price-total {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 12px;
}

.price-line span,
.price-total span {
  color: var(--muted);
  font-size: 12px;
}

.price-line strong,
.price-total strong {
  white-space: nowrap;
}

.price-total {
  background: #fff;
  border-bottom: 0;
}

.basis-summary {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 11px;
}

.basis-summary span {
  color: var(--muted);
  font-size: 13px;
}

.material-card {
  align-items: center;
  grid-template-columns: 46px minmax(0, 1fr) auto;
}

.color-card {
  align-items: center;
  gap: 8px;
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 62px;
  padding: 9px;
}

.material-swatch {
  border: 2px solid;
  border-radius: 6px;
  display: block;
  height: 42px;
  width: 42px;
}

.color-card .material-swatch {
  height: 32px;
  width: 32px;
}

.material-card em {
  color: var(--brand);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.selected-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.selected-kicker {
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.selected-headline {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin: 8px 0 4px;
  padding: 10px 12px;
}

.selected-artikel {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.selected-price {
  font-size: 19px;
  font-weight: 900;
  white-space: nowrap;
}

.selected-subline {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
}

.selected-card select {
  margin-bottom: 10px;
}

.appliance-placeholder {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 54px minmax(0, 1fr);
  margin: 10px 0;
  padding: 9px;
}

.appliance-placeholder strong,
.appliance-placeholder small {
  display: block;
  text-transform: capitalize;
}

.appliance-placeholder small {
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appliance-icon-shape {
  background: #202428;
  border: 2px solid #101214;
  border-radius: 6px;
  display: block;
  height: 42px;
  position: relative;
  width: 48px;
}

.type-oven .appliance-icon-shape::before {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 3px;
  content: "";
  height: 21px;
  left: 8px;
  position: absolute;
  top: 10px;
  width: 28px;
}

.type-vaatwasser .appliance-icon-shape::before {
  background: rgba(255, 255, 255, 0.72);
  content: "";
  height: 4px;
  left: 8px;
  position: absolute;
  top: 8px;
  width: 28px;
}

.type-kookplaat .appliance-icon-shape {
  height: 30px;
}

.type-kookplaat .appliance-icon-shape::before,
.type-kookplaat .appliance-icon-shape::after {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  content: "";
  height: 8px;
  position: absolute;
  top: 9px;
  width: 8px;
}

.type-kookplaat .appliance-icon-shape::before {
  left: 10px;
}

.type-kookplaat .appliance-icon-shape::after {
  right: 10px;
}

.type-koelkast .appliance-icon-shape::before {
  background: rgba(255, 255, 255, 0.65);
  content: "";
  height: 1px;
  left: 5px;
  position: absolute;
  top: 20px;
  width: 34px;
}

.selected-actions {
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
}

.search-input {
  margin-bottom: 10px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.filter-row button {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 12px;
  min-height: 31px;
  padding: 6px 9px;
}

.filter-row button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.catalog-count {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.catalog-list {
  display: grid;
  gap: 8px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.module-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: grab;
  display: grid;
  gap: 9px;
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 8px;
  touch-action: none;
}

.module-card:active {
  cursor: grabbing;
}

.module-thumb {
  align-items: center;
  background: #f2e2e8;
  border: 1px solid #d5aaba;
  border-radius: 6px;
  color: #48313a;
  display: flex;
  font-size: 13px;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  overflow: hidden;
  width: 52px;
}

.module-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.module-card-body {
  min-width: 0;
}

.module-card-body strong,
.module-card-body span {
  display: block;
}

.module-card-body strong {
  font-size: 13px;
}

.module-card-body > span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.module-meta span {
  background: var(--soft);
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  padding: 2px 5px;
}

.module-actions {
  display: grid;
  gap: 5px;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
}

.module-actions-mountable {
  grid-template-columns: 1fr;
}

.module-actions-mountable small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.module-actions .primary-module-action {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 900;
}

.module-actions button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  min-height: 30px;
  padding: 5px;
}

.chosen-list {
  border-top: 1px solid var(--line);
  display: grid;
}

.chosen-line {
  align-items: center;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  padding: 9px 0;
  text-align: left;
}

.chosen-line strong,
.chosen-line small {
  display: block;
}

.chosen-line small {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1180px) {
  .configurator-shell {
    grid-template-columns: 1fr;


    height: auto;
  }

  .side-panel {
     
    overflow: visible;
  }

  .wizard-page {
    grid-template-columns: 1fr;
    max-width: 820px;
  }

  .wizard-page-intro {
    padding-top: 10px;
  }

  .wizard-page-intro p:not(.eyebrow) {
    max-width: 720px;
  }

  .side-panel {
    max-height: none;
  }

  .side-content {
    max-height: none;
  }



  .side-cta {
    background: var(--panel);
    bottom: 0;
    position: sticky;
    z-index: 25;
  }
}

@media (max-width: 760px) {
  .app-shell {
    padding: 10px;
  }

  .summary-preview-header,
  .stage-toolbar {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .stage-label {
    max-width: none;
  }

  .layout-choice-grid {
    grid-template-columns: 1fr;
  }

  .layout-choice {
    min-height: 0;
  }



  .topbar {
    display: grid;
    gap: 10px;
    min-height: 0;
    padding: 10px 12px;
  }

  .brand-lockup {
    gap: 8px;
  }

  .brand-logo {
    height: 30px;
  }

  .brand-lockup h1 {
    border-left: 0;
    font-size: 15px;
    padding-left: 0;
    white-space: normal;
  }

  .top-summary {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    justify-content: space-between;
  }

  .top-summary strong {
    font-size: 18px;
  }

  .top-summary .primary-button {
    flex: 1 1 100%;
  }

   
  .view-tabs,
  .side-tabs {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    grid-template-columns: none;
    width: 100%;
  }

   
  .side-tabs {
    box-shadow: 0 4px 12px rgba(31, 42, 31, 0.1);
    position: sticky;
    top: 8px;
    z-index: 20;
  }

  .tab-button,
  .side-tab {
    font-size: 14px;
    min-height: 44px;
    min-width: 0;
    padding: 8px 6px;
  }

  .wizard-page {
    gap: 14px;
  }

  .wizard-page-intro h2 {
    font-size: 32px;
  }

  .wizard-card {
    min-height: 0;
    padding: 18px;
  }

  .wizard-step h2 {
    font-size: 26px;
  }

  .layout-choice-grid,
  .wizard-nav {
    grid-template-columns: 1fr;
  }

  .wizard-swatch-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .layout-choice {
    min-height: 0;
  }

  .layout-icon {
    height: 112px;
  }

  .front-row {
    grid-template-columns: 1fr;
  }




  .front-stage {
    padding: 10px 8px 14px;
    place-content: start;
  }

  .top-stage {
    padding: 10px 8px 14px;
    place-items: start;
  }

  .front-track {
    min-height: 0;
  }

  .front-kitchen {
    max-width: none;
    overflow: hidden;
  }

   
  .front-corner-side-label {
    font-size: 7px;
    letter-spacing: 0.06em;
  }



  .module-front {
    min-width: 20px;
  }



  .delete-drop-zone {
    bottom: 12px;
    flex-direction: row;
    left: 12px;
    min-height: 60px;
    position: fixed;
    right: 12px;
    top: auto;
    transform: none;
    width: auto;
  }

  .input-grid,
  .selected-actions,
  .material-card,
  .color-grid {
    grid-template-columns: 1fr;
  }

  .module-actions {
    grid-template-columns: 1fr;
  }

  .module-actions button,
  .selected-actions button {
    min-height: 44px;
  }



  .catalog-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .logo img,
  .header-logo,
  img[src*="logo"] {
    filter: invert(27%) sepia(21%) saturate(930%) hue-rotate(84deg) brightness(95%) contrast(88%);
  }
}

 
.touch-hint {
  display: none;
}



@media (pointer: coarse) {
  .module-front,
  .canvas-module,
  .module-card {
    touch-action: auto;
  }

  .module-card {
    cursor: default;
  }

  .drag-hint {
    display: none;
  }

  .touch-hint {
    display: block;
  }
}
