/* Waylo reservation experience. Scoped to avoid conflicts with auth/social pages. */
.wl-booking-detail .backlink,
.wl-reservation-page .backlink {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
.wl-booking-detail .backlink:hover,
.wl-reservation-page .backlink:hover { text-decoration: underline; }

.wl-detail-hero {
    width: 100%;
    min-height: 260px;
    height: clamp(260px, 35vw, 445px);
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: #215447;
}
.wl-detail-hero > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wl-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    min-height: 160px;
    padding: 20px;
    color: #e5f9ed;
    background: linear-gradient(120deg, #31715c, #103c30);
    text-align: center;
    font-size: 13px;
}
.wl-photo-placeholder .wa-icon { width: 44px; height: 44px; }
.wl-detail-grid { gap: clamp(24px, 5vw, 65px); }
.wl-booking-detail .trip-detail-main h1 { margin: 13px 0 12px; }
.wl-booking-detail .trip-detail-main h2 { margin-top: 34px; }
.wl-booking-detail .trip-detail-description { max-width: 66ch; }
.wl-trip-facts { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 21px 0; }
.wl-trip-facts > span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.wl-trip-facts .wa-icon { width: 18px; height: 18px; }
.wl-trip-facts strong { color: var(--text); }
.wl-detail-booking-panel { padding: 26px; }
.wl-detail-price { display: flex; flex-direction: column; gap: 3px; margin-bottom: 24px; }
.wl-detail-price .wl-price { color: var(--green); font-size: clamp(27px, 3vw, 35px); font-weight: 900; }
.wl-detail-price small { color: var(--muted); font-size: 12px; }
.wl-advance-promise { border-top: 1px solid var(--border); margin-top: 20px; padding: 20px 0 8px; }
.wl-advance-promise strong { color: var(--text); font-size: 14px; }
.wl-advance-promise p { color: var(--muted); line-height: 1.7; font-size: 12px; }
.wl-detail-booking-panel .wl-reserve-action { display: flex; min-height: 50px; margin-top: 7px; font-size: 14px; }
.wl-detail-booking-panel .wl-group-link { margin-top: 15px; }
.wl-pay-helper { font-size: 12px; line-height: 1.65; color: var(--muted); margin: 14px 0 0; }

.wl-reservation-page { max-width: 1160px; }
.wl-reservation-head { margin-bottom: 30px; }
.wl-reservation-head h1 { margin: 9px 0 11px; font-size: clamp(31px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -1.6px; color: var(--text); }
.wl-reservation-head > p { margin: 0; max-width: 680px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.wl-reservation-closed { max-width: 720px; padding: 32px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.wl-reservation-closed h2 { margin: 0 0 11px; color: var(--text); }
.wl-reservation-closed p { color: var(--muted); }
.wl-reservation-closed a { color: var(--green); font-weight: 800; }
.wl-reservation-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .85fr); align-items: start; gap: 24px; }
.wl-reservation-left { display: grid; gap: 22px; min-width: 0; }
.wl-reservation-card { min-width: 0; padding: 26px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); color: var(--text); }
.wl-reservation-card h2 { margin: 0; color: var(--text); font-size: 20px; line-height: 1.25; }
.wl-reservation-trip { display: grid; grid-template-columns: 175px minmax(0, 1fr); align-items: stretch; padding: 12px; gap: 19px; }
.wl-reservation-trip-photo { overflow: hidden; min-height: 154px; border-radius: 13px; background: #235847; }
.wl-reservation-trip-photo > img { width: 100%; height: 100%; min-height: 154px; object-fit: cover; display: block; }
.wl-reservation-trip-photo .wl-photo-placeholder { min-height: 154px; }
.wl-reservation-trip-info { padding: 8px 9px 8px 0; align-self: center; }
.wl-reservation-trip-info h2 { margin: 8px 0 12px; overflow-wrap: anywhere; }
.wl-reservation-trip-info p { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 8px 0; }
.wl-reservation-trip-info .wl-seats-available { color: var(--green); font-weight: 750; }
.wl-step-heading { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 24px; }
.wl-step-number { flex-shrink: 0; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--green-light); color: var(--text); font-size: 13px; font-weight: 900; }
.wl-step-heading h2 { font-size: 21px; }
.wl-step-heading p { margin: 7px 0 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.wl-control-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--border); }
.wl-control-row label { display: block; color: var(--text); font-size: 14px; font-weight: 800; }
.wl-control-row > div:first-child p { margin: 5px 0 0; font-size: 12px; color: var(--muted); }
.wl-trip-cost-row { color: var(--muted); font-size: 13px; }
.wl-trip-cost-row strong { font-size: 16px; color: var(--text); }
.wl-seat-stepper { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--field); }
.wl-seat-stepper button { width: 42px; min-height: 43px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 19px; font-weight: 800; cursor: pointer; }
.wl-seat-stepper button:not(:disabled):hover { background: var(--green-light); }
.wl-seat-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.wl-seat-stepper input { width: 42px; min-height: 43px; padding: 0; text-align: center; background: transparent; color: var(--text); border: 0; font: inherit; font-size: 14px; font-weight: 900; -moz-appearance: textfield; }
.wl-seat-stepper input::-webkit-inner-spin-button,
.wl-seat-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.wl-advance-settings { padding-top: 24px; }
.wl-advance-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.wl-advance-head label { font-size: 14px; font-weight: 800; color: var(--text); }
.wl-advance-head output { font-size: 20px; font-weight: 900; color: var(--green); }
.wl-advance-settings input[type="range"] { display: block; width: 100%; margin: 0; padding: 0; height: 27px; accent-color: #168c78; cursor: pointer; }
.wl-slider-scale { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; font-weight: 700; }
.wl-advance-settings > p { margin: 17px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.wl-form-field { margin-bottom: 15px; }
.wl-form-field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; color: var(--text); }
.wl-form-field input { display: block; width: 100%; min-height: 46px; padding: 11px 13px; color: var(--text); background: var(--field); border: 1px solid var(--border); border-radius: 10px; font: inherit; font-size: 13px; }
.wl-form-field input:focus,
.wl-seat-stepper:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.wl-form-field input::placeholder { color: var(--muted); opacity: 1; }
.wl-form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wl-reservation-summary { position: sticky; top: 22px; }
.wl-reservation-summary h2 { margin: 8px 0 23px; font-size: 23px; }
.wl-summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; margin: 15px 0; }
.wl-summary-row strong { color: var(--text); font-weight: 800; text-align: right; }
.wl-summary-divider { border-top: 1px solid var(--border); margin: 19px 0; }
.wl-pay-now-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--green-light); padding: 17px; border-radius: 12px; margin: 22px 0; }
.wl-pay-now-row > div { display: flex; flex-direction: column; gap: 5px; }
.wl-pay-now-row > div > span { color: var(--text); font-size: 15px; font-weight: 900; }
.wl-pay-now-row small { color: var(--muted); font-size: 11px; line-height: 1.4; }
.wl-pay-now-row > strong { color: var(--green); font-size: clamp(20px, 2.7vw, 28px); white-space: nowrap; }
.wl-remaining-row { border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.wl-summary-note { margin: 13px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.wl-summary-note strong { color: var(--text); }
.wl-submit-payment { width: 100%; min-height: 49px; border: 0; border-radius: 11px; color: #fff; background: #168c78; font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; padding: 11px 15px; }
.wl-submit-payment:not(:disabled):hover { background: #0f715e; }
.wl-submit-payment:disabled { cursor: not-allowed; opacity: .58; }
.wl-checkout-unavailable, .wl-sandbox-footnote { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 13px 0 0; }
.wl-invalid-total { padding: 11px 13px; border: 1px solid var(--error); border-radius: 9px; background: var(--error-bg); color: var(--error); font-size: 12px; margin-bottom: 13px; }
.wl-invalid-total[hidden] { display: none; }
@media (max-width: 860px) {
    .wl-reservation-grid { grid-template-columns: 1fr; }
    .wl-reservation-summary { position: static; }
}
@media (max-width: 520px) {
    .wl-detail-hero { min-height: 220px; height: 240px; border-radius: 14px; }
    .wl-reservation-page { padding-left: 14px; padding-right: 14px; }
    .wl-reservation-trip { grid-template-columns: 1fr; }
    .wl-reservation-trip-photo { height: 190px; }
    .wl-reservation-trip-photo > img { height: 190px; }
    .wl-reservation-trip-info { padding: 2px 6px 7px; }
    .wl-reservation-card { padding: 18px; border-radius: 14px; }
    .wl-reservation-trip { padding: 12px; }
    .wl-form-two { grid-template-columns: 1fr; gap: 0; }
    .wl-pay-now-row { align-items: flex-start; flex-direction: column; }
    .wl-seat-control-row { align-items: flex-start; }
}
