/* ------------------------------------------------------------------ *
 * Custom overrides — loaded AFTER luxride.css.
 *
 * The template drove several sections with jQuery plugins (slick, WOW,
 * perfect-scrollbar) that we do not run in the React app; where the CSS was
 * scoped to those plugins' runtime wrappers, the ported markup rendered
 * unstyled/overflowing. These rules restore the intended look on the plain
 * markup. See §11 "Porting gotcha" in the dev docs.
 * ------------------------------------------------------------------ */

/* Keep every image inside its box. */
img {
  max-width: 100%;
  height: auto;
}

/* Swiper galleries need overflow hidden on their container. */
.box-main-slider,
.detail-gallery,
.main-image-slider {
  overflow: hidden;
}

/* WOW.js normally reveals these; without it, make sure nothing stays hidden. */
.wow {
  visibility: visible !important;
}

/* "How It Works" steps: luxride.css only colours/marks these via selectors
   scoped to slick's runtime wrappers (.list-how .slick-list .slick-track li ...).
   We drive the gallery with Swiper instead, so restore the look on the plain
   <li> and key the active state off our own `.active` class. */
.bg-how-it-works .list-how li {
  position: relative;
  padding-left: 50px;
  padding-bottom: 40px;
}
.bg-how-it-works .list-how li::before {
  content: "";
  height: 20px;
  width: 20px;
  border: 1px solid #fff;
  border-radius: 50%;
  opacity: 0.5;
  position: absolute;
  top: 6px;
  left: 0;
}
.bg-how-it-works .list-how li.active::before {
  opacity: 1;
}
.bg-how-it-works .list-how li h4,
.bg-how-it-works .list-how li p {
  color: #fff;
  opacity: 0.55;
}
.bg-how-it-works .list-how li.active h4,
.bg-how-it-works .list-how li.active p {
  opacity: 1;
}
/* the white accent bar shows next to the active step */
.bg-how-it-works .list-how li .line-white {
  display: none;
  height: 56px;
  width: 3px;
  position: absolute;
  top: 36px;
  left: 8px;
  background-color: #fff;
  border-radius: 60px;
}
.bg-how-it-works .list-how li.active .line-white {
  display: block;
}

/* Home hero: the template hardcodes the banner to 800px, which pushes the
   search widget (position:absolute; bottom:50px) below the fold on laptop
   screens. Cap the banner to the viewport height (minus the ~66px header) so
   the form is always fully visible; clamp so it stays reasonable on very
   short/tall screens. Taller caps give the hero real vertical presence. */
.banner-home1 .box-cover-image {
  height: calc(100vh - 66px);
  min-height: 620px;
  max-height: 880px;
  overflow: hidden;
}

/* Hero carousel slide images. These rules were authored against the template
   copy of luxride.css, which is NOT the served stylesheet — the page links
   /assets/css/luxride.css + this file, so without them here the <img> fell
   back to its intrinsic 1672x941 size and overflowed/failed to cover. Pin each
   slide to fill the cover box with object-fit so it covers cleanly (no stretch,
   no collapse) at every breakpoint. */
.banner-home1 .hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  /* Daytime source photos are already bright — no brightness boost, or they wash out. */
  filter: contrast(1.02);
}
/* Remove the template overlay only from the homepage hero. */
.banner-home1 .box-cover-image::before {
  opacity: 0;
}
.banner-home1 .box-banner-info {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
/* Readability scrim over the photo: a left→right wash keeps the headline legible
   and a bottom lift darkens the floor under the search dock on every slide. */
.banner-home1 .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.38) 0%,
      rgba(0, 0, 0, 0.22) 36%,
      rgba(0, 0, 0, 0.04) 68%,
      rgba(0, 0, 0, 0) 100%),
    linear-gradient(0deg,
      rgba(0, 0, 0, 0.16) 0%,
      rgba(0, 0, 0, 0.04) 24%,
      rgba(0, 0, 0, 0) 46%);
}

/* Hero on <1200px: a FLOW layout (headline then widget near the top), with the
   carousel absolutely behind. The widget's panel expands DOWNWARD and the hero
   simply grows with it — nothing is bottom-anchored or clipped. */
@media (max-width: 1199.98px) {
  .banner-home1 {
    display: flex; flex-direction: column; justify-content: flex-start;
    min-height: 640px; padding: 28px 16px 44px;
  }
  .banner-home1 > .box-swiper { position: absolute; inset: 0; }
  .banner-home1 .box-cover-image { height: 100%; min-height: 0; max-height: none; }
  .banner-home1 .box-banner-info { position: static; margin: 0 auto 18px; }
  /* Shrink the otherwise-52px 2-line headline per breakpoint. */
  .banner-home1 .box-banner-info .heading-52-medium {
    font-size: 40px;
    line-height: 50px;
  }
  .banner-home1 .box-banner-info .text-16 { margin-bottom: 6px; }
}
@media (max-width: 767.98px) {
  .banner-home1 .box-banner-info .heading-52-medium {
    font-size: 34px;
    line-height: 42px;
  }
}
@media (max-width: 575.98px) {
  .banner-home1 .box-banner-info .heading-52-medium {
    font-size: 27px;
    line-height: 34px;
  }
}
@media (max-width: 449.98px) {
  .banner-home1 .box-banner-info .heading-52-medium {
    font-size: 25px;
    line-height: 32px;
  }
}

/* ===================================================================== *
 * Light pickers (TripEditor on the booking flow)                         *
 * ===================================================================== */
.mm-picker { position: relative; width: 100%; }

/* Shared dropdown panel */
.mm-dropdown {
  position: absolute; top: calc(100% + 16px); left: 0; z-index: 130;
  background: #fff; border: 1px solid #ececec; border-radius: 16px;
  box-shadow: 0 20px 55px rgba(0,0,0,.18); padding: 8px;
}
/* Time list */
.mm-time-list { max-height: 260px; overflow-y: auto; min-width: 170px; padding: 6px; }
.mm-time-item { padding: 9px 14px; border-radius: 10px; cursor: pointer; font-size: 14px; color: #181A1F; font-weight: 500; }
.mm-time-item:hover { background: #f4f4f5; }
.mm-time-item.sel { background: #0E0E0E; color: #fff; }
.mm-time-list::-webkit-scrollbar { width: 8px; }
.mm-time-list::-webkit-scrollbar-thumb { background: #e2e2e6; border-radius: 8px; }

/* react-day-picker → M&M black/white theme (was default blue) */
.mm-daypicker { padding: 8px 10px 12px; }
.mm-daypicker .rdp-root {
  --rdp-accent-color: #0E0E0E;
  --rdp-accent-background-color: #f4f4f5;
  --rdp-today-color: #0E0E0E;
  --rdp-day-width: 42px; --rdp-day-height: 42px;
  --rdp-day_button-width: 38px; --rdp-day_button-height: 38px;
  --rdp-day_button-border-radius: 10px;
  margin: 0;
}
.mm-daypicker .rdp-month_caption, .mm-daypicker .rdp-caption_label { font-size: 15px; font-weight: 700; color: #0E0E0E; }
.mm-daypicker .rdp-weekday { color: #9aa1ac; font-size: 11px; text-transform: uppercase; font-weight: 600; }
.mm-daypicker .rdp-chevron { fill: #0E0E0E; }
.mm-daypicker .rdp-button_previous:hover, .mm-daypicker .rdp-button_next:hover { background: #f4f4f5; border-radius: 9px; }
.mm-daypicker .rdp-day_button { border-radius: 10px; color: #181A1F; }
.mm-daypicker .rdp-day_button:hover:not([disabled]) { background: #f4f4f5; }
.mm-daypicker .rdp-selected .rdp-day_button { background: #0E0E0E !important; color: #fff !important; border-color: #0E0E0E !important; }
.mm-daypicker .rdp-today:not(.rdp-selected) .rdp-day_button { font-weight: 800; box-shadow: inset 0 0 0 1.5px #0E0E0E; }
.mm-daypicker .rdp-outside .rdp-day_button, .mm-daypicker .rdp-disabled .rdp-day_button { color: #cfd2d8; }

/* Remove the template's orange curved decoration behind the fleet + services. */
.bg-our-fleet, .bg-our-service { background-image: none !important; }

/* Fleet cards — uniform size no matter how long the description is or what
   dimensions the vehicle photo has (new images are coming in mixed sizes).
   The column already stretches (flex row); make the card fill it, clamp the
   blurb to a fixed height so images line up, lock every photo to one fixed
   16:10 box (object-fit:cover) so all cards match, and pin the
   passenger/luggage footer to the bottom. */
.cardFleet { height: 100%; display: flex; flex-direction: column; }
.cardFleet .cardInfo p {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 3.9em;
}
.cardFleet .cardImage { position: relative; }
.cardFleet .cardImage img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.cardFleet .cardInfoBottom { margin-top: auto; }

/* Address type-ahead suggestion list */
.mm-loc-list { min-width: 280px; max-height: 300px; overflow-y: auto; padding: 6px; }
.mm-loc-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.mm-loc-item:hover { background: #f4f4f5; }
.mm-loc-item img { width: 22px; height: 22px; object-fit: contain; flex: 0 0 auto; }
.mm-loc-text { display: flex; flex-direction: column; min-width: 0; }
.mm-loc-title { font-size: 14px; font-weight: 500; color: #181A1F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-loc-sub { font-size: 12px; color: #9aa1ac; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-loc-empty { padding: 10px 12px; font-size: 13px; color: #9aa1ac; }
/* booking Details step: auth gate + passenger panel */
.mm-auth-gate { border: 1px solid #ececec; border-radius: 14px; overflow: hidden; }
.mm-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; background: #fff; border-bottom: 1px solid #f0f0f0; cursor: pointer; }
.mm-auth-row:hover { background: #fafafa; }
.mm-auth-row .btn { flex: 0 0 auto; white-space: nowrap; }
.mm-auth-form { padding: 16px 18px; background: #fafafa; border-bottom: 1px solid #f0f0f0; }
.mm-auth-form .btn { margin-top: 4px; }
.mm-auth-t { font-weight: 700; font-size: 14.5px; }
.mm-auth-s { font-size: 12.5px; color: #9aa1ac; }
.mm-auth-guest { padding: 12px 18px; background: #fafafa; font-size: 13px; color: #6b7280; }
.mm-auth-signedin { background: #e7f4ee; border: 1px solid #bfe0d0; border-radius: 12px; padding: 12px 16px; color: #0e5a43; font-size: 14px; }
.mm-auth-choice { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; background: #fafafa; border: 1px solid #eee; border-radius: 12px; }
.mm-pax-panel { background: #fafafa; border: 1px solid #eee; border-radius: 12px; padding: 16px 16px 2px; margin-bottom: 14px; }
.mb-25 { margin-bottom: 25px; }

/* ===================== client account dashboard ===================== */
.mm-acct { display: grid; grid-template-columns: 260px 1fr; gap: 26px; }
.mm-acct-side { background: #fff; border: 1px solid var(--line, #ececec); border-radius: 16px; padding: 20px; height: fit-content; }
.mm-acct-user { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #eee; margin-bottom: 14px; }
.mm-acct-avatar { width: 44px; height: 44px; border-radius: 50%; background: #0E0E0E; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; flex: 0 0 auto; }
.mm-acct-nav button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; font: inherit; font-size: 14.5px; color: #333; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.mm-acct-nav button:hover { background: #f5f5f5; }
.mm-acct-nav button.on { background: #0E0E0E; color: #fff; }
.mm-acct-nav .signout { color: #c0392b; margin-top: 6px; }
.mm-acct-kpis { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.mm-acct-kpi { flex: 1; min-width: 130px; background: #fff; border: 1px solid #ececec; border-radius: 14px; padding: 16px 18px; }
.mm-acct-kpi .v { font-size: 26px; font-weight: 800; }
.mm-acct-kpi .l { font-size: 12px; color: #9aa1ac; text-transform: uppercase; letter-spacing: .04em; }
.mm-ride { border: 1px solid #ececec; border-radius: 14px; padding: 18px; margin-bottom: 14px; background: #fff; }
.mm-ride-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.mm-ride .route { font-size: 15px; font-weight: 700; }
.mm-ride .meta { font-size: 13px; color: #6b7280; margin-top: 4px; }
/* The AddressField inside the account's amend form: .search-input is only
   styled under .mm-trip-editor, so here it rendered as a bare unstyled input. */
.mm-ride .search-inputs { position: relative; margin-bottom: 4px; }
.mm-ride .search-input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; }
.mm-ride .mm-dropdown { width: 100%; min-width: 0; z-index: 30; }
.mm-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.mm-badge.confirmed { background: #e7f4ee; color: #0e5a43; }
.mm-badge.pending { background: #fdf3d7; color: #946a00; }
.mm-badge.cancelled { background: #f3d6d2; color: #8a2419; }
.mm-badge.completed { background: #eef0f3; color: #555; }
.mm-ride-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
/* .btn-border is styled for dark sections (white border + white text) — on the white
   .mm-ride card that renders white-on-white. Make it dark/legible here; the
   Request-cancellation button keeps its inline red text and gets a red border. */
.mm-ride .btn-border { color: #0f1319; border-color: #0f1319; background: transparent; }
.mm-ride .btn-border:hover { background: #0f1319; color: #fff; }
/* React serializes the inline color as rgb(192, 57, 43); match both spellings. */
.mm-ride .btn-border[style*="c0392b"],
.mm-ride .btn-border[style*="192, 57, 43"] { border-color: #c0392b; }
/* Its inline red color survives :hover, so tint the background instead of filling dark. */
.mm-ride .btn-border[style*="c0392b"]:hover,
.mm-ride .btn-border[style*="192, 57, 43"]:hover { background: rgba(192, 57, 43, 0.08); }
@media (max-width: 820px){ .mm-acct { grid-template-columns: 1fr; } }

/* ===================================================================== *
 * Hero booking widget — dark glass panel (.blw)                          *
 *                                                                        *
 * Visual language: frosted near-black panel over the hero photo, pill    *
 * trip-type tabs, one row of label-over-value fields with hairline       *
 * dividers, an ink CTA, and dark dropdowns (suggestions / calendar /     *
 * time list). Geist for all widget text.                                 *
 * ===================================================================== */
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist/Geist-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist/Geist-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist/Geist-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

.blw, .blw input, .blw button {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* The dock lives in the hero's normal flow near the TOP, so the panel always
   has room to expand DOWNWARD (the hero grows with it). */
.mm-search-dock { position: relative; width: 100%; max-width: 1060px; margin: 0 auto; z-index: 6; }

/* Trip-type pills */
.blw-tabs {
  display: inline-flex; gap: 4px; margin-bottom: 14px; padding: 4px;
  background: rgba(15, 19, 25, 0.55); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.blw-tab {
  border: 0; cursor: pointer; padding: 8px 18px; border-radius: 999px;
  background: transparent; color: rgba(255, 255, 255, 0.85);
  font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap;
  transition: background .15s, color .15s;
}
.blw-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.blw-tab.on { background: #fff; color: #0f1319; font-weight: 600; }

/* The panel: slim field bar + the expanding content area, ONE frosted surface.
   Focus state draws a thin blue ring around the whole panel. */
.blw-panel {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 80% 160%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 70%),
    rgba(15, 19, 25, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(6, 10, 13, 0.45);
  transition: border-color .2s, box-shadow .2s;
  scroll-margin-top: 96px;
}
.blw-panel.open {
  border-color: rgba(59, 130, 215, 0.85);
  box-shadow: 0 0 0 1px rgba(59, 130, 215, 0.5), 0 24px 64px rgba(6, 10, 13, 0.5);
}

/* The collapsed bar */
.blw-bar { display: flex; align-items: stretch; gap: 6px; padding: 8px; min-height: 64px; }

/* One field: small grey label above a white value, whole cell clickable. */
.blw-field {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-width: 0; padding: 7px 14px; border-radius: 10px; cursor: pointer;
  transition: background .15s;
}
.blw-field:hover, .blw-field:focus-within { background: rgba(255, 255, 255, 0.08); }
/* blue underline marks the active field */
.blw-field.live::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px; background: #3b82d7;
}
.blw-loc { flex: 1.5 1 0; }
/* date + time group, separated from the locations by a vertical hairline */
.blw-sched {
  display: flex; flex: 1.2 0 auto; min-width: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 6px; margin-left: 2px;
}
.blw-sched .blw-field:first-child { flex: 1.3 1 auto; }
.blw-sched .blw-field:last-child { flex: 1 0 auto; min-width: 116px; }
.blw-label {
  display: block; font-size: 12px; line-height: 16px; font-weight: 400;
  color: #aeaeae; margin-bottom: 1px; white-space: nowrap;
}
.blw-input, .blw-value {
  display: block; width: 100%; border: 0; background: transparent; padding: 0;
  color: #fff; font-size: 15px; line-height: 22px; font-weight: 500; text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.blw-input:focus, .blw-input:focus-visible { outline: none; }
.blw-input::placeholder { color: rgba(255, 255, 255, 0.45); font-weight: 400; }
.blw-value.empty { color: rgba(255, 255, 255, 0.45); font-weight: 400; }
.blw-trigger {
  display: block; width: 100%; border: 0; background: transparent;
  padding: 0; margin: 0; text-align: left; cursor: pointer; min-width: 0;
}
.blw-trigger:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.7); outline-offset: 4px; border-radius: 8px; }

/* X clear button on a filled location field */
.blw-loc .blw-input { padding-right: 30px; }
.blw-clear {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: transparent; color: rgba(255, 255, 255, 0.65); font-size: 12px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .12s, color .12s;
}
.blw-clear:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.blw-clear:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.7); outline-offset: 1px; }

/* CTA — blue pill */
.blw-go {
  flex: 0 0 auto; align-self: center; border: 0; min-height: 48px;
  border-radius: 999px; padding: 0 24px; cursor: pointer;
  background: #0f63bd; color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background .15s, transform .1s;
}
.blw-go:hover:not(:disabled) { background: #0d4a8c; }
.blw-go:active:not(:disabled) { transform: scale(.985); }
.blw-go:disabled { opacity: .7; cursor: default; }
.blw-go:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Footer row: Meet & Greet + validation message */
.blw-foot { display: flex; align-items: center; gap: 14px; margin-top: 10px; min-height: 24px; flex-wrap: wrap; }
.blw-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.blw-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.blw-check-box {
  width: 18px; height: 18px; border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center; transition: .12s; flex: 0 0 auto;
  background: rgba(15, 19, 25, 0.4);
}
.blw-check input:checked + .blw-check-box { background: #fff; border-color: #fff; }
.blw-check input:checked + .blw-check-box::after {
  content: ""; width: 5px; height: 9px; border: solid #0f1319; border-width: 0 2px 2px 0;
  transform: rotate(45deg); margin-top: -2px;
}
.blw-check input:focus-visible + .blw-check-box { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); }
.blw-check-label { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.blw-error {
  color: #fff; background: rgba(176, 32, 50, 0.95); padding: 5px 14px;
  border-radius: 999px; font-size: 12.5px; font-weight: 500;
}

/* -------- the expanding content area (inside the panel) -------- */
/* grid-rows 0fr -> 1fr animates the panel's height to fit its content */
.blw-expand { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease-in-out; }
.blw-expand.open { grid-template-rows: 1fr; }
.blw-expand-clip { overflow: hidden; min-height: 0; }
.blw-area { position: relative; padding: 4px 18px 18px; }
.blw-area-inner { min-height: 340px; display: flex; flex-direction: column; }
/* Only field-anchored content follows the active-field indent — the idle
   placeholder centers against the FULL panel width regardless of field state. */
.blw-sugs, .blw-list, .blw-cal { margin-left: var(--blw-indent, 0px); }
.blw-close {
  position: absolute; top: 0; right: 12px; z-index: 2;
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 14px;
  cursor: pointer; display: none; align-items: center; justify-content: center;
}

/* idle state: brand mark + tagline while nothing is typed yet */
.blw-idle {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; gap: 14px; padding: 28px 0;
}
.blw-idle-line {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: 22px; line-height: 1.5; color: #fff; margin: 0;
}

/* address suggestions */
.blw-sugs { max-width: 600px; padding-top: 6px; }
.blw-sug {
  display: flex; align-items: center; gap: 12px; min-height: 48px;
  padding: 10px 12px; border-radius: 10px; cursor: pointer;
}
.blw-sug.on { background: rgba(255, 255, 255, 0.1); }
.blw-sug img { width: 20px; height: 20px; object-fit: contain; flex: 0 0 auto; filter: invert(1) brightness(1.6); }
.blw-sug-text { display: flex; flex-direction: column; min-width: 0; }
.blw-sug-title { font-size: 15px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blw-sug-sub { font-size: 13px; color: #aeaeae; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blw-sug-empty { padding: 14px 12px; font-size: 14px; color: #aeaeae; }
.blw-powered { padding: 10px 12px 0; font-size: 11.5px; color: #8f9499; }

/* time / duration list */
.blw-list { max-width: 240px; max-height: 300px; overflow-y: auto; padding: 6px 4px 0 0; }
.blw-list::-webkit-scrollbar { width: 8px; }
.blw-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 8px; }
.blw-list-item {
  display: flex; align-items: center; min-height: 44px;
  padding: 10px 16px; border-radius: 10px; cursor: pointer;
  font-size: 15px; font-weight: 500;
}
.blw-list-item:hover { background: rgba(255, 255, 255, 0.1); }
.blw-list-item.sel { background: #0f63bd; color: #fff; font-weight: 600; }

/* dark calendar (react-day-picker) — past days disabled, today ringed blue */
.blw-cal { padding: 8px 0 0; }
.blw-cal .rdp-root {
  --rdp-accent-color: #3b82d7;
  --rdp-accent-background-color: rgba(59, 130, 215, 0.18);
  --rdp-today-color: #fff;
  --rdp-day-width: 42px; --rdp-day-height: 42px;
  --rdp-day_button-width: 40px; --rdp-day_button-height: 40px;
  --rdp-day_button-border-radius: 10px;
  margin: 0;
}
.blw-cal .rdp-month_caption, .blw-cal .rdp-caption_label { font-size: 15px; font-weight: 600; color: #fff; }
.blw-cal .rdp-weekday { color: #8f9499; font-size: 11px; text-transform: uppercase; font-weight: 500; }
.blw-cal .rdp-chevron { fill: #fff; }
.blw-cal .rdp-button_previous:hover, .blw-cal .rdp-button_next:hover { background: rgba(255, 255, 255, 0.1); border-radius: 9px; }
.blw-cal .rdp-day_button { border-radius: 10px; color: #fff; font-weight: 500; }
.blw-cal .rdp-day_button:hover:not([disabled]) { background: rgba(255, 255, 255, 0.12); }
.blw-cal .rdp-selected .rdp-day_button { background: #0f63bd !important; color: #fff !important; border-color: #0f63bd !important; }
.blw-cal .rdp-today:not(.rdp-selected) .rdp-day_button { box-shadow: inset 0 0 0 1.5px #3b82d7; }
.blw-cal .rdp-outside .rdp-day_button, .blw-cal .rdp-disabled .rdp-day_button { color: rgba(255, 255, 255, 0.28); }

/* -------- stacked widget on tablet & phone (same expand-down pattern) -------- */
@media (max-width: 1199.98px) {
  .mm-search-dock { max-width: 560px; }
  .blw-tabs { display: flex; margin-bottom: 10px; }
  .blw-tab { flex: 1 1 0; padding: 9px 10px; text-align: center; }
  .blw-bar { flex-direction: column; gap: 2px; padding: 8px; min-height: 0; }
  .blw-field { padding: 10px 14px; }
  .blw-field.live::after { bottom: 2px; }
  /* horizontal hairlines between stacked rows */
  .blw-bar > .blw-field + .blw-field,
  .blw-bar > .blw-field + .blw-sched { border-top: 1px solid rgba(255, 255, 255, 0.16); border-radius: 0 0 10px 10px; }
  /* date + time side by side on one compact row */
  .blw-sched { border-left: 0; padding-left: 0; margin-left: 0; gap: 2px; }
  .blw-sched .blw-field { flex: 1 1 0; min-width: 0; }
  .blw-sched .blw-field + .blw-field { border-left: 1px solid rgba(255, 255, 255, 0.16); }
  /* 16px inputs stop mobile Safari zooming on focus */
  .blw-input, .blw-value { font-size: 16px; }
  .blw-loc .blw-input { padding-right: 44px; }
  .blw-clear { width: 44px; height: 44px; right: 0; }
  .blw-go { width: 100%; margin-top: 8px; min-height: 48px; }
  /* expanded content: large touch targets, internal scroll, X to dismiss */
  .blw-area { padding: 10px 12px 14px; }
  .blw-area-inner {
    padding-left: 0; min-height: 240px;
    max-height: min(58vh, 480px); overflow-y: auto;
  }
  .blw-close { display: flex; }
  .blw-idle-line { font-size: 18px; }
  .blw-sugs, .blw-list, .blw-cal { margin-left: 0; }
  .blw-sugs { max-width: none; padding-right: 40px; }
  .blw-list { max-width: none; max-height: none; }
  .blw-cal { display: flex; justify-content: center; }
  .blw-foot { justify-content: center; }
}

/* Desktop hero flow: headline then widget in the TOP band of the hero, so the
   expanding panel always has downward room (the hero grows if it needs more). */
@media (min-width: 1200px) {
  .banner-home1 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 32px;
    min-height: clamp(620px, calc(100vh - 66px), 880px);
    padding: 88px 24px 72px;
  }
  .banner-home1 > .box-swiper { position: absolute; inset: 0; }
  .banner-home1 > .box-swiper,
  .banner-home1 .swiper-banner-1,
  .banner-home1 .box-cover-image { height: 100%; min-height: 0; max-height: none; }
  .banner-home1 .box-banner-info {
    position: relative;
    top: auto;
    flex: none;
    margin: 0 auto;
  }
  .banner-home1 .box-banner-info .heading-52-medium {
    line-height: 1.12;
    margin-bottom: 0;
  }
  .banner-home1 .box-banner-info .text-16 { margin-bottom: 12px; }
  .banner-home1 > .mm-search-dock {
    position: relative;
    bottom: auto;
    flex: none;
    width: 100%;
    margin: 0 auto;
  }
}

/* Vehicle-page booking uses the same widget, but belongs in the section's flow.
   Hero overlay offsets otherwise pull the entire dock out of this section. */
#book-vehicle .mm-search-dock {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Stretch carousel slides and grid columns to their row's tallest card. */
.bg-our-fleet .swiper-wrapper { align-items: stretch; }
.bg-our-fleet .swiper-slide { display: flex; height: auto; }
.fleet-grid > [class*="col-"] { display: flex; }
.bg-our-fleet .cardFleet,
.fleet-grid .cardFleet { display: flex; flex-direction: column; }
.bg-our-fleet .cardFleet .cardImage,
.fleet-grid .cardFleet .cardImage { margin-top: auto; }
.bg-our-fleet .cardFleet .cardImage img,
.fleet-grid .cardFleet .cardImage img { aspect-ratio: 16 / 9; object-fit: contain; }

/* Summary itinerary: a fixed marker column and a connector spanning wrapped rows. */
.mm-summary-routes { list-style: none; margin: 0; padding: 0; }
.mm-summary-routes li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; position: relative; align-items: start; padding: 0 0 28px; }
.mm-summary-routes li:last-child { padding-bottom: 0; }
.mm-summary-routes li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; border-left: 2px dotted #737373; }
.mm-summary-routes .location-item { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #111; color: #fff; font-size: 14px; font-weight: 600; }
.mm-summary-routes .info-location { padding-top: 5px; overflow-wrap: anywhere; line-height: 22px; }
.mm-itinerary-map { width: 100%; height: 220px; border: 1px solid #b3b3b3; border-radius: 8px; overflow: hidden; }
.mm-map-unavailable { color: #595959; }
.mm-signin-form label { display: block; color: #202020; margin-bottom: 6px; }
.mm-signin-form .form-control { background: #fff; border: 1px solid #737373; color: #171717; opacity: 1; }
.mm-signin-form .form-control::placeholder { color: #595959; opacity: 1; }
.mm-signin-form .form-control:focus { border-color: #111; outline: 2px solid #111; outline-offset: 2px; box-shadow: none; }
/* Luxride's generic border button is white-on-transparent; auth forms are white. */
.mm-signin-form .btn.btn-border { color: #202020; border-color: #737373; background: #fff; }
.mm-signin-form .btn.btn-border:hover { color: #fff; background: #202020; border-color: #202020; }
.mm-signin-form .btn.btn-border:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.mm-password-reset { color: #202020; text-decoration: underline; text-underline-offset: 3px; }
.mm-password-reset:focus-visible { outline: 2px solid #111; outline-offset: 3px; }

/* Keep Austin copy readable even over the brightest map details.
   The 80% black scrim caps a white backdrop at #333 (11.6:1 for #f5f5f5). */
.bg-region .box-region-right {
  position: relative;
  isolation: isolate;
}
.bg-region .box-region-right::before {
  content: "";
  position: absolute;
  inset: -24px -8px;
  z-index: -1;
  pointer-events: none;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.8);
}
.bg-region .box-region-right h2 { color: #fff; }
.bg-region .box-region-right p { color: #f5f5f5; }

/* Use the portrait map crop behind the Austin section on narrow screens. */
@media (max-width: 640px) {
  .bg-region {
    background-image: url(../imgs/page/homepage1/austin-map-mobile-640.webp);
    background-image: image-set(
      url(../imgs/page/homepage1/austin-map-mobile-640.avif) type("image/avif"),
      url(../imgs/page/homepage1/austin-map-mobile-640.webp) type("image/webp")
    );
  }
}

/* Compact trip editing stays inside the summary at every screen width. */
.mm-trip-editor { min-width: 0; margin-top: 16px; padding: 12px; border: 1px solid #d1d5db; border-radius: 8px; }
.mm-trip-editor > label { display: block; margin-bottom: 12px; }
.mm-trip-editor .search-inputs { position: relative; margin-bottom: 12px; }
.mm-trip-editor .search-input { width: 100%; padding: 10px; border: 1px solid #d1d5db; border-radius: 6px; }
.mm-trip-editor .mm-dropdown { z-index: 20; width: 100%; min-width: 0; }
.mm-trip-editor .form-control { min-width: 0; width: 100%; }
@media (max-width: 575px) {
  .box-booking-tabs { margin-left: 0; margin-right: 0; }
  .box-booking-tabs .item-tab { padding-left: 4px; padding-right: 4px; }
}

/* Consistent account controls and client feedback. */
.mm-account-menu { position: relative; }
.mm-account-menu > button { display: flex; align-items: center; gap: 8px; }
.mm-account-avatar { border-radius: 50%; background: #1b1b1b; color: #fff; width: 28px; height: 28px; display: inline-grid; place-items: center; }
.mm-account-links { position: absolute; right: 0; top: calc(100% + 8px); width: 210px; padding: 8px; background: #fff; border: 1px solid #737373; border-radius: 12px; box-shadow: 0 8px 28px #0003; z-index: 1100; }
.mm-account-links a, .mm-account-links button { display: block; width: 100%; text-align: left; padding: 12px; color: #171717; background: white; border: 0; border-radius: 6px; }
.mm-account-links a:hover, .mm-account-links button:hover { background: #f2eee6; }
.mm-account-links :focus-visible, .mm-auth-choices button:focus-visible { outline: 2px solid #171717; outline-offset: 2px; }
.mm-auth-choices { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.mm-auth-choices .btn { border: 1px solid #333; }
.mm-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 32px); width: max-content; padding: 16px 24px; color: #fff; background: #173d30; border-radius: 12px; box-shadow: 0 6px 24px #0003; z-index: 3000; }
.mm-feedback { background: #edf5ef; color: #194832; border: 1px solid #81a88e; border-radius: 8px; padding: 12px 16px; }
@media(max-width: 575px) { .mm-account-menu > button { font-size: 12px; padding: 8px; } .mm-account-avatar { display: none; } }

/* React-owned header: isolated from the template's off-canvas stacking rules. */
.mm-storefront-header { position: sticky; top: 0; z-index: 1000; background: #111; color: #fff; }
.mm-header-row { display: flex; align-items: center; gap: 32px; min-height: 82px; }
.mm-header-logo { display: flex; flex: 0 0 150px; }
.mm-header-logo img { width: 150px; height: 66px; object-fit: contain; }
.mm-desktop-nav, .mm-header-actions { display: flex; align-items: center; gap: 24px; }
.mm-header-actions { margin-left: auto; gap: 12px; }
.mm-desktop-nav a { color: #fff; padding: 12px 0; min-height: 44px; }
.mm-desktop-nav a:hover, .mm-desktop-nav a[aria-current] { color: #e7cf9b; }
.mm-header-call, .mm-header-account { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 16px; border: 1px solid #716449; border-radius: 8px; background: transparent; color: #fff; line-height: 24px; }
.mm-header-call { background: #e7cf9b; color: #171717; border-color: #e7cf9b; }
.mm-header-call:hover { background: #f3e3c3; color: #171717; }
.mm-header-account:hover { color: #e7cf9b; }
.mm-menu-toggle, .mm-menu-close { align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid #615a4e; border-radius: 8px; color: #fff; background: transparent; flex-shrink: 0; }
.mm-menu-toggle { display: none; margin-left: auto; }
.mm-menu-close { display: inline-flex; }
.mm-storefront-header :focus-visible, .mm-mobile-panel :focus-visible { outline: 3px solid #c39b53; outline-offset: 3px; }
.mm-mobile-layer { position: fixed; inset: 0; z-index: 2000; }
.mm-menu-backdrop { position: absolute; inset: 0; background: #0009; }
.mm-mobile-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, calc(100% - 32px)); padding: 20px 24px max(24px, env(safe-area-inset-bottom)); background: #171717; color: #fff; box-shadow: -12px 0 40px #0004; overflow-y: auto; overscroll-behavior: contain; animation: mm-menu-enter 180ms ease-out; }
.mm-mobile-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; font-size: 22px; font-weight: 600; }
.mm-mobile-panel nav, .mm-mobile-account { display: flex; flex-direction: column; gap: 4px; }
.mm-mobile-panel nav a, .mm-mobile-account a, .mm-mobile-account button { display: flex; align-items: center; min-height: 48px; width: 100%; padding: 12px; border: 0; border-radius: 8px; background: transparent; color: #fff; text-align: left; line-height: 24px; }
.mm-mobile-panel nav a:hover, .mm-mobile-account a:hover, .mm-mobile-account button:hover, .mm-mobile-panel a[aria-current] { background: #ffffff0e; color: #e7cf9b; }
.mm-mobile-account { margin-top: 20px; padding-top: 20px; border-top: 1px solid #ffffff26; }
.mm-menu-section-label { color: #c5baa5; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; padding: 0 12px 8px; }
.mm-mobile-contact { margin-top: 24px; }
.mm-mobile-contact .mm-header-call { width: 100%; overflow-wrap: anywhere; }
.mm-mobile-contact .mm-header-call span { min-width: 0; }
@keyframes mm-menu-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .mm-mobile-panel { animation: none; } }
@media (max-width: 1199.98px) {
  .mm-header-row { min-height: 76px; gap: 16px; }
  .mm-desktop-nav, .mm-header-actions { display: none; }
  .mm-menu-toggle { display: inline-flex; }
}

/* ===================================================================== *
 * Booking flow (.mm-flow) — same visual language as the hero widget:    *
 * Geist type, ink #0f1319, grey #6e6e73, 12-16px radii, blue accents.   *
 * Content and fields unchanged; this is presentation only.              *
 * ===================================================================== */
.mm-flow, .mm-flow input, .mm-flow button, .mm-flow select, .mm-flow textarea {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.mm-flow h2, .mm-flow h3, .mm-flow h4, .mm-flow h5 { color: #0f1319; }
.mm-flow .heading-24-medium { font-weight: 600; letter-spacing: -0.01em; }

/* step bar: clean numbered pills. Selectors mirror the template's full chain
   (.box-booking-tabs .item-tab .box-tab-step …) so these rules out-specify
   luxride's sizing/icon rules. */
.mm-flow .box-booking-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.mm-flow .box-booking-tabs .item-tab { width: auto; padding: 0; }
.mm-flow .box-booking-tabs .item-tab .box-tab-step {
  display: flex; align-items: center; gap: 10px;
  width: auto; min-width: 0; height: auto; min-height: 0;
  border: 1px solid #e3e7eb; border-radius: 999px; padding: 9px 18px;
  background: #fff; transition: border-color .15s, background .15s;
}
.mm-flow .box-booking-tabs .item-tab .box-tab-step .icon-tab { display: flex; align-items: center; gap: 8px; padding: 0; }
.mm-flow .box-booking-tabs .item-tab .box-tab-step .icon-tab .icon-book { display: none !important; }
.mm-flow .box-booking-tabs .item-tab .box-tab-step .icon-tab .text-tab { font-size: 14px; font-weight: 500; color: #6e6e73; }
.mm-flow .box-booking-tabs .item-tab .box-tab-step .number-tab { padding: 0; }
.mm-flow .box-booking-tabs .item-tab .box-tab-step .number-tab span {
  font-size: 12px; font-weight: 600; color: #6e6e73; line-height: 1;
  border: 1px solid #c9ced3; border-radius: 50%;
  width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
}
.mm-flow .box-booking-tabs .item-tab .box-tab-step.active { border-color: #0f1319; background: #0f1319; }
.mm-flow .box-booking-tabs .item-tab .box-tab-step.active .icon-tab .text-tab { color: #fff; }
.mm-flow .box-booking-tabs .item-tab .box-tab-step.active .number-tab span { color: #fff; border-color: rgba(255,255,255,.5); }
.mm-flow .box-booking-tabs .item-tab .box-tab-step.done { border-color: #0f1319; }
.mm-flow .box-booking-tabs .item-tab .box-tab-step.done .icon-tab .text-tab,
.mm-flow .box-booking-tabs .item-tab .box-tab-step.done .number-tab span { color: #0f1319; }

/* inputs */
.mm-flow .form-control {
  border: 1px solid #c9ced3; border-radius: 10px; padding: 11px 14px;
  font-size: 15px; color: #0f1319; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.mm-flow .form-control:focus {
  border-color: #0f63bd; outline: none;
  box-shadow: 0 0 0 3px rgba(15, 99, 189, 0.15);
}
.mm-flow label { font-weight: 500; }

/* primary buttons -> Blacklane blue pill */
.mm-flow .btn.btn-primary {
  background: #0f63bd; border-color: #0f63bd; color: #fff;
  border-radius: 999px; padding: 12px 28px; font-weight: 500; font-size: 16px;
}
.mm-flow .btn.btn-primary:hover:not(:disabled) { background: #0d4a8c; border-color: #0d4a8c; }
.mm-flow .btn.btn-primary:disabled { opacity: .6; }

/* serif section titles (Blacklane's PP Fragment ≈ our Fraunces/Georgia) */
.mm-flow .heading-24-medium,
.mm-flow .sidebar .text-20-medium {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 400; letter-spacing: 0.25px;
}

/* white content card around each step's form */
.mm-flow .box-content-detail {
  background: #fff; border-radius: 16px; padding: 28px;
  box-shadow: 0 2px 8px rgba(6, 10, 13, 0.12);
}

/* summary sidebar card */
.mm-flow .sidebar {
  border: 0; border-radius: 16px; padding: 24px;
  background: #fff; box-shadow: 0 2px 8px rgba(6, 10, 13, 0.12);
}



/* Light checkbox (passenger step "booking for someone else") — restored after
   the hero widget moved to its own .blw-check. */
.mm-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; user-select: none; }
.mm-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.mm-check .mm-check-box {
  width: 20px; height: 20px; border: 1.5px solid #c9ced3; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center; transition: .12s; flex: 0 0 auto;
  background: #fff;
}
.mm-check input:checked + .mm-check-box { background: #0f63bd; border-color: #0f63bd; }
.mm-check input:checked + .mm-check-box::after {
  content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg); margin-top: -2px;
}
.mm-check input:focus-visible + .mm-check-box { box-shadow: 0 0 0 3px rgba(15, 99, 189, 0.2); }
.mm-check .mm-check-label { font-size: 13.5px; font-weight: 500; color: #0f1319; }

/* Confirmation page: template tiles/cards in the flow's language. */
.mm-flow .box-info-book-border,
.mm-flow .box-booking-border {
  border: 0; border-radius: 16px; background: #fff;
  box-shadow: 0 2px 8px rgba(6, 10, 13, 0.12);
}
.mm-flow .box-booking-border h6 { margin-bottom: 10px; }
.mm-flow .btn.btn-border { border-radius: 999px; border-color: #c9ced3; color: #0f1319; }
.mm-flow .btn.btn-border:hover { background: #0f1319; border-color: #0f1319; color: #fff; }

/* ===================================================================== *
 * Booking-flow header (.fh) — Blacklane anatomy: warm off-white band,   *
 * logo left, trip-summary pills centred, hamburger right.               *
 * ===================================================================== */
.fh {
  position: sticky; top: 0; z-index: 1000;
  background: #fbf8f2; border-bottom: 1px solid #d9d4c9;
}
.fh, .fh button { font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.fh-row {
  display: flex; align-items: center; gap: 12px;
  max-width: 1440px; margin: 0 auto; height: 84px; padding: 0 28px;
}
.fh-logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.fh-logo img { width: 104px; height: auto; }
.fh-pills {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.fh-pill {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0;
  background: #fff; border: 1px solid #d9d4c9; border-radius: 10px;
  height: 40px; padding: 0 14px; font-size: 14px; color: #0f1319;
  transition: border-color .15s;
}
.fh-pill:hover { border-color: #9b958a; color: #0f1319; }
.fh-pill b {
  font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 200px;
}
.fh-pill em { font-style: normal; color: #6e6e73; white-space: nowrap; }
.fh-pill-icon { display: inline-flex; color: #6e6e73; flex: 0 0 auto; }
.fh-seg { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.fh-pill-when .fh-seg + .fh-seg { border-left: 1px solid #e3ded3; padding-left: 10px; margin-left: 2px; }
.fh-menu { flex: 0 0 auto; margin-left: auto; position: relative; }
.fh-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: 10px;
  background: transparent; color: #0f1319; cursor: pointer;
}
.fh-burger:hover { background: #f0ece3; }
.fh-menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 1001;
  min-width: 230px; background: #fff; border: 1px solid #e3e7eb; border-radius: 14px;
  box-shadow: 0 12px 36px rgba(15, 19, 25, 0.14); padding: 8px;
  display: flex; flex-direction: column;
}
.fh-menu-panel a, .fh-menu-panel button {
  display: block; width: 100%; text-align: left; padding: 10px 12px;
  border: 0; border-radius: 8px; background: transparent;
  font-size: 14.5px; color: #0f1319; cursor: pointer;
}
.fh-menu-panel a:hover, .fh-menu-panel button:hover { background: #f5f3ee; color: #0f1319; }
.fh-menu-panel hr { border: 0; border-top: 1px solid #eef1f3; margin: 6px 4px; }

@media (max-width: 991.98px) {
  .fh-row { height: 60px; padding: 0 12px; gap: 8px; }
  .fh-logo img { width: 74px; }
  .fh-pill { height: 36px; padding: 0 10px; font-size: 13px; gap: 6px; }
  .fh-pill b { max-width: 110px; }
  .fh-pill-when { display: none; } /* live keeps only the route pill on phones */
  .fh-burger { width: 40px; height: 40px; }
}

/* -------- vehicle step (.blv): light page, horizontal class row, rail, sticky CTA --------
   Proportions measured on live blacklane.com/en/booking @1440:
   full-bleed container w/ 48px side padding; left col ~856px; rail 440px;
   cards 422x514 (img 400x404 cover) in a non-wrapping row; map 370 tall. */
.mm-flow { background: #fbf8f2; min-height: 100vh; }
.blv { padding: 24px 0 64px; }
.blv-page { max-width: 1440px; margin: 0 auto; padding: 0 48px; }

.blv-title {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: 24px; line-height: 32px; font-weight: 400; letter-spacing: 0.25px;
  color: #000; margin-bottom: 32px;
}

.blv-layout { display: flex; gap: 48px; align-items: flex-start; }
.blv-main { flex: 1 1 auto; min-width: 0; }

/* class cards — ONE horizontal row (live is a slider, not a wrapping grid) */
.blv-rowwrap { position: relative; }
.blv-grid {
  display: flex; flex-wrap: nowrap; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 4px;
  /* bleed the 4px padding so card shadows aren't clipped */
  margin: -4px;
}
.blv-grid::-webkit-scrollbar { display: none; }
.blv-card {
  flex: 0 0 422px; width: 422px; min-width: 0; scroll-snap-align: start;
  display: flex; flex-direction: column; text-align: left; cursor: pointer;
  background: #fff; border: 3px solid transparent; border-radius: 16px; padding: 8px;
  box-shadow: 0 2px 8px rgba(6, 10, 13, 0.12);
  transition: border-color .15s, box-shadow .15s;
}
.blv-card:hover { box-shadow: 0 6px 20px rgba(6, 10, 13, 0.16); }
.blv-card.on { border-color: #0f63bd; }
.blv-card-media {
  display: block; border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, #f6e7d8 0%, #efe6dc 55%, #e7e3de 100%);
}
/* Our fleet photos are 4:3 (studio shots framed to the bumpers) — contain, not
   cover: a square crop would clip the cars. Cutout PNGs letterbox on the tint. */
.blv-card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; display: block; }
.blv-card-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 14px 10px 0;
}
.blv-card-name { font-size: 16px; font-weight: 500; color: #000; min-width: 0; overflow-wrap: anywhere; }
.blv-card-price { font-size: 16px; font-weight: 500; color: #000; white-space: nowrap; }
.blv-card-caps { display: flex; gap: 16px; padding: 8px 10px 10px; }
.blv-card-caps span { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; color: #0f1319; }
.blv-card-caps svg { color: #44474c; }

/* prev/next affordance — circular, vertically centred on the row, only when it overflows */
.blv-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: #0f1319; box-shadow: 0 2px 10px rgba(6, 10, 13, 0.22);
}
.blv-nav:hover { background: #f5f3ee; }
.blv-nav-prev { left: -16px; }
.blv-nav-next { right: -16px; }

/* phones only: Blacklane shows "<model> or similar" under the carousel */
.blv-orsim-mobile { display: none; }

.blv-more { margin-top: 32px; }
.blv-explore {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: transparent; cursor: pointer; padding: 4px 0;
  font-size: 16px; font-weight: 400; color: #0f1319;
}
.blv-explore:hover { color: #0f63bd; }
.blv-desc { font-size: 15px; line-height: 1.6; color: #4b4b50; margin: 12px 0 0; max-width: 640px; }

/* expanded class details: serif tagline (live's "Made for shared journeys…") */
.blv-details { margin-top: 18px; }
.blv-tagline {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: 22px; line-height: 1.5; font-weight: 400; letter-spacing: 0.25px;
  color: #0f1319; max-width: 620px; margin: 0 0 14px;
}
.blv-details-caps { display: flex; gap: 22px; }
.blv-details-caps span { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; color: #0f1319; }

/* below-fold sections shared heading */
.blv-h2 {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: 22px; line-height: 30px; font-weight: 400; letter-spacing: 0.25px;
  color: #000; margin-bottom: 18px;
}

/* "What's included" checkmark grid */
.blv-included { margin-top: 44px; }
.blv-included ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px;
}
.blv-included li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: #0f1319; }
.blv-included li svg { flex: 0 0 auto; margin-top: 2px; }

/* please-note bullets (no itemised price breakdown — owner rule: total only) */
.blv-note { margin-top: 40px; max-width: 640px; }
.blv-note p { font-size: 14px; color: #6e6e73; margin: 0 0 8px; }
.blv-note ul { list-style: none; margin: 0; padding: 0; }
.blv-note li { font-size: 13.5px; color: #6e6e73; padding-left: 18px; position: relative; margin-bottom: 6px; line-height: 1.5; }
.blv-note li::before { content: "ⓘ"; position: absolute; left: 0; top: 0; font-size: 12px; }

/* right rail — 440px, map on top (370 tall), white panel below */
.blv-rail { flex: 0 0 440px; position: sticky; top: 104px; }
.blv-rail-map { border-radius: 16px; overflow: hidden; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(6, 10, 13, 0.12); }
.blv-rail-map .mm-itinerary-map { margin-top: 0; border: 0; border-radius: 16px; height: 370px; }
.blv-railcard {
  border-radius: 16px; background: #fff; padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(6, 10, 13, 0.12);
}
.blv-rail-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.blv-rail-name { font-size: 18px; font-weight: 500; color: #000; }
.blv-rail-price { font-size: 18px; font-weight: 500; color: #000; white-space: nowrap; }
.blv-rail-sub { font-size: 14px; color: #6e6e73; margin-top: 2px; }

/* booker rows (Book for myself / for a guest) */
.blv-bookers { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.blv-booker {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: #fff; border: 2px solid #eef1f3; border-radius: 16px; padding: 14px 16px;
  cursor: pointer; transition: border-color .15s; color: #0f1319; text-decoration: none;
}
a.blv-booker:hover { border-color: #c9ced3; color: #0f1319; }
.blv-booker.on { border-color: #0f63bd; }
.blv-booker-icon { display: inline-flex; color: #0f1319; flex: 0 0 auto; }
.blv-booker-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.blv-booker-title { font-size: 15px; font-weight: 500; color: #0f1319; }
.blv-booker-sub { font-size: 13px; color: #6e6e73; }
.blv-booker-chevron { margin-left: auto; color: #6e6e73; display: inline-flex; }

.blv-rail-hr { border: 0; border-top: 1px solid #eef1f3; margin: 16px 0 12px; }
.blv-rail-note { font-size: 14px; color: #6e6e73; }
.blv-rail-empty { font-size: 14.5px; color: #6e6e73; }

/* "New here? Create an account" under the sign-in row */
.blv-register { font-size: 13px; color: #6e6e73; padding: 0 4px; }
.blv-register a, .blv-register button {
  border: 0; background: transparent; padding: 0; cursor: pointer; font-size: 13px;
  color: #0f63bd; font-weight: 500; text-decoration: underline; text-underline-offset: 2px;
}
.blv-register a:hover, .blv-register button:hover { color: #0d4a8c; }

/* in-flow auth dialog: centred white card on desktop, bottom sheet on phones */
.mm-auth-layer { position: fixed; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center; }
.mm-auth-backdrop { position: absolute; inset: 0; background: rgba(15, 19, 25, 0.5); }
.mm-auth-panel {
  position: relative; width: min(440px, calc(100% - 32px)); max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: 16px; box-shadow: 0 24px 70px rgba(6, 10, 13, 0.3);
  padding: 20px 24px 24px; animation: mm-auth-enter 160ms ease-out;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@keyframes mm-auth-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mm-auth-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: Fraunces, Georgia, "Times New Roman", serif; font-size: 22px; color: #0f1319;
  margin-bottom: 14px;
}
.mm-auth-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: #0f1319;
}
.mm-auth-close:hover { background: #f5f3ee; }
.mm-auth-tabs { display: flex; gap: 6px; background: #f2f0ea; border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.mm-auth-tabs button {
  flex: 1; border: 0; background: transparent; cursor: pointer; border-radius: 999px;
  padding: 8px 10px; font-size: 14px; font-weight: 500; color: #6e6e73;
}
.mm-auth-tabs button.on { background: #fff; color: #0f1319; box-shadow: 0 1px 4px rgba(6, 10, 13, 0.12); }
.mm-auth-guest { font-size: 13px; color: #6e6e73; text-align: center; margin: 16px 0 0; }
@media (max-width: 575.98px) {
  .mm-auth-layer { align-items: flex-end; }
  .mm-auth-panel {
    width: 100%; max-height: 92dvh; border-radius: 16px 16px 0 0;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    animation-name: mm-auth-sheet;
  }
  @keyframes mm-auth-sheet { from { transform: translateY(40px); opacity: 0.6; } to { transform: none; opacity: 1; } }
}

/* ---- the ONE flow rail (FlowRail.tsx): trip facts, route, edit, strip ---- */
.flow-card {
  background: #fff; border-radius: 16px; padding: 28px;
  box-shadow: 0 2px 8px rgba(6, 10, 13, 0.12);
}
.blv-facts { display: flex; flex-direction: column; gap: 7px; font-size: 14px; }
.blv-fact { display: flex; justify-content: space-between; gap: 12px; overflow-wrap: anywhere; }
.blv-fact-label { color: #6e6e73; flex: 0 0 auto; }
.blv-fact-value { text-align: right; color: #0f1319; font-weight: 500; }
.blv-route { list-style: none; margin: 6px 0; padding: 0; }
.blv-route li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; position: relative; align-items: start; padding: 0 0 18px; }
.blv-route li:last-child { padding-bottom: 0; }
.blv-route li:not(:last-child)::before { content: ""; position: absolute; left: 12px; top: 28px; bottom: 2px; border-left: 2px dotted #c9ced3; }
.blv-route-pin { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #0f1319; color: #fff; font-size: 12px; font-weight: 600; }
.blv-route-text { padding-top: 3px; overflow-wrap: anywhere; line-height: 20px; font-size: 14px; font-weight: 500; color: #0f1319; }
.blv-route-interpreted { display: block; font-size: 13px; font-weight: 400; color: #6e6e73; }
.blv-edit {
  display: block; width: 100%; margin: 14px 0 12px; cursor: pointer;
  background: #fff; border: 1px solid #c9ced3; border-radius: 999px;
  padding: 10px 16px; font-size: 14.5px; font-weight: 500; color: #0f1319;
  transition: border-color .15s;
}
.blv-edit:hover { border-color: #0f1319; }
.blv-rail .blv-rail-note { margin-top: 2px; }
.blv-rail .blv-bookers { margin-top: 16px; }

/* phones, steps 2–4: collapsible trip summary at the top of the page */
.blv-strip { display: none; }

.blv-cta {
  display: block; width: 100%; border: 0; border-radius: 999px; cursor: pointer;
  background: #0f63bd; color: #fff; font-size: 16px; font-weight: 500;
  padding: 12px 24px; transition: background .15s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.blv-cta:hover { background: #0d4a8c; }

/* sticky bottom CTA bar (phones) — identical pattern on every step */
.blv-sticky {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: #fbf8f2; border-top: 1px solid #e3ded3;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.blv-sticky-main { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.blv-sticky-total { white-space: nowrap; font-size: 16px; }
.blv-sticky-main .blv-cta { flex: 1 1 auto; min-width: 0; }

/* quiet in-copy link buttons ("Have an account? Sign in") */
.mm-quiet-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: #0f63bd; font: inherit; font-weight: 500; text-decoration: underline;
}
.mm-quiet-link:hover { color: #0d4a8c; }

/* trip editor's own date control (formatted, never an ISO/24h native input) */
.mm-editor-date { position: relative; margin-bottom: 12px; }
.mm-editor-label { display: block; font-weight: 500; margin-bottom: 2px; }
.mm-editor-date-btn { text-align: left; cursor: pointer; }
.mm-editor-date .mm-dropdown { z-index: 30; }

/* mid widths: rail narrows before stacking */
@media (max-width: 1279.98px) {
  .blv-page { padding: 0 24px; }
  .blv-layout { gap: 28px; }
  .blv-rail { flex: 0 0 360px; }
  .blv-rail-map .mm-itinerary-map { height: 260px; }
  .blv-card { flex-basis: 360px; width: 360px; }
}

@media (max-width: 991.98px) {
  /* stretch (not flex-start) so .blv-main takes the container width instead of
     its content's intrinsic width — otherwise card images inflate the column */
  .blv-layout { flex-direction: column; align-items: stretch; }
  .blv-main { width: 100%; max-width: 100%; }
  /* steps 2–4: the rail yields to the top strip + sticky bar; step 1 keeps the
     full rail (map, interpreted addresses, bookers) inline below the classes */
  .blv-rail { display: none; }
  .blv-rail.mobilekeep { display: block; position: static; flex: none; width: 100%; margin-top: 24px; }
  .blv-rail.mobilekeep .blv-cta { display: none; } /* the sticky bar carries the CTA */
  .blv-sticky { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .blv-strip {
    display: block; order: -1; margin-bottom: 16px;
    background: #fff; border-radius: 16px; box-shadow: 0 2px 8px rgba(6, 10, 13, 0.12);
  }
  .blv-strip-head {
    display: flex; align-items: center; gap: 10px; width: 100%;
    background: none; border: 0; cursor: pointer; padding: 14px 16px;
    font-size: 14px; color: #0f1319; text-align: left;
  }
  .blv-strip-route { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .blv-strip-when { color: #6e6e73; margin-left: auto; white-space: nowrap; }
  .blv-strip-body { padding: 0 16px 16px; border-top: 1px solid #eef1f3; }
  .blv-strip-body .blv-facts { padding-top: 12px; }
  .blv-strip-body .blv-rail-row { margin-top: 10px; }
  .blv { padding-bottom: 110px; } /* room for the sticky bar */
  .blv-title { text-align: center; }
  .blv-orsim-mobile { display: block; font-size: 14px; color: #6e6e73; margin-top: 14px; }
  .blv-nav { display: none; } /* touch scrolling carries the row */
  .blv-included ul { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .blv-page { padding: 0 16px; }
  /* swipeable class carousel with a peek of the next card */
  .blv-card { flex: 0 0 86%; max-width: 86%; width: auto; scroll-snap-align: center; }
  .blv-card-media { width: 100%; }
}

/* Breadcrumb separator: the vendored rule parks the dash at right:4px of a
   22px gap, so it hugs the NEXT crumb and reads like a stray "-" in front of
   it. Center it in the gap instead. */
.box-breadcrumb ul li::before { right: 9px; }

/* --- booking-flow fix batch 1 (H2/H5/H7/H8/H9) --------------------------- */

/* header pills are buttons now (they open the in-place trip editor) */
button.fh-pill { cursor: pointer; font: inherit; }
button.fh-pill:focus-visible { outline: 2px solid #0f63bd; outline-offset: 2px; }

/* expired-quote recovery on the payment step */
.mm-quote-expired {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  border: 1px solid #f0c7a6; background: #fdf6ee; border-radius: 12px;
  padding: 14px 16px; margin: 4px 0 10px; font-size: 14.5px; color: #0f1319;
}

/* in-button progress spinner for payment confirm */
.mm-btn-spinner {
  display: inline-block; width: 15px; height: 15px; margin-right: 9px;
  vertical-align: -2px; border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff; border-radius: 50%;
  animation: mm-btn-spin 0.7s linear infinite;
}
@keyframes mm-btn-spin { to { transform: rotate(360deg); } }

/* booker rows: selection check, press feedback, visible keyboard focus */
.blv-booker-check { margin-left: auto; display: inline-flex; flex: 0 0 auto; }
.blv-booker:active { transform: scale(0.99); }
.blv-booker:focus-visible { outline: 2px solid #0f63bd; outline-offset: 2px; }

/* keyboard-driven time/duration listbox: active (focused) row */
.blw-list:focus-visible { outline: 2px solid #3b82d7; outline-offset: 2px; border-radius: 8px; }
.blw-list-item.act { background: rgba(255, 255, 255, 0.14); }
.blw-list-item.sel.act { background: #0f63bd; }

/* ===================================================================== *
 * Flow-fix batch 2                                                       *
 * ===================================================================== */

/* Stepper: gated (not-yet-reachable) and settled steps look inert — no hover
   invitation, dimmed icon — while visited steps stay obviously clickable. */
.box-booking-tabs .item-tab > div > .box-tab-step.locked { opacity: 0.55; }
.box-booking-tabs .item-tab > div > .box-tab-step.locked:hover { background: transparent; }
.box-booking-tabs .item-tab > div { cursor: default; }

/* Readable picker surfaces and mobile carousel guidance. */
.blw-sugs, .blw-list, .blw-cal { background: #202124; border: 1px solid #555b62; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.35); padding: 8px; }
.blw-cal .rdp-disabled .rdp-day_button, .blw-cal .rdp-outside .rdp-day_button { color: #aeb3b9; }
.blw-cal .rdp-disabled { opacity: 1; }
.mm-daypicker .rdp-disabled .rdp-day_button, .mm-daypicker .rdp-outside .rdp-day_button { color: #747b85; }
.mm-daypicker .rdp-disabled { opacity: 1; }
.mm-field-error { color: #b42318; margin: 5px 0 0; font-size: 14px; }
.blv-swipe-hint { display: none; }
@media (max-width: 767px) {
  .blv-swipe-hint { display: block; color: #555; font-size: 13px; margin: 6px 0; }
  .mm-dropdown { left: 0; right: auto; max-width: min(100%, calc(100vw - 32px)); }
}
