/* Real Source Sans Pro Bold, scoped to booking vehicle category titles. */
@font-face {
    font-family: "TM24 Booking Vehicle";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("source-sans-pro-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Booking page layout and vehicle presentation. */

.booking-step-intro {
    background: #fff;
    border: 1px solid #dfe8f1;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(20,60,90,0.08);
    box-sizing: border-box;
    overflow: hidden;
}

.tm24-booking-intro {
    width: 100%;
    color: #17212b;
}

.tm24-booking-intro__header {
    max-width: 680px;
    margin: 0 auto 16px;
    text-align: center;
}

.tm24-booking-intro__eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--tm24-theme-main, #1e73be);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.tm24-booking-intro__header h2 {
    margin: 0 0 10px;
    color: #17212b;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.tm24-booking-intro__header>p {
    max-width: 590px;
    margin: 10px auto 0;
    color: #5f6b76;
    font-size: 14px;
    line-height: 1.45;
}

.tm24-booking-intro__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    color: #18763e;
    background: #edf9f1;
    border: 1px solid #ccebd7;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.tm24-booking-intro__badge span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #18763e;
    font-size: 14px;
}

.tm24-booking-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

.tm24-booking-benefit {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
    background: #f7fbff;
    border: 1px solid #e8eef4;
    border-radius: 12px;
    box-sizing: border-box;
    transition: border-color 0.2s ease,box-shadow 0.2s ease,transform 0.2s ease;
}

.tm24-booking-benefit:hover {
    border-color: #bfd7ec;
    box-shadow: 0 6px 16px rgba(20,60,90,0.08);
    transform: translateY(-1px);
}

.tm24-booking-benefit__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    color: var(--tm24-theme-main, #1e73be);
    background: #e8f2fb;
    border-radius: 9px;
    line-height: 1;
}

.tm24-booking-benefit__svg {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.tm24-booking-benefit strong {
    display: block;
    margin: 0 0 1px;
    color: #17212b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.tm24-booking-benefit p {
    margin: 0;
    color: #5f6b76;
    font-size: 13px;
    line-height: 1.3;
}

@media screen and (min-width:1021px) {
    .booking-form-content {
        display: flex;
        align-items: stretch;
        width: 100%;
    }

    .booking-form-content>.widget-booking-form-wrapper {
        float: none;
        width: 34%;
        height: auto;
        margin-right: 3%;
    }

    .booking-form-content>.booking-step-intro {
        float: none;
        align-self: stretch;
        width: 63%;
        height: auto;
        margin-right: 0;
    }

    .booking-form-content>.full-booking-wrapper {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        float: none;
        box-sizing: border-box;
    }

    .booking-step-intro {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .tm24-booking-intro {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    .full-booking-wrapper .passenger-details-wrapper .passenger-details-half {
        width: 38%;
        margin-right: 4%;
        display: grid;
        grid-template-columns: max-content minmax(0,1fr);
        column-gap: 14px;
        row-gap: 17px;
        align-items: baseline;
    }

    .full-booking-wrapper .passenger-details-wrapper .passenger-details-half.last-col {
        width: 58%;
        margin-right: 0;
    }

    .full-booking-wrapper .passenger-details-wrapper .passenger-details-half p.clearfix {
        display: contents;
        margin: 0;
    }

    .full-booking-wrapper .passenger-details-wrapper .passenger-details-half p.clearfix::before,
    .full-booking-wrapper .passenger-details-wrapper .passenger-details-half p.clearfix::after {
        display: none;
        content: none;
    }

    .full-booking-wrapper .passenger-details-wrapper .passenger-details-half p strong,
    .full-booking-wrapper .passenger-details-wrapper .passenger-details-half p span {
        width: auto;
        float: none;
    }

    .full-booking-wrapper .passenger-details-wrapper .passenger-details-half p span {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}

@media screen and (max-width:1020px) {
    .booking-form-content {
        display: block;
        width: 100%;
    }

    .booking-form-content>.widget-booking-form-wrapper,
    .booking-form-content>.booking-step-intro {
        display: block;
        float: none;
        width: calc(100% - 48px);
        max-width: 760px;
        height: auto;
        margin: 0 auto 28px;
        box-sizing: border-box;
    }

    .booking-step-intro {
        padding: 26px;
    }
}

@media screen and (max-width:667px) {
    .booking-form-content>.widget-booking-form-wrapper,
    .booking-form-content>.booking-step-intro {
        width: calc(100% - 32px);
        margin-bottom: 24px;
    }

    .booking-step-intro {
        padding: 20px 15px;
        border-radius: 18px;
    }

    .tm24-booking-intro__header h2 {
        font-size: 23px;
    }

    .tm24-booking-benefit {
        padding: 11px;
    }

    .tm24-booking-benefit p {
        font-size: 13px;
    }
}

.widget-booking-form-wrapper #booking-tabs>ul,
.widget-booking-form-wrapper #booking-tabs>ul>li,
.widget-booking-form-wrapper #booking-tabs>ul>li>a {
    border-bottom: 0;
    box-shadow: none;
}

.booking-form-content input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):focus,
.booking-form-content textarea:focus,
.booking-form-content .select-wrapper:focus-within {
    background: #fff;
    border-color: #467bbf;
    box-shadow: 0 0 0 3px rgba(70,123,191,0.16);
    outline: none;
}

.vehicle-section.clearfix {
    position: relative;
}

.select-vehicle-wrapper .vehicle-section.selected-vehicle {
    border-color: #27ae60;
}

.select-vehicle-wrapper .vehicle-section.selected-vehicle:not(:focus-visible) {
    outline: none;
}

.select-vehicle-wrapper .vehicle-section:focus-visible {
    outline: 2px solid var(--tm24-theme-main, #1e73be);
    outline-offset: 3px;
}

/* Split card: category-colored vehicle area and a white fare panel. */
.select-vehicle-wrapper .vehicle-section[id="43"] { --car-wash: #aec7e0; }
.select-vehicle-wrapper .vehicle-section[id="5868"] { --car-wash: #aec7e0; }
.select-vehicle-wrapper .vehicle-section[id="42"] { --car-wash: #aec7e0; }
.select-vehicle-wrapper .vehicle-section[id="40"] { --car-wash: #aec7e0; }
.select-vehicle-wrapper .vehicle-section[id="20211"] { --car-wash: #aec7e0; }
.select-vehicle-wrapper .vehicle-section[id="31801"] { --car-wash: #aec7e0; }

.select-vehicle-wrapper .vehicle-section:is([id="43"], [id="5868"], [id="42"], [id="40"], [id="20211"], [id="31801"]) {
    isolation: isolate;
    background-color: #fff;
}

.select-vehicle-wrapper .vehicle-section::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0 auto 0 0;
    width: 44%;
    background: linear-gradient(180deg, var(--car-wash, #aec7e0) 0%, #faf9f6 73%, #e4dfd9 100%);
    pointer-events: none;
    z-index: -1;
}

.vehicle-section.clearfix .booking-vehicle-title {
    position: absolute;
    top: 25px;
    left: 49%;
    right: 16px;
    margin: 0;
    font-family: "TM24 Booking Vehicle", "Source Sans Pro", system-ui, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    text-align: right;
    overflow-wrap: anywhere;
}

.vehicle-section.clearfix ul {
    display: flex;
    gap: 8px;
    position: absolute;
    left: 22%;
    bottom: calc(var(--booking-fare-bottom, 24px) + 6px);
    margin: 0;
    transform: translateX(-50%);
}

.vehicle-section.clearfix li {
    margin: 0;
}

.vehicle-section.clearfix img.booking-vehicle-image {
    position: absolute;
    left: 3%;
    top: var(--booking-car-top, 12px);
    bottom: auto;
    width: 38%;
    max-width: 160px;
    margin: 0;
    height: auto;
}

.vehicle-section.clearfix .price-list,
.vehicle-section.clearfix .price-list-2 {
    position: absolute;
    left: 49%;
    right: 16px;
    bottom: var(--booking-fare-bottom, 24px);
}

.vehicle-section.clearfix .price-list > div,
.vehicle-section.clearfix .price-list-2 > div {
    text-align: right;
}

.vehicle-section.clearfix .price-list > div:last-child {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-top: 6px;
    padding-top: 6px;
}

.vehicle-section.clearfix .price-list-2 > div {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 4px;
    white-space: nowrap;
}

.vehicle-section.clearfix .price-list-2 > div > span:first-child {
    font-size: 12px;
}

.vehicle-section.clearfix .price-theme {
    color: var(--tm24-theme-main, #1e73be);
}

.select-vehicle-wrapper .vehicle-section.clearfix {
    box-sizing: border-box;
    display: block;
    overflow: hidden;
    min-height: 144px;
    padding: 18px 16px;
}

.select-vehicle-wrapper .vehicle-section.clearfix:has(.price-list) {
    min-height: 171px;
    --booking-car-top: 35px;
    --booking-fare-bottom: 14px;
}

.vehicle-section.clearfix:has(.price-list) .booking-vehicle-title {
    top: 14px;
}

@media (max-width: 467px) {
    .vehicle-section.clearfix .booking-vehicle-title {
        left: 40%;
    }
}

/* One-way cards: larger vehicle area, capacity beneath the category. */
.select-vehicle-wrapper .vehicle-section.clearfix:has(.price-list-2) {
    display: grid;
    grid-template-columns: 52% minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    min-height: 144px;
    padding: 16px;
}
.select-vehicle-wrapper .vehicle-section.clearfix:has(.price-list-2)::before {
    width: 52%;
}
.select-vehicle-wrapper .vehicle-section.clearfix:has(.price-list-2) img.booking-vehicle-image {
    left: 3.5%;
    top: calc(50% + 6px);
    width: 45%;
    max-width: none;
    transform: translateY(-50%);
}
.select-vehicle-wrapper .vehicle-section.clearfix:has(.price-list-2) .booking-vehicle-title {
    position: static;
    grid-column: 2;
    grid-row: 1;
    margin: 0;
}
.select-vehicle-wrapper .vehicle-section.clearfix:has(.price-list-2) ul {
    position: static;
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-end;
    margin: 8px 0 0;
    transform: none;
}
.select-vehicle-wrapper .vehicle-section.clearfix:has(.price-list-2) .price-list-2 {
    position: absolute;
    left: 57%;
    right: 16px;
    bottom: 16px;
    margin: 0;
}
.select-vehicle-wrapper .vehicle-section.clearfix:has(.price-list-2) > div:has(> .price-list-2) {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Return-price feedback stays secondary to booking fields. */
.booking-form-content .booking-form-1 input[name="return-journey-date"] {
    margin-bottom: 0;
}

.booking-form-content .booking-form-1 [data-return-price-status] {
    margin: 6px 0 16px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.booking-form-content .booking-form-1 [data-return-price-status]:empty {
    margin: 0 0 25px;
}

.booking-form-content .booking-form-1 [data-return-price-status][data-state="error"] {
    color: #9b2424;
    font-size: 16px;
    font-weight: 600;
}
