.customer-tour { padding-bottom: 136px; }
.tour-content { padding-block: 24px 40px; }
.tour-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--customer-primary-ink); font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.tour-hero { width: 100%; height: 240px; border-radius: 18px; object-fit: cover; }
.tour-heading { margin-block: 24px; }
.tour-kicker { color: var(--customer-primary-ink); font-size: 14px; font-weight: 800; }
.customer-tour h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.7; font-weight: 900; margin-block: 8px; color: var(--customer-ink); }
.tour-facts { color: var(--customer-muted); font-weight: 700; line-height: 2; }
.tour-description { color: var(--customer-muted); font-size: 14px; line-height: 1.9; }
.tour-section { margin-top: 20px; padding: 20px; background: var(--customer-surface); border: 1px solid var(--customer-line); border-radius: 18px; }
.tour-section h2 { font-size: 18px; line-height: 1.8; font-weight: 900; margin: 0 0 14px; }
.tour-route { display: flex; gap: 10px; padding-block: 12px; }
.tour-route li { flex-basis: 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--customer-muted); overflow-wrap: anywhere; }
.tour-route strong { color: var(--customer-ink); font-weight: 900; }
.tour-route-line { display: block; height: 6px; border-radius: 100px; background: var(--customer-primary); margin-bottom: 6px; }
.tour-route small { font-size: 13px; }
.tour-departures { display: flex; flex-wrap: wrap; align-items: start; gap: 10px; }
.tour-date { display: inline-flex; gap: 8px; min-height: 48px; align-items: center; padding: 10px 14px; border: 1px solid var(--customer-control); border-radius: 14px; font-size: 14px; }
.tour-date.is-selected { background: var(--customer-primary-light); border-color: var(--customer-primary); color: var(--customer-primary-ink); font-weight: 800; }
.tour-date input, .tour-package-select input { accent-color: var(--customer-primary); }
.customer-tour input[type=radio] { appearance: none; width: 18px; height: 18px; padding: 0; border: 2px solid var(--customer-control); border-radius: 100%; background: var(--customer-surface); background-image: none; box-shadow: none; }
.customer-tour input[type=radio]:checked { border: 5px solid var(--customer-primary); background: var(--customer-surface); background-image: none; }
.tour-date-inquiry { flex-direction: column; align-items: start; color: var(--customer-muted); }
.tour-date-inquiry small { font-size: 13px; }
.tour-packages { display: grid; gap: 14px; margin-top: 16px; }
.tour-package { min-width: 0; border: 1px solid var(--customer-control); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.tour-package[data-selected=true] { border: 2px solid var(--customer-primary); padding: 17px; background: var(--customer-ground); }
.tour-package-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tour-package h3 { font-size: 18px; font-weight: 900; }
.tour-tag { padding: 5px 10px; border-radius: 100px; font-size: 13px; font-weight: 800; color: var(--customer-primary-ink); background: var(--customer-primary-light); }
.tour-stays { display: grid; gap: 14px; }
.tour-stays li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--customer-muted); }
.tour-stays strong { width: 100%; color: var(--customer-ink); font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.tour-stay-city { width: 100%; color: var(--customer-primary-ink); font-weight: 800; }
.tour-package-price { margin-top: auto; font-size: 20px; font-weight: 900; color: var(--customer-ink); line-height: 1.9; }
.tour-package-select { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 800; cursor: pointer; color: var(--customer-primary-ink); }
.customer-tour:not([data-enhanced]) .tour-package-select { display: none; }
/* No-JS fallback only: with JS the radio selects and the sticky action opens the sheet. */
.customer-tour[data-enhanced] .tour-package-fallback { display: none; }
.tour-secondary, .tour-main-action { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 800; line-height: 1.8; text-align: center; }
.tour-secondary { border: 1px solid var(--customer-control); color: var(--customer-primary-ink); background: var(--customer-surface); }
.tour-main-action { background: var(--customer-accent); color: var(--customer-ink); }
.tour-secondary:disabled, .tour-main-action:disabled { opacity: .6; cursor: wait; }
.tour-services { display: grid; gap: 12px; font-size: 15px; color: var(--customer-muted); }
.tour-services li { display: flex; align-items: center; gap: 10px; }
.tour-services svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--customer-primary); }
.tour-prose { white-space: pre-line; overflow-wrap: anywhere; }
.tour-sticky { position: fixed; bottom: calc(68px + env(safe-area-inset-bottom)); inset-inline: 0; z-index: 35; border-top: 1px solid var(--customer-line); background: var(--customer-surface); padding-block: 12px; }
.tour-sticky-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.tour-selected-price { font-size: 20px; font-weight: 900; color: var(--customer-ink); }
.tour-sticky-actions { display: flex; gap: 8px; }
.customer-tour[data-sheet-open] [data-test=book] { display: none; }
.tour-sheet-open { overflow: hidden; }
.tour-sheet { width: 100%; max-width: none; max-height: 94dvh; margin: auto 0 0; padding: 0; border: 0; border-radius: 18px 18px 0 0; color: var(--customer-ink); background: var(--customer-surface); overflow-y: auto; }
.tour-sheet:not([open]) { display: none; }
.tour-sheet::backdrop { background: color-mix(in srgb, var(--customer-ink) 55%, transparent); }
.tour-sheet-header { position: sticky; top: 0; z-index: 1; background: var(--customer-surface); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--customer-line); }
.tour-sheet-header h2 { font-size: 19px; font-weight: 900; }
.tour-sheet-body { padding: 18px 20px calc(20px + env(safe-area-inset-bottom)); }
.tour-sheet-notice { background: var(--customer-primary-light); padding: 12px; border-radius: 12px; font-size: 14px; line-height: 1.9; margin-bottom: 14px; }
.booking-shell { max-width: 640px; width: 100%; margin-inline: auto; padding: 32px 20px; }
.booking-shell h1 { font-size: 26px; font-weight: 900; line-height: 1.8; margin-bottom: 12px; }
.tour-sheet .booking-shell { max-width: none; padding: 0; }
.tour-sheet .booking-page-title { display: none; }
.booking-context { display: grid; gap: 6px; margin-block: 18px; padding: 16px; border: 1px solid var(--customer-line); border-radius: 16px; background: var(--customer-primary-light); font-size: 14px; line-height: 1.9; }
.booking-context strong { font-weight: 800; overflow-wrap: anywhere; }
.booking-form { display: grid; gap: 16px; margin-top: 20px; }
.booking-field label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.customer-site .booking-field input, .customer-site .booking-field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--customer-control); border-radius: 12px; color: var(--customer-ink); background: var(--customer-surface); font-size: 16px; }
.booking-field textarea { min-height: 96px; resize: vertical; }
.booking-errors, .booking-field-errors { font-size: 14px; font-weight: 700; line-height: 1.8; color: var(--customer-primary-ink); }
.booking-errors:empty, .booking-field-errors:empty { display: none; }
.booking-privacy { font-size: 13px; line-height: 1.9; color: var(--customer-muted); }
.booking-success { text-align: center; padding-block: 48px; }
.booking-success > svg { width: 64px; height: 64px; margin: 0 auto 20px; color: var(--customer-primary); }
.booking-success p { margin-bottom: 24px; line-height: 2; color: var(--customer-muted); }
@media (min-width: 768px) {
    .tour-content { max-width: 1040px; }
    .tour-hero { height: 380px; }
    .tour-section { padding: 26px; }
    .tour-packages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tour-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tour-sticky { bottom: 0; padding-block: 16px; }
    .tour-selected-price { font-size: 24px; }
    .tour-sheet { width: min(640px, calc(100% - 48px)); max-height: calc(100dvh - 48px); margin: auto; border-radius: 18px; }
}
/* Agency portal PR 3: travellers, contact preference, agency card. */
.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking-choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.booking-choices legend { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.booking-choice-list { display: flex; flex-wrap: wrap; gap: 10px; }
.booking-choice { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--customer-control); border-radius: 14px; font-size: 14px; cursor: pointer; }
.booking-choice:has(input:checked) { background: var(--customer-primary-light); border-color: var(--customer-primary); color: var(--customer-primary-ink); font-weight: 800; }
.customer-site .booking-choice input { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 50%; flex: none; accent-color: var(--customer-primary); }
.booking-agency { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; }
.booking-agency .tour-tag, .tour-agency-heading .tour-tag { white-space: nowrap; }
.booking-agency br { display: none; }
.booking-agency [data-test="booking-agency-license"] { flex-basis: 100%; }
.tour-agency-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tour-agency-heading a, .booking-agency a { color: inherit; text-decoration: underline; text-decoration-color: var(--customer-line); text-underline-offset: 4px; }
.tour-agency-heading a:hover, .booking-agency a:hover { color: var(--customer-primary-ink); }
.tour-agency-logo { width: 40px; height: 40px; border: 1px solid var(--customer-line); border-radius: 10px; object-fit: contain; background: var(--customer-surface); }
