/* 47 — Unified checkout. Scoped so it cannot alter legacy booking screens. */
.rhu-shell { --rhu-ink: var(--ink, #14201b); --rhu-muted: var(--tx-2, #53615a); --rhu-paper: var(--paper, #f8f6ef); --rhu-rule: var(--rule, #cad0c8); --rhu-rust: var(--rust, #9d4828); color: var(--rhu-ink); font-family: var(--b, system-ui, sans-serif); max-inline-size: 1180px; margin-inline: auto; padding: clamp(20px, 4vw, 48px); }
.rhu-shell *, .rhu-shell *::before, .rhu-shell *::after { box-sizing: border-box; }
.rhu-shell p { max-inline-size: 68ch; }
.rhu-eyebrow, .rhu-kicker { margin: 0 0 4px; color: var(--rhu-rust); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.rhu-head { margin-bottom: 26px; }
.rhu-head h1, .rhu-shell h2 { font-family: var(--d, Georgia, serif); color: var(--rhu-ink); line-height: 1.13; }
.rhu-head h1 { margin: 0 0 10px; font-size: clamp(30px, 5vw, 48px); }
.rhu-head p:last-child { margin: 0; color: var(--rhu-muted); font-size: 17px; line-height: 1.5; }
.rhu-layout { display: grid; gap: 22px; align-items: start; }
.rhu-main { display: grid; gap: 16px; min-inline-size: 0; }
.rhu-panel, .rhu-payment, .rhu-totals { padding: clamp(16px, 3vw, 24px); border: 1px solid var(--rhu-rule); background: #fff; }
.rhu-panel h2, .rhu-payment h2, .rhu-totals h2 { margin: 0 0 12px; font-size: clamp(21px, 3vw, 27px); }
.rhu-panel__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.rhu-date-list { margin: 0; padding: 0; list-style: none; }
.rhu-date-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--rhu-rule); }
.rhu-date-list li span, .rhu-note, .rhu-check small, .rhu-pack small { color: var(--rhu-muted); }
.rhu-note { margin: 12px 0 0; line-height: 1.5; }
.rhu-wallet { padding: 12px 14px; margin: 0; background: var(--rhu-paper); line-height: 1.45; }
.rhu-link { padding: 2px 0; appearance: none; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--rhu-rust); font: inherit; font-weight: 700; cursor: pointer; }
.rhu-auth { margin-top: 16px; }
.rhu-auth [role=tablist] { display: flex; gap: 18px; margin-bottom: 14px; border-bottom: 1px solid var(--rhu-rule); }
.rhu-auth [role=tab] { padding: 7px 0; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--rhu-muted); font: inherit; font-weight: 700; cursor: pointer; }
.rhu-auth [role=tab][aria-selected=true] { border-bottom-color: var(--rhu-rust); color: var(--rhu-ink); }
.rhu-auth form, .rhu-lodging__fields { display: grid; gap: 12px; }
.rhu-auth label, .rhu-lodging label { display: grid; gap: 5px; font-weight: 700; }
.rhu-auth input, .rhu-lodging input { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--rhu-rule); border-radius: 0; background: #fff; color: var(--rhu-ink); font: inherit; }
.rhu-check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; cursor: pointer; }
.rhu-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--rhu-rust); }
.rhu-check span { display: grid; gap: 3px; line-height: 1.35; }
.rhu-check small { font-size: 14px; font-weight: 400; }
.rhu-packs fieldset { padding: 0; margin: 16px 0 0; border: 0; }
.rhu-pack { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 13px; margin-top: 9px; border: 1px solid var(--rhu-rule); cursor: pointer; }
.rhu-pack:has(input:checked) { border: 2px solid var(--rhu-rust); padding: 12px; }
.rhu-pack input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--rhu-rust); }
.rhu-pack span { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; }
.rhu-pack small { grid-column: 1 / -1; }
.rhu-lodging { margin-top: 4px; border-top: 1px solid var(--rhu-rule); border-bottom: 1px solid var(--rhu-rule); }
.rhu-lodging summary { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; cursor: pointer; }
.rhu-lodging summary span { color: var(--rhu-muted); font-size: 14px; text-align: end; }
.rhu-lodging__body { padding-bottom: 14px; }
.rhu-lodging__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rhu-unavailable { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--rhu-rust); background: var(--rhu-paper); }
.rhu-unavailable div { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; }
.rhu-summary { margin: 0; padding: 0; list-style: none; }
.rhu-summary li, .rhu-totals > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--rhu-rule); }
.rhu-summary b, .rhu-totals b { text-align: end; }
.rhu-payment { background: var(--rhu-paper); }
.rhu-payment p { margin: 0 0 13px; color: var(--rhu-muted); line-height: 1.5; }
.rhu-payment--zero { border-left: 4px solid #507361; }
.rhu-payment--zero p { margin: 5px 0 0; }
.rhu-totals { background: var(--rhu-paper); }
.rhu-totals__remaining { border-top: 2px solid var(--rhu-ink) !important; font-weight: 700; }
.rhu-primary, .rhu-secondary { min-height: 50px; padding: 12px 20px; border: 0; border-radius: 0; font: inherit; font-weight: 700; cursor: pointer; }
.rhu-primary { background: var(--rhu-rust); color: #fff; font-size: 16px; }
.rhu-secondary { background: var(--rhu-ink); color: #fff; }
.rhu-primary[disabled], .rhu-secondary[disabled] { opacity: .65; cursor: wait; }
.rhu-recovery { margin: 0; color: var(--rhu-muted); font-size: 14px; line-height: 1.45; }
.rhu-abandon { padding: 4px 0; color: var(--rhu-muted); font-size: 14px; }
.rhu-abandon p { margin: 0 0 6px; }
.rhu-abandon small { display: block; margin-top: 7px; line-height: 1.4; }
.rhu-live { min-height: 0; margin-bottom: 12px; color: var(--rhu-rust); font-weight: 700; }
.rhu-confirmation { max-width: 760px; }
.rhu-confirmation dl { margin: 18px 0 0; }
.rhu-confirmation dl div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 9px 0; border-top: 1px solid var(--rhu-rule); }
.rhu-confirmation dd { margin: 0; text-align: end; font-weight: 700; }
.rhu-shell :focus-visible { outline: 3px solid var(--rhu-rust); outline-offset: 3px; }
@media (min-width: 860px) { .rhu-layout { grid-template-columns: minmax(0, 1fr) 330px; } .rhu-aside { position: sticky; top: 20px; } }
@media (max-width: 560px) { .rhu-lodging__fields { grid-template-columns: 1fr; } .rhu-lodging summary { display: block; } .rhu-lodging summary span { display: block; margin-top: 3px; text-align: start; } .rhu-panel__heading { align-items: center; } }
@media (prefers-reduced-motion: reduce) { .rhu-shell * { scroll-behavior: auto !important; transition: none !important; } }

/* --- Mount, route and entry point (47-unified-checkout.php) ---------------
 * Every selector below is a .rhu-* name owned by this module alone, so the
 * "a 47- file loses to 55-+ at equal specificity" rule cannot bite: nothing
 * later in the cascade targets these classes. */
.rhu-route { display: block; }
.rhu-mount { display: block; }
.rhu-fallback { margin: 16px 0; color: var(--tx-2, #53615a); line-height: 1.5; }
.rhu-entry { display: inline-block; margin-inline-start: 10px; color: var(--rust, #9d4828); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* --- Error summary -------------------------------------------------------
 * One refusal, announced once, above the form, naming the controls to fix. */
.rhu-errors { padding: 14px 16px; margin-bottom: 16px; border: 2px solid var(--rhu-rust, #9d4828); border-inline-start-width: 6px; background: #fff; }
.rhu-errors h2 { margin: 0 0 6px; font-size: 18px; }
.rhu-errors p { margin: 0; line-height: 1.5; }
.rhu-errors ul { margin: 10px 0 0; padding-inline-start: 20px; }
.rhu-errors li { margin-top: 5px; }
.rhu-errors:focus-visible { outline: 3px solid var(--rhu-rust, #9d4828); outline-offset: 3px; }

/* --- Payment mount and recovery ------------------------------------------ */
.rhu-payment [data-rhu-payment-mount] { display: grid; gap: 12px; justify-items: start; }
.rhu-pay { display: inline-block; text-align: center; text-decoration: none; }
.rhu-recovery-panel { padding: 16px; border: 2px solid var(--rhu-rust, #9d4828); background: #fff; }
.rhu-recovery-panel h2 { margin: 0 0 8px; font-size: 20px; }
.rhu-recovery-panel p { margin: 0 0 8px; line-height: 1.5; }
.rhu-request-ref { font-size: 14px; word-break: break-all; }
