:root {
  --bago-blue: #1264d8;
  --bago-blue-dark: #0e55ba;
  --bago-blue-soft: #eaf3ff;
  --bago-green: #20b15a;
  --bago-green-dark: #168a44;
  --bago-green-soft: #eaf8ef;
  --bago-ink: #111827;
  --bago-muted: #64748b;
  --bago-secondary: #526174;
  --bago-meta: #6b7a8d;
  --bago-line: #dfe7ef;
  --bago-light: #f5f8fc;
  --bago-white: #fff;
  --bago-danger: #b42318;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bago-light);
  color: var(--bago-ink);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(18, 100, 216, 0.1), transparent 34rem),
    var(--bago-light);
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(18, 100, 216, 0.25);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.bookingHeader {
  border-bottom: 1px solid var(--bago-line);
  background: rgba(255, 255, 255, 0.96);
}

.bookingHeaderInner,
.bookingShell {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding-right: 16px;
  padding-left: 16px;
}

.bookingHeaderInner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bookingLogo {
  width: 112px;
  height: 54px;
  object-fit: contain;
}

.bookingLogoLink {
  display: inline-flex;
  border-radius: 8px;
}

.bookingLogoLink:focus-visible {
  outline: 3px solid rgba(18, 100, 216, 0.25);
  outline-offset: 2px;
}

.phoneInputGroup {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: stretch;
  border: 1px solid #cad6e2;
  border-radius: 10px;
  background: var(--bago-white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.phoneInputGroup:focus-within {
  border-color: var(--bago-blue);
  outline: 3px solid rgba(18, 100, 216, 0.25);
  outline-offset: 2px;
}

.phoneCountrySegment {
  flex: 0 0 112px;
  min-width: 0;
  display: flex;
  align-items: center;
}

.phoneCountrySelect {
  position: relative;
  width: 55px;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.field .phoneCountrySelect select {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 0;
  height: 100%;
  padding: 0 18px 0 8px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  text-overflow: clip;
  -webkit-appearance: none;
  appearance: none;
}

.phoneCountryChevron {
  position: absolute;
  right: 5px;
  z-index: 2;
  color: var(--bago-muted);
  font-size: 13px;
  pointer-events: none;
}

.field .phoneCallingCode {
  display: flex;
  align-items: center;
  gap: 1px;
  min-width: 0;
  margin: 0;
  padding: 0 8px 0 0;
  color: var(--bago-ink);
  font-size: 14px;
  font-weight: 600;
}

.phoneInputGroup + .fieldHelp {
  margin-top: 5px;
}

.field .phoneCallingCode input {
  width: 28px;
  min-width: 22px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  font-weight: 600;
}

.field .phoneInputGroup select:focus-visible,
.field .phoneInputGroup input:focus-visible {
  outline: 0;
}

.phoneDivider {
  width: 1px;
  margin: 9px 0;
  flex: 0 0 1px;
  background: var(--bago-line);
}

.field .phoneInputGroup > input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 11px 12px;
  border: 0;
  border-radius: 0 10px 10px 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 520px) {
  .phoneCountrySegment {
    flex-basis: 106px;
  }
}

.foundationTag {
  color: var(--bago-blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bookingShell {
  flex: 1 0 auto;
  padding-top: 20px;
  padding-bottom: 44px;
}

.bookingInitializing .bookingShell {
  visibility: hidden;
}

.progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 20px;
  border: 1px solid var(--bago-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bago-white);
}

.progressStep {
  position: relative;
  min-width: 0;
  min-height: 70px;
  padding: 9px 3px 7px;
  display: grid;
  grid-template-rows: 28px auto;
  justify-items: center;
  align-content: start;
  gap: 5px;
  border: 0;
  color: var(--bago-muted);
  background: transparent;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.progressStep:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(50% + 17px);
  z-index: 0;
  width: calc(100% - 34px);
  height: 2px;
  background: var(--bago-line);
}

.progressNumber {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  color: var(--bago-muted);
  background: var(--bago-white);
  font-size: 12px;
  font-weight: 900;
}

.progressLabel {
  max-width: 68px;
}

.progressStep.active {
  color: var(--bago-blue);
  background: var(--bago-blue-soft);
}

.progressStep.active .progressNumber {
  border-color: var(--bago-blue);
  color: var(--bago-white);
  background: var(--bago-blue);
}

.progressStep.available:not(.active) {
  color: var(--bago-blue-dark);
}

.progressStep.available:not(.active) .progressNumber {
  border-color: var(--bago-blue);
  color: var(--bago-blue);
}

.progressStep.completed {
  color: var(--bago-green-dark);
}

.progressStep.completed .progressNumber {
  border-color: var(--bago-green);
  color: var(--bago-white);
  background: var(--bago-green);
}

.progressStep.completed:not(:last-child)::after { background: var(--bago-green); }

.progressStep.future,
.progressStep:disabled {
  cursor: not-allowed;
}

.progressStep.future {
  color: #94a3b8;
}

.progressStep:focus-visible {
  z-index: 2;
  outline: 3px solid rgba(18, 100, 216, 0.25);
  outline-offset: -3px;
}

.stepIntro {
  margin-bottom: 16px;
}

.bookingShell > section > .stepIntro,
.bookingShell > section > .bookingPanel,
.bookingShell > section > .availabilityNote,
.bookingShell > section > .vehicleGrid,
.bookingShell > section > .unavailableVehicles,
.bookingShell > section > .summaryGrid,
.bookingShell > section > .summaryContinue,
.bookingShell > section > .confirmationPanel {
  margin-inline: auto;
}

.bookingShell > section > .stepIntro,
.bookingShell > section > .bookingPanel,
.bookingShell > section > .summaryGrid,
.bookingShell > section > .confirmationPanel { max-width: 820px; }

.bookingShell > section > .secondaryAction { display: block; margin-right: auto; margin-left: auto; }

.bookingShell > section > .bookingNavAction {
  display: inline-flex;
  margin-right: auto;
  margin-left: 0;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--bago-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin-bottom: 10px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(34px, 10vw, 56px);
}

h2 {
  font-size: clamp(30px, 8vw, 48px);
}

.stepIntro p,
.availabilityNote,
.vehicleDisclaimer,
.fieldHelp {
  color: var(--bago-muted);
}

.stepIntro p {
  max-width: 660px;
  margin-bottom: 0;
  line-height: 1.5;
}

.bookingPanel {
  padding: 16px;
  border: 1px solid var(--bago-line);
  border-radius: 16px;
  background: var(--bago-white);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.formGrid {
  display: grid;
  gap: 13px;
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--bago-secondary);
  font-size: 12px;
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #cad6e2;
  border-radius: 10px;
  color: var(--bago-ink);
  background: var(--bago-white);
}

.field select:disabled {
  cursor: not-allowed;
  color: var(--bago-muted);
  background: #f3f6f9;
}

.customAddressField,
.returnLocationBlock {
  margin-top: 10px;
}

.differentReturnControl {
  min-height: 44px;
  margin: 10px 0 0;
  display: flex !important;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.differentReturnControl input {
  width: 20px !important;
  min-width: 20px;
  min-height: 20px !important;
  margin: 0;
  padding: 0;
  accent-color: var(--bago-blue);
}

.dateRangeBlock,
.timeGrid {
  min-width: 0;
}

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

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

.timeField label {
  color: var(--bago-muted);
  font-size: 12px;
}

.fieldHelp {
  margin: 7px 0 0;
  font-size: 12px;
}

.deliveryPricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.deliveryPricingItem {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid #dce7f1;
  border-radius: 11px;
  background: var(--bago-light);
}

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

.detailSectionHeading h3 {
  margin: 0;
}

.detailChangeLocation,
.detailApplyLocation {
  margin: 0;
}

.detailLocationEdit {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #dce7f1;
}

.locationOptionSection.isEditing .detailDeliveryPricing {
  opacity: 0.45;
}

.detailLocationEdit .transportReferenceField {
  display: grid;
  gap: 9px;
  margin-top: 8px;
  margin-bottom: 14px;
}

.detailLocationEdit .transportReferenceField > span {
  color: var(--bago-muted);
  font-size: 12px;
  font-weight: 600;
}

.detailLocationEdit .transportReferenceField > input {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid #cad6e2;
  border-radius: 12px;
  color: var(--bago-ink);
  background: var(--bago-white);
}

.detailLocationActions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.detailLocationActions .secondaryAction,
.detailLocationActions .primaryAction {
  margin: 0;
}

.deliveryPricingLabel {
  color: var(--bago-meta);
  font-size: 11px;
  font-weight: 500;
}

.deliveryPricingValue {
  color: var(--bago-blue-dark);
  font-size: 13px;
  line-height: 1.3;
}

.deliveryPricingName {
  color: var(--bago-text);
  font-size: 12px;
}

.detailDeliveryPricing {
  margin-top: 2px;
}

.pendingDeliveryNote {
  margin: 10px 0 0;
  color: var(--bago-muted);
  font-size: 12px;
  line-height: 1.4;
}

.formError {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--bago-danger);
  font-size: 13px;
  font-weight: 750;
}

.primaryAction,
.chooseVehicle,
.secondaryAction {
  width: 100%;
  min-height: 48px;
  border-radius: 11px;
  font-weight: 900;
}

.primaryAction,
.chooseVehicle {
  border: 1px solid var(--bago-green);
  color: var(--bago-white);
  background: var(--bago-green);
}

.primaryAction {
  margin-top: 4px;
}

.primaryAction:hover,
.chooseVehicle:hover {
  border-color: var(--bago-green-dark);
  background: var(--bago-green-dark);
}

.secondaryAction {
  width: auto;
  min-height: 42px;
  margin-bottom: 14px;
  padding: 7px 13px;
  border: 1px solid var(--bago-line);
  color: var(--bago-blue);
  background: var(--bago-white);
}

.bookingNavAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-right: 0;
  margin-bottom: 14px;
  margin-left: 0;
  padding-right: 4px;
  padding-left: 4px;
  border: 0;
  color: var(--bago-muted);
  background: transparent;
  text-decoration: none;
}

.bookingNavAction:hover,
.bookingNavAction:active {
  color: var(--bago-blue);
  background: transparent;
  text-decoration: underline;
}

.bookingNavAction:focus-visible {
  color: var(--bago-blue);
  outline: 3px solid rgba(18, 100, 216, 0.25);
  outline-offset: 2px;
}

.bookingVehicleBack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  min-width: 220px;
  max-width: 320px;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid #d6dde6;
  border-radius: 11px;
  color: var(--bago-muted);
  background: #eef2f6;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.bookingVehicleBack:visited {
  color: var(--bago-muted);
}

.bookingVehicleBack:hover {
  border-color: #b8c3d2;
  color: var(--bago-muted);
  background: #e7ebf0;
}

.bookingVehicleBack:active {
  border-color: #aebccd;
  background: #dfe7ee;
}

.bookingVehicleBack:focus-visible {
  outline: 3px solid rgba(18, 100, 216, 0.25);
  outline-offset: 2px;
}

.bookingVehicleBackSlot {
  display: flex;
  justify-content: flex-start;
  max-width: 820px;
  margin: 14px auto 0;
  padding-inline: 8px;
  box-sizing: border-box;
}

#bookingStep2 > .bookingVehicleBackSlot {
  max-width: none;
  justify-content: flex-start;
  margin: 18px 0 0;
  padding-inline: 8px;
}

#bookingStep2 .secondaryAction {
  margin-bottom: 12px;
}

#bookingStep2 .stepIntro {
  margin-bottom: 12px;
}

#bookingStep2 > .stepIntro,
#bookingStep2 > .availabilityNote,
#bookingStep2 > .fleetDiscovery,
#bookingStep2 > .fleetEmptyState,
#bookingStep2 > .vehicleGrid,
#bookingStep2 > .unavailableVehicles {
  max-width: 1120px;
}

.searchSummary {
  margin-bottom: 6px;
  color: var(--bago-secondary);
  font-weight: 500;
}

.availabilityNote {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #d7e3ef;
  border-radius: 12px;
  color: var(--bago-secondary);
  background: #f6f9fc;
  font-size: 13px;
  line-height: 1.45;
}

.fleetDiscovery {
  display: grid;
  gap: 10px; margin-bottom: 12px; min-width: 0; position: relative;
}

.fleetFilterRow {
  display: flex;
  gap: 8px; max-width: 100%; padding-bottom: 2px;
  overflow-x: auto; scrollbar-width: thin;
}

.fleetFilter,
.fleetReset {
  min-height: 42px; flex: 0 0 auto; padding: 7px 11px;
  border: 1px solid #c8d5e3;
  border-radius: 999px;
  background: var(--bago-white); color: var(--bago-ink);
  font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap;
}

.fleetFilter[aria-pressed="true"] {
  border-color: var(--bago-blue); background: var(--bago-blue); color: #fff;
}

.fleetFilter:focus-visible,
.fleetReset:focus-visible,
.fleetSortRow select:focus-visible {
  outline: 3px solid rgba(18, 100, 216, 0.25);
  outline-offset: 2px;
}

.fleetSortRow {
  display: flex; align-items: center; gap: 8px; min-width: 0;
}

.fleetSortRow label {
  color: var(--bago-meta); font-size: 13px; font-weight: 500;
}

.fleetSortRow select {
  min-width: 0; min-height: 42px; max-width: 220px;
  padding: 7px 30px 7px 10px;
  border: 1px solid #c8d5e3;
  border-radius: 10px;
  background-color: var(--bago-white); color: var(--bago-ink);
  font: inherit; font-size: 13px;
}

.fleetReset {
  padding: 7px 10px; border-color: transparent;
  background: transparent; color: var(--bago-blue-dark);
}

.fleetEmptyState {
  margin-bottom: 12px; padding: 16px;
  border: 1px dashed #bad1ef;
  border-radius: 12px;
  background: var(--bago-blue-soft); text-align: center;
}

.fleetEmptyState p {
  margin: 0 0 8px;
  font-weight: 800;
}

@media (min-width: 640px) {
  .fleetDiscovery {
    grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  }
}

.unavailableVehicles {
  margin-top: 2rem;
}

.unavailableVehicles > h3 {
  margin-bottom: 0.35rem;
}

.unavailableVehicles > p {
  color: #5d6b7d;
  margin-top: 0;
}

.unavailableVehicleCard {
  display: flex;
  gap: 1rem;
  opacity: 0.82;
  padding: 1rem;
}

.structuredAddressField {
  display: grid;
  gap: 10px;
}

.structuredAddressField > strong {
  color: var(--bago-muted);
  font-size: 12px;
}

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

.addressSuggestions {
  position: relative;
  z-index: 4;
  margin-top: -0.35rem;
  border: 1px solid #dbe5ef;
  border-radius: 0.7rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(34, 67, 98, 0.1);
  overflow: hidden;
}

.addressSuggestion,
.addressSuggestionMessage {
  display: block;
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 0;
  background: transparent;
  color: #29435d;
  text-align: left;
  font: inherit;
}

.addressSuggestion:hover,
.addressSuggestion:focus { background: #eef6fc; }
.addressSuggestionMessage { color: #6c7f91; font-size: 0.85rem; }

.structuredAddressGrid label {
  display: grid;
  gap: 5px;
  color: var(--bago-muted);
  font-size: 12px;
}

.structuredAddressGrid input {
  width: 100%;
}

.structuredAddressGrid select { width: 100%; }
.addressContext { color: var(--bago-muted); font-size: 12px; padding: 0.65rem 0; }

@media (max-width: 640px) {
  .structuredAddressGrid {
    grid-template-columns: 1fr;
  }
}

.unavailableVehicleCard img {
  border-radius: 0.75rem;
  height: 5rem;
  object-fit: cover;
  width: 7rem;
}

.unavailableVehicleCopy h4,
.unavailableVehicleCopy p {
  margin: 0;
}

.unavailableVehicleCopy p {
  color: #5d6b7d;
  margin-top: 0.4rem;
}

.suggestedDatesAction {
  margin-top: 0.75rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid #bad1ef;
  border-radius: 0.65rem;
  color: var(--bago-blue-dark);
  background: var(--bago-blue-soft);
  font-size: 12px;
  font-weight: 800;
}

.suggestedDatesAction:hover {
  background: #dceaff;
}

.vehicleGrid {
  display: grid;
  gap: 16px;
}

.vehicleCard {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--bago-line);
  border-radius: 16px;
  background: var(--bago-white);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.compactVehicleCard {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: start;
  gap: 10px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.compactVehicleCard:hover {
  border-color: #b9c9da;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
}

.compactVehicleCard:focus-within {
  outline: 3px solid rgba(18, 100, 216, 0.25);
  outline-offset: 2px;
}

.vehicleCard.preferred {
  border-color: var(--bago-blue);
  box-shadow: 0 0 0 2px rgba(18, 100, 216, 0.1);
}

.vehicleCard.selected {
  border-color: var(--bago-green);
  box-shadow: 0 0 0 2px rgba(32, 177, 90, 0.12);
}

.compactTop {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 10px;
}

.compactImageWrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #f7f9fc;
}

.compactImageWrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compactImageWrap.isPlaceholder {
  color: #9aabc0;
  background: linear-gradient(145deg, #f8fafc, #eaf1f8);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.compactIdentity {
  min-width: 0;
}

.badgeRow {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
}

.preferredBadge {
  color: var(--bago-blue-dark);
  background: var(--bago-blue-soft);
}

.categoryBadge {
  color: var(--bago-blue-dark);
  background: var(--bago-blue-soft);
}

.manualReviewBadge {
  color: #755000;
  background: #fff0c2;
}

.vehicleCategory {
  margin-bottom: 4px;
  color: var(--bago-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compactVehicleCard h3 {
  min-height: 2.35em;
  margin-bottom: 8px;
  font-size: 19px;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.specBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.specBadge {
  color: #475569;
  background: #eef2f6;
}

.compactSpecs .specBadge {
  min-height: 28px;
  padding: 5px 9px;
  font-size: 12px;
}

.compactPricing {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.compactBottom {
  min-width: 0;
  display: grid;
  align-self: end;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #edf1f5;
}

.compactPrimaryPrice {
  color: var(--bago-blue);
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.compactSecondaryPrice,
.compactRateNote {
  color: var(--bago-muted);
  font-size: 12px;
  line-height: 1.3;
}

.compactRateNote {
  font-weight: 600;
}

.longTermRateNote {
  width: fit-content;
  margin: 1px 0;
  padding: 3px 6px;
  border-radius: 999px;
  color: var(--bago-green-dark);
  background: var(--bago-green-soft);
  font-size: 10px;
  font-weight: 700;
}

.compactVehicleCard .chooseVehicle {
  min-height: 44px;
  border-radius: 11px;
  font-size: 14px;
}

.compactActions {
  display: grid;
  gap: 2px;
}

.vehicleDetailsAction {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  color: var(--bago-blue-dark);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.vehicleDetailsAction:hover {
  background: var(--bago-blue-soft);
}

.detailBackdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(15, 23, 42, 0.54);
}

.detailBackdrop[hidden] {
  display: none !important;
  pointer-events: none;
  visibility: hidden;
}

.vehicleDetail {
  position: relative;
  width: min(100%, 720px);
  max-height: 96vh;
  max-height: 96dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 22px 22px 0 0;
  background: var(--bago-white);
  box-shadow: 0 -20px 60px rgba(15, 23, 42, 0.2);
}

.detailHandle {
  width: 42px;
  height: 4px;
  margin: 9px auto 2px;
  border-radius: 999px;
  background: #cbd5e1;
}

.detailClose {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--bago-line);
  border-radius: 50%;
  color: var(--bago-ink);
  background: rgba(255, 255, 255, 0.94);
  font-size: 25px;
  line-height: 1;
}

.detailGallery {
  padding: 4px 12px 0;
}

.detailImageWrap {
  position: relative;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: #fbfcfe;
  touch-action: pan-y;
}

.detailImageWrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detailGalleryNav {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid var(--bago-line);
  border-radius: 50%;
  color: var(--bago-blue);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.12);
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
}

.detailGalleryPrev {
  left: 8px;
}

.detailGalleryNext {
  right: 8px;
}

.detailGalleryMeta {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 7px;
  color: var(--bago-muted);
  font-size: 11px;
  font-weight: 500;
}

.detailGalleryIndicators {
  display: flex;
  align-items: center;
  gap: 0;
}

.detailGalleryIndicator {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
}

.detailGalleryIndicator::before {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  content: "";
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.detailGalleryIndicator[aria-pressed="true"]::before {
  background: var(--bago-blue);
  transform: translate(-50%, -50%) scale(1.25);
}

.detailGalleryIndicator:focus-visible {
  outline: 3px solid rgba(18, 100, 216, 0.25);
  outline-offset: -4px;
}

.detailContent {
  padding: 10px 17px 17px;
}

.detailContent .vehicleCategory {
  width: fit-content;
  margin-bottom: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--bago-blue-dark);
  background: var(--bago-blue-soft);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.detailContent h2 {
  margin-bottom: 8px;
  font-size: 27px;
}

.detailDescription {
  margin-bottom: 13px;
  color: var(--bago-muted);
  font-size: 13px;
}

.detailSummary {
  margin: 17px 0;
  border-top: 1px solid var(--bago-line);
}

.detailSummary > div {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--bago-line);
}

.detailSummary dt {
  color: var(--bago-muted);
  font-size: 12px;
}

.detailSummary dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.detailSummary dd span {
  display: block;
}

.detailLongTerm {
  width: fit-content;
  margin: 4px 0 0 auto;
  padding: 3px 6px;
  border-radius: 999px;
  color: var(--bago-green-dark);
  background: var(--bago-green-soft);
  font-size: 10px;
}

.bookingOptionSection,
.bookingPriceSummary {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--bago-line);
  border-radius: 12px;
  background: #f8fafc;
}

.bookingOptionSection > summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.bookingOptionSection > summary::-webkit-details-marker {
  display: none;
}

.bookingOptionSection > summary::after {
  display: none;
}

.optionSummaryCopy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.optionSummaryCopy strong {
  color: var(--bago-blue-dark);
  font-size: 15px;
}

.optionSummaryCopy small {
  color: var(--bago-muted);
  font-size: 11px;
  font-weight: 600;
}

.optionSummaryAction {
  color: var(--bago-blue);
  font-size: 12px;
  font-weight: 700;
}

.extrasOptionSection[open] > summary {
  margin-bottom: 11px;
}

.bookingOptionSection > h3,
.bookingPriceSummary > h3 {
  margin: 0 0 11px;
  color: var(--bago-blue-dark);
  font-size: 15px;
}

.futurePlaceholder {
  margin-bottom: 0;
  color: var(--bago-muted);
  font-size: 11px;
}

.detailLocationFields {
  display: grid;
  gap: 10px;
}

.detailLocationFields .customAddressField,
.detailLocationFields .returnLocationBlock,
.detailLocationFields .differentReturnControl {
  margin-top: 0;
}

.detailLocationFields .returnLocationBlock {
  display: grid;
  gap: 10px;
}

.locationPricingNote {
  margin: 0;
  color: var(--bago-muted);
  font-size: 11px;
  line-height: 1.35;
}

.extrasList {
  display: grid;
  gap: 8px;
}

.extraItem {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  padding: 11px;
  border: 1px solid #d8e2ec;
  border-radius: 11px;
  background: var(--bago-white);
}

.extraItem.selected {
  border-color: #9edbb6;
  background: var(--bago-green-soft);
}

.extraContent {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.extraContent strong {
  font-size: 13px;
}

.extraContent span,
.extraPrice {
  color: var(--bago-muted);
  font-size: 11px;
}

.extraPrice {
  grid-column: 1;
  font-weight: 700;
}

.extraToggle {
  min-width: 76px;
  min-height: 38px;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  border: 1px solid var(--bago-blue);
  border-radius: 10px;
  color: var(--bago-blue);
  background: var(--bago-white);
  font-size: 12px;
  font-weight: 700;
}

.extraToggle[aria-pressed="true"] {
  border-color: var(--bago-green-dark);
  color: var(--bago-green-dark);
}

.bookingPriceSummary dl {
  margin: 0;
}

.bookingPriceSummary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-top: 1px solid #e1e8ef;
}

.bookingPriceSummary dt {
  color: var(--bago-muted);
  font-size: 12px;
}

.bookingPriceSummary dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.bookingPriceSummary .detailTotal dd {
  color: var(--bago-blue);
  font-size: 18px;
}

.bookingPriceSummary .detailDeposit {
  margin-top: 5px;
  padding-right: 10px;
  padding-left: 10px;
  border: 1px solid #d9e2ec;
  border-radius: 11px;
  background: var(--bago-white);
}

.detailActions {
  position: sticky;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px -9px calc(env(safe-area-inset-bottom, 0px) - 3px);
  padding: 10px;
  border: 1px solid var(--bago-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.detailActions .secondaryAction,
.detailVehicleLink {
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bago-line);
  border-radius: 12px;
  color: var(--bago-blue);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.detailContinue {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--bago-green);
  border-radius: 13px;
  color: var(--bago-white);
  background: var(--bago-green);
  font-weight: 900;
}

body.detailOpen {
  overflow: hidden;
}

.selectionNotice {
  position: sticky;
  bottom: 12px;
  z-index: 5;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #a9dfbd;
  border-radius: 13px;
  color: #126436;
  background: var(--bago-green-soft);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  font-size: 13px;
  font-weight: 800;
}

.customerPanel,
.confirmationPanel {
  max-width: 720px;
}

.customerGrid {
  display: grid;
  gap: 14px;
}

.optionalLabel {
  color: var(--bago-muted);
  font-weight: 500;
}

.customerField.hasError input,
.customerField.hasError select {
  border-color: var(--bago-danger);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.08);
}

.customerField.hasError .phoneInputGroup {
  border-color: var(--bago-danger);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.08);
}

.customerField.hasError .phoneInputGroup:focus-within {
  outline-color: rgba(180, 35, 24, 0.22);
}

.customerField.hasError .phoneInputGroup input,
.customerField.hasError .phoneInputGroup select {
  border-color: transparent;
  box-shadow: none;
}

.fieldError {
  margin: 7px 0 0;
  color: var(--bago-danger);
  font-size: 12px;
  font-weight: 750;
}

.fieldError:empty {
  display: none;
}

.customerPrivacy {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--bago-muted);
  background: var(--bago-light);
  font-size: 12px;
  line-height: 1.45;
}

.customerContinue {
  margin-top: 14px;
}

#bookingStep3 .bookingBottomActions {
  justify-content: flex-end;
  margin-top: 10px;
  padding-inline: 0;
}

#bookingStep3 .customerContinue {
  flex: 0 1 220px;
  min-width: 180px;
  min-height: 46px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 750;
}

body > footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--bago-line);
  color: var(--bago-meta);
  background: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

body > footer .foot {
  min-height: 56px;
  padding-top: 10px;
  padding-bottom: 10px;
}

body > footer strong { color: var(--bago-secondary); font-weight: 600; }
body > footer .legalFooter { gap: 6px 14px; }
body > footer .legalFooter a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
body > footer .legalFooter a:hover,
body > footer .legalFooter a:focus-visible { text-decoration-color: currentColor; }

.summaryIntro,
.summaryGrid,
.summaryContinue {
  max-width: 820px;
}

.summaryGrid {
  display: grid;
  gap: 12px;
}

.summaryReviewCard {
  display: block;
  overflow: hidden;
  border: 1px solid var(--bago-line);
  border-radius: 15px;
  background: var(--bago-white);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.summaryCard {
  min-width: 0;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: var(--bago-white);
  box-shadow: none;
}

.summaryCard + .summaryCard {
  border-top: 1px solid #edf1f5;
}

.summaryExtrasCard.isEmpty {
  padding-top: 10px;
  padding-bottom: 10px;
}

.summaryExtrasCard.isEmpty .summaryCardHeader {
  min-height: 30px;
  margin-bottom: 0;
}

.summaryCard h3 {
  margin-bottom: 0;
  font-size: 17px;
}

.summaryCardHeader {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.summaryEdit {
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  color: var(--bago-blue);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.summaryEdit:hover {
  color: var(--bago-blue-dark);
  text-decoration: underline;
}

.summaryEdit:focus-visible {
  outline: 3px solid rgba(18, 100, 216, 0.25);
  outline-offset: 1px;
}

.summaryVehicle {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.summaryVehicle.withoutImage {
  grid-template-columns: minmax(0, 1fr);
}

.summaryVehicleImage {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bago-light);
}

.summaryVehicleImage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.summaryVehicleInfo {
  min-width: 0;
}

.summaryVehicleInfo > strong,
.summaryVehicleInfo > span {
  display: block;
}

.summaryVehicleInfo > strong {
  margin-bottom: 4px;
  font-size: 15px;
  line-height: 1.25;
}

.summaryVehicleInfo > span {
  margin-bottom: 7px;
  color: var(--bago-muted);
  font-size: 12px;
  font-weight: 600;
}

.summaryVehicleSpecs {
  margin-top: 0;
}

.summaryDetails,
.summaryPrice {
  margin: 0;
}

.summaryDetails > div,
.summaryPrice > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #edf1f5;
}

.summaryDetails > div:last-child,
.summaryPrice > div:last-child {
  border-bottom: 0;
}

.summaryDetails dt,
.summaryPrice dt {
  color: var(--bago-muted);
  font-size: 12px;
}

.summaryDetails dd,
.summaryPrice dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.summaryEmpty {
  margin-bottom: 0;
  color: var(--bago-muted);
  font-size: 13px;
}

.summaryExtraItem {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f5;
}

.summaryExtraItem:last-child {
  border-bottom: 0;
}

.summaryExtraItem div,
.summaryExtraItem div span {
  display: block;
}

.summaryExtraItem div span {
  margin-top: 3px;
  color: var(--bago-muted);
  font-size: 11px;
  line-height: 1.35;
}

.summaryPriceCard > h3 {
  margin-bottom: 12px;
}

.summaryLongTerm {
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid #a9dfbd;
  border-radius: 11px;
  color: #126436;
  background: var(--bago-green-soft);
}

.summaryLongTerm strong,
.summaryLongTerm span {
  display: block;
}

.summaryLongTerm strong {
  font-size: 12px;
}

.summaryLongTerm span {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 700;
}

.summaryPrice .summaryBookingTotal {
  margin-top: 4px;
  border-bottom: 0;
  color: var(--bago-green-dark);
  font-size: 17px;
}

.summaryPrice .summaryBookingTotal dt,
.summaryPrice .summaryBookingTotal dd {
  color: inherit;
  font-size: inherit;
  font-weight: 900;
}

.summaryPrice .summaryDeposit {
  margin-top: 4px;
  padding: 12px;
  border: 1px solid var(--bago-line);
  border-radius: 11px;
  background: var(--bago-light);
}

.summaryContinue {
  display: block;
  width: auto;
  min-width: 220px;
  margin: 12px 16px 0 auto;
}

.summaryRequestError {
  margin-right: 16px;
  margin-left: 16px;
}

@media (max-width: 639px) {
  #bookingStep4 .summaryCard {
    padding: 14px;
  }

  #bookingStep4 .summaryCardHeader {
    margin-bottom: 6px;
  }

  #bookingStep4 .summaryDetails > div,
  #bookingStep4 .summaryPrice > div {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  #bookingStep4 .summaryExtraItem {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  #bookingStep4 .summaryPrice .summaryDeposit {
    padding: 10px;
  }

  .summaryContinue {
    width: calc(100% - 32px);
    min-width: 0;
    margin-right: 16px;
    margin-left: 16px;
  }
}

.confirmationPanel p {
  max-width: 580px;
  color: var(--bago-muted);
  line-height: 1.55;
}

.confirmationPanel p:last-child {
  margin-bottom: 0;
}

#bookingConfirmation {
  max-width: 680px;
  padding: 28px clamp(20px, 4vw, 36px);
  text-align: center;
}

.confirmationSuccessMark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border: 1px solid #a9dfbd;
  border-radius: 50%;
  color: var(--bago-green-dark);
  background: var(--bago-green-soft);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

#bookingConfirmation .eyebrow {
  margin-bottom: 6px;
}

#bookingConfirmation h2 {
  margin-bottom: 12px;
}

#bookingConfirmation > p {
  margin-right: auto;
  margin-left: auto;
}

.confirmationDetails {
  display: grid;
  gap: 0;
  margin: 20px 0 16px;
  text-align: left;
}

.confirmationDetails div {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bago-line);
}

.confirmationDetails div:last-child {
  border-bottom: 0;
}

.confirmationDetails dt {
  color: var(--bago-muted);
  font-size: 13px;
}

.confirmationDetails dd {
  margin: 0;
  font-weight: 650;
}

.confirmationTotalRow {
  margin-top: 3px;
  padding-top: 13px !important;
  border-top: 1px solid var(--bago-line);
}

.confirmationTotalRow dt,
.confirmationTotalRow dd {
  color: var(--bago-green-dark);
  font-weight: 900;
}

.confirmationActions {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-top: 20px;
}

.confirmationActions .primaryAction,
.confirmationActions .secondaryAction {
  width: auto;
  flex: 1 1 0;
  min-height: 48px;
  margin: 0;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.confirmationActions .confirmationWhatsapp {
  text-decoration: none;
}

@media (max-width: 639px) {
  .confirmationActions {
    flex-direction: column;
  }

  .confirmationActions .primaryAction,
  .confirmationActions .secondaryAction {
    width: 100%;
  }
}

@media (min-width: 640px) {
  .progressStep {
    min-height: 72px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 11px;
  }

  .progressLabel {
    max-width: 110px;
  }

  .bookingHeaderInner,
  .bookingShell {
    padding-right: 24px;
    padding-left: 24px;
  }

  .bookingShell {
    padding-top: 38px;
  }

  .bookingPanel {
    padding: 22px;
  }

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

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

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

  .summaryReviewCard {
    display: block;
  }

  .summaryPriceCard {
    grid-column: auto;
  }

  .dateRangeBlock,
  .timeGrid,
  .field.locationField {
    grid-column: 1 / -1;
  }

  #bookingSearchForm .primaryAction,
  .customerContinue,
  .summaryContinue {
    width: auto;
    min-width: 190px;
  }

  #bookingSearchForm .primaryAction {
    grid-column: 1 / -1;
    justify-self: end;
    min-width: 220px;
  }

  .customerContinue,
  #bookingStep4 > .summaryContinue {
    display: block;
    margin-right: 0;
    margin-left: auto;
  }

  .detailBackdrop {
    align-items: center;
    padding: 24px;
  }

  .vehicleDetail {
    border-radius: 22px;
  }

  .detailImageWrap {
    height: 310px;
  }

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

@media (min-width: 980px) {
  .bookingShell {
    padding-top: 48px;
  }

  .bookingPanel {
    max-width: 760px;
  }

}

@media (min-width: 1180px) {
  #bookingStep2 .vehicleGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 520px) {
  .deliveryPricing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .detailLocationActions {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .detailLocationActions .secondaryAction {
    width: auto;
  }
}

.bookingBottomActions {
  grid-column: 1 / -1;
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-top: 14px;
  padding-inline: 8px;
  box-sizing: border-box;
}

.bookingBottomActions > .primaryAction {
  order: 2;
  width: auto;
  flex: 1 1 0;
  min-width: 220px;
  max-width: 320px;
  min-height: 48px;
  margin: 0;
  padding: 11px 18px;
  border-radius: 11px;
  font-size: 1rem;
  font-weight: 900;
}

.bookingBottomActions > .bookingVehicleBackSlot {
  order: 1;
  flex: 1 1 0;
  justify-content: flex-start;
  max-width: none;
  margin: 0;
}

.bookingBottomActions > .bookingVehicleBackSlot > .bookingVehicleBack {
  width: 100%;
  max-width: 320px;
  margin: 0;
}

@media (max-width: 639px) {
  .bookingBottomActions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-inline: 0;
  }

  .bookingBottomActions > .primaryAction {
    order: 1;
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  #bookingStep3 .customerContinue {
    flex-basis: auto;
    min-width: 0;
  }

  .bookingBottomActions > .bookingVehicleBackSlot {
    order: 2;
    width: 100%;
  }

  .bookingBottomActions > .bookingVehicleBackSlot > .bookingVehicleBack {
    width: 100%;
    max-width: none;
  }

  #bookingStep2 > .bookingVehicleBackSlot {
    padding-inline: 0;
  }
}

@media (max-width: 520px) {
  body > footer .foot {
    min-height: 64px;
    align-content: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  body > footer .legalFooter {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .fleetDiscovery::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 44px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bago-white));
    content: "";
    pointer-events: none;
  }

  .fleetFilterRow { padding-right: 28px; }
}

/* Stage 23 — lighter booking hierarchy */
.progress {
  --progress-value: 20%;
  margin-bottom: 22px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.progressStep {
  min-height: 54px;
  padding: 4px 6px;
  grid-template-rows: 28px auto;
  gap: 3px;
  color: var(--bago-muted);
  font-size: 11px;
  font-weight: 650;
}

.progressStep.active {
  color: var(--bago-blue);
  background: transparent;
}

.progressStep:not(:last-child)::after {
  top: 17px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 1px;
}

.progressIcon {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  color: var(--bago-muted);
  background: var(--bago-white);
}

.progressIcon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.progressStep.active .progressIcon {
  border-color: var(--bago-blue);
  color: var(--bago-white);
  background: var(--bago-blue);
}

.progressStep.available:not(.active) .progressIcon {
  border-color: var(--bago-blue);
  color: var(--bago-blue);
}

.progressStep.completed .progressIcon {
  border-color: #a9dfbd;
  color: var(--bago-green-dark);
  background: var(--bago-green-soft);
}

.progressLabel {
  max-width: none;
}

.bookingShell {
  padding-top: 28px;
}

.stepIntro h1,
.stepIntro h2 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.08;
}

.bookingShell > section > .bookingNavAction {
  min-height: 44px;
  margin-bottom: 4px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  color: var(--bago-blue);
  background: transparent;
  font-size: 14px;
  font-weight: 650;
}

.bookingShell > section > .bookingNavAction:hover {
  color: var(--bago-blue-dark);
  background: transparent;
  text-decoration: underline;
}

.availabilityNote {
  padding: 5px 10px;
  border: 0;
  border-left: 2px solid #b8cce5;
  border-radius: 0;
  background: transparent;
}

.fleetFilterRow {
  scrollbar-width: none;
}

.fleetFilterRow::-webkit-scrollbar {
  display: none;
}

.fleetFilter,
.fleetReset {
  min-height: 36px;
  padding: 6px 10px;
  border-color: var(--bago-line);
  font-size: 12px;
}

.fleetFilter[aria-pressed="true"] {
  border-color: #9bbce5;
  color: var(--bago-blue-dark);
  background: var(--bago-blue-soft);
}

.fleetSortRow select {
  min-height: 38px;
  font-size: 13px;
}

.customerPrivacy {
  padding: 0;
  background: transparent;
}

.summaryReviewCard {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.summaryCard {
  padding: 14px 0;
  background: transparent;
}

.summaryCard + .summaryCard {
  border-top-color: var(--bago-line);
}

.summaryCardHeader {
  min-height: 36px;
  margin-bottom: 6px;
}

.summaryPrice .summaryDeposit {
  padding: 10px 0 0;
  border: 0;
  border-radius: 0;
  color: var(--bago-muted);
  background: transparent;
}

#bookingStep4 .bookingBottomActions {
  padding-inline: 0;
}

#bookingStep4 .bookingBottomActions > .primaryAction {
  width: 100%;
  max-width: none;
}

#bookingConfirmation {
  max-width: 680px;
  padding: 24px;
  box-shadow: none;
}

#bookingConfirmation h2 {
  font-size: clamp(30px, 5vw, 42px);
}

.confirmationSuccessMark {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  font-size: 17px;
}

.confirmationDetails {
  margin-top: 16px;
  margin-bottom: 12px;
}

.confirmationActions .newReservation {
  border-color: transparent;
  color: var(--bago-blue);
  background: transparent;
}

.detailActions .secondaryAction,
.detailVehicleLink {
  border-color: transparent;
  background: transparent;
}

@media (min-width: 768px) {
  .fleetDiscovery {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .fleetFilterRow {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

/* Stage 26C.4: keep vehicle configuration distinct from the final review. */
.detailVehicleSummary {
  margin-bottom: 12px;
}

.detailVehicleSummary dd {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.detailVehicleSummary dd small {
  color: var(--bago-muted);
  font-size: 11px;
  font-weight: 500;
}

.detailExtrasAmount {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--bago-line);
  color: var(--bago-muted);
  font-size: 12px;
}

.detailExtrasAmount strong {
  color: var(--bago-blue-dark);
  white-space: nowrap;
}

#bookingStep4 .summaryVehicleDetails {
  margin-top: 8px;
}

#bookingStep4 .summaryTripCard .summaryDetails {
  display: block;
}

#bookingStep4 .summaryExtraItem {
  min-width: 0;
}

#bookingStep4 .summaryExtraItem strong {
  overflow-wrap: anywhere;
}

#bookingStep4 .summaryExtraReviewPrice {
  flex: none;
  color: var(--bago-blue-dark);
  white-space: nowrap;
}

#bookingStep4 .bookingImportantConditions {
  padding: 14px 0;
  border-top: 1px solid var(--bago-line);
}

@media (max-width: 520px) {
  #bookingStep4 .summaryExtraItem {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  #bookingStep4 .summaryDetails dd {
    max-width: min(62vw, 22rem);
  }
}

/* Stage 26C.3: share lightweight delivery and optional-request controls. */
.detailFlatSection,
.bookingPriceSummary {
  margin-top: 12px;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--bago-line);
  border-radius: 0;
  background: transparent;
}

.detailFlatSection > h3,
.detailSectionHeading h3,
.bookingPriceSummary > h3 {
  color: var(--bago-blue-dark);
  font-size: 15px;
}

.detailSectionHeading {
  min-height: 36px;
  margin-bottom: 4px;
}

.detailChangeLocation {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 0 8px 12px;
  border: 0;
  color: var(--bago-blue);
  background: transparent;
  font-weight: 600;
}

.detailDeliveryDetails {
  margin: 0;
}

.detailDeliveryDetails > div {
  grid-template-columns: minmax(0, 1fr) minmax(112px, auto);
  align-items: baseline;
}

.detailDeliveryDetails dd {
  max-width: 34rem;
}

.extrasList.bookingExtrasOptions {
  gap: 0;
}

.bookingPriceSummary .detailDeposit {
  padding-right: 0;
  padding-left: 0;
  border: 0;
  border-radius: 0;
  color: var(--bago-muted);
  background: transparent;
}

.detailDeliveryDetails > div,
#bookingStep4 .summaryDeliveryDetails > div {
  padding-top: 6px;
  padding-bottom: 6px;
}

#bookingStep4 .summaryExtrasCard > h3,
.extrasOptionSection > h3 {
  margin-bottom: 6px;
}

.bookingExtrasOptions {
  border-top: 1px solid var(--bago-line);
}

.bookingExtrasOptions .summaryExtraOption {
  min-height: 52px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--bago-line);
  cursor: pointer;
}

.bookingExtrasOptions .summaryExtraOption:last-child {
  border-bottom: 0;
}

.bookingExtrasOptions .summaryExtraOption:hover,
.bookingExtrasOptions .summaryExtraOption:focus-within {
  color: var(--bago-blue-dark);
}

.bookingExtrasOptions .summaryExtraOption input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--bago-blue);
}

.bookingExtrasOptions .summaryExtraOption input:focus-visible {
  outline: 3px solid rgba(18, 100, 216, 0.25);
  outline-offset: 2px;
}

.bookingExtrasOptions .summaryExtraContent,
.bookingExtrasOptions .summaryExtraContent strong,
.bookingExtrasOptions .summaryExtraContent small {
  display: block;
}

.bookingExtrasOptions .summaryExtraContent {
  min-width: 0;
}

.bookingExtrasOptions .summaryExtraContent strong {
  font-size: 13px;
}

.bookingExtrasOptions .summaryExtraContent small {
  margin-top: 2px;
  color: var(--bago-muted);
  font-size: 11px;
  line-height: 1.4;
}

.bookingExtrasOptions .summaryExtraPrice {
  color: var(--bago-muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .bookingExtrasOptions .summaryExtraOption {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .bookingExtrasOptions .summaryExtraPrice {
    grid-column: 2;
    margin-top: -4px;
  }
}

@media (max-width: 639px) {
  .bookingShell {
    padding-top: 18px;
  }

  .progress {
    position: relative;
    display: block;
    min-height: 46px;
    margin-bottom: 16px;
  }

  .progress::before,
  .progress::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 2px;
    content: "";
  }

  .progress::before {
    background: var(--bago-line);
  }

  .progress::after {
    width: var(--progress-value);
    right: auto;
    background: var(--bago-blue);
  }

  .progressStep {
    display: none;
  }

  .progressStep.active {
    width: 100%;
    min-height: 40px;
    padding: 0 2px 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    color: var(--bago-ink);
    font-size: 14px;
    font-weight: 750;
    text-align: left;
  }

  .progressStep.active::before {
    color: var(--bago-blue);
    content: attr(data-step) "/5 ·";
  }

  .progressStep.active::after,
  .progressIcon {
    display: none;
  }

  .fleetDiscovery::after {
    display: none;
  }

  .fleetFilterRow {
    padding-right: 0;
  }

  .summaryVehicle {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .summaryVehicleImage {
    height: 66px;
  }

  #bookingConfirmation {
    padding: 20px 16px;
  }
}

/* Stage 23.1: keep the final review compact and section-led instead of card-led. */
#bookingStep4 .summaryGrid {
  gap: 0;
}

#bookingStep4 .summaryCard {
  padding: 12px 0;
}

#bookingStep4 .summaryCardHeader {
  min-height: 36px;
  margin-bottom: 4px;
}

#bookingStep4 .summaryEdit {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 0 8px 12px;
  font-weight: 600;
}

#bookingStep4 .summaryDetails > div,
#bookingStep4 .summaryPrice > div,
#bookingStep4 .summaryExtraItem {
  padding-top: 6px;
  padding-bottom: 6px;
}

#bookingStep4 .summaryDetails > div,
#bookingStep4 .summaryPrice > div {
  grid-template-columns: minmax(0, 1fr) minmax(112px, auto);
  align-items: baseline;
}

#bookingStep4 .summaryLocationRow dd {
  max-width: 34rem;
}

#bookingStep4 .summaryExtrasCard.isEmpty {
  padding-top: 8px;
  padding-bottom: 8px;
}

#bookingStep4 .summaryExtrasCard.isEmpty .summaryCardHeader {
  min-height: 32px;
}

#bookingStep4 .summaryExtrasCard.isEmpty .summaryEmpty {
  margin-top: -2px;
}

#bookingStep4 .summaryPriceCard > h3 {
  margin-bottom: 6px;
}

#bookingStep4 .summaryPrice dd {
  white-space: nowrap;
}

#bookingStep4 .summaryPrice .summaryBookingTotal {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--bago-line);
}

#bookingStep4 .summaryPrice .summaryDeposit {
  margin-top: 2px;
  padding-top: 8px;
  color: var(--bago-muted);
}

#bookingStep4 .summaryPrice .summaryDeposit dt,
#bookingStep4 .summaryPrice .summaryDeposit dd {
  font-size: 12px;
  font-weight: 500;
}

#bookingStep4 .bookingBottomActions {
  margin-top: 8px;
}

@media (min-width: 768px) {
  #bookingStep4 .summaryTripCard .summaryDetails,
  #bookingStep4 .summaryCustomerCard .summaryDetails {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  #bookingStep4 .summaryTripCard .summaryDurationRow,
  #bookingStep4 .summaryTripCard .summaryLocationRow {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  #bookingStep4 .summaryTripCard .summaryDetails {
    display: block;
  }
}

/* Stage 26C.5: keep each final-review fact in one clear location. */
#bookingStep4 .summaryMileageValue,
#bookingStep4 .summaryDepositValue {
  display: grid;
  justify-items: end;
  gap: 2px;
}

#bookingStep4 .summaryMileageValue small,
#bookingStep4 .summaryDepositValue small {
  color: var(--bago-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

#bookingStep4 .summaryInsuranceRow dd {
  color: var(--bago-secondary);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

#bookingStep4 .summaryPrice .summaryDeposit {
  margin-top: 2px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
}

#bookingStep4 .summaryPrice .summaryDeposit dt {
  font-size: 12px;
  font-weight: 600;
}

#bookingStep4 .summaryPrice .summaryDeposit dd {
  font-size: 13px;
  font-weight: 700;
}

#bookingStep4 .summaryPrice .summaryBookingTotal {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--bago-line);
}

#bookingStep4 .summaryAcceptanceSlot {
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--bago-line);
  border-radius: 12px;
  background: var(--bago-light);
}

#bookingStep4 .termsAcceptanceLabel {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  color: var(--bago-secondary);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}

#bookingStep4 .termsAcceptanceLabel input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 1px 0 0;
  accent-color: var(--bago-blue);
}

#bookingStep4 .termsAcceptanceLabel input:focus-visible {
  outline: 3px solid rgba(20, 115, 230, 0.24);
  outline-offset: 3px;
}

#bookingStep4 .termsAcceptanceLabel a {
  color: var(--bago-blue);
  font-weight: 650;
}

#bookingStep4 .termsAcceptanceError {
  margin-left: 30px;
}

@media (max-width: 520px) {
  #bookingStep4 .summaryInsuranceRow dd {
    max-width: min(62vw, 22rem);
  }
}
