/* Progressive quote entry for the home hero.
   The full /booking wizard remains unchanged. */

body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-booking-card--service,
body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-booking-card--airport,
body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-booking-card--time,
body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-booking-card--return,
body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-summary-compact {
  display: none !important;
}

body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .acw-route::before {
  content: "Start your quote — four quick details";
  grid-column: 1 / -1;
  display: block;
  margin: 0;
  color: var(--wizard-teal-dark, #427f89);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-group--schedule {
  background: transparent;
}

body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-group__grid--schedule {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 901px) {
  body.home-page .home-hero__wizard #booking.acw .acw-main {
    display: flex;
    height: 430px;
    min-height: 430px;
    max-height: 430px;
    flex-direction: column;
  }

  body.home-page .home-hero__wizard #booking.acw .wizard-intro,
  body.home-page .home-hero__wizard #booking.acw .acw-progress,
  body.home-page .home-hero__wizard #booking.acw .acw-steps {
    flex: 0 0 auto;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-body {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    overscroll-behavior: contain;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-form {
    height: 100% !important;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-color: var(--wizard-line, #c9d8da) transparent;
    scrollbar-width: thin;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"].is-active {
    display: grid;
    min-height: 100%;
    align-content: center;
  }

  body.home-page .home-hero__wizard #booking.acw .booking-mobile-action[data-step="2"],
  body.home-page .home-hero__wizard #booking.acw .booking-mobile-action[data-step="3"] {
    position: relative;
    z-index: 12;
    right: auto;
    bottom: auto;
    left: auto;
    display: grid;
    gap: 3px;
    padding: 8px 12px 10px;
    border: 0;
    border-top: 1px solid var(--wizard-line, #c9d8da);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 -10px 22px rgba(34, 50, 73, .08);
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  body.home-page .home-hero__wizard #booking.acw .booking-mobile-action[data-step="2"] small,
  body.home-page .home-hero__wizard #booking.acw .booking-mobile-action[data-step="3"] small {
    color: var(--wizard-muted, #65727a);
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="2"] > .wactions--conversion,
  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="3"] > .cta--conversion {
    display: none;
  }

  body.home-page .home-hero__wizard #booking.acw .veh__media {
    height: 86px;
    min-height: 86px;
    aspect-ratio: auto;
  }

  body.home-page .home-hero__wizard #booking.acw .veh__body {
    min-height: 68px;
    padding: 7px 9px;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .acw-route {
    grid-template-columns: minmax(0, 1fr) minmax(180px, .28fr);
    gap: 8px 12px;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-group--journey {
    grid-column: 1;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-group__grid--journey {
    grid-template-columns: minmax(250px, .9fr) minmax(245px, 1.1fr);
    gap: 10px;
    align-items: end;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-row--primary {
    grid-template-columns: 112px minmax(145px, 1fr);
    gap: 8px;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-primary-left {
    display: contents;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-row--destination {
    grid-template-columns: minmax(0, 1fr);
    align-self: end;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-group--schedule {
    grid-column: 2;
    grid-row: 2;
    align-self: stretch;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-group__heading,
  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-schedule-heading {
    margin-bottom: 6px;
    padding-bottom: 5px;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .acw-route > .wactions {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (max-width: 900px) {
  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .acw-route {
    gap: 11px;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-group__grid--journey,
  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-row {
    gap: 10px;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-row--primary {
    grid-template-columns: minmax(105px, .72fr) minmax(0, 1.28fr);
    align-items: end;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-primary-left {
    display: contents;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-row--destination {
    grid-template-columns: minmax(0, 1fr);
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-group--schedule {
    padding-top: 10px;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-route-cta__copy {
    display: none;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .acw-route > .wactions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 8px;
  }

  body.home-page .home-hero__wizard #booking.acw .acw-panel[data-step="1"]:not(.is-route-expanded) .ac-transfer-search {
    width: 100%;
    min-width: 0;
  }
}
