:root {
  color-scheme: light;
  --ink: #161719;
  --muted: #5d6466;
  --paper: #f8f7f2;
  --panel: #ffffff;
  --line: #dedbd1;
  --brand-blue: #1b1c30;
  --brand-green: #93be59;
  --brand-green-hover: #86ac4a;
  --charcoal: var(--brand-blue);
  --mint: #e9f2dd;
  --shadow: 0 24px 70px rgba(22, 23, 25, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow: hidden;
  overscroll-behavior-y: none;
}

body {
  min-width: 320px;
  height: 100%;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  overscroll-behavior-y: none;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

button {
  cursor: pointer;
}

.builder-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
  height: 100vh;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
}

.visual-panel {
  position: sticky;
  top: 0;
  z-index: 0;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-self: start;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: var(--brand-blue);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 260ms ease;
}

.hero-image.is-changing {
  opacity: 0.18;
}

.visual-panel::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(27, 28, 48, 0.78), rgba(27, 28, 48, 0.12) 72%),
    linear-gradient(0deg, rgba(27, 28, 48, 0.68), rgba(27, 28, 48, 0) 42%);
}

.brand-bar {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
}

.brand-logo {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.hero-copy {
  position: sticky;
  top: clamp(210px, 34vh, 330px);
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  width: min(680px, calc(100% - 68px));
  margin: 0 34px;
  color: #fff;
  pointer-events: none;
}

.hero-copy .eyebrow {
  color: var(--brand-green);
}

.hero-copy h1 {
  max-width: 680px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 4.7rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.55;
}

.van-card {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(27, 28, 48, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
}

.quick-specs div {
  min-width: 0;
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.quick-specs div:last-child {
  border-right: 0;
}

.quick-specs dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
}

.quick-specs dd {
  overflow: hidden;
  margin: 0;
  margin-top: 5px;
  font-size: 0.9rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.config-panel {
  --config-panel-x: clamp(22px, 5vw, 60px);
  --config-panel-top: 34px;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 100vh;
  padding: var(--config-panel-top) var(--config-panel-x);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0)),
    var(--paper);
}

.config-sticky {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0 calc(var(--config-panel-x) * -1);
  padding: 18px var(--config-panel-x) 18px;
  background:
    linear-gradient(180deg, rgba(248, 247, 242, 0.98), rgba(248, 247, 242, 0.94)),
    var(--paper);
  box-shadow: 0 14px 28px rgba(27, 28, 48, 0.06);
}

.config-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.config-header h2 {
  margin: 0;
  font-size: 2.7rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.estimate-pill {
  flex: 0 0 auto;
  display: grid;
  min-width: 198px;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(22, 23, 25, 0.08);
  text-align: left;
}

.estimate-pill span,
.summary-strip span,
.option-meta,
.fine-print {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0;
  text-transform: uppercase;
}

.estimate-pill strong {
  display: block;
  grid-column: 1;
  margin-top: 4px;
  font-size: 1.18rem;
}

.estimate-vat {
  grid-column: 1;
  margin-top: 1px;
  text-transform: none;
}

.reset-options-button {
  display: inline-flex;
  grid-row: 1 / span 3;
  grid-column: 2;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 4px 7px;
  border: 1px solid rgba(27, 28, 48, 0.22);
  border-radius: 6px;
  color: var(--brand-blue);
  background: rgba(147, 190, 89, 0.14);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
}

.reset-options-button:hover {
  border-color: rgba(27, 28, 48, 0.34);
  background: rgba(147, 190, 89, 0.22);
}

.progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 100px;
  background: #d9d5ca;
}

.progress-track span {
  display: block;
  width: 16.6%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  transition: width 220ms ease;
}

.step-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.step-tabs.custom-flow {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.step-tab {
  min-height: 44px;
  padding: 9px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 780;
}

.step-tab[aria-current="step"] {
  color: #fff;
  border-color: var(--brand-blue);
  background: var(--brand-blue);
}

.step-tab.complete {
  color: var(--brand-blue);
  border-color: rgba(147, 190, 89, 0.72);
  background: rgba(147, 190, 89, 0.16);
}

.step-tab:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.step-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.56;
}

.step-copy p {
  margin-bottom: 0;
}

.drive-unit-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 14px;
  padding: 10px 16px;
  border: 1px solid rgba(147, 190, 89, 0.72);
  border-radius: 8px;
  color: var(--brand-blue);
  background: rgba(147, 190, 89, 0.14);
  font-weight: 820;
  text-decoration: none;
}

.drive-unit-link:hover,
.drive-unit-link:focus-visible {
  border-color: var(--brand-green-hover);
  background: rgba(147, 190, 89, 0.22);
}

.step-body {
  min-height: 420px;
}

.empty-state {
  display: grid;
  max-width: 520px;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 42px rgba(22, 23, 25, 0.07);
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

.empty-state p {
  color: var(--muted);
  line-height: 1.5;
}

.empty-state .secondary-button {
  justify-self: start;
}

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

.choice-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-choice-grid .segmented-button {
  min-height: 102px;
}

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

.custom-vehicle-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: 100%;
  margin: 14px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--panel);
  text-align: left;
  box-shadow: 0 12px 32px rgba(22, 23, 25, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.custom-vehicle-choice > span:first-child {
  display: grid;
  gap: 5px;
}

.custom-vehicle-choice strong {
  font-size: 1.08rem;
}

.custom-vehicle-choice strong + span {
  color: var(--muted);
  line-height: 1.45;
}

.custom-vehicle-action {
  color: var(--brand-blue);
  font-size: 0.86rem;
  font-weight: 820;
  white-space: nowrap;
}

.custom-vehicle-choice:hover,
.custom-vehicle-choice:focus-visible,
.custom-vehicle-choice.selected {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(147, 190, 89, 0.22);
  transform: translateY(-1px);
}

.custom-enquiry-intro {
  max-width: 720px;
  margin-bottom: 18px;
}

.custom-enquiry-intro h3 {
  margin: 0 0 8px;
}

.custom-enquiry-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.custom-enquiry-form {
  max-width: 820px;
}

.choice-card,
.option-row,
.summary-card,
.form-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 42px rgba(22, 23, 25, 0.07);
}

.choice-card {
  position: relative;
  display: flex;
  min-height: 248px;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  color: inherit;
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.vehicle-card {
  min-height: 342px;
}

.vehicle-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: #ece9df;
}

.choice-card:hover,
.choice-card:focus-visible,
.option-row:hover,
.option-row:focus-visible {
  border-color: rgba(147, 190, 89, 0.72);
  box-shadow: 0 16px 48px rgba(27, 28, 48, 0.12);
  transform: translateY(-2px);
}

.choice-card.selected,
.option-row.selected,
.swatch.selected,
.segmented-button.selected {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(147, 190, 89, 0.22);
}

.choice-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 100px;
  color: var(--brand-blue);
  background: rgba(147, 190, 89, 0.2);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.choice-title {
  margin-top: 22px;
  font-size: 1.28rem;
  font-weight: 850;
}

.vehicle-card:not(.selected) .choice-title {
  margin-top: 2px;
}

.choice-desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.choice-meta {
  margin-top: auto;
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 780;
}

.choice-price {
  margin-top: 8px;
  font-size: 1.22rem;
  font-weight: 860;
}

.vehicle-cost-note {
  display: block;
  margin-top: 3px;
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 780;
}

.vehicle-card .choice-meta {
  margin-top: 12px;
}

.option-list {
  display: grid;
  gap: 12px;
}

.section-heading {
  margin: 24px 0 12px;
  font-size: 1rem;
}

.section-heading.first {
  margin-top: 0;
}

.location-intro {
  max-width: 720px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.segmented-button .location-flag {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(27, 28, 48, 0.14);
  border-radius: 50%;
  background: #f4f3ee;
  font-size: 1.55rem;
  line-height: 1;
}

.trade-partner-prompt {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: baseline;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.trade-partner-prompt a {
  color: var(--brand-blue);
  font-weight: 820;
  text-underline-offset: 3px;
}

.trade-partner-prompt a:hover,
.trade-partner-prompt a:focus-visible {
  color: var(--brand-green-hover);
}

.location-other-field {
  max-width: 560px;
  margin-top: 14px;
}

.location-other-field > span {
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 790;
}

.regional-quote-note {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-left: 4px solid var(--brand-green);
  background: rgba(147, 190, 89, 0.12);
  color: var(--brand-blue);
}

.regional-quote-note span {
  color: var(--muted);
  line-height: 1.5;
}

.option-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 16px;
  color: inherit;
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.toggle-dot {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid #b9b5aa;
  border-radius: 50%;
  color: #fff;
  background: #fff;
  font-weight: 900;
}

.option-row.selected .toggle-dot {
  border-color: var(--brand-green);
  background: var(--brand-green);
}

.option-title {
  display: block;
  margin-bottom: 5px;
  font-weight: 820;
}

.option-desc {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.option-price {
  font-size: 1rem;
  font-weight: 860;
  text-align: right;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.swatch {
  min-height: 116px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.swatch:hover,
.swatch:focus-visible {
  transform: translateY(-2px);
}

.swatch-chip {
  display: block;
  width: 100%;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.13);
}

.swatch-name {
  display: block;
  font-weight: 830;
}

.swatch-price {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.segmented-button {
  min-height: 116px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: #fff;
  text-align: left;
}

.segmented-button strong,
.segmented-button span {
  display: block;
}

.segmented-button strong {
  margin-bottom: 8px;
}

.segmented-button span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.segmented-button[data-vehicle-status="yes"] span:first-of-type,
.segmented-button[data-vehicle-status="no"] span:first-of-type {
  margin-bottom: 0.7em;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.summary-card,
.form-card {
  padding: 20px;
}

.summary-card h3,
.form-card h3 {
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.price-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.price-line strong {
  color: var(--ink);
}

.price-line.total {
  align-items: baseline;
  padding-top: 18px;
  border-bottom: 0;
  color: var(--ink);
  font-weight: 860;
}

.price-line.total strong {
  font-size: 1.55rem;
}

.selection-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.selection-list li {
  padding: 10px 12px;
  border-radius: 6px;
  background: #f2f0e9;
  color: var(--charcoal);
  font-size: 0.9rem;
}

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

.callback-intro {
  max-width: 720px;
  margin: -4px 0 20px;
  color: var(--muted);
  line-height: 1.55;
}

.preference-group {
  min-width: 0;
  margin: 4px 0 8px;
  padding: 0;
  border: 0;
}

.preference-group.full {
  grid-column: 1 / -1;
}

.preference-group legend {
  margin-bottom: 9px;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 820;
}

.preference-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.preference-options.four-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.preference-button {
  position: relative;
  display: grid;
  min-height: 118px;
  align-content: start;
  gap: 6px;
  padding: 14px;
  border: 1px solid #cfcbbf;
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.preference-button:hover,
.preference-button:focus-visible {
  border-color: var(--brand-green);
}

.preference-button.selected {
  border-color: var(--brand-green);
  background: rgba(147, 190, 89, 0.11);
  box-shadow: 0 0 0 2px rgba(147, 190, 89, 0.2);
}

.preference-button strong {
  padding-right: 26px;
  font-size: 0.96rem;
}

.preference-button > span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.preference-check {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #b9b5aa;
  border-radius: 50%;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.preference-button.selected .preference-check {
  border-color: var(--brand-green);
  background: var(--brand-green);
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 790;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfcbbf;
  border-radius: 6px;
  padding: 10px 11px;
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.fine-print {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.45;
  text-transform: none;
}

.fine-print a {
  color: var(--brand-blue);
  text-decoration-color: var(--brand-green);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.fine-print a:hover,
.fine-print a:focus-visible {
  color: #4f6f29;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.summary-strip div {
  min-width: 0;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.78);
}

.summary-strip strong {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.controls {
  position: sticky;
  z-index: 7;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  margin-right: calc(var(--config-panel-x) * -1);
  margin-left: calc(var(--config-panel-x) * -1);
  padding: 12px var(--config-panel-x);
  border-top: 1px solid var(--line);
  background: rgba(248, 247, 242, 0.92);
  backdrop-filter: blur(12px);
}

.primary-button,
.secondary-button {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 830;
}

.primary-button {
  border: 1px solid var(--brand-blue);
  color: #fff;
  background: var(--brand-blue);
}

.primary-button:not(:disabled):hover,
.primary-button:not(:disabled):focus-visible {
  background: var(--brand-green-hover);
  border-color: var(--brand-green-hover);
}

.primary-button:disabled {
  cursor: not-allowed;
  border-color: #c9c6bd;
  color: rgba(27, 28, 48, 0.48);
  background: #dedbd1;
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--charcoal);
  background: #fff;
}

.secondary-button:hover,
.secondary-button:focus-visible {
  border-color: var(--brand-green-hover);
  color: var(--brand-blue);
}

.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.toast {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(147, 190, 89, 0.48);
  border-radius: 8px;
  color: var(--brand-blue);
  background: rgba(147, 190, 89, 0.18);
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .builder-shell {
    display: block;
    min-height: 100vh;
  }

  .visual-panel {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    pointer-events: none;
  }

  .hero-copy {
    position: relative;
    top: auto;
    z-index: 2;
    display: flex;
    min-height: min(78vh, 720px);
    flex-direction: column;
    justify-content: flex-end;
    width: auto;
    margin: 0;
    padding: 96px clamp(22px, 5vw, 60px) 218px;
  }

  .hero-copy h1 {
    font-size: 3.65rem;
  }

  .config-panel {
    position: relative;
    z-index: 4;
    min-height: 100vh;
    margin-top: 0;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -24px 70px rgba(27, 28, 48, 0.2);
  }
}

@media (min-width: 1500px) {
  .summary-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  }
}

@media (max-width: 780px) {
  .visual-panel {
    min-height: 680px;
  }

  .brand-bar {
    top: 16px;
    left: 16px;
    right: 16px;
  }

  .hero-copy {
    min-height: 74vh;
    padding: 92px 18px 230px;
  }

  .hero-copy h1 {
    font-size: 3.2rem;
  }

  .config-header h2 {
    font-size: 2.15rem;
  }

  .van-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .quick-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-specs div {
    padding: 0 10px;
  }

  .quick-specs dd {
    margin-top: 3px;
  }

  .config-panel {
    --config-panel-x: 16px;
    --config-panel-top: 24px;
    margin-top: 0;
    padding: var(--config-panel-top) var(--config-panel-x) 20px;
    border-radius: 10px 10px 0 0;
  }

  .config-header {
    display: grid;
  }

  .estimate-pill {
    width: 100%;
  }

  .reset-options-button {
    align-self: center;
  }

  .step-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .choice-grid,
  .vehicle-grid,
  .swatch-grid,
  .segmented-control,
  .summary-strip,
  .summary-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .preference-options,
  .preference-options.four-options {
    grid-template-columns: 1fr;
  }

  .preference-button {
    min-height: 86px;
  }

  .custom-vehicle-choice {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .custom-vehicle-action {
    white-space: normal;
  }

  .choice-card {
    min-height: 220px;
  }

  .vehicle-card {
    min-height: 270px;
  }

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

  .option-price {
    grid-column: 2;
    text-align: left;
  }

  .controls {
    margin-right: calc(var(--config-panel-x) * -1);
    margin-left: calc(var(--config-panel-x) * -1);
    padding: 12px var(--config-panel-x);
  }

  .primary-button,
  .secondary-button {
    flex: 1;
  }
}

@media (max-width: 430px) {
  .step-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-specs {
    grid-template-columns: 1fr;
  }

  .hero-copy p:last-child {
    font-size: 0.95rem;
  }

  .hero-copy h1 {
    font-size: 2.62rem;
  }

  .config-header h2 {
    font-size: 1.82rem;
  }
}
