/* DEC Booking 3.2.10 — DESKTOP ONLY dropdown placement.
 * The approved mobile/tablet (<=900 CSS px) autocomplete and picker styling
 * is deliberately untouched. Applied AFTER all existing booking styles.
 */
@media screen and (min-width: 901px) {
  /* Popup stacks must escape the raised tabs when the popup opens upwards. */
  .at24-booking.dec-reference-booking .dec-reference-shell > .dec-main-surface:focus-within,
  .at24-booking.dec-reference-booking .dec-reference-shell > .dec-main-surface:has(.dec-desktop-above:not([hidden])) {
    z-index: 3 !important;
    overflow: visible !important;
  }
  .at24-booking.dec-reference-booking .at24-searchbar.dec-search-line > .dec-field-block:focus-within,
  .at24-booking.dec-reference-booking .at24-searchbar.dec-search-line > .dec-field-block:has(.dec-desktop-above:not([hidden])) {
    z-index: 50 !important;
  }
  /* Pickup and Destination suggestions — stay attached to their input. */
  .at24-booking.dec-reference-booking .at24-location-combo > .at24-suggestions {
    max-height: min(280px, var(--dec-desktop-space, 280px)) !important;
    overscroll-behavior: contain;
  }
  .at24-booking.dec-reference-booking .at24-location-combo > .at24-suggestions.dec-desktop-above {
    top: auto !important;
    bottom: calc(100% + 7px) !important;
  }
  /* Date/time and passenger/luggage presentation popovers. */
  .at24-booking.dec-reference-booking .dec-field-block > .dec-input-picker.dec-desktop-above {
    top: auto !important;
    bottom: calc(100% + 6px) !important;
    max-height: min(75vh, var(--dec-desktop-space, 75vh)) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }
}
