/* ── BASE RESETS (standalone — no main.css needed) ───────── */
:root {
  --blue: #0C65A9; --green: #6AC335; --navy: #0a1628;
  --text: #0a1628; --text2: #4b5563; --border: #e0e7ef;
  --white: #fff; --bg: #f4f5f3;
  --fh: 'Sora', sans-serif; --fb: 'DM Sans', sans-serif;
  --radius: 8px; --shadow: 0 1px 4px rgba(10,22,40,.08);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); color: var(--text); background: var(--bg);
       line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1400px, 100% - 32px); margin-inline: auto; }

/* Top bar with trust signals */
.cfg-topbar {
  background: #2C485F;
  color: #fff;
  padding: 10px 0;
  font-size: .8rem;
  position: sticky;
  top: 0;
  z-index: 200;
}
.cfg-topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.cfg-topbar__logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--fh, 'Sora', sans-serif); font-weight: 800; font-size: 1rem; color: #fff;
}
.cfg-topbar__logo-mark {
  width: 28px; height: 28px; background: #0C65A9; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.cfg-topbar__badges {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: nowrap; overflow: hidden;
}
.cfg-badge {
  display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,.9);
  font-size: clamp(.65rem, 1.2vw, .8rem); white-space: nowrap;
}
.cfg-badge--green { color: #6AC335; font-weight: 700; }
/* Hide non-essential badges on small screens */
@media (max-width: 700px) {
  .cfg-badge:not(.cfg-badge--link) { display: none; }
  .cfg-topbar__badges { gap: 0.4rem; }
  .cfg-topbar__logo { font-size: .85rem; }
  .cfg-topbar__logo-mark { width: 22px; height: 22px; }
}
@media (max-width: 480px) {
  .cfg-topbar { padding: 7px 0; }
}

/* Progress bar */
.wizard-progress {
  background: #fff;
  border-bottom: 1px solid #e0e7ef;
  padding: 0;
  position: sticky;
  top: 42px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(10,22,40,.06);
}
@media (max-width: 480px) {
  .wizard-progress { top: 36px; }
}
.progress-track {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.progress-track::-webkit-scrollbar { display: none; }
.progress-step {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px 16px; min-width: 80px; position: relative; cursor: pointer;
  border-bottom: 3px solid transparent; transition: all .2s; flex: 1;
}
.progress-step:hover { background: #f8fafc; }
.progress-step.active { border-bottom-color: #0C65A9; }
.progress-step.completed { border-bottom-color: #6AC335; }
.progress-step__dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: #f0f4f8; border: 2px solid #d0dae6;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh, 'Sora', sans-serif); font-size: .78rem; font-weight: 700;
  color: #7a8fa3; margin-bottom: 5px; transition: all .2s;
}
.progress-step.active .progress-step__dot {
  background: #0C65A9; border-color: #0C65A9; color: #fff;
}
.progress-step.completed .progress-step__dot {
  background: #6AC335; border-color: #6AC335; color: #fff;
}
.progress-step__label {
  font-size: clamp(.55rem, 1.1vw, .72rem);
  color: #9ca3af; font-weight: 500; text-align: center;
  white-space: nowrap; transition: color .2s;
}
.progress-step.active .progress-step__label { color: #0C65A9; font-weight: 700; }
.progress-step.completed .progress-step__label { color: #6AC335; }

/* Main layout */
.wizard-wrap {
  background: #f4f6f8;
  min-height: calc(100vh - 120px);
  padding: 0 0 80px;
}
.wizard-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}

/* Step panel */
.wizard-panel {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e0e7ef;
  box-shadow: 0 2px 16px rgba(10,22,40,.06);
  overflow: hidden;
}
.wizard-step { display: none; }
.wizard-step.active { display: block; }

.wizard-step__header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid #f0f4f8;
}
.wizard-step__title {
  font-family: var(--fh, 'Sora', sans-serif);
  font-size: 1.3rem; font-weight: 800; color: #0a1628; margin-bottom: 6px;
}
.wizard-step__sub { font-size: .88rem; color: #6b7280; line-height: 1.6; }
.wizard-step__sub strong { color: #0C65A9; }
.wizard-step__body { padding: 24px 28px; }

/* Vehicle step special */
.vehicle-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 0 16px 0;
}
.brand-card {
  border: 2px solid #d0dae6;
  border-radius: 8px;
  padding: 9px 12px;
  text-align: center;
  cursor: pointer;
  transition: all .18s;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-card:hover { border-color: #0C65A9; background: #f0f7ff; }
.brand-card.selected { border-color: #0C65A9; background: #e8f2fa; box-shadow: 0 0 0 3px rgba(12,101,169,.1); }
.brand-card__name {
  font-size: .82rem; font-weight: 700; color: #374151;
}
.brand-card.selected .brand-card__name { color: #0C65A9; }

/* Vehicle dropdowns */
.vehicle-dropdowns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.vehicle-dropdown-row {
  display: flex; flex-direction: column; gap: 5px;
}
.vehicle-dropdown-row label {
  font-size: .82rem; font-weight: 700; color: #374151;
}
.vehicle-dropdown-row label .required { color: #dc2626; }
.vehicle-dropdown-row select {
  width: 100%;
  padding: 11px 16px;
  border: 2px solid #d0dae6;
  border-radius: 10px;
  font-size: .92rem;
  color: #0a1628;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none; -webkit-appearance: none;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  cursor: pointer;
}
.vehicle-dropdown-row select:focus {
  border-color: #0C65A9;
  box-shadow: 0 0 0 3px rgba(12,101,169,.1);
}
.vehicle-dropdown-row select:disabled {
  background-color: #f8fafc;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: .8;
}

/* Trust box */
.trust-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 16px;
}
.trust-box__item {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; color: #166534; font-weight: 600;
  margin-bottom: 6px;
}
.trust-box__item:last-child { margin-bottom: 0; }
.trust-box__item::before { content: '✓'; color: #16a34a; font-weight: 800; }

/* Specs list */
.specs-list {
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.spec-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; color: #374151;
}

/* Selector grid */
.selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  padding: 4px 0;
}
.selector-grid--lg {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.selector-grid--lg .selector-card__img {
  height: 220px;
  max-height: 220px;
}
.selector-card {
  border: 2px solid #e0e7ef;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  transition: all .18s;
  background: #fff;
  overflow: hidden;
  position: relative;
}
.selector-card:hover { border-color: #0C65A9; box-shadow: 0 4px 16px rgba(12,101,169,.12); }
.selector-card.selected { border-color: #0C65A9; background: #f0f7ff; }
.selector-card.selected::after {
  content: '✓';
  position: absolute; top: 8px; right: 8px;
  width: 22px; height: 22px;
  background: #0C65A9; color: #fff;
  border-radius: 50%; font-size: .75rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.selector-card__img {
  width: 100%;
  height: 200px;
  max-height: 200px;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #f8fafc;
  padding: 16px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.selector-card__body { padding: 10px 12px; }
.selector-card__icon + .selector-card__name,
.selector-card__img + .selector-card__name {
  padding: 0 12px 10px;
}
.selector-card__icon {
  display: flex; align-items: center; justify-content: center;
  padding: 20px; color: #0C65A9;
}
.selector-card__name {
  font-size: .88rem; font-weight: 700; color: #0a1628; margin-bottom: 2px;
}
.selector-card__desc { font-size: .78rem; color: #6b7280; line-height: 1.5; }
.selector-card__price {
  font-size: .8rem; font-weight: 700; color: #16a34a;
  background: #dcfce7; padding: 2px 8px; border-radius: 20px;
  display: inline-block; margin-top: 4px;
}

/* Extras */
.extras-list { display: flex; flex-direction: column; gap: 10px; }
.extra-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 2px solid #e0e7ef; border-radius: 10px;
  cursor: pointer; transition: all .18s; background: #fff;
}
.extra-item:hover { border-color: #0C65A9; }
.extra-item.selected { border-color: #0C65A9; background: #f0f7ff; }
.extra-item__icon { color: #0C65A9; flex-shrink: 0; }
.extra-item__body { flex: 1; }
.extra-item__name { font-weight: 700; font-size: .9rem; color: #0a1628; }
.extra-item__desc { font-size: .8rem; color: #6b7280; margin-top: 2px; }
.extra-item__price { font-weight: 700; color: #16a34a; font-size: .88rem; flex-shrink: 0; }
.extra-text-input { margin-top: 8px; }

/* Upload */
.upload-zone {
  border: 2px dashed #d0dae6;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .18s;
  background: #f8fafc;
}
.upload-zone:hover { border-color: #0C65A9; background: #f0f7ff; }
.upload-zone__icon { font-size: 2.5rem; margin-bottom: 10px; }
.upload-zone__text { font-weight: 600; color: #374151; margin-bottom: 4px; }
.upload-zone__hint { font-size: .8rem; color: #9ca3af; }
.upload-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.upload-preview {
  position: relative; width: 100px; height: 80px;
  border-radius: 8px; overflow: hidden;
  border: 1px solid #e0e7ef; background: #f8fafc;
  flex-shrink: 0;
}
.upload-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upload-preview__del {
  position: absolute; top: 3px; right: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 13px; line-height: 18px; text-align: center;
  cursor: pointer; font-weight: 700;
}
.upload-preview__del:hover { background: #dc2626; }
.upload-thumb {
  width: 80px; height: 60px; border-radius: 6px;
  object-fit: cover; border: 1px solid #e0e7ef;
}

/* Customer form */
.customer-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.customer-form-grid .full-span { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size: .82rem; font-weight: 600; color: #374151; }
.form-label .required { color: #dc2626; margin-left: 2px; }
.form-control {
  width: 100%; padding: .75rem 1rem;
  border: 2px solid #d0dae6; border-radius: 10px;
  font-family: var(--fb, 'DM Sans', sans-serif); font-size: .92rem;
  color: #0a1628; background: #fff; outline: none;
  transition: border-color .18s, box-shadow .18s;
  appearance: none; -webkit-appearance: none;
}
.form-control:focus { border-color: #0C65A9; box-shadow: 0 0 0 3px rgba(12,101,169,.1); }
.form-hint { font-size: .78rem; color: #9ca3af; }
.form-error { font-size: .78rem; color: #dc2626; }
.checkbox-label { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; cursor: pointer; }
.checkbox-label input { margin-top: 2px; width: 16px; height: 16px; accent-color: #0C65A9; }

/* GDPR */
.gdpr-check { display: flex; align-items: flex-start; gap: 10px; padding: 14px; background: #f8fafc; border-radius: 8px; font-size: .85rem; margin-bottom: 10px; }
.gdpr-check input { margin-top: 2px; width: 16px; height: 16px; accent-color: #0C65A9; flex-shrink: 0; }

/* RIGHT SIDEBAR */
.wizard-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }

/* Preview card */
.preview-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e0e7ef;
  box-shadow: 0 2px 16px rgba(10,22,40,.06);
  overflow: hidden;
}
.preview-card__header {
  padding: 14px 18px;
  border-bottom: 1px solid #f0f4f8;
}
.preview-card__title {
  font-family: var(--fh, 'Sora', sans-serif);
  font-size: 1rem; font-weight: 800; color: #0C65A9;
}
.preview-guarantee {
  background: #6AC335;
  color: #fff;
  padding: 10px 16px;
  font-weight: 700; font-size: .88rem;
  display: flex; align-items: center; gap: 6px;
}
.preview-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  background: linear-gradient(135deg, #0a1628, #0C65A9);
}

/* Price card */
.price-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e0e7ef;
  padding: 18px 20px;
  box-shadow: 0 2px 16px rgba(10,22,40,.06);
}
.price-card__label {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: #9ca3af; margin-bottom: 4px;
}
.price-card__amount {
  font-family: var(--fh, 'Sora', sans-serif);
  font-size: 2rem; font-weight: 900; color: #0a1628; margin-bottom: 6px;
}
.price-card__checks { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.price-card__check {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; color: #374151;
}
.price-card__check::before { content: '✓'; color: #6AC335; font-weight: 800; }

/* Next button */
.btn-next {
  width: 100%;
  background: #6AC335; color: #fff;
  border: none; border-radius: 10px;
  padding: 14px;
  font-family: var(--fh, 'Sora', sans-serif); font-size: 1rem; font-weight: 800;
  cursor: pointer; transition: all .18s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-next:hover { background: #559c2a; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(106,195,53,.35); }
.btn-next:disabled { background: #d0dae6; color: #9ca3af; cursor: not-allowed; transform: none; box-shadow: none; }

/* Summary */
.summary-rows { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px; }
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; padding: 4px 0; border-bottom: 1px solid #f3f4f6;
}
.summary-row:last-child { border-bottom: none; }
.summary-row__label { color: #6b7280; }
.summary-row__val { font-weight: 600; color: #0a1628; }
.delivery-free { color: #16a34a; font-weight: 700; }

/* Bottom CTA bar */
.wizard-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  background: linear-gradient(90deg, #559c2a, #6AC335);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .18s;
  box-shadow: 0 -4px 20px rgba(106,195,53,.3);
}
.wizard-cta-bar:hover { background: linear-gradient(90deg, #6AC335, #7dd344); }
.wizard-cta-bar__text {
  color: #fff; font-family: var(--fh, 'Sora', sans-serif);
  font-size: 1.1rem; font-weight: 800;
}
.wizard-cta-bar__arrow { color: #fff; font-size: 1.2rem; margin-left: 8px; }

/* Navigation buttons (prev/submit) */
.wizard-nav {
  display: flex; gap: 10px; justify-content: space-between;
  padding: 16px 28px;
  border-top: 1px solid #f0f4f8;
  background: #fafbfc;
}
.btn-prev {
  padding: 10px 20px; border-radius: 8px; border: 2px solid #d0dae6;
  background: #fff; color: #6b7280; font-weight: 600; font-size: .88rem;
  cursor: pointer; transition: all .18s;
}
.btn-prev:hover { border-color: #0C65A9; color: #0C65A9; }
.btn-submit {
  padding: 12px 28px; border-radius: 8px; border: none;
  background: #0C65A9; color: #fff; font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: all .18s;
}
.btn-submit:hover { background: #094e86; }

/* Error */
#wizard-error {
  background: #fef2f2; border: 1px solid #fecaca; color: #dc2626;
  padding: 10px 14px; border-radius: 8px; font-size: .88rem;
  margin: 0 28px 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .wizard-body { grid-template-columns: 1fr; }
  .wizard-sidebar { position: static; }
  .vehicle-brand-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .wizard-body { padding: 14px 12px 0; }
  .wizard-step__body, .wizard-step__header { padding: 16px; }
  .vehicle-brand-grid { grid-template-columns: repeat(3, 1fr); }
  .customer-form-grid { grid-template-columns: 1fr; }
}

/* ── REVIEW STEP ────────────────────────────────────────── */
.review-section {
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 12px;
  overflow: hidden;
}
.review-section__title {
  font-family: var(--fh, 'Sora', sans-serif);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #0C65A9;
  background: #f0f7ff;
  padding: 10px 16px;
  border-bottom: 1px solid #dde8f5;
}
.review-grid { padding: 4px 0; }
.review-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
  padding: 9px 16px;
  border-bottom: 1px solid #f3f5f7;
  align-items: baseline;
}
.review-item:last-child { border-bottom: none; }
.review-item__label {
  font-size: .8rem;
  color: #9ca3af;
  font-weight: 500;
  white-space: nowrap;
}
.review-item__val {
  font-size: .88rem;
  font-weight: 600;
  color: #0a1628;
  word-break: break-word;
}
.review-item--total .review-item__label,
.review-item--total .review-item__val {
  font-size: 1rem;
  color: #0C65A9;
  font-weight: 800;
}

/* ── SEAT CONFIG SECTIONS ────────────────────────────────── */
.seat-section { margin-bottom: 4px; }
.seat-section__label {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.15rem; font-weight: 800; color: #0a1628;
  margin-bottom: 16px; padding: 14px 0 10px;
  border-bottom: 2.5px solid #0C65A9;
}
.seat-section__num {
  width: 34px; height: 34px; border-radius: 50%;
  background: #0C65A9; color: #fff;
  font-size: .95rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 2px 6px rgba(12,101,169,.3);
}
.seat-section__req {
  font-size: .78rem; font-weight: 700; color: #dc2626;
  background: #fef2f2; border: 1.5px solid #fca5a5;
  padding: 4px 12px; border-radius: 20px; margin-left: auto;
  text-transform: uppercase; letter-spacing: .04em;
}
.seat-section__opt {
  font-size: .78rem; font-weight: 700; color: #6b7280;
  background: #f3f4f6; border: 1px solid #e5e7eb;
  padding: 4px 12px; border-radius: 20px; margin-left: auto;
}
/* Row 2 visual grouping */
.seat-row2-section .seat-section__num { background: #374151; box-shadow: none; }
.seat-row2-section .seat-section__label { border-bottom-color: #374151; color: #374151; }
.selector-card--none { opacity: .7; }
.selector-card--none.selected { opacity: 1; border-color: #e5e7eb; background: #f9fafb; }
.selector-card--none.selected::after { background: #9ca3af; }
