.tb-booking {
    padding: 72px 0 96px;
    background: #f7f4ef;
}

.tb-booking__head {
    max-width: 860px;
    margin-bottom: 28px;
}

.tb-booking__eyebrow {
    margin: 0 0 10px;
    color: #FC7700;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tb-booking__title {
    margin: 0;
    color: #181818;
    font-size: clamp(32px, 3.8vw, 46px);
    line-height: 1.08;
}

.tb-booking__subtitle {
    max-width: 760px;
    margin: 16px 0 0;
    color: rgba(24, 24, 24, 0.72);
    font-size: 17px;
    line-height: 1.6;
}

.tb-booking__message {
    margin: 0 0 24px;
    padding: 16px 18px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.5;
}

.tb-booking__message--success {
    color: #1f5f36;
    background: rgba(31, 95, 54, 0.1);
}

.tb-booking__message--error {
    color: #8a2f20;
    background: rgba(138, 47, 32, 0.1);
}

.tb-booking-form__hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.tb-booking__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.tb-booking__vehicles {
    display: grid;
    gap: 14px;
}

.tb-booking-car {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 170px;
    gap: 22px;
    align-items: center;
    padding: 18px;
    background: #ffffff;
    border: 1px solid rgba(24, 24, 24, 0.1);
    border-radius: 22px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tb-booking-car.is-selected {
    border-color: #FC7700;
    box-shadow: 0 18px 44px rgba(252, 119, 0, 0.14);
}

.tb-booking-car__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    border-radius: 16px;
    background: #f7f4ef;
    overflow: hidden;
}

.tb-booking-car__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 110px;
    object-fit: contain;
}

.tb-booking-car__placeholder {
    color: rgba(24, 24, 24, 0.42);
    font-size: 13px;
    font-weight: 700;
}

.tb-booking-car__title {
    margin: 0;
    color: #181818;
    font-size: 24px;
    line-height: 1.14;
}

.tb-booking-car__badge {
    display: inline-flex;
    width: fit-content;
    margin-top: 8px;
    padding: 4px 9px;
    color: #FC7700;
    background: rgba(252, 119, 0, 0.1);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.tb-booking-car__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 12px 0 0;
    padding: 0;
    color: rgba(24, 24, 24, 0.62);
    font-size: 14px;
    line-height: 1.4;
    list-style: none;
}

.tb-booking-car__side {
    display: grid;
    justify-items: end;
    gap: 7px;
    text-align: right;
}

.tb-booking-car__price-label {
    color: rgba(24, 24, 24, 0.48);
    font-size: 12px;
    line-height: 1.3;
}

.tb-booking-car__price {
    color: #181818;
    font-size: 24px;
    line-height: 1;
}

.tb-booking-car__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    color: #ffffff;
    background: #fc7700;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.tb-booking-car.is-selected .tb-booking-car__button {
    background: #fc7700;
}

.tb-booking__aside {
    position: sticky;
    top: 28px;
    display: grid;
    gap: 14px;
}

.tb-booking-summary,
.tb-booking-passenger {
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(24, 24, 24, 0.1);
    border-radius: 22px;
}

.tb-booking-summary__title,
.tb-booking-passenger__title {
    margin: 0 0 18px;
    color: #181818;
    font-size: 24px;
    line-height: 1.2;
}

.tb-booking-summary__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tb-booking-field {
    display: grid;
    gap: 7px;
    margin: 0 0 14px;
}

.tb-booking-field span {
    color: rgba(24, 24, 24, 0.64);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.tb-booking-field input,
.tb-booking-field select,
.tb-booking-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    color: #181818;
    background: #ffffff;
    border: 1px solid rgba(24, 24, 24, 0.16);
    border-radius: 12px;
    font: inherit;
    line-height: 1.35;
}

.tb-booking-field textarea {
    resize: vertical;
}

.tb-booking-field input:focus,
.tb-booking-field select:focus,
.tb-booking-field textarea:focus {
    outline: 2px solid rgba(252, 119, 0, 0.24);
    outline-offset: 2px;
    border-color: #FC7700;
}

.tb-booking-summary__vehicle {
    display: grid;
    gap: 5px;
    margin: 18px 0;
    padding-top: 18px;
    border-top: 1px solid rgba(24, 24, 24, 0.1);
}

.tb-booking-summary__vehicle span {
    color: rgba(24, 24, 24, 0.58);
    font-size: 13px;
    font-weight: 700;
}

.tb-booking-summary__vehicle strong {
    color: #181818;
    font-size: 17px;
    line-height: 1.35;
}

.tb-booking-summary__vehicle em {
    color: #FC7700;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
}

.tb-booking-summary__next,
.tb-booking-passenger__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0 24px;
    color: #ffffff;
    background: #fc7700;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.tb-booking-summary__next:disabled {
    cursor: not-allowed;
    background: rgba(24, 24, 24, 0.28);
}

.tb-booking-summary__next:not(:disabled):hover,
.tb-booking-passenger__submit:hover,
.tb-booking-passenger__submit:focus-visible {
    background: #e96d00;
    transform: translateY(-1px);
}

.tb-booking-summary__note,
.tb-booking-passenger__privacy {
    margin: 14px 0 0;
    color: rgba(24, 24, 24, 0.58);
    font-size: 13px;
    line-height: 1.5;
}

.tb-booking__empty {
    padding: 24px;
    background: #ffffff;
    border-radius: 18px;
}

@media (max-width: 1100px) {
    .tb-booking__layout {
        grid-template-columns: 1fr;
    }

    .tb-booking__aside {
        position: static;
    }
}

@media (max-width: 767px) {
    .tb-booking {
        padding: 48px 0 64px;
    }

    .tb-booking-car {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }

    .tb-booking-car__side {
        justify-items: stretch;
        text-align: left;
    }

    .tb-booking-car__button {
        width: 100%;
    }

    .tb-booking-summary,
    .tb-booking-passenger {
        padding: 18px;
        border-radius: 18px;
    }

    .tb-booking-summary__row {
        grid-template-columns: 1fr;
    }
}

.tb-booking-return {
    margin: 4px 0 16px;
    padding: 14px;
    background: #f7f4ef;
    border-radius: 14px;
}

.tb-booking-return__toggle {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
    color: #181818;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
}

.tb-booking-return__toggle input {
    width: 18px;
    height: 18px;
    accent-color: #FC7700;
}

.tb-booking-return__fields {
    display: grid;
    gap: 0;
    margin-top: 14px;
}

/* ===== TaxiBerlin Minivan-style booking layout START ===== */
.tb-booking__head {
    max-width: 760px;
}

.tb-booking__layout {
    align-items: start;
}

.tb-booking__vehicles > .tb-booking-summary:first-child {
    order: 1;
}

.tb-booking__vehicles > .tb-booking-passenger {
    order: 4;
}

.tb-booking__vehicles > .tb-booking-summary:not(:first-child) {
    order: 2;
}

.tb-booking__vehicles > .tb-booking-car,
.tb-booking__vehicles > .tb-booking__empty {
    order: 3;
}

.tb-booking__aside {
    gap: 16px;
}

.tb-booking-panel {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.tb-booking-panel__title {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.25;
    color: #0f172a;
}

.tb-booking-details {
    display: grid;
    gap: 14px;
    margin: 0;
}

.tb-booking-details__item {
    display: grid;
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.tb-booking-details__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.tb-booking-details dt {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tb-booking-details dd {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.tb-booking-payment-preview {
    display: grid;
    gap: 6px;
    margin: 14px 0 16px;
    padding: 12px;
    border-radius: 14px;
    background: #f8fafc;
    font-size: 13px;
    color: #334155;
}

.tb-booking-payment-preview span:first-child {
    font-weight: 800;
    color: #0f172a;
}

.tb-booking-car {
    border-radius: 18px;
}

.tb-booking-car__button,
.tb-booking-summary__next {
    border-radius: 12px;
}

@media (max-width: 1100px) {
    .tb-booking__vehicles > .tb-booking-summary:first-child,
    .tb-booking__vehicles > .tb-booking-passenger,
    .tb-booking__vehicles > .tb-booking-summary:not(:first-child),
    .tb-booking__vehicles > .tb-booking-car,
    .tb-booking__vehicles > .tb-booking__empty {
        order: initial;
    }
}
/* ===== TaxiBerlin Minivan-style booking layout END ===== */

/* ===== TaxiBerlin return transfer accordion START ===== */
.tb-booking-return {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: #050505;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.tb-booking-return__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    user-select: none;
}

.tb-booking-return__toggle span {
    color: #ffffff;
}

.tb-booking-return__toggle input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #ffffff;
    flex: 0 0 auto;
}

.tb-booking-return__toggle::after {
    content: "Развернуть";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

.tb-booking-return.is-open .tb-booking-return__toggle::after {
    content: "Скрыть";
}

.tb-booking-return__fields {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tb-booking-return__fields[hidden] {
    display: none !important;
}

.tb-booking-return .tb-booking-field span {
    color: #ffffff;
}

.tb-booking-return .tb-booking-field input {
    background: #ffffff;
    color: #111827;
    border-color: rgba(255, 255, 255, 0.26);
}

.tb-booking-return .tb-booking-field input::placeholder {
    color: #64748b;
}

@media (max-width: 767px) {
    .tb-booking-return__toggle {
        align-items: flex-start;
    }

    .tb-booking-return__toggle::after {
        min-width: 92px;
    }
}
/* ===== TaxiBerlin return transfer accordion END ===== */

/* ===== TaxiBerlin booking vehicle markers START ===== */
.tb-booking-car__markers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.tb-booking-car__markers li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.tb-booking-car__markers li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #050505;
    color: #ffffff;
    font-size: 11px;
    line-height: 1;
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    .tb-booking-car__markers {
        gap: 7px;
    }

    .tb-booking-car__markers li {
        width: 100%;
        justify-content: flex-start;
    }
}
/* ===== TaxiBerlin booking vehicle markers END ===== */

/* ===== TaxiBerlin booking route price label START ===== */
.tb-booking-car__price-label {
    display: grid;
    gap: 2px;
    max-width: 150px;
    margin-left: auto;
    text-align: right;
    line-height: 1.15;
}

.tb-booking-car__price-label span {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.tb-booking-car__price-label em {
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
}

@media (max-width: 767px) {
    .tb-booking-car__price-label {
        max-width: none;
        margin-left: 0;
        text-align: left;
    }
}
/* ===== TaxiBerlin booking route price label END ===== */

/* ===== TaxiBerlin booking minimal radius START ===== */
.tb-booking-summary,
.tb-booking-passenger,
.tb-booking-car,
.tb-booking-panel,
.tb-booking-payment-preview,
.tb-booking-return {
    border-radius: 6px;
}

.tb-booking-field input,
.tb-booking-field select,
.tb-booking-field textarea,
.tb-booking-car__button,
.tb-booking-summary__next,
.tb-booking-passenger__submit {
    border-radius: 4px;
}

.tb-booking-car__badge,
.tb-booking-car__markers li,
.tb-booking-car__markers li::before,
.tb-booking-return__toggle::after {
    border-radius: 4px;
}

.tb-booking-car__media img,
.tb-booking-car__placeholder {
    border-radius: 4px;
}
/* ===== TaxiBerlin booking minimal radius END ===== */

/* ===== TaxiBerlin booking vehicle route note START ===== */
.tb-booking-car__route-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 0;
    padding: 7px 10px;
    background: rgba(252, 119, 0, 0.10);
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.tb-booking-car__route-note::before {
    content: "i";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #FC7700;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    flex: 0 0 auto;
}

.tb-booking-car__route-note strong {
    font-weight: 900;
}

@media (max-width: 767px) {
    .tb-booking-car__route-note {
        display: flex;
        width: 100%;
    }
}
/* ===== TaxiBerlin booking vehicle route note END ===== */

/* ===== TaxiBerlin booking readable marker font weight START ===== */
.tb-booking-car__route-note,
.tb-booking-car__route-note strong,
.tb-booking-car__markers li,
.tb-booking-car__badge,
.tb-booking-car__price-label span,
.tb-booking-car__price-label em {
    font-weight: 600;
}

.tb-booking-car__title,
.tb-booking-car__price {
    font-weight: 700;
}

.tb-booking-car__route-note,
.tb-booking-car__markers li {
    font-size: 12px;
    letter-spacing: 0;
}

.tb-booking-car__price-label span {
    font-size: 11px;
    letter-spacing: 0;
    text-transform: none;
}

.tb-booking-car__route-note::before,
.tb-booking-car__markers li::before {
    font-weight: 600;
}
/* ===== TaxiBerlin booking readable marker font weight END ===== */

/* ===== TaxiBerlin vehicle cards size tuning START ===== */
.tb-booking-car {
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) minmax(170px, auto);
    gap: clamp(22px, 2vw, 30px);
    padding: clamp(24px, 2vw, 30px);
}

.tb-booking-car__media {
    min-height: 180px;
}

.tb-booking-car__media img {
    display: block;
    width: min(100%, 240px);
    max-width: 240px;
    height: 165px;
    margin-inline: auto;
    object-fit: contain;
    object-position: center;
    transform: scale(1.08);
    transform-origin: center;
}

.tb-booking-car__title {
    font-size: clamp(23px, 1.55vw, 28px);
    line-height: 1.16;
}

.tb-booking-car__facts,
.tb-booking-car__markers {
    font-size: 16px;
}

@media (max-width: 1024px) {
    .tb-booking-car {
        grid-template-columns: 1fr;
    }

    .tb-booking-car__media {
        min-height: 200px;
    }

    .tb-booking-car__media img {
        width: min(100%, 300px);
        max-width: 300px;
        height: 185px;
        transform: scale(1.06);
    }
}

@media (max-width: 767px) {
    .tb-booking-car {
        padding: 22px;
    }

    .tb-booking-car__media {
        min-height: 185px;
    }

    .tb-booking-car__media img {
        height: 170px;
    }
}
/* ===== TaxiBerlin vehicle cards size tuning END ===== */


/* ===== TaxiBerlin Stripe EUR payment choice START ===== */
.tb-booking-payment-methods {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.tb-booking-payment-methods__title {
  font-weight: 700;
  color: #111827;
}

.tb-booking-payment-method {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(17, 24, 39, .14);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  cursor: pointer;
}

.tb-booking-payment-method input {
  margin-top: 3px;
}

.tb-booking-payment-method strong,
.tb-booking-payment-method em {
  display: block;
}

.tb-booking-payment-method em {
  margin-top: 3px;
  color: #6b7280;
  font-style: normal;
  font-size: .92em;
}
/* ===== TaxiBerlin Stripe EUR payment choice END ===== */

/* ===== TaxiBerlin Geoapify autocomplete START ===== */
.tb-geoapify-suggestions {
  position: fixed;
  z-index: 2147483000;
  overflow-y: auto;
  border: 1px solid rgba(17, 24, 39, .16);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(17, 24, 39, .22);
  padding: 6px;
  box-sizing: border-box;
}

.tb-geoapify-suggestions[hidden] {
  display: none;
}

.tb-geoapify-suggestions__item {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 10px 12px;
  text-align: left;
  color: #111827;
  font: inherit;
  line-height: 1.35;
  cursor: pointer;
}

.tb-geoapify-suggestions__item:hover,
.tb-geoapify-suggestions__item:focus {
  background: rgba(47, 88, 115, .10);
  outline: none;
}

.tb-geoapify-suggestions__item.is-muted {
  color: #6b7280;
  cursor: default;
}
/* ===== TaxiBerlin Geoapify autocomplete END ===== */


/* FORM 1Y: booking details final layout */
.tb-booking-details-page .tb-booking__vehicles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tb-booking-details-page .tb-booking__vehicles > .tb-booking-summary {
    order: 1;
}

.tb-booking-details-page .tb-booking-details-form {
    order: 2;
}

.tb-booking-details-page .tb-booking-car__markers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.tb-booking-details-page .tb-booking-car__markers li {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.04);
    color: inherit;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
}


/* FORM 2G: mobile sticky booking CTA */
.tb-booking-mobile-sticky-cta {
    display: none;
}

@media (max-width: 767px) {
    body.tb-booking-has-mobile-sticky {
        padding-bottom: 86px;
    }

    .tb-booking-mobile-sticky-cta {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 9998;
        display: block;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid rgba(15, 23, 42, 0.12);
        box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.16);
    }

    .tb-booking-mobile-sticky-cta__button {
        width: 100%;
        min-height: 50px;
        border: 0;
        border-radius: 12px;
        background: #ff6b00;
        color: #ffffff;
        font-weight: 800;
        font-size: 16px;
        line-height: 1.2;
        cursor: pointer;
    }

    .tb-booking-mobile-sticky-cta[data-tb-ready="0"] .tb-booking-mobile-sticky-cta__button {
        background: #111827;
    }
}

@media (min-width: 768px) {
    .tb-booking-mobile-sticky-cta {
        display: none !important;
    }
}
