/* Landing-page booking widget v2 (markup: view/common/booking-widget-v2.php).
   Everything is scoped to .blw so the site-wide form styles do not leak in. */
.blw {
    --blw-ink: #111111;
    --blw-muted: #6f6f6f;
    --blw-line: #e4e1db;
    --blw-surface: #f6f5f2;
    --blw-accent: #b6ad9b;
    --blw-error: #b42318;
    --blw-ok: #1f7a4d;
    --blw-radius: 14px;
    position: relative;
    width: 100%;
    background: #fff;
    color: var(--blw-ink);
    border-radius: 22px;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .08);
    overflow: hidden;
    text-align: left;
    font-size: 15px;
    line-height: 1.35;
}
.blw *, .blw *::before, .blw *::after { box-sizing: border-box; }
.blw [hidden] { display: none !important; }
.blw svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.blw-head { padding: 26px 28px 18px; }
.blw-title { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; color: var(--blw-ink); }
.blw-sub { margin: 6px 0 0; font-size: 14.5px; color: var(--blw-muted); }

/* ---------- tabs ---------- */
.blw-modes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin: 0 28px;
    padding: 4px;
    background: var(--blw-surface);
    border-radius: 14px;
}
.blw-mode {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 6px 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--blw-muted);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s, box-shadow .2s;
    white-space: nowrap;
}
.blw-mode svg { width: 17px; height: 17px; flex: none; }
.blw-mode:hover { color: var(--blw-ink); }
.blw-mode.is-active { background: var(--blw-ink); color: #fff; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }
.blw-mode:focus-visible, .blw-swap:focus-visible, .blw-stepper__btn:focus-visible, .blw-toggle:focus-visible, .blw-cta:focus-visible {
    outline: 2px solid var(--blw-accent);
    outline-offset: 2px;
}

/* ---------- form ---------- */
.blw-form { padding: 18px 28px 22px; margin: 0; }

.blw-field {
    position: relative;
    display: block;
    min-height: 62px;
    padding: 10px 14px 9px 46px;
    background: var(--blw-surface);
    border: 1px solid transparent;
    border-radius: var(--blw-radius);
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.blw-field:focus-within { background: #fff; border-color: var(--blw-ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, .06); }
.blw-field.is-invalid { border-color: var(--blw-error); background: #fff; }
.blw-field__label {
    display: block;
    margin: 0 0 2px;
    padding: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blw-muted);
    line-height: 1.3;
}
.blw-field__label small { font-size: inherit; font-weight: 500; text-transform: none; letter-spacing: 0; }
.blw .blw-field__input {
    display: block;
    width: 100%;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: var(--blw-ink);
    font: inherit;
    font-size: 16px; /* 16px keeps iOS from zooming in on focus */
    font-weight: 500;
    line-height: 24px;
    text-overflow: ellipsis;
    cursor: text;
    -webkit-appearance: none;
    appearance: none;
}
.blw .blw-field__input::placeholder { color: #a3a09a; font-weight: 400; opacity: 1; }
.blw .blw-field__input[readonly] { cursor: pointer; background: transparent; }
.blw .blw-field__input--select { cursor: pointer; padding-right: 18px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6f6f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right center / 16px no-repeat; }
.blw .blw-field__input--select.is-empty { color: #a3a09a; font-weight: 400; }
.blw .blw-field__input--select option { color: #111; font-weight: 400; }
.blw-field__icon { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--blw-ink); }

/* route: two address fields joined into one block */
.blw-route { position: relative; border-radius: var(--blw-radius); background: var(--blw-surface); }
.blw-route .blw-field { background: transparent; border-radius: var(--blw-radius); padding-right: 56px; }
.blw-route .blw-field:focus-within, .blw-route .blw-field.is-invalid { background: #fff; }
.blw-route .blw-field + .blw-swap + .blw-field::before {
    content: ""; position: absolute; left: 46px; right: 56px; top: -1px; height: 1px; background: var(--blw-line);
}
.blw-field__dot {
    position: absolute; left: 17px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
    border: 2px solid var(--blw-ink); border-radius: 50%; background: #fff;
}
.blw-field__dot--end { border-radius: 3px; background: var(--blw-ink); }
.blw-route .blw-field:first-child .blw-field__dot::after {
    content: ""; position: absolute; left: 3px; top: 14px; width: 2px; height: 44px;
    background-image: linear-gradient(var(--blw-ink) 45%, transparent 0); background-size: 2px 6px; opacity: .35;
}
.blw-field__ok {
    position: absolute; right: 56px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
    color: var(--blw-ok); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s; pointer-events: none;
}
.blw-field__ok svg { width: 18px; height: 18px; stroke-width: 2.4; }
.blw-field.is-ok .blw-field__ok { opacity: 1; transform: none; }
.blw-field.is-ok .blw-field__input { padding-right: 24px; }
.blw-swap {
    position: absolute; right: 12px; top: 50%; z-index: 2; width: 36px; height: 36px; margin-top: -18px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--blw-line); border-radius: 50%; background: #fff; color: var(--blw-ink); cursor: pointer;
    transition: transform .25s, border-color .2s, box-shadow .2s;
}
.blw-swap svg { width: 17px; height: 17px; }
.blw-swap:hover { border-color: var(--blw-ink); transform: rotate(180deg); box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .3); }

.blw-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.blw-row > * { min-width: 0; }
.blw-row.is-single { grid-template-columns: 1fr; }
/* two steppers side by side: tighten them so both fit */
.blw-row:not(.is-single) > .blw-field--inline { padding-left: 12px; padding-right: 8px; gap: 6px; }
.blw-row:not(.is-single) > .blw-field--inline .blw-field__label { letter-spacing: .05em; }
.blw-row:not(.is-single) > .blw-field--inline .blw-stepper__btn { width: 32px; height: 32px; }
.blw-row:not(.is-single) > .blw-field--inline .blw-stepper__val { min-width: 24px; }

/* inline fields: label on the left, stepper on the right */
.blw-field--inline { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; }
.blw-field--inline .blw-field__label { margin: 0; }
.blw-field--inline:focus-within { background: var(--blw-surface); border-color: transparent; box-shadow: none; }

.blw-stepper { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.blw-stepper__btn {
    width: 36px; height: 36px; padding: 0; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--blw-line); border-radius: 50%; background: #fff; color: var(--blw-ink); cursor: pointer;
    transition: border-color .2s, background .2s, color .2s, opacity .2s;
}
.blw-stepper__btn svg { width: 16px; height: 16px; stroke-width: 2; }
.blw-stepper__btn:hover:not(:disabled) { background: var(--blw-ink); border-color: var(--blw-ink); color: #fff; }
.blw-stepper__btn:disabled { opacity: .35; cursor: default; }
.blw-stepper__val { display: inline-block; min-width: 30px; text-align: center; font-size: 17px; font-weight: 600; color: var(--blw-ink); font-variant-numeric: tabular-nums; }

/* child seats */
.blw-toggle {
    display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 0; padding: 4px 2px; border: 0; background: none;
    color: var(--blw-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.blw-toggle svg { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .2s; }
.blw-toggle.is-open svg { transform: rotate(45deg); }
.blw-toggle span { border-bottom: 1px solid transparent; transition: border-color .2s; }
.blw-toggle:hover span { border-color: currentColor; }
.blw-toggle em {
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--blw-ink); color: #fff;
    font-style: normal; font-size: 12px; line-height: 20px; text-align: center;
}
.blw-seats { margin-top: 8px; padding: 4px 10px 4px 16px; border: 1px solid var(--blw-line); border-radius: var(--blw-radius); }
.blw-seats__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; }
.blw-seats__row + .blw-seats__row { border-top: 1px solid var(--blw-line); }
.blw-seats__row strong { display: block; font-size: 14.5px; font-weight: 600; }
.blw-seats__row small { display: block; font-size: 12.5px; color: var(--blw-muted); }

/* messages */
.blw-error { margin: 6px 2px 0; font-size: 13px; color: var(--blw-error); }
.blw-notice { margin-top: 12px; padding: 12px 14px; border-radius: var(--blw-radius); background: #fbf6ea; border: 1px solid #ecdfbf; font-size: 13.5px; color: #4d4326; }
.blw-notice p { margin: 0 0 8px; }
.blw-notice__links { display: flex; flex-wrap: wrap; gap: 8px; }
.blw-notice__links a {
    display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 17px;
    background: var(--blw-ink); color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none;
}
.blw-notice__links a + a { background: #fff; color: var(--blw-ink); border: 1px solid var(--blw-ink); }

/* call to action */
.blw-cta {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px;
    margin-top: 16px; padding: 0 20px; border: 0; border-radius: var(--blw-radius); background: var(--blw-ink); color: #fff;
    font: inherit; font-size: 16px; font-weight: 600; letter-spacing: .02em; cursor: pointer;
    transition: transform .15s, box-shadow .2s, background .2s;
}
.blw-cta svg { width: 20px; height: 20px; stroke-width: 2; transition: transform .2s; }
.blw-cta:hover { background: #000; box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .65); }
.blw-cta:hover svg { transform: translateX(4px); }
.blw-cta:active { transform: translateY(1px); }
.blw-cta.is-busy { pointer-events: none; }
.blw-cta.is-busy span { opacity: .6; }
.blw-cta.is-busy svg { display: none; }
.blw-cta.is-busy::after {
    content: ""; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%;
    animation: blw-spin .7s linear infinite;
}
@keyframes blw-spin { to { transform: rotate(360deg); } }

.blw-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin: 14px 0 0; padding: 0; list-style: none; }
.blw-perks li { display: inline-flex; align-items: center; gap: 5px; margin: 0; padding: 0; font-size: 13px; color: var(--blw-muted); }
.blw-perks li::before { content: none; }
.blw-perks svg { width: 14px; height: 14px; stroke-width: 2.4; color: var(--blw-ink); }

/* quote tab keeps the site's existing contact form */
.blw-quote { padding: 18px 28px 22px; }
.blw-quote .form-cst, .blw-quote .wrapper, .blw-quote .form {
    margin: 0 !important; padding: 0 !important; width: 100% !important; max-width: none !important;
    background: none !important; border: 0 !important; box-shadow: none !important;
}
.blw-quote .form-control, .blw-quote .custom-tel-input { border-radius: var(--blw-radius); }
.blw-quote .btn.cta-primary { min-height: 58px; border-radius: var(--blw-radius); }

/* footer */
.blw-foot {
    display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 20px;
    border-top: 1px solid var(--blw-line); background: #faf9f7; font-size: 13.5px; color: var(--blw-muted);
}
.blw-stars { color: #111; letter-spacing: 2px; font-size: 14px; }

/* Google Places dropdown and calendar sit above the page header */
.pac-container { z-index: 10050 !important; margin-top: 8px; border: 0; border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .35); font-family: inherit; }
.pac-item { padding: 9px 14px; border-top-color: #efede8; font-size: 13.5px; cursor: pointer; line-height: 1.4; }
.pac-item:first-child { border-top: 0; }
.pac-item-query { font-size: 14.5px; color: #111; }
.pac-icon { display: none; }
.flatpickr-calendar { z-index: 10050 !important; }

@media (max-width: 575px) {
    .blw { border-radius: 18px; }
    .blw-head { padding: 20px 18px 14px; }
    .blw-title { font-size: 22px; }
    .blw-modes { margin: 0 18px; }
    .blw-mode { font-size: 13px; gap: 5px; padding: 6px 4px; }
    .blw-mode svg { width: 15px; height: 15px; }
    .blw-form, .blw-quote { padding: 14px 18px 18px; }
    .blw-row { gap: 8px; }
    .blw-field { padding-left: 42px; }
    .blw-field__icon { left: 12px; }
    .blw-field__dot { left: 15px; }
    .blw-route .blw-field + .blw-swap + .blw-field::before { left: 42px; }
    .blw-field--inline { padding-left: 14px; }
    .blw-row[data-blw-row-extra]:not(.is-single) { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .blw *, .blw *::before, .blw *::after { transition: none !important; animation-duration: .01s !important; }
}

.blw-quote .tel-input { border-radius: var(--blw-radius); }

/* ================= horizontal layout (.blw--bar): one row under the hero ================= */
.blw--bar { width: 90%; max-width: 1360px; margin: 0 auto; z-index: 10; border-radius: 24px;
    box-shadow: 0 26px 54px -20px rgba(0, 0, 0, .3), 0 2px 6px rgba(0, 0, 0, .06); }
.blw--bar .blw-head, .blw--bar .blw-foot { display: none; }
.blw--bar .blw-modes { grid-template-columns: repeat(2, 1fr); width: 340px; max-width: calc(100% - 36px); margin: 22px 28px 0; }
.blw--bar .blw-form { padding: 14px 28px 20px; }

@media (min-width: 768px) {
    .blw--bar .blw-form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: start; }
    .blw--bar .blw-row { margin-top: 0; }
    .blw--bar .blw-route { grid-row: 1; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
    .blw--bar .blw-form > .blw-row:not([data-blw-row-extra]) { grid-row: 2; grid-column: 1; }
    .blw--bar [data-blw-row-extra] { grid-row: 2; grid-column: 2; grid-template-columns: auto auto; }
    .blw--bar [data-blw-row-extra].is-single { grid-template-columns: auto; }
    .blw--bar .blw-cta { grid-row: 2; grid-column: 3; width: auto; min-height: 62px; margin-top: 0; padding: 0 26px; white-space: nowrap; }
    .blw--bar .blw-toggle { grid-row: 3; grid-column: 1; justify-self: start; margin-top: 0; }
    .blw--bar .blw-perks { grid-row: 3; grid-column: 2 / -1; justify-content: flex-end; margin-top: 4px; }
    .blw--bar .blw-error, .blw--bar .blw-seats, .blw--bar .blw-notice { grid-column: 1 / -1; margin-top: 0; }
    .blw--bar .blw-seats { width: 100%; max-width: 440px; }

    /* pick-up and destination side by side, swap button between them */
    .blw--bar .blw-route .blw-field { padding-right: 34px; }
    .blw--bar .blw-route .blw-field + .blw-swap + .blw-field { padding-left: 64px; padding-right: 14px; }
    .blw--bar .blw-route .blw-field + .blw-swap + .blw-field .blw-field__dot { left: 35px; }
    .blw--bar .blw-route .blw-field + .blw-swap + .blw-field::before,
    .blw--bar .blw-route .blw-field:first-child .blw-field__dot::after { content: none; }
    .blw--bar .blw-swap { left: 50%; right: auto; margin-left: -18px; }
    .blw--bar .blw-swap svg { transform: rotate(90deg); }
    .blw--bar .blw-field__ok { right: 28px; }
    .blw--bar .blw-route .blw-field + .blw-swap + .blw-field .blw-field__ok { right: 14px; }

    /* compact steppers: label above, buttons below */
    .blw--bar .blw-field--inline { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 7px 14px 6px; }
    .blw--bar .blw-field--inline .blw-stepper__btn { width: 28px; height: 28px; }
    .blw--bar .blw-field--inline .blw-stepper__btn svg { width: 14px; height: 14px; }
    .blw--bar .blw-field--inline .blw-stepper__val { min-width: 28px; font-size: 16px; }
}
@media (min-width: 1500px) {
    /* everything in a single row */
    .blw--bar .blw-form { grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.9fr) auto auto; }
    .blw--bar .blw-route { grid-row: 1; grid-column: 1; }
    .blw--bar .blw-form > .blw-row:not([data-blw-row-extra]) { grid-row: 1; grid-column: 2; }
    .blw--bar [data-blw-row-extra] { grid-row: 1; grid-column: 3; }
    .blw--bar .blw-cta { grid-row: 1; grid-column: 4; }
    .blw--bar .blw-toggle { grid-row: 2; }
    .blw--bar .blw-perks { grid-row: 2; }
    .blw--bar .blw-form > .blw-row:not([data-blw-row-extra]) .blw-field { padding-left: 42px; padding-right: 10px; }
    .blw--bar .blw-form > .blw-row:not([data-blw-row-extra]) .blw-field__icon { left: 12px; }
}
@media (max-width: 767px) {
    .blw--bar { width: calc(100% - 24px); }
    .blw--bar .blw-modes { width: auto; max-width: none; margin: 18px 18px 0; }
}
/* ================= address suggestions (own list: airports first, exact places only) ================= */
.blw-sug { position: absolute; z-index: 10050; overflow: hidden; padding: 6px; border-radius: 16px; background: #fff; color: #111;
    box-shadow: 0 22px 46px -14px rgba(0, 0, 0, .38), 0 2px 6px rgba(0, 0, 0, .08); font-size: 14.5px; line-height: 1.3; text-align: left; }
.blw-sug[hidden] { display: none; }
.blw-sug__item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 11px; cursor: pointer; }
.blw-sug__item:hover, .blw-sug__item.is-active { background: #f4f3ef; }
.blw-sug__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #f4f3ef; color: #55524b; }
.blw-sug__item:hover .blw-sug__icon, .blw-sug__item.is-active .blw-sug__icon { background: #fff; }
.blw-sug__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.blw-sug__icon--airport { background: #111; color: #fff; }
.blw-sug__item:hover .blw-sug__icon--airport, .blw-sug__item.is-active .blw-sug__icon--airport { background: #111; }
.blw-sug__icon--airport svg { fill: currentColor; stroke: none; }
.blw-sug__text { display: flex; flex-direction: column; min-width: 0; }
.blw-sug__main { font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.blw-sug__main b { font-weight: 700; }
.blw-sug__sub { color: #77746d; font-size: 12.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.blw-sug__foot { display: flex; justify-content: flex-end; padding: 6px 8px 2px; }
.blw-sug__foot img { display: block; height: 14px; width: auto; }

/* ================= time picker panel ================= */
.blw select[hidden] { display: none !important; }
.blw .blw-time-btn { display: flex; align-items: baseline; gap: 8px; width: 100%; overflow: hidden; text-align: left; white-space: nowrap; cursor: pointer; }
.blw .blw-time-btn small { color: #77746d; font-size: 13px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.blw .blw-field.is-open { background: #fff; border-color: var(--blw-ink); }
.blw-tp { position: absolute; z-index: 10050; padding: 14px; border-radius: 18px; background: #fff; color: #111;
    box-shadow: 0 22px 46px -14px rgba(0, 0, 0, .38), 0 2px 6px rgba(0, 0, 0, .08); font-size: 14px; }
.blw-tp[hidden] { display: none; }
.blw-tp__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 2px 2px 8px; color: #77746d;
    font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.blw-tp__head strong { color: #111; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.blw-tp__hours { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin-bottom: 14px; }
.blw-tp__mins { display: grid; grid-template-columns: repeat(4, 1fr) 1.15fr; gap: 5px; }
.blw-tp button { height: 40px; margin: 0; padding: 0; border: 1px solid transparent; border-radius: 10px; background: #f4f3ef; color: #111;
    font: inherit; font-size: 14.5px; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s; }
.blw-tp button:hover { border-color: #111; background: #fff; }
.blw-tp button.is-on { background: #111; border-color: #111; color: #fff; }
.blw-tp button:focus-visible { outline: 2px solid #b6ad9b; outline-offset: 2px; }
.blw-tp .blw-tp__ok { background: #111; color: #fff; font-weight: 600; }
.blw-tp .blw-tp__ok:hover { background: #000; color: #fff; }

@media (max-width: 767px) {
    /* the page lifts the widget block into the hero; keep the gap the previous form had */
    .blw--bar { margin-top: 72px; }
}
@media (max-width: 420px) {
    .blw .blw-time-btn small { display: none; }
}
