.booking-page { background: #f4f6f3; }
.booking-page main { background: transparent; }
.booking-shell { width: min(100% - 2.5rem, 74rem); margin: 0 auto; padding: 1.5rem 0 4rem; }
.booking-back { display: inline-flex; min-height: 44px; align-items: center; color: #43564f; font-weight: 700; }
.booking-heading { padding: 1rem 0 1.4rem; }
.booking-heading h1, .booking-empty h1 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; }
.booking-heading > p:last-child { max-width: 42rem; color: #53615e; font-size: 1.06rem; line-height: 1.65; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(19rem, 1fr); gap: 1.8rem; align-items: start; }
.booking-ticket, .booking-stage, .booking-order { min-width: 0; border: 1px solid #dbe3de; background: #fff; border-radius: 1.1rem; overflow-wrap: anywhere; }
.booking-ticket { grid-column: 1; grid-row: 1; border-top: 5px solid #0b7259; box-shadow: 0 14px 38px #193e2210; }
.booking-ticket-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; padding: 1rem 1.5rem; }
.booking-ticket-top > a { min-height: 44px; display: inline-flex; align-items: center; color: #176b55; font-size: .85rem; }
.booking-selected { display: inline-flex; align-items: center; gap: .5rem; font-weight: 850; color: #0c614d; }
.booking-selected > span { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #e0f1e8; }
.booking-ticket-body { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.6rem; padding: .5rem 1.5rem 1.8rem; }
.booking-calendar { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: start; padding: 1.25rem .6rem; border-radius: .75rem; background: #edf4ee; color: #143d2b; }
.booking-calendar strong { font-size: 4rem; line-height: 1; font-weight: 900; letter-spacing: -.06em; }
.booking-calendar > span { margin-top: .65rem; font-size: .9rem; font-weight: 800; }
.booking-time { margin: 0 0 .5rem; font-size: 1.45rem; font-weight: 850; }
.booking-time span { font-size: .78rem; font-weight: 500; color: #60716b; }
.booking-ticket h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.1; }
.booking-address, .booking-school { margin: .65rem 0 0; color: #52625b; line-height: 1.5; }
.booking-school { font-size: .85rem; }
.booking-gearbox { margin: .9rem 0 0; font-size: .86rem; font-weight: 700; }
.booking-ticket-bottom { padding: 1rem 1.5rem; border-top: 1px dashed #c7d3cc; background: #f8faf8; }
.booking-ticket-bottom p, .booking-ticket-bottom small { color: #53615e; font-size: .82rem; line-height: 1.5; }
.booking-pending { display: inline-flex; padding: .35rem .6rem; background: #fff3d8; color: #77530b; border-radius: .35rem; font-size: .73rem; font-weight: 800; }
.booking-stage { grid-column: 1; padding: 1.5rem; scroll-margin-top: 6rem; }
.booking-stage-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.booking-stage-heading > div { flex: 1; }
.booking-stage-heading .eyebrow { margin: 0 0 .3rem; }
.booking-stage-number { width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border: 1px solid #d3ddd7; border-radius: 50%; color: #4b6355; font-size: .8rem; font-weight: 850; }
.booking-stage h2 { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.booking-stage > p { color: #53615e; line-height: 1.65; }
.booking-observed { font-size: .78rem; }
.booking-checks { list-style: none; padding: 0; margin: 1.3rem 0 0; }
.booking-checks li { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr) auto; gap: .7rem; padding: .95rem 0; align-items: start; border-top: 1px solid #e4e9e5; }
.booking-check-symbol { width: 1.6rem; height: 1.6rem; display: grid; place-items: center; color: #7b672e; background: #fff3d8; border-radius: 50%; font-weight: 850; }
.booking-checks strong { font-size: .9rem; }
.booking-checks p { margin: .25rem 0 0; color: #60716b; font-size: .79rem; line-height: 1.5; }
.booking-check-label { font-size: .68rem; color: #786130; margin-top: .3rem; }
.booking-checks .is-official_ok .booking-check-symbol { color: #126044; background: #e0f1e8; }
.booking-checks .is-official_ok .booking-check-label { color: #126044; }
.booking-checks .is-official_blocked .booking-check-symbol { color: #a32b22; background: #fce9e5; }
.booking-checks .is-official_blocked .booking-check-label { color: #a32b22; }
.booking-stage-actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .75rem; }
.booking-payment-methods { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1rem 0; }
.booking-payment-methods li { border: 1px solid #d7e0da; padding: .55rem .8rem; border-radius: .4rem; font-size: .83rem; font-weight: 800; }
.booking-order { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: 6rem; padding: 1.6rem; box-shadow: 0 14px 38px #193e2210; }
.booking-order h2 { font-size: 1.7rem; margin: 0; line-height: 1.15; }
.booking-order-summary { margin: 1.4rem 0; padding-bottom: .5rem; border-bottom: 1px solid #e1e8e3; }
.booking-order-summary > div { display: flex; justify-content: space-between; gap: 1rem; margin: .8rem 0; font-size: .85rem; }
.booking-order-summary dt { color: #65736c; }
.booking-order-summary dd { margin: 0; text-align: right; font-weight: 800; }
.booking-choice fieldset { padding: 0; border: 0; margin: 0 0 1.2rem; min-width: 0; }
.booking-choice legend { margin-bottom: .7rem; font-size: .9rem; font-weight: 800; }
.booking-offer { display: flex; align-items: start; gap: .7rem; padding: .9rem; margin: .6rem 0; border: 1px solid #d7e0da; border-radius: .6rem; cursor: pointer; }
.booking-offer:has(input:checked) { background: #eef7f1; border-color: #176b55; box-shadow: 0 0 0 1px #176b55; }
.booking-offer input { width: 1.3rem; height: 1.3rem; margin: .15rem 0 0; flex-shrink: 0; accent-color: #176b55; }
.booking-offer > span { display: flex; flex-direction: column; gap: .35rem; }
.booking-offer strong { font-size: .85rem; line-height: 1.4; }
.booking-offer small { font-size: .72rem; color: #53615e; font-weight: 500; }
.booking-offer b { font-size: 1.2rem; }
.booking-submit { width: 100%; min-height: 3.4rem; justify-content: space-between; gap: 1rem; box-sizing: border-box; text-align: left; }
.booking-fineprint { font-size: .75rem !important; color: #65736c; line-height: 1.55; }
.booking-account-note { padding: .8rem; border-radius: .5rem; background: #f3f6f3; color: #52625b; line-height: 1.55; font-size: .85rem; }
.booking-question { display: flex; justify-content: center; align-items: center; min-height: 44px; margin-top: .75rem; color: #176b55; font-size: .78rem; }
.booking-alternatives { margin-top: 3rem; scroll-margin-top: 6rem; }
.booking-alternatives h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.booking-alternatives > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.booking-alternative { display: flex; flex-direction: column; gap: .65rem; padding: 1.2rem; background: #fff; border: 1px solid #d7e0da; border-radius: .75rem; color: #17271c; text-decoration: none; }
.booking-alternative:hover { border-color: #176b55; }
.booking-alternative time { font-weight: 850; font-size: 1.05rem; }
.booking-alternative time span { display: block; font-size: .8rem; margin-top: .3rem; font-weight: 500; }
.booking-alternative > span { color: #176b55; font-size: .8rem; margin-top: auto; }
.booking-empty { max-width: 46rem; margin: 2rem auto; padding: 2rem; border: 1px solid #d7e0da; border-radius: 1rem; background: #fff; }
.booking-empty > p:not(.eyebrow) { line-height: 1.6; color: #53615e; }
.booking-page :is(a, button, input):focus-visible { outline: 3px solid #0c8067; outline-offset: 4px; }
@media (max-width: 950px) {
    .booking-layout { grid-template-columns: minmax(0, 1fr); }
    .booking-order { grid-column: 1; grid-row: 2; position: static; }
    .booking-alternatives > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 550px) {
    .booking-shell { width: calc(100% - 1.5rem); }
    .booking-heading { padding-top: .8rem; }
    .booking-heading h1 { font-size: 1.8rem; }
    .booking-ticket-top, .booking-ticket-bottom, .booking-stage, .booking-order { padding: 1rem; }
    .booking-ticket-body { padding: .5rem 1rem 1.3rem; grid-template-columns: 5.2rem minmax(0, 1fr); gap: .9rem; }
    .booking-calendar strong { font-size: 3rem; }
    .booking-calendar > span { font-size: .7rem; }
    .booking-time span { display: block; margin-top: .25rem; }
    .booking-ticket h2 { font-size: 1.35rem; }
    .booking-address { font-size: .82rem; }
    .booking-stage-heading > .booking-pending { margin-left: 3.1rem; }
    .booking-checks li { grid-template-columns: 1.6rem minmax(0, 1fr); gap: .6rem; }
    .booking-check-label { grid-column: 2; margin: -.4rem 0 0; }
    .booking-alternatives > div { grid-template-columns: minmax(0, 1fr); }
    .booking-empty { padding: 1.2rem; }
}
