.booking-page { background: #f4f6f3; }
.booking-page main { background: transparent; }
.booking-page--selected { position: relative; isolation: isolate; background: #e6eee8; }
.booking-center-visual { position: absolute; inset: 0; z-index: -1; margin: 0; overflow: hidden; }
.booking-center-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% 35%; }
.booking-center-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f4f6f34d, transparent 65%); pointer-events: none; }
.booking-map-location { position: absolute; z-index: 1; top: 6%; left: 68%; transform: translateX(-50%); width: max-content; max-width: min(30rem, 85%); padding: .85rem 1.3rem; border: 1px solid #d8e1d9; border-radius: .85rem; box-shadow: 0 5px 25px #193e2220; background: #fff; color: #143d2b; text-align: center; }
.booking-map-location span, .booking-map-location small { display: block; font-size: .75rem; }
.booking-map-location strong { display: block; margin: .3rem 0; font-size: clamp(1.15rem, 2.2vw, 1.8rem); line-height: 1.2; }
.booking-map-credit { position: absolute; z-index: 2; right: .5rem; bottom: .35rem; padding: .2rem .35rem; border-radius: .2rem; background: #fffffff0; color: #42544a; font-size: .65rem; line-height: 1.2; }
.booking-page--selected:has(.booking-center-visual) .booking-ticket { margin-left: clamp(0rem, 5vw, 6rem); margin-right: 0; box-shadow: 0 24px 80px #102a2445; }
.booking-focus { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: max(2rem, env(safe-area-inset-top)) max(2rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(2rem, env(safe-area-inset-left)); }
.booking-ticket { position: relative; width: min(100%, 40rem); margin: 0 auto; min-width: 0; border: 1px solid #d6e2d9; border-top: 5px solid #08745b; border-radius: 1.25rem; background: #fff; color: #10231c; box-shadow: 0 24px 80px #153b2420; overflow-wrap: anywhere; }
.booking-ticket-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; padding: 1.1rem 1.75rem .7rem; }
.booking-ticket-top > a { display: inline-flex; min-height: 44px; align-items: center; color: #176b55; font-size: .85rem; text-underline-offset: .2em; }
.booking-selected { display: inline-flex; align-items: center; gap: .5rem; font-weight: 850; color: #0c614d; }
.booking-selected > span { display: grid; place-items: center; flex: 0 0 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: .6rem 1.75rem 1.8rem; }
.booking-calendar { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: start; padding: 1.25rem .5rem; 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 .6rem; font-size: 1.5rem; font-weight: 850; line-height: 1.3; }
.booking-time span { display: inline-block; font-size: .78rem; font-weight: 500; color: #576b61; }
.booking-ticket h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.15; letter-spacing: -.025em; }
.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; line-height: 1.5; }
.booking-action { padding: 1.4rem 1.75rem 1.6rem; border-top: 1px dashed #c7d3cc; }
.booking-continue { margin: 0; }
.booking-submit { display: flex; width: 100%; min-height: 3.6rem; justify-content: space-between; gap: 1rem; box-sizing: border-box; border: 0; cursor: pointer; text-align: left; font-family: inherit; font-size: 1rem; line-height: 1.4; }
.booking-submit > span { flex: none; font-size: 1.3rem; }
.booking-alert, .booking-account-note { margin: 0 0 1rem; padding: .9rem 1rem; border-radius: .6rem; color: #52625b; background: #f3f6f3; font-size: .85rem; line-height: 1.6; }
.booking-alert { background: #fff3d8; color: #75520b; }
.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-empty { max-width: 46rem; margin: 2rem auto; padding: 2rem; border: 1px solid #d7e0da; border-radius: 1rem; background: #fff; }
.booking-empty h1 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; }
.booking-empty > p:not(.eyebrow) { line-height: 1.6; color: #53615e; }
.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-page :is(a, button, input):focus-visible { outline: 3px solid #08745b; outline-offset: 5px; }
@media (max-width: 950px) {
    .booking-page--selected:has(.booking-center-visual) .booking-ticket { margin-left: auto; margin-right: auto; }
    .booking-alternatives > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 601px) and (max-width: 950px) and (max-height: 600px) {
    .booking-center-visual img { object-position: 72% top; }
    .booking-map-location { top: 1rem; }
    .booking-page--selected:has(.booking-center-visual) .booking-focus { padding-top: max(12rem, env(safe-area-inset-top)); }
}
@media (max-width: 600px) {
    .booking-center-visual img { object-position: 72% top; }
    .booking-center-visual::after { background: linear-gradient(0deg, #f4f6f380, transparent 70%); }
    .booking-map-location { top: 1rem; left: 50%; max-width: calc(100% - 2rem); padding: .65rem 1rem; }
    .booking-focus { align-items: flex-end; padding: max(12rem, env(safe-area-inset-top)) max(.75rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left)); }
    .booking-ticket { border-radius: 1rem; }
    .booking-ticket-top { padding: .8rem 1rem .6rem; gap: .15rem .7rem; }
    .booking-selected { font-size: .88rem; }
    .booking-ticket-top > a { font-size: .78rem; }
    .booking-ticket-body { padding: .5rem 1rem 1.35rem; grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; }
    .booking-calendar { padding: 1rem .3rem; }
    .booking-calendar strong { font-size: 3rem; }
    .booking-calendar > span { font-size: .7rem; }
    .booking-time { font-size: 1.4rem; }
    .booking-time span { font-size: .7rem; }
    .booking-ticket h2 { font-size: 1.35rem; }
    .booking-address { font-size: .85rem; }
    .booking-school, .booking-gearbox { font-size: .8rem; }
    .booking-action { padding: 1rem; }
    .booking-submit { min-height: 3.5rem; font-size: .93rem; }
    .booking-shell { width: calc(100% - 1.5rem); }
    .booking-empty { padding: 1.2rem; }
    .booking-alternatives > div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
    .booking-ticket-body { grid-template-columns: 4.4rem minmax(0, 1fr); gap: .8rem; }
    .booking-calendar strong { font-size: 2.6rem; }
    .booking-time span { display: block; margin-top: .2rem; }
}
