/* ============================================================
   MB Motors Online Booking — modern, minimal, app-like
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #08090b;
    --bg-elev: #0f1114;
    --surface: rgba(255, 255, 255, 0.025);
    --surface-hover: rgba(255, 255, 255, 0.05);
    --surface-strong: rgba(255, 255, 255, 0.08);
    --hairline: rgba(255, 255, 255, 0.06);
    --hairline-strong: rgba(255, 255, 255, 0.12);
    --text: #f4f6f8;
    --text-dim: #b9c0c6;
    --text-muted: #6d757b;
    --brand: #79b62a;
    --brand-bright: #93d137;
    --brand-soft: rgba(121, 182, 42, 0.12);
    --brand-ring: rgba(121, 182, 42, 0.28);
    --danger: #ef4a3f;
    --plate-yellow: #ffce00;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; height: 100%; }

body {
    color: var(--text);
    background: var(--bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv11', 'ss01', 'ss03';
    min-height: 100vh;
    overflow-x: hidden;
}

/* subtle ambient brand glow at top — single, soft */
body::before {
    content: "";
    position: fixed;
    top: -380px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(121, 182, 42, 0.16), rgba(121, 182, 42, 0) 60%);
    pointer-events: none;
    z-index: 0;
}

a { color: var(--brand-bright); text-decoration: none; transition: color 0.15s var(--ease); }
a:hover { color: var(--brand); }

img { display: block; max-width: 100%; }

::selection { background: var(--brand); color: #0a0c08; }

/* ---------- Layout ---------- */
.shell {
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 24px 140px;
    position: relative;
    z-index: 1;
}

/* ---------- Header ---------- */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.site-header .logo { width: 180px; max-width: 50vw; height: auto; }
.site-header .tag {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ---------- Hero title (used inside the vehicle card on step 1) ---------- */
.hero-title {
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 44px);
    letter-spacing: -0.025em;
    font-weight: 800;
    line-height: 1.05;
}
.hero-title .accent { color: var(--brand-bright); }

/* ---------- Stepper ---------- */
.stepper {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin: 0 0 32px;
}

.stepper .step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    padding-top: 4px;
    transition: color 0.2s var(--ease);
}

.stepper .step .num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--hairline);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s var(--ease);
    position: relative;
    z-index: 2;
}

/* connector: from this step's dot edge to next step's dot edge */
.stepper .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 19px;             /* 4px padding-top + half of 30px dot */
    left: calc(50% + 19px);
    right: calc(-50% + 19px);
    height: 2px;
    background: var(--hairline);
    z-index: 0;
    transition: background 0.2s var(--ease);
}

.stepper .step.is-done { color: var(--text-dim); }
.stepper .step.is-done .num {
    background: var(--brand);
    border-color: var(--brand);
    color: #0a0c08;
}
.stepper .step.is-done::after { background: var(--brand); }

.stepper .step.is-current { color: var(--text); }
.stepper .step.is-current .num {
    background: var(--brand);
    border-color: var(--brand);
    color: #0a0c08;
    box-shadow: 0 0 0 5px var(--brand-ring), 0 0 0 8px rgba(121, 182, 42, 0.10);
    transform: scale(1.06);
}

.stepper .step.is-locked { opacity: 0.55; pointer-events: none; }

@media (max-width: 560px) {
    .stepper .step .label { display: none; }
    .stepper .step { gap: 0; }
}

/* ---------- Card (flat, no heavy border) ---------- */
.card {
    background: var(--bg-elev);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    margin-bottom: 18px;
    animation: card-in 0.4s var(--ease);
}

.card h2 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.card .lede {
    margin: 0 0 32px;
    color: var(--text-dim);
    font-size: 16px;
    max-width: 520px;
}

@keyframes card-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Form fields ---------- */
label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 600;
    letter-spacing: 0.2px;
}

input, select, textarea {
    width: 100%;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius);
    padding: 15px 18px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.15s var(--ease);
}

input:hover, select:hover { border-color: var(--text-muted); background: var(--surface-hover); }
input:focus, select:focus, textarea:focus, button:focus-visible {
    outline: none;
    border-color: var(--brand);
    background: var(--bg-elev);
    box-shadow: 0 0 0 4px var(--brand-soft);
}

input::placeholder { color: #4a5258; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.field + .field { margin-top: 16px; }

/* ---------- Number plate (true UK plate proportions ~4.7:1) ---------- */
.plate-wrap {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    background: var(--plate-yellow);
    border-radius: 10px;
    overflow: hidden;
    width: 360px;
    max-width: 100%;
    border: 2px solid #1a1a1a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    font-family: "Charles Wright", "UKNumberPlate", "Arial Black", sans-serif;
}

.plate-flag {
    background: #003399;
    color: var(--plate-yellow);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plate-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 10px;
    color: #111;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    text-align: center;
    width: 100%;
    min-width: 0;
}

.plate-input:focus { box-shadow: none; outline: none; background: transparent; }
.plate-input::placeholder { color: #999; letter-spacing: 2px; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn, button {
    border: 1px solid var(--hairline-strong);
    background: var(--surface);
    color: var(--text);
    border-radius: var(--radius-pill);
    padding: 14px 26px;
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.18s var(--ease);
    letter-spacing: -0.005em;
}

.btn:hover, button:hover { background: var(--surface-hover); border-color: var(--text-muted); transform: translateY(-1px); }
.btn:active, button:active { transform: translateY(0); }

.btn-primary, button.primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #0a0c08;
    font-weight: 700;
}
.btn-primary:hover, button.primary:hover {
    background: var(--brand-bright);
    border-color: var(--brand-bright);
    color: #0a0c08;
    box-shadow: 0 8px 24px rgba(121, 182, 42, 0.25);
}

.btn-ghost, button.ghost {
    background: transparent;
    border-color: transparent;
    color: var(--text-muted);
}
.btn-ghost:hover, button.ghost:hover {
    background: var(--surface);
    border-color: transparent;
    color: var(--text-dim);
    transform: none;
}

.btn-large { padding: 18px 32px; font-size: 16px; }
.btn-block { width: 100%; }

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 32px;
    align-items: center;
}

.actions.spread { justify-content: space-between; }

/* ---------- Flash ---------- */
.flash {
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid;
    animation: card-in 0.3s var(--ease);
}

.flash.success { border-color: var(--brand-ring); background: var(--brand-soft); color: #d5edb8; }
.flash.error { border-color: rgba(239, 74, 63, 0.4); background: rgba(239, 74, 63, 0.08); color: #ffc4be; }

/* ---------- Vehicle confirmation ---------- */
.vehicle-confirm {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.vehicle-confirm .reg {
    background: var(--plate-yellow);
    color: #111;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 3px;
    padding: 10px 18px;
    border-radius: 8px;
    border: 2px solid #1a1a1a;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
}

.vehicle-confirm .make-model {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.vehicle-confirm .make-model .muted {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 13px;
    display: block;
    margin-top: 4px;
    letter-spacing: 0;
}

/* ---------- "What's included" link ---------- */
.included-link {
    background: var(--surface-strong);
    border: 1px solid transparent;
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    margin-top: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s var(--ease);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
    letter-spacing: 0.1px;
}
.included-link:hover {
    background: rgba(121, 182, 42, 0.16);
    color: var(--brand-bright);
    border-color: rgba(121, 182, 42, 0.35);
    transform: none;
}
.service-card:has(input:checked) .included-link {
    background: rgba(8, 9, 11, 0.55);
    color: #d5edb8;
    border-color: rgba(255, 255, 255, 0.08);
}
.service-card:has(input:checked) .included-link:hover {
    background: rgba(8, 9, 11, 0.75);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
}

/* ---------- Modal ---------- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: backdrop-in 0.2s var(--ease);
}
.modal-backdrop[hidden] { display: none; }

@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }

.modal {
    background: var(--bg-elev);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    animation: modal-in 0.25s var(--ease);
}
.modal.modal-wide { max-width: 640px; }
.modal-subtitle {
    color: var(--text-dim);
    margin: 0 0 20px;
    font-size: 14px;
}
.modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--hairline);
}
.modal-actions .btn-primary { padding: 12px 24px; }
@media (max-width: 540px) {
    .modal { padding: 26px 22px; }
    .modal-actions { flex-direction: column-reverse; }
    .modal-actions .btn,
    .modal-actions button { width: 100%; }
}

@keyframes modal-in {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.015em;
}
.modal .modal-price {
    color: var(--brand-bright);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
}
.modal .modal-body {
    color: var(--text-dim);
    white-space: pre-line;
    font-size: 15px;
    line-height: 1.65;
}
.modal-close {
    margin-top: 24px;
    width: 100%;
}

/* ---------- Service cards ---------- */
.service-list { display: grid; gap: 10px; margin-bottom: 28px; }

.service-card {
    position: relative;
    border: 1px solid var(--hairline);
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.18s var(--ease);
    display: block;
    -webkit-tap-highlight-color: transparent;
}

.service-card:hover {
    border-color: var(--hairline-strong);
    background: var(--surface-hover);
    transform: translateY(-1px);
}

.service-card:has(input:checked) {
    border-color: var(--brand);
    background: var(--brand-soft);
}
.service-card:has(input:checked):hover { transform: none; }
.service-card:active { transform: scale(0.995); }

/* Hide the native checkbox — entire card is the tap target.
   Use the standard visually-hidden pattern so the label can still toggle it. */
.service-card input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    margin: -1px;
    padding: 0;
}

/* Selection indicator (real element, sits inline with the price) */
.service-card .check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--hairline-strong);
    background: transparent;
    transition: all 0.18s var(--ease);
}
.service-card:has(input:checked) .check {
    border-color: var(--brand);
    background: var(--brand);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0c08' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 14px 14px;
    background-position: center;
    background-repeat: no-repeat;
}

.service-card .row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.service-card .body { flex: 1; min-width: 0; }
.service-card .title { font-size: 16px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; }

.service-card .price {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
    letter-spacing: -0.02em;
}
.service-card:has(input:checked) .price { color: var(--brand-bright); }

.service-card .price .price-prefix {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 4px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* ---------- Add-on chips ---------- */
.addon-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.addon-list form { display: inline-block; margin: 0; }
.addon-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--hairline-strong);
    background: var(--surface);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dim);
    transition: all 0.18s var(--ease);
    font-weight: 500;
}
.addon-chip:hover {
    border-color: var(--brand);
    color: var(--text);
    transform: translateY(-1px);
}
.addon-chip.is-selected {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: #d5edb8;
}
.addon-chip .price { color: var(--brand-bright); font-weight: 700; }

.section-title {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    margin: 32px 0 14px;
}

/* ---------- Timeslot picker (client-side) ---------- */
.date-track-wrap {
    position: relative;
    margin: 0 -4px 24px;
}

/* Fade edges hint at scrollable content beyond the visible area */
.date-track-wrap::before,
.date-track-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 16px;
    width: 48px;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.2s var(--ease);
}
.date-track-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-elev), transparent);
}
.date-track-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-elev), transparent);
}
.date-track-wrap.at-start::before { opacity: 0; }
.date-track-wrap.at-end::after { opacity: 0; }

/* Chevron nav buttons */
.date-nav {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 8px));
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    background: var(--bg-elev);
    border: 1px solid var(--hairline-strong);
    color: var(--text);
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: all 0.18s var(--ease);
}
.date-nav:hover {
    background: var(--surface-strong);
    border-color: var(--brand);
    color: var(--brand-bright);
    transform: translateY(calc(-50% - 8px)) scale(1.06);
}
.date-nav[hidden] { display: none; }
.date-nav.prev { left: -10px; }
.date-nav.next { right: -10px; }

.date-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 4px 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--hairline-strong) transparent;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.date-track::-webkit-scrollbar { height: 6px; }
.date-track::-webkit-scrollbar-track { background: transparent; }
.date-track::-webkit-scrollbar-thumb { background: var(--hairline-strong); border-radius: 4px; }

@media (max-width: 640px) {
    .date-nav { width: 34px; height: 34px; font-size: 20px; }
    .date-nav.prev { left: -4px; }
    .date-nav.next { right: -4px; }
}

@media (hover: none) {
    /* Touch devices: chevrons stay easy to tap, hover transform removed */
    .date-nav:hover { transform: translateY(calc(-50% - 8px)); }
}

.date-card {
    flex: 0 0 68px;
    width: 68px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 10px 4px 11px;
    cursor: pointer;
    transition: all 0.18s var(--ease);
    color: var(--text-dim);
    scroll-snap-align: start;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: 1;
}
.date-card:hover {
    background: var(--surface-hover);
    border-color: var(--hairline-strong);
    transform: translateY(-1px);
}
.date-card.is-selected {
    background: var(--brand);
    border-color: var(--brand);
    color: #0a0c08;
    transform: none;
}

.date-card .dow {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    font-weight: 700;
    display: block;
}
.date-card.is-selected .dow { color: rgba(10, 12, 8, 0.7); }

.date-card .day {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    margin: 4px 0 3px;
    letter-spacing: -0.02em;
    display: block;
}

.date-card .mon {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: block;
}
.date-card.is-selected .mon { color: rgba(10, 12, 8, 0.7); }

.time-grid-wrap { margin-top: 8px; }
.time-grid-wrap[hidden] { display: none; }

.time-label {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.time-label .slot-pill {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--surface-strong);
    border-radius: 999px;
    padding: 3px 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
}

.time-hint {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.time-hint.is-error { color: #ffb1ab; }

/* ---------- No-slots empty state ---------- */
.no-slots {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
}
.no-slots h3 {
    margin: 0 0 12px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.no-slots p { color: var(--text-dim); margin: 0 0 20px; max-width: 540px; margin-left: auto; margin-right: auto; }
.no-slots-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}
@media (max-width: 540px) {
    .no-slots-actions { flex-direction: column; align-items: stretch; }
    .no-slots-actions .btn { width: 100%; }
}

.time-chip {
    padding: 14px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--hairline);
    background: var(--surface);
    color: var(--text-dim);
    cursor: pointer;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.15s var(--ease);
    letter-spacing: -0.01em;
}

.time-chip:hover {
    border-color: var(--hairline-strong);
    color: var(--text);
    transform: translateY(-1px);
}
.time-chip.is-selected {
    background: var(--brand);
    border-color: var(--brand);
    color: #0a0c08;
    transform: none;
}

.time-chip input { display: none; }

/* ---------- Summary ---------- */
.summary-list {
    display: grid;
    gap: 0;
    margin-bottom: 24px;
    border-top: 1px solid var(--hairline);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--hairline);
}

.summary-row .key {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    flex-shrink: 0;
    min-width: 90px;
}
.summary-row .value {
    font-size: 15px;
    color: var(--text);
    text-align: right;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* ---------- Complete / success ---------- */
.success-mark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand);
    color: #0a0c08;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 0 0 6px var(--brand-soft);
}

/* ---------- Fixed action bar ---------- */
.action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(8, 9, 11, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--hairline);
    padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
    animation: bar-in 0.3s var(--ease);
}

/* Hide the action bar when any modal is open (no double-fixed UI) */
body:has(.modal-backdrop:not([hidden])) .action-bar {
    display: none;
}

@keyframes bar-in {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.action-bar-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.action-bar .meta {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.action-bar .meta strong { color: var(--text); font-weight: 700; }

.action-bar form { margin: 0; display: contents; }

/* Slimmer buttons inside the bar — desktop a notch smaller, mobile smaller still */
.action-bar .btn,
.action-bar button {
    padding: 10px 18px;
    font-size: 14px;
}
.action-bar .btn-large,
.action-bar button.btn-large {
    padding: 11px 22px;
    font-size: 14.5px;
}

@media (max-width: 540px) {
    .action-bar { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
    .action-bar .meta { display: none; }
    .action-bar .btn,
    .action-bar button {
        padding: 9px 14px;
        font-size: 13px;
    }
    .action-bar .btn-large,
    .action-bar button.btn-large {
        padding: 10px 18px;
        font-size: 13.5px;
    }
    .action-bar .btn-ghost { padding: 9px 10px; }
}

/* ---------- Footer ---------- */
.site-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    padding-top: 36px;
    letter-spacing: 0.2px;
}

/* ---------- Utilities ---------- */
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-brand { color: var(--brand-bright); }
.text-right { text-align: right; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
    .shell { padding: 26px 14px 60px; }
    .site-header { margin-bottom: 28px; }
    .stepper { margin-bottom: 24px; }
    .card { padding: 26px 20px; }
    .hero-title { font-size: clamp(26px, 7vw, 34px); }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .vehicle-confirm { flex-direction: column; align-items: flex-start; }
    .service-card { padding: 14px 16px; }
    .service-card .row { gap: 10px; }
    .service-card .title { font-size: 15px; }
    .service-card .price { font-size: 16px; }
    .service-card .check { width: 20px; height: 20px; }
    .included-link { font-size: 11px; padding: 4px 8px; }
    .plate-input { font-size: 30px; letter-spacing: 3px; padding: 14px 12px; }
    .actions.spread { flex-direction: column-reverse; align-items: stretch; }
    .actions.spread .btn,
    .actions.spread button { width: 100%; }
}
