/* Shared editable review modal for the English and Spanish booking pages. */
.booking-editor-modal {
  max-width: 760px;
  max-height: min(92vh, 900px);
  overscroll-behavior: contain;
}
body.booking-modal-open {
  overflow: hidden;
}
.booking-editor-modal .modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
}
.booking-editor-form {
  display: grid;
  gap: 16px;
}
.booking-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.booking-editor-grid .booking-editor-full {
  grid-column: 1 / -1;
}
.booking-editor-modal .booking-editor-field[hidden] { display:none!important; }
.booking-editor-modal .booking-editor-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}
.booking-editor-modal .booking-editor-field > label,
.booking-editor-modal .booking-editor-section > h4 {
  color: var(--pk);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.booking-editor-modal .booking-editor-field input,
.booking-editor-modal .booking-editor-field select,
.booking-editor-modal .booking-editor-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1.5px solid var(--border-c);
  border-radius: 8px;
  background: var(--bg2);
  color: var(--text-c);
  padding: 10px 12px;
  font: inherit;
  outline: none;
}
.booking-editor-modal .booking-editor-field textarea {
  min-height: 74px;
  resize: vertical;
}
.booking-editor-modal .booking-editor-field input:focus,
.booking-editor-modal .booking-editor-field select:focus,
.booking-editor-modal .booking-editor-field textarea:focus {
  border-color: var(--pk);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.booking-editor-modal .booking-editor-section {
  margin: 0;
  padding: 0;
}
.booking-editor-modal .booking-editor-section > h4 {
  margin: 0 0 10px;
}
.booking-editor-time {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 8px;
}
.booking-editor-stops {
  display: grid;
  gap: 8px;
}
.booking-editor-stop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.booking-editor-stop-remove {
  width: 38px;
  border: 1.5px solid rgba(201,168,76,.45);
  border-radius: 8px;
  background: transparent;
  color: var(--pk-mid);
  cursor: pointer;
  font-size: 1.1rem;
}
.booking-editor-stop-remove:hover,
.booking-editor-stop-remove:focus-visible {
  background: var(--pk-dim);
}
.booking-editor-add-stop {
  justify-self: start;
  border: 1.5px dashed rgba(201,168,76,.55);
  border-radius: 8px;
  background: transparent;
  color: var(--pk-mid);
  cursor: pointer;
  padding: 7px 11px;
  font: 600 .78rem Inter, sans-serif;
}
.booking-editor-add-stop:hover,
.booking-editor-add-stop:focus-visible {
  background: var(--pk-dim);
}
.booking-editor-help {
  margin: 0;
  color: var(--gray-c);
  font-size: .73rem;
  line-height: 1.45;
}
.booking-editor-modal .modal-cta {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: #fff;
  border-top: 1px solid var(--border-c);
}
.booking-editor-modal .modal-cta button:focus-visible,
.booking-editor-modal button:focus-visible {
  outline: 3px solid #2d0045;
  outline-offset: 2px;
}
.booking-editor-modal .modal-editor-estimate {
  margin: 0;
}
.booking-editor-modal .modal-submit-error {
  margin-bottom: 0;
}
.vehicle-reveal .veh-details-toggle {
  display: block;
  width: fit-content;
  min-width: 172px;
  margin: 18px auto 0;
  border-radius: 999px;
  text-align: center;
}
.vehicle-reveal.is-collapsed .veh-nav,
.vehicle-reveal.is-expanded .veh-nav {
  display: flex;
}
@media (max-width: 640px) {
  .modal-bg {
    align-items: flex-start;
    padding: 10px;
  }
  .booking-editor-modal {
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }
  .booking-editor-modal .modal-head,
  .booking-editor-modal .modal-body,
  .booking-editor-modal .modal-cta {
    padding-left: 16px;
    padding-right: 16px;
  }
  .booking-editor-grid {
    grid-template-columns: 1fr;
  }
  .booking-editor-grid .booking-editor-full {
    grid-column: auto;
  }
  .vehicle-reveal.is-expanded .veh-nav,
  .vehicle-reveal.is-collapsed .veh-nav {
    display: flex !important;
  }
}

/*
 * Canonical vehicle presentation layer. The page scripts only toggle
 * is-collapsed/is-expanded and mark the selected slide; this stylesheet owns
 * the variable-width geometry for both booking locales.
 */
.vehicle-reveal .veh-carousel {
  padding: 0 72px;
}
.vehicle-reveal .veh-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--pk) #eee7dc;
  scrollbar-width: auto;
  padding-bottom: 14px;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.vehicle-reveal .veh-track {
  flex-wrap: nowrap;
  gap: 20px;
  transform: none;
}
.vehicle-reveal:not(.is-collapsed):not(.is-expanded) .veh-slide,
.vehicle-reveal.is-expanded .veh-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}
.vehicle-reveal.is-collapsed .veh-slide {
  min-width: 0;
}
.vehicle-reveal.is-collapsed .veh-track {
  gap: 20px;
}
.vehicle-reveal.is-collapsed .veh-slide.is-selected {
  flex: 0 0 calc((100% - 40px) / 3);
}
.vehicle-reveal.is-collapsed .veh-slide.is-thumbnail {
  flex: 0 0 calc((100% - 40px) / 12);
}
.vehicle-reveal.is-collapsed .veh-slide.is-selected .veh-card.compact {
  display: block;
  min-height: 0;
  border-color: var(--pk);
  box-shadow: 0 8px 28px rgba(45,0,69,.12);
}
.vehicle-reveal.is-collapsed .veh-slide.is-selected .veh-card.compact .veh-img {
  width: 100%;
  height: 168px;
}
.vehicle-reveal.is-collapsed .veh-slide.is-selected .veh-card.compact .veh-body {
  display: block;
  padding: 8px 12px 10px;
}
.vehicle-reveal.is-collapsed .veh-slide.is-selected .veh-card.compact .veh-name,
.vehicle-reveal.is-collapsed .veh-slide.is-selected .veh-card.compact .veh-desc,
.vehicle-reveal.is-collapsed .veh-slide.is-selected .veh-card.compact .veh-caps,
.vehicle-reveal.is-collapsed .veh-slide.is-selected .veh-card.compact .veh-features,
.vehicle-reveal.is-collapsed .veh-slide.is-selected .veh-card.compact [data-vehicle-note] {
  display: none;
}
.vehicle-reveal.is-collapsed .veh-slide.is-selected .veh-card.compact .veh-price-row {
  display: flex;
}
.vehicle-reveal.is-collapsed .veh-slide.is-thumbnail .veh-card.compact {
  display: block;
  min-height: 0;
}
.vehicle-reveal.is-collapsed .veh-slide.is-thumbnail .veh-card.compact .veh-img {
  width: 100%;
  height: 42px;
}
.vehicle-reveal.is-collapsed .veh-slide.is-thumbnail .veh-card.compact .veh-body {
  display: none;
}
.vehicle-reveal.is-collapsed .veh-slide.is-thumbnail .veh-card.compact .selected-badge {
  display: none;
}
.vehicle-reveal.is-collapsed .veh-slide.is-selected .veh-card.compact .selected-badge {
  display: block;
  font-size: .46rem;
  top: 4px;
  right: 4px;
  padding: 2px 4px;
}
.vehicle-reveal.is-expanded .veh-slide .veh-card:hover {
  transform: none;
}
.vehicle-reveal .veh-nav.prev {
  left: 0;
}
.vehicle-reveal .veh-nav.next {
  right: 0;
}
.vehicle-reveal:not(.is-collapsed):not(.is-expanded) .veh-nav {
  display: flex;
}

@media (max-width: 767px) {
  .vehicle-reveal .veh-carousel {
    padding: 0;
  }
  .vehicle-reveal.is-collapsed .veh-carousel {
    padding: 0;
  }
  .vehicle-reveal .veh-viewport {
    touch-action: pan-x pan-y;
  }
  .vehicle-reveal .veh-track {
    gap: 12px;
  }
  .vehicle-reveal:not(.is-collapsed):not(.is-expanded) .veh-slide,
  .vehicle-reveal.is-expanded .veh-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
  }
  .vehicle-reveal.is-collapsed .veh-slide.is-selected {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
  }
  .vehicle-reveal.is-collapsed .veh-slide.is-thumbnail {
    flex: 0 0 25%;
    width: 25%;
    scroll-snap-align: start;
  }
  .vehicle-reveal.is-collapsed .veh-slide.is-selected .veh-card.compact .veh-img {
    height: 168px;
  }
  .vehicle-reveal.is-collapsed .veh-slide.is-thumbnail .veh-card.compact .veh-img {
    height: 42px;
  }
  .vehicle-reveal .veh-nav.prev {
    left: 8px;
  }
  .vehicle-reveal .veh-nav.next {
    right: 8px;
  }
}