.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  background: rgba(8, 8, 7, .76);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .3s ease;
  isolation: isolate;
}

.booking-overlay *,
.booking-overlay *::before,
.booking-overlay *::after { box-sizing: border-box; }

.booking-overlay.is-open { opacity: 1; }
.booking-overlay.is-leaving { opacity: 0; transition-duration: .22s; }

.booking-modal {
  display: flex;
  flex-direction: column;
  width: min(980px, 100%);
  height: min(790px, calc(100vh - 48px));
  height: min(790px, calc(100dvh - 48px));
  min-width: 0;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  color: var(--text, #f4eadb);
  background: var(--surface, #1e1c18);
  border: 1px solid rgba(201, 168, 117, .25);
  border-radius: 20px;
  box-shadow: 0 32px 120px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .02);
  font-family: var(--body, Arial), sans-serif;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(22px) scale(.985);
  transition: opacity .45s cubic-bezier(.16, 1, .3, 1), transform .45s cubic-bezier(.16, 1, .3, 1);
}

.booking-overlay.is-open .booking-modal { opacity: 1; transform: translateY(0) scale(1); }
.booking-overlay.is-leaving .booking-modal { opacity: 0; transform: translateY(22px) scale(.99); transition-duration: .22s; }
.booking-modal:focus { outline: none; }
.booking-modal h2:focus { outline: none; }
.booking-modal button, .booking-modal input { font: inherit; }
.booking-modal button { -webkit-tap-highlight-color: transparent; }
.booking-modal :where(button, input, a, select, textarea):focus-visible {
  outline: 2px solid var(--gold, #c9a875);
  outline-offset: 4px;
}

.booking-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 32px 23px 36px;
  background: var(--surface, #1e1c18);
}
.booking-header > div { min-width: 0; }
.booking-header h2 { margin: 5px 0 0; font: 400 34px/1.15 var(--serif, Impact, sans-serif); letter-spacing: -.03em; }
.booking-eyebrow { margin: 0; color: var(--gold, #c9a875); font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .16em; }
.booking-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: var(--ivory, #f4eadb);
  background: transparent;
  border: 1px solid var(--line, rgba(244, 234, 219, .14));
  border-radius: 10px;
  font-size: 14px !important;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.booking-close:hover { background: var(--surface-2, #25221d); border-color: var(--gold, #c9a875); }

.booking-stepper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  flex: 0 0 auto;
  gap: 12px;
  margin: 0;
  padding: 16px 36px;
  list-style: none;
  background: var(--bg, #141310);
  border-block: 1px solid var(--line, rgba(244, 234, 219, .14));
}
.booking-step { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--muted, #aaa296); font-size: 14px; line-height: 1.3; }
.booking-step:not(:last-child)::after { content: ''; flex: 1 1 20px; height: 1px; margin-left: 8px; background: var(--line, rgba(244, 234, 219, .14)); }
.booking-step-number { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border: 1px solid var(--line, rgba(244, 234, 219, .14)); border-radius: 50%; font-size: 12px; font-variant-numeric: tabular-nums; transition: color .25s, border-color .25s, background .25s; }
.booking-step-label { min-width: 0; white-space: nowrap; }
.booking-step.is-current { color: var(--ivory, #f4eadb); }
.booking-step.is-current .booking-step-number { color: var(--bg, #141310); background: var(--gold, #c9a875); border-color: var(--gold, #c9a875); }
.booking-step.is-complete { color: var(--gold, #c9a875); }
.booking-step.is-complete .booking-step-number { border-color: rgba(201, 168, 117, .65); background: rgba(201, 168, 117, .08); }
.booking-step.is-complete::after { background: rgba(201, 168, 117, .35); }

.booking-body {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 117, .45) transparent;
  -webkit-overflow-scrolling: touch;
}
.booking-body::-webkit-scrollbar { width: 5px; }
.booking-body::-webkit-scrollbar-thumb { background: rgba(201, 168, 117, .45); border-radius: 5px; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; min-height: 100%; min-width: 0; }
.booking-form { min-width: 0; margin: 0; padding: 30px 36px 36px; }
.booking-panel { animation: booking-panel-in .35s cubic-bezier(.16, 1, .3, 1) both; }
.booking-step-intro { margin-bottom: 26px; }
.booking-step-intro h3 { margin: 10px 0 12px; font: 400 32px/1.16 var(--serif, Impact, sans-serif); letter-spacing: -.035em; text-wrap: balance; }
.booking-step-intro > p:last-child { margin: 0; color: var(--muted, #aaa296); font-size: 16px; line-height: 1.7; }
.booking-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.booking-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.booking-field.is-wide { grid-column: 1 / -1; }
.booking-field > label { display: block; color: var(--ivory, #f4eadb); font-size: 14px; font-weight: 400; line-height: 1.5; }
.booking-field input {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 13px 14px;
  color: var(--ivory, #f4eadb);
  background: var(--bg, #141310);
  border: 1px solid rgba(244, 234, 219, .2);
  border-radius: 8px;
  box-shadow: none;
  font-size: 16px;
  line-height: 1.5;
  color-scheme: dark;
  transition: border-color .2s, box-shadow .2s;
}
.booking-field input:hover { border-color: rgba(201, 168, 117, .6); }
.booking-field input:focus { border-color: var(--gold, #c9a875); box-shadow: 0 0 0 3px rgba(201, 168, 117, .1); }
.booking-field input::placeholder { color: #8d8579; opacity: 1; }
.booking-field input::-webkit-date-and-time-value { text-align: left; }
.booking-field input::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }
.booking-field input[aria-invalid='true'] { border-color: #f0a398; }
.booking-field input:-webkit-autofill { -webkit-text-fill-color: var(--ivory, #f4eadb); -webkit-box-shadow: 0 0 0 1000px #141310 inset; caret-color: var(--ivory, #f4eadb); }
.booking-field-help { color: var(--muted, #aaa296); font-size: 12px; line-height: 1.65; }
.booking-optional { margin-left: 6px; color: var(--muted, #aaa296); font-size: 12px; }
.booking-error { margin: 0; color: #ffb7ab; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.booking-form > .booking-error { margin-top: 18px; padding: 13px 15px; border: 1px solid rgba(255, 183, 171, .35); border-radius: 8px; background: rgba(255, 183, 171, .06); }
.booking-note { margin: 24px 0 0; padding: 14px 16px; color: var(--muted, #aaa296); background: rgba(201, 168, 117, .055); border-left: 2px solid rgba(201, 168, 117, .55); font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.booking-note strong { color: var(--ivory, #f4eadb); font-weight: 400; }

.booking-option-group { display: block; min-width: 0; margin: 0 0 25px; padding: 0; border: 0; }
.booking-option-group:last-child { margin-bottom: 0; }
.booking-option-group legend { display: block; width: 100%; margin: 0 0 12px; padding: 0; color: var(--ivory, #f4eadb); font-size: 14px; line-height: 1.5; }
.booking-options { display: grid; gap: 10px; min-width: 0; }
.booking-option { display: grid; grid-template-columns: 19px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; padding: 16px 14px; background: var(--bg, #141310); border: 1px solid var(--line, rgba(244, 234, 219, .14)); border-radius: 10px; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.booking-option:hover { border-color: rgba(201, 168, 117, .5); }
.booking-option.is-selected { background: rgba(201, 168, 117, .075); border-color: rgba(201, 168, 117, .7); box-shadow: inset 0 0 0 1px rgba(201, 168, 117, .07); }
.booking-option > input { width: 19px; height: 19px; min-width: 19px; margin: 0; padding: 0; accent-color: var(--gold, #c9a875); color-scheme: dark; cursor: pointer; }
.booking-option-copy { display: block; min-width: 0; }
.booking-option-copy strong { display: block; color: var(--ivory, #f4eadb); font-size: 14px; line-height: 1.5; font-weight: 400; }
.booking-option-copy > span { display: block; margin-top: 3px; color: var(--muted, #aaa296); font-size: 14px; line-height: 1.6; }
.booking-option-price { display: block; max-width: 90px; color: var(--gold, #c9a875); font-size: 16px; line-height: 1.4; text-align: right; font-variant-numeric: tabular-nums; }
.booking-option-price small { display: block; margin-top: 3px; color: var(--muted, #aaa296); font-size: 12px; line-height: 1.5; }

.booking-summary { min-width: 0; background: var(--surface-2, #25221d); border-left: 1px solid var(--line, rgba(244, 234, 219, .14)); }
.booking-car-image { display: block; width: 100%; height: 190px; margin: 0; object-fit: cover; object-position: center; background: var(--bg, #141310); }
.booking-summary-content { min-width: 0; padding: 25px 24px 28px; }
.booking-summary-content h3 { margin: 9px 0 6px; color: var(--ivory, #f4eadb); font: 400 25px/1.16 var(--serif, Impact, sans-serif); letter-spacing: -.03em; overflow-wrap: anywhere; }
.booking-car-trim { margin: 0 0 5px; color: var(--muted, #aaa296); font-size: 13px; line-height: 1.5; }
.booking-car-specs { margin: 0; color: var(--muted, #aaa296); font-size: 12px; line-height: 1.5; }
.booking-summary-dates { display: flex; flex-wrap: wrap; gap: 2px 6px; margin-top: 21px; padding-top: 18px; border-top: 1px solid var(--line, rgba(244, 234, 219, .14)); font-size: 14px; line-height: 1.6; }
.booking-summary-dates > span { min-width: 0; }
.booking-price-lines { display: grid; gap: 14px; margin-top: 20px; }
.booking-price-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-width: 0; font-size: 14px; line-height: 1.5; }
.booking-price-line > span { min-width: 0; }
.booking-price-line small { display: block; margin-top: 2px; color: var(--muted, #aaa296); font-size: 12px; line-height: 1.5; }
.booking-price-line > strong { flex-shrink: 0; font-size: 14px; font-weight: 400; font-variant-numeric: tabular-nums; }
.booking-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line, rgba(244, 234, 219, .14)); }
.booking-total > span { min-width: 0; color: var(--muted, #aaa296); font-size: 14px; line-height: 1.5; }
.booking-total > strong { color: var(--gold, #c9a875); font: 400 30px/1 var(--serif, Impact, sans-serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.booking-price-disclaimer { margin: 15px 0 0; color: var(--muted, #aaa296); font-size: 12px; line-height: 1.75; }

.booking-review { margin: 0; }
.booking-review-row { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 14px; min-width: 0; padding: 13px 0; border-bottom: 1px solid var(--line, rgba(244, 234, 219, .14)); }
.booking-review-row:first-child { padding-top: 0; }
.booking-review-row dt { margin: 0; color: var(--muted, #aaa296); font-size: 14px; line-height: 1.65; }
.booking-review-row dd { min-width: 0; margin: 0; color: var(--ivory, #f4eadb); font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.booking-review-row dd > span { display: block; margin-top: 3px; color: var(--muted, #aaa296); font-size: 13px; }

.booking-footer { position: relative; z-index: 2; display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 20px; min-width: 0; padding: 20px 32px 20px 36px; background: var(--surface, #1e1c18); border-top: 1px solid var(--line, rgba(244, 234, 219, .14)); box-shadow: 0 -8px 22px rgba(0, 0, 0, .05); }
.booking-footer-note { min-width: 0; margin: 0; color: var(--muted, #aaa296); font-size: 12px; line-height: 1.5; }
.booking-nav { display: flex; flex: 0 0 auto; align-items: stretch; gap: 10px; min-width: 0; }
.booking-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; margin: 0; padding: 13px 22px; color: var(--ivory, #f4eadb); background: transparent; border: 1px solid var(--line, rgba(244, 234, 219, .14)); border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1.45; text-align: center; text-decoration: none; white-space: normal; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.booking-button.is-primary { color: var(--bg, #141310); background: var(--gold, #c9a875); border-color: var(--gold, #c9a875); }
.booking-button.is-primary:hover { background: #dbbb88; border-color: #dbbb88; box-shadow: 0 4px 18px rgba(201, 168, 117, .12); transform: translateY(-1px); }
.booking-button.is-secondary:hover { background: var(--surface-2, #25221d); border-color: rgba(201, 168, 117, .6); }
.booking-button:active { transform: translateY(1px); }
.booking-button:disabled { opacity: .55; cursor: wait; transform: none; }

.booking-success { padding: 12px 0; text-align: center; }
.booking-success-mark { display: grid; place-items: center; width: 62px; height: 62px; margin: 7px auto 31px; color: var(--bg, #141310); background: var(--gold, #c9a875); border-radius: 50%; box-shadow: 0 0 0 9px rgba(201, 168, 117, .075); font-size: 28px; line-height: 1; animation: booking-mark-in .6s cubic-bezier(.16, 1, .3, 1) both; }
.booking-success h3 { margin: 12px 0 16px; font: 400 34px/1.16 var(--serif, Impact, sans-serif); letter-spacing: -.035em; text-wrap: balance; }
.booking-success > p:not(.booking-eyebrow):not(.booking-note) { margin: 0; color: var(--muted, #aaa296); font-size: 16px; line-height: 1.8; }
.booking-success-detail { display: grid; gap: 6px; margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line, rgba(244, 234, 219, .14)); }
.booking-success-detail > strong { font-size: 16px; font-weight: 400; }
.booking-success-detail > span { color: var(--muted, #aaa296); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.booking-success .booking-note { border-left: 0; border-radius: 7px; font-size: 12px; }
body.has-booking-modal { overscroll-behavior: none; }

@keyframes booking-panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes booking-mark-in { from { opacity: 0; transform: scale(.75); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 850px) and (min-width: 701px) {
  .booking-layout { grid-template-columns: minmax(0, 1fr) 290px; }
  .booking-header { padding-left: 28px; padding-right: 28px; }
  .booking-stepper { padding-inline: 28px; }
  .booking-form { padding-inline: 28px; }
  .booking-fields { grid-template-columns: minmax(0, 1fr); }
  .booking-step-intro h3 { font-size: 30px; }
  .booking-footer { padding-inline: 28px; }
}

@media (max-height: 620px) and (min-width: 701px) {
  .booking-overlay { padding: 12px; }
  .booking-modal { height: calc(100vh - 24px); height: calc(100dvh - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .booking-header { padding-top: 16px; padding-bottom: 16px; }
  .booking-header h2 { font-size: 29px; }
  .booking-stepper { padding-block: 12px; }
  .booking-footer { padding-block: 13px; }
  .booking-car-image { height: 155px; }
}

@media (max-width: 700px) {
  .booking-overlay { align-items: flex-end; padding: 0; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .booking-modal { width: 100%; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; border: 0; border-top: 1px solid rgba(201, 168, 117, .3); border-radius: 19px 19px 0 0; transform: translateY(22px); }
  .booking-header { gap: 12px; padding: calc(20px + env(safe-area-inset-top, 0px)) 20px 17px; }
  .booking-header h2 { font-size: 29px; }
  .booking-header .booking-eyebrow { font-size: 9px; letter-spacing: .13em; }
  .booking-stepper { gap: 8px; padding: 12px 20px; }
  .booking-step { flex-direction: column; justify-content: center; gap: 5px; font-size: 14px; }
  .booking-step-number { flex-basis: 25px; width: 25px; height: 25px; }
  .booking-step:not(:last-child)::after { display: none; }
  .booking-layout { display: block; }
  .booking-form { padding: 25px 22px 29px; }
  .booking-step-intro { margin-bottom: 24px; }
  .booking-step-intro h3 { max-width: 440px; font-size: 31px; }
  .booking-step-intro > p:last-child { font-size: 16px; }
  .booking-option { padding: 15px 13px; gap: 10px; }
  .booking-option-price { max-width: 85px; }
  .booking-note { margin-top: 22px; }
  .booking-summary { display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 24px 22px; border-left: 0; border-top: 1px solid var(--line, rgba(244, 234, 219, .14)); }
  .booking-car-image { grid-column: 1; grid-row: 1 / 5; width: 80px; height: 80px; border-radius: 8px; }
  .booking-summary-content { display: contents; }
  .booking-summary-content > .booking-eyebrow { grid-column: 2; grid-row: 1; align-self: end; font-size: 9px; }
  .booking-summary-content > h3 { grid-column: 2; grid-row: 2; margin: 0; font-size: 23px; }
  .booking-car-trim { grid-column: 2; grid-row: 3; margin: 0; font-size: 12px; }
  .booking-car-specs { grid-column: 2; grid-row: 4; font-size: 12px; }
  .booking-summary-dates { grid-column: 1 / -1; grid-row: 5; margin-top: 15px; padding-top: 15px; }
  .booking-price-lines { grid-column: 1 / -1; grid-row: 6; gap: 12px; margin-top: 12px; }
  .booking-price-line { font-size: 14px; }
  .booking-total { grid-column: 1 / -1; grid-row: 7; margin-top: 14px; padding-top: 17px; }
  .booking-total > strong { font-size: 28px; }
  .booking-price-disclaimer { grid-column: 1 / -1; grid-row: 8; margin-top: 10px; font-size: 12px; }
  .booking-footer { flex-direction: column; align-items: stretch; gap: 11px; padding: 13px 20px calc(16px + env(safe-area-inset-bottom, 0px)); }
  .booking-footer-note { order: 2; text-align: center; font-size: 12px; }
  .booking-nav { width: 100%; gap: 10px; }
  .booking-button { min-height: 50px; padding: 13px 18px; }
  .booking-button.is-primary { flex: 1 1 0; min-width: 0; }
  .booking-button.is-secondary { flex: 0 0 auto; min-width: 73px; }
  .booking-success { max-width: 460px; margin-inline: auto; padding: 9px 0 4px; }
  .booking-success h3 { font-size: 34px; }
}

@media (max-width: 420px) {
  .booking-fields { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .booking-form { padding-inline: 20px; }
  .booking-step-intro h3 { font-size: 29px; }
  .booking-option { grid-template-columns: 18px minmax(0, 1fr) 73px; gap: 9px; padding-inline: 11px; }
  .booking-option > input { width: 18px; min-width: 18px; height: 18px; }
  .booking-option-copy > span { font-size: 14px; }
  .booking-option-price { max-width: 73px; font-size: 15px; }
  .booking-option-price small { font-size: 9px; }
  .booking-review-row { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; }
  .booking-summary { padding-inline: 20px; }
  .booking-success h3 { font-size: 31px; }
}

@media (prefers-reduced-motion: reduce) {
  .booking-overlay, .booking-modal, .booking-panel, .booking-success-mark,
  .booking-overlay *, .booking-overlay *::before, .booking-overlay *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .booking-panel { opacity: 1; transform: none; }
  .booking-button:hover, .booking-button:active { transform: none; }
}
