/* BEM-scoped transaction pages: layout, controls and state styles stay separate. */
.booking-page { --booking-ink: #172b3a; --booking-line: #dce2e5; --booking-action: #145e73; margin: 0; background: #fff; color: var(--booking-ink); font: 16px/1.55 system-ui, sans-serif; }
.booking-page *, .booking-page *::before, .booking-page *::after { box-sizing: border-box; }
.booking-page [hidden] { display: none !important; }
.booking-page a { color: var(--booking-action); text-underline-offset: 3px; }
.booking-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 16px 28px; border-bottom: 1px solid var(--booking-line); }
.booking-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; }
.booking-brand img { width: 48px; height: 48px; object-fit: contain; }
.booking-brand small { display: block; font-size: 12px; font-weight: 400; color: #526671; }
.booking-header nav { display: flex; gap: 20px; flex-wrap: wrap; }
.booking-main { max-width: 1120px; margin: 0 auto; padding: 36px 24px 64px; }
.booking-page h1 { margin: 0 0 10px; font-size: 32px; line-height: 1.25; overflow-wrap: anywhere; }
.booking-page h2, .booking-page legend { margin: 0 0 20px; font-size: 20px; font-weight: 650; line-height: 1.4; }
.booking-lead { color: #526671; margin: 0 0 28px; }
.booking-steps { display: flex; gap: 28px; flex-wrap: wrap; list-style: none; padding: 0 0 22px; margin: 0; border-bottom: 1px solid var(--booking-line); }
.booking-steps li { display: flex; align-items: center; gap: 8px; color: #526671; font-size: 14px; }
.booking-steps li > span:first-child { display: inline-flex; justify-content: center; align-items: center; width: 24px; height: 24px; background: #eef2f4; border-radius: 4px; flex-shrink: 0; }
.booking-steps li[aria-current=step] { color: var(--booking-ink); font-weight: 650; }
.booking-steps li[aria-current=step] > span:first-child { background: #f8e7bf; color: #624a18; }
.booking-page fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 48px; align-items: start; }
.booking-section { padding: 26px 0; border-bottom: 1px solid var(--booking-line); }
.booking-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.booking-field-wide { grid-column: 1 / -1; }
.booking-page label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.booking-page input:not([type=radio]):not([type=checkbox]), .booking-page select, .booking-page textarea { display: block; width: 100%; min-width: 0; min-height: 44px; border: 1px solid #aab8c0; border-radius: 4px; background: #fff; padding: 9px 10px; font: inherit; color: var(--booking-ink); }
.booking-page .booking-price-consent { display: flex; align-items: start; gap: 10px; margin: 18px 0; }
.booking-price-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; }
.booking-page textarea { resize: vertical; }
.booking-page :focus-visible { outline: 3px solid #c89138; outline-offset: 3px; }
.booking-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
.booking-slot { position: relative; margin: 0 !important; }
.booking-slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.booking-slot span { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #aab8c0; border-radius: 4px; font-weight: 500; cursor: pointer; }
.booking-slot input:checked + span { color: #fff; background: var(--booking-action); border-color: var(--booking-action); }
.booking-slot input:focus-visible + span { outline: 3px solid #c89138; outline-offset: 2px; }
.booking-slot input:disabled + span { opacity: .55; cursor: not-allowed; }
.booking-summary { position: sticky; top: 24px; margin-top: 26px; border: 1px solid var(--booking-line); border-radius: 6px; padding: 24px; }
.booking-summary h2 { display: flex; align-items: center; gap: 10px; }
.booking-summary svg { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; }
.booking-page dl { margin: 20px 0; }
.booking-page dt { color: #526671; font-size: 14px; }
.booking-page dd { margin: 3px 0 14px; overflow-wrap: anywhere; }
.booking-hint { color: #526671; font-size: 13px; line-height: 1.6; }
.booking-summary .booking-hint { margin-bottom: 0; }
.booking-duration { color: #526671; font-size: 14px; }
.booking-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--booking-action); border-radius: 4px; background: var(--booking-action); color: #fff; padding: 10px 16px; font: inherit; line-height: 1.4; cursor: pointer; white-space: normal; overflow-wrap: anywhere; }
.booking-summary .booking-button { width: 100%; }
.booking-button:hover { background: #104b5c; }
.booking-button--quiet { color: var(--booking-action); background: #fff; }
.booking-button--quiet:hover { background: #eef4f5; }
.booking-button:disabled { color: #526671; background: #e6eaec; border-color: #c2cdd3; cursor: not-allowed; }
.booking-link-button { background: none; border: 0; padding: 12px 0; text-decoration: underline; text-underline-offset: 3px; font: inherit; color: var(--booking-action); cursor: pointer; }
.booking-notice { padding: 12px 16px; border-left: 3px solid #b68a34; background: #fcf6e9; overflow-wrap: anywhere; }
.booking-notice--error { color: #9a3028; background: #fff1f0; border-color: #9a3028; }
.booking-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid var(--booking-line); padding: 24px; color: #526671; font-size: 13px; }
.booking-main--status { max-width: 800px; }
.booking-status-label[data-state=CONFIRMED] { color: #25653a; }
.booking-status-label[data-state=EXPIRED], .booking-status-label[data-state=CANCELLED] { color: #9a3028; }
.booking-status-details { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 10px 24px; }
.booking-status-details dd { margin: 0; }
.booking-reference { font-size: 13px; }
.booking-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 24px; }
@media (max-width: 760px) {
  .booking-header { padding: 14px 18px; }
  .booking-main { padding: 28px 18px 40px; }
  .booking-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .booking-summary { position: static; }
  .booking-steps { gap: 12px; }
  .booking-fields { grid-template-columns: minmax(0, 1fr); }
  .booking-status-details { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .booking-status-details dd { margin-bottom: 14px; }
}
