/* The hotel booking flow (the redesign's PR 6, 2026-10-22, from the approved previews hotel-results, hotel-detail,
   hotel-guest-details, checkout-chrome, hotel-booking-confirmed, manage and my-trips): the results, one hotel and its
   rooms, the guest details, the payment page, the booking page, Find a booking (/manage) and My Trips. Loads after
   each page's own stylesheets on those views only (server/views/hotels.js FLOW_STYLE); every rule is scoped to
   body.hf-page, so no other page, the homepage included, ever sees it. Only the look is set here: the forms, prices,
   fees, cancellation terms and labels are the markup the views draw. The sandbox's dashed test-data borders
   (hotels.css, flights.css) are left as they are. The payment page (body.hf-page.hf-pay) takes the type only: no card
   or layout rule below reaches it. The shared tokens (--ivory, --gold, --serif) are site.css's. */

/* ---------- Type (every page of the flow, the payment page included) ---------- */
.hf-page .fl-title, .hf-page .hf-title { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; line-height: 1.08; color: var(--ink); overflow-wrap: anywhere; }
.hf-page .fl-title { font-size: 34px; }
.hf-page .fl-bk-side h2 { font-family: var(--serif); font-weight: 700; }
.hf-page .fl-back a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
@media (min-width: 761px) { .hf-page .fl-title { font-size: 44px; } }

/* Small caps-style labels over a value: "Total for the stay", "Cancellation". */
.hf-page .hf-label { display: block; margin: 0 0 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hf-page .hf-eyebrow { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #2c3f55; }
.hf-page .hf-eyebrow-light { display: inline-flex; align-items: center; gap: 12px; color: rgba(214, 231, 248, .92); }
.hf-page .hf-eyebrow-light::before { content: ''; width: 28px; height: 1px; flex: none; background: var(--gold); }

/* ---------- The navy band (results, one hotel, My Trips): no photo, so never a city photo over a hotel. No z-index:
   the search form's full-screen rooms sheet inside it must stack with the page, above the Concierge button. ---------- */
.hf-page main:has(> .hf-band), .hf-page main:has(.hf-manage) { background: var(--ivory); }
.hf-page .hf-band { position: relative; color: #fff; background:
  radial-gradient(60% 90% at 88% 20%, rgba(26, 111, 208, .32) 0%, rgba(26, 111, 208, 0) 70%),
  linear-gradient(100deg, #071a33 0%, #0b2545 48%, #12325a 100%); }
.hf-page .hf-band::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(194, 162, 101, 0), rgba(194, 162, 101, .7) 50%, rgba(194, 162, 101, 0)); }
.hf-page .hf-band-in { display: grid; gap: 14px; padding: 32px 0 30px; min-width: 0; }
.hf-page .hf-band .hf-title { margin: 0; font-size: 34px; color: #fff; }
.hf-page .hf-band .hf-title small { font-family: var(--font); font-size: 15px; font-weight: 500; color: rgba(226, 236, 246, .88); }
.hf-page .hf-accent { color: #b4ddff; }
.hf-page .hf-band .hf-meta { margin: 0; font-size: 15px; color: rgba(226, 236, 246, .9); }
.hf-page .hf-band .fl-back { margin: 0; }
.hf-page .hf-band .fl-back a { color: #cfe3fb; }
.hf-page .hf-back .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.hf-page .hf-band .fl-test-banner { color: #ffe7a8; }
.hf-page .hf-band .alert { max-width: 680px; margin: 0; border: 1px solid rgba(134, 214, 177, .45); border-radius: 12px; background: rgba(18, 128, 92, .18); color: #e8f6ef; font-size: 15px; }
.hf-page .hf-band .alert .icon { color: #86d6b1; }
.hf-page .hf-band .alert strong { color: #fff; }
.hf-page .hf-band .alert a { color: #fff; }
.hf-page .hf-band .ht-fold { color: var(--text); border: 0; border-radius: 14px; box-shadow: 0 18px 44px rgba(2, 18, 40, .3); }
.hf-page .hf-band .ht-fold-bar { min-height: 60px; }
@media (min-width: 761px) {
  .hf-page .hf-band-in { padding: 44px 0 36px; gap: 16px; }
  .hf-page .hf-band .hf-title { font-size: 52px; }
}

/* ---------- Results: the ivory page, how to read the prices, calmer cards ---------- */
.hf-page .hf-body { padding-block: 32px 72px; }
.hf-page .fl-results-head h2 { font-size: 26px; letter-spacing: -0.015em; color: var(--ink); }
.hf-page .hf-explain { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hf-page .hf-explain li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border: 1px solid var(--gold-line); border-radius: 14px; background: #fff; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.hf-page .hf-explain .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--gold-deep); }
.hf-page .hf-explain b { display: block; color: var(--ink); font-weight: 600; }
@media (min-width: 900px) {
  .hf-page .hf-explain { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--gold-line); border-radius: 14px; background: #fff; }
  .hf-page .hf-explain li { border: 0; border-radius: 0; background: none; }
  .hf-page .hf-explain li + li { border-left: 1px solid var(--gold-line); }
}
.hf-page .fl-filters, .hf-page .ht-flex { border-radius: 16px; box-shadow: var(--shadow-sm); }
.hf-page .fl-filters .fl-filter-hint { font-size: 13px; line-height: 1.45; color: var(--muted); }
/* A result: the hotel's own photo flush at the left (or "No photo"), the words, then the price column. The card keeps
   its border (solid live, the sandbox's dashed test-data border otherwise). */
.hf-page .ht-hotel { grid-template-columns: minmax(0, 1fr) 248px; gap: 0; align-items: stretch; padding: 0; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow-sm); }
.hf-page .ht-hotel-main { grid-template-columns: 176px minmax(0, 1fr); gap: 0; align-items: stretch; }
.hf-page .ht-hotel-main > div { padding: 18px 22px; display: grid; gap: 4px; align-content: start; }
.hf-page .ht-hotel h2 { font-size: 20px; letter-spacing: -0.01em; color: var(--ink); }
.hf-page .ht-meta { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.hf-page .ht-thumb-box { width: 176px; height: 100%; min-height: 176px; border-radius: 0; background: repeating-linear-gradient(135deg, #f1f4f8 0 10px, #e9eef4 10px 20px); }
.hf-page .ht-thumb-none { font-size: 13px; color: #4a5a6e; }
.hf-page .ht-hotel-price { max-width: none; align-content: start; gap: 4px; padding: 18px 20px; text-align: left; border-left: 1px solid var(--line); background: #f7f9fc; }
.hf-page .ht-hotel-price strong { font-size: 25px; letter-spacing: -0.01em; }
.hf-page .ht-hotel-price .fl-fare-link { margin-top: 10px; justify-content: center; min-height: 46px; border-radius: 999px; }
.hf-page .ht-fees { padding: 6px 10px; border: 1px solid #f1dfae; border-radius: 10px; background: #fff8e6; font-weight: 600; color: #5a3f00; }
/* A hotel with no photo of its own (or one that failed to load) shows no photo box at all: its words take the room.
   The box's "No photo" words stay in the markup for a browser without :has(). */
.hf-page .ht-thumb-box:not(:has(img)) { display: none; }
.hf-page .ht-hotel-main:not(:has(.ht-thumb-box img)) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) {
  .hf-page .ht-hotel { grid-template-columns: 1fr; }
  /* The folded search's button, opened, keeps to the left too. */
  .hf-page .hf-band .fl-row-end { justify-content: flex-start; }
  .hf-page .hf-band .fl-submit { width: auto; justify-self: start; }
  .hf-page .ht-hotel-main { grid-template-columns: 1fr; }
  .hf-page .ht-hotel-main .ht-thumb-box { width: 100%; height: 180px; min-height: 0; }
  .hf-page .ht-hotel-main > div { padding: 16px; }
  .hf-page .ht-hotel-price { padding: 16px; border-left: 0; border-top: 1px solid var(--line); }
  /* "See rooms" keeps to the left of the card, so the Concierge button (bottom right) never lies over it. */
  .hf-page .ht-hotel-price .fl-fare-link { justify-self: start; min-width: min(100%, 200px); }
}

/* ---------- Results: the filters (hotel filters A, 2026-10-23, from the approved filters preview) ----------
   A compact sticky sidebar on a desktop; under 761px a "Filters" button over the list opens the same panel as a
   full-screen sheet with a sticky "Clear all" / "Show N hotels" bar (public/js/hotel-results.js keeps focus in it and
   closes it on Esc). Chips over the list name each filter on. Every target is 44px tall on a phone. */
/* The row's room line and price block are swapped whole by public/js/hotel-results.js (a room filter shows the cheapest
   room that meets it), so their wrappers take no box of their own; the chips bar, the sheet's opener, close button and
   bottom bar stay hidden until the script and the width call for them. */
.hf-page .ht-room-lines, .hf-page .ht-pricebox { display: contents; }
.hf-page .ht-open-sheet, .hf-page .ht-sheet-close, .hf-page .ht-sheet-bar { display: none; }
.hf-page .ht-filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; gap: 0; padding: 16px 16px 4px; border: 1px solid #e3e8ef; border-radius: 16px; background: #fff; color: var(--navy-800); }
.hf-page .ht-filters form { gap: 0; }
.hf-page .ht-filters .fl-filters-head { margin-bottom: 4px; }
.hf-page .ht-filters .fl-filters-head h2 { gap: 8px; font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--navy-800); }
.hf-page .ht-filters .ht-clear, .hf-page .ht-chips-clear { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--navy-800); }
.hf-page .ht-filters-actions { display: inline-flex; align-items: center; gap: 8px; }
.hf-page [data-ht-clear][hidden], .hf-page .ht-filters .fl-filters-count[hidden] { display: none; }
.hf-page .ht-panel-note { margin: 0 0 12px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.hf-page .ht-sec { min-width: 0; margin: 0; padding: 12px 0; border: 0; border-top: 1px solid #edf1f6; }
.hf-page .ht-sec fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.hf-page .ht-sec > h3, .hf-page .ht-sec > legend, .hf-page .ht-sec > summary { display: block; margin: 0 0 10px; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hf-page .ht-sec > legend { float: left; width: 100%; }
.hf-page .ht-sec > legend + * { clear: both; }
.hf-page .ht-sec > summary { display: flex; align-items: center; justify-content: space-between; min-height: 32px; margin: 0; list-style: none; cursor: pointer; }
.hf-page .ht-sec > summary::-webkit-details-marker { display: none; }
.hf-page .ht-sec > summary::after { content: '+'; font-size: 18px; font-weight: 400; color: #94a3b8; }
.hf-page .ht-sec[open] > summary { margin-bottom: 6px; }
.hf-page .ht-sec[open] > summary::after { content: '\2013'; }
.hf-page .ht-sec > summary:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }
.hf-page .ht-sec .fl-filter-hint { margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.hf-page .ht-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hf-page .ht-pill { min-height: 36px; padding: 6px 13px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: var(--navy-800); cursor: pointer; }
.hf-page .ht-pill:hover { border-color: var(--navy-800); }
.hf-page .ht-pill[aria-pressed="true"] { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
.hf-page .ht-pill[aria-pressed="true"]::before { content: '\2713\00a0'; }
.hf-page .ht-seg { display: inline-flex; margin: 0 0 10px; border: 1px solid #cbd5e1; border-radius: 10px; overflow: hidden; }
.hf-page .ht-seg label { position: relative; display: block; cursor: pointer; }
.hf-page .ht-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.hf-page .ht-seg span { display: flex; align-items: center; min-height: 36px; padding: 0 14px; background: #fff; font-size: 13px; font-weight: 500; color: var(--navy-800); }
.hf-page .ht-seg input:checked + span { background: var(--navy-800); color: #fff; }
.hf-page .ht-seg input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: -3px; }
.hf-page .ht-range { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.hf-page .ht-money-field { display: grid; gap: 4px; min-width: 0; font-size: 12px; color: var(--muted); }
.hf-page .ht-money { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; }
.hf-page .ht-money:focus-within { border-color: var(--navy-800); box-shadow: 0 0 0 3px rgba(26, 111, 208, .18); }
.hf-page .ht-money b { font-size: 12px; font-weight: 600; color: var(--muted); }
.hf-page .ht-money input { width: 100%; min-width: 0; min-height: 38px; padding: 0; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--ink); }
.hf-page .ht-price-msg { margin: 10px 0 0; padding: 10px 12px; border: 1px solid #f1dfae; border-radius: 10px; background: #fff8e6; font-size: 13.5px; line-height: 1.45; color: #5a3f00; }
.hf-page .ht-price-msg p { margin: 0; font-size: 13.5px; line-height: 1.45; color: inherit; }
.hf-page .ht-fix, .hf-page .ht-none-off { min-height: 44px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--navy-800); text-decoration: underline; cursor: pointer; }
.hf-page .ht-stars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.hf-page .ht-stars button { min-height: 40px; padding: 0; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; font-size: 14px; font-weight: 600; color: var(--navy-800); cursor: pointer; }
.hf-page .ht-stars button:hover:not(:disabled) { border-color: var(--navy-800); }
.hf-page .ht-stars button[aria-pressed="true"] { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
.hf-page .ht-stars button:disabled { opacity: .45; cursor: not-allowed; }
.hf-page .ht-check { display: flex; align-items: center; gap: 10px; min-height: 34px; font-size: 14px; color: var(--text); cursor: pointer; }
.hf-page .ht-check input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--navy-800); }
.hf-page .ht-check small { margin-left: auto; padding-left: 8px; font-size: 13px; color: var(--muted); }
.hf-page .ht-check.is-none { color: var(--muted); opacity: .6; cursor: default; }
.hf-page .ht-sec .ht-check + .ht-check { margin-top: 0; }
.hf-page .ht-stars + .ht-check { margin-top: 6px; }
.hf-page .ht-filters button:focus-visible, .hf-page .ht-filters input:focus-visible, .hf-page .ht-filters summary:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.hf-page .ht-filters .ht-money input:focus, .hf-page .ht-filters .ht-money input:focus-visible { outline: 0; box-shadow: none; }
/* The chips over the list, and the phone's Filters button before them. */
.hf-page .fl-list-bar { align-items: center; }
.hf-page .ht-chipbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.hf-page .ht-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.hf-page .ht-chips:empty { display: none; }
.hf-page .ht-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; max-width: 100%; padding: 6px 12px; border: 1px solid #d6e0ee; border-radius: 999px; background: #eef3fa; font-size: 13px; font-weight: 500; color: var(--navy-800); text-align: left; cursor: pointer; }
.hf-page .ht-chip:hover { border-color: var(--navy-800); }
.hf-page .ht-chip-x { font-size: 15px; font-weight: 700; line-height: 1; }
.hf-page .ht-chipbar :is(button):focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }
@media (min-width: 761px) { .hf-page .ht-chipbar.is-empty { display: none; } }
/* The empty state: the filters that ruled the hotels out, each with what taking it off would show. */
.hf-page .ht-none { align-items: flex-start; }
.hf-page .ht-none > div { display: grid; gap: 6px; }
.hf-page .ht-none p { margin: 0; }
.hf-page .ht-none-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.hf-page .ht-none-list small { color: var(--muted); }
.hf-page .ht-none > div > .ht-clear { justify-self: start; min-height: 44px; font-size: 14px; color: var(--navy-800); }
/* From 761px to 1023px (a tablet) the sidebar stays beside the list, narrower, and each card stacks its price under
   its details so the details keep their width. */
@media (min-width: 761px) and (max-width: 1023.98px) {
  .hf-page .fl-results-layout:has(> .ht-filters) { grid-template-columns: 236px minmax(0, 1fr); gap: 16px; }
  .hf-page .fl-results-layout .ht-hotel { grid-template-columns: minmax(0, 1fr); }
  .hf-page .fl-results-layout .ht-hotel-price { border-left: 0; border-top: 1px solid var(--line); }
  .hf-page .fl-results-layout .ht-hotel-price .fl-fare-link { justify-self: start; min-width: 200px; }
  .hf-page .ht-filters { padding: 14px 12px 4px; }
  .hf-page .ht-range { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hf-page .ht-open-sheet { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 0 16px; border: 0; border-radius: 999px; background: var(--navy-800); font-size: 14px; font-weight: 600; color: #fff; cursor: pointer; }
  .hf-page .ht-open-sheet .icon { width: 16px; height: 16px; flex: none; }
  .hf-page .ht-chipbar { width: 100%; }
  .hf-page .ht-chip, .hf-page .ht-check, .hf-page .ht-pill, .hf-page .ht-seg span, .hf-page .ht-sec > summary, .hf-page .ht-stars button, .hf-page .ht-money { min-height: 44px; }
  .hf-page .ht-money input { min-height: 42px; }
  .hf-page .ht-filters:not([data-ht-open="yes"]) { display: none; }
  .hf-page .ht-filters[data-ht-open="yes"] { position: fixed; inset: 0; z-index: 900; max-height: none; padding: 16px 16px 0; border: 0; border-radius: 0; box-shadow: none; }
  .hf-page .ht-sheet-close { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; font-size: 22px; line-height: 1; color: var(--navy-800); cursor: pointer; }
  .hf-page .ht-sheet-bar { position: sticky; bottom: 0; z-index: 1; display: flex; gap: 10px; margin: 8px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #e3e8ef; background: #fff; }
  .hf-page .ht-sheet-bar .btn { min-height: 48px; border-radius: 12px; justify-content: center; }
  .hf-page .ht-sheet-bar [data-ht-show-n] { flex: 1; }
  .hf-page .ht-sheet-bar :is(button):focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }
  .hf-page.ht-sheet-on { overflow: hidden; }
}
@media (forced-colors: active) {
  .hf-page .ht-pill[aria-pressed="true"], .hf-page .ht-stars button[aria-pressed="true"] { outline: 2px solid Highlight; }
}

/* ---------- One hotel: its photos, its words beside the stay's facts, the rooms as cards ---------- */
/* On a live page the two sections are open on the ivory page; the sandbox keeps its dashed test-data frame. */
.hf-page .hf-body > .ht-live.fl-detail { padding: 0; border-color: transparent; background: none; gap: 22px; }
.hf-page .hf-gallery .ht-gallery { margin: 0; gap: 10px; }
.hf-page .hf-gallery .ht-gallery-stage { border-radius: 16px; }
.hf-page .hf-gallery:not(:has(.ht-gallery)) { display: none; }
@media (min-width: 1024px) {
  .hf-page .hf-gallery .ht-gallery:has(.ht-gallery-thumbs:not([hidden])) { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  /* The thumbnails take the stage's height and scroll inside it (size containment: the list never sets the row). */
  .hf-page .hf-gallery .ht-gallery-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 10px; padding: 0 4px 0 0; overflow: hidden auto; contain: size; }
  .hf-page .hf-gallery .ht-gallery-thumbs[hidden] { display: none; }
  .hf-page .hf-gallery .ht-gallery-thumb { width: 100%; border-radius: 12px; }
  .hf-page .hf-gallery .ht-gallery-thumb img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
}
.hf-page .hf-hotel-cols { display: grid; gap: 24px; min-width: 0; }
.hf-page .hf-hotel-text { display: grid; gap: 12px; align-content: start; min-width: 0; }
.hf-page .hf-hotel-text .hf-eyebrow { font-size: 13px; }
.hf-page .ht-about p { font-size: 16px; line-height: 1.6; color: var(--text); }
.hf-page .ht-about p:first-child { font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--ink); }
.hf-page .hf-sub { margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.hf-page .ht-facilities { gap: 8px; }
.hf-page .ht-facilities li { padding: 6px 12px; border: 1px solid #dfe5ec; background: #fff; color: var(--text); }
.hf-page .hf-facts { display: grid; gap: 14px; align-content: start; padding: 22px; border: 1px solid var(--gold-line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.hf-page .hf-facts dl { display: grid; gap: 14px; margin: 0; }
.hf-page .hf-facts dt { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.hf-page .hf-facts dt .icon { width: 16px; height: 16px; flex: none; }
.hf-page .hf-facts dd { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.hf-page .hf-facts .btn { justify-self: start; min-height: 44px; max-width: 100%; }
@media (max-width: 760px) { .hf-page .hf-facts { padding: 18px; } .hf-page .hf-facts .btn { max-width: 190px; white-space: normal; text-align: left; line-height: 1.3; padding-block: 8px; } }
@media (min-width: 1024px) { .hf-page .hf-hotel-cols { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; } }

.hf-page #ht-rooms-title { font-size: 32px; letter-spacing: -0.02em; color: var(--ink); }
.hf-page #ht-rooms-title small { display: block; margin-top: 4px; font-size: 15px; letter-spacing: 0; }
.hf-page .ht-rooms { gap: 14px; }
/* A room: what it is, its cancellation terms, then its total and the price check, side by side. */
.hf-page .ht-room { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 232px; gap: 0; align-items: stretch; padding: 0; overflow: hidden; border: 1px solid #e3e8ef; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.hf-page .ht-room > div { min-width: 0; padding: 18px 22px; }
.hf-page .ht-room ul { gap: 6px; font-size: 14.5px; line-height: 1.5; }
.hf-page .hf-room-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 10px; }
.hf-page .ht-room h3 { font-size: 18px; color: var(--ink); }
.hf-page .hf-room-terms { border-left: 1px solid var(--line); }
.hf-page .ht-room-price { max-width: none; gap: 4px; justify-items: stretch; align-content: start; text-align: left; border-left: 1px solid var(--line); background: #f7f9fc; }
.hf-page .ht-room-price strong { font-size: 25px; letter-spacing: -0.01em; }
.hf-page .ht-room-price form { margin-top: 10px; }
.hf-page .ht-room-price .btn { width: 100%; justify-content: center; min-height: 46px; border-radius: 999px; }
.hf-page .hf-chip { display: inline-flex; align-items: center; padding: 2px 10px; border: 1px solid transparent; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.hf-page .hf-chip.is-yes { background: #e6f6ef; border-color: #c9ebdc; color: #0c5e43; }
.hf-page .hf-chip.is-no { background: #eef2f6; border-color: #dfe5ec; color: #34465c; }
.hf-page .hf-chip.is-unknown { background: #fff4d6; border-color: #f4e2b0; color: #6b4a00; }
@media (max-width: 1023.98px) { .hf-page .ht-room { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .hf-page .ht-room-price { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 760px) {
  .hf-page .ht-room { grid-template-columns: 1fr; }
  .hf-page .ht-room > div { padding: 16px; }
  .hf-page .hf-room-terms { border-left: 0; border-top: 1px solid var(--line); }
  /* "Check the price" keeps to the left, clear of the Concierge button. */
  .hf-page .ht-room-price .btn { width: auto; min-width: min(100%, 200px); }
}

/* ---------- Guest details and the booking page (not the payment page): cards, the steps, the confirm box ---------- */
.hf-page:not(.hf-pay) .fl-page { padding-block: 28px 72px; }
.hf-page .hf-steps { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.hf-page .hf-steps li { display: inline-flex; align-items: center; gap: 8px; }
.hf-page .hf-steps li span { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1.5px solid #b9c4d2; border-radius: 50%; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.hf-page .hf-steps li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.hf-page .hf-steps li[aria-current="step"] span { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
.hf-page:not(.hf-pay) .fl-bk-layout { gap: 28px; }
.hf-page:not(.hf-pay) .fl-bk-form, .hf-page:not(.hf-pay) .fl-bk-side, .hf-page:not(.hf-pay) .fl-bk-main > .fl-bk-facts { padding: 24px; border-color: #e3e8ef; border-radius: 18px; box-shadow: var(--shadow-sm); }
.hf-page:not(.hf-pay) .fl-bk-form h2, .hf-page:not(.hf-pay) .fl-bk-facts h2 { font-size: 21px; letter-spacing: -0.01em; color: var(--ink); }
.hf-page:not(.hf-pay) .fl-bk-side h2 { font-size: 22px; }
.hf-page:not(.hf-pay) .fl-bk-side h3, .hf-page:not(.hf-pay) .fl-bk-facts h3 { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #2c3f55; }
.hf-page:not(.hf-pay) .fl-bk-side .fl-lines { padding: 14px 16px; border-radius: 12px; background: var(--sky-50); }
.hf-page:not(.hf-pay) .fl-bk-side .fl-total { border-top: 0; padding-top: 0; align-items: baseline; }
.hf-page:not(.hf-pay) .fl-bk-side .fl-total dd { font-size: 22px; }
.hf-page:not(.hf-pay) .fl-bk-facts .fl-bk-dl { gap: 0; }
.hf-page:not(.hf-pay) .fl-bk-facts .fl-bk-dl div { padding: 10px 0; border-bottom: 1px solid var(--line); }
/* The confirm box: its border is hotels.css's (solid live, the sandbox's dashed amber); here its room and tint. */
.hf-page:not(.hf-pay) .ht-confirm { padding: 16px 18px; border-radius: 12px; background: var(--sky-50); line-height: 1.5; }
.hf-page:not(.hf-pay) .ht-confirm input { width: 22px; height: 22px; margin-top: 1px; }
/* The optional texts box: plain, apart from the booking's confirmation box. */
.hf-page .ht-sms { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.hf-page .ht-sms input { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.hf-page .ht-sms a { overflow-wrap: anywhere; }
.hf-page:not(.hf-pay) .fl-bk-form > .btn-navy { justify-content: center; min-height: 54px; border-radius: 999px; font-size: 17px; }
@media (min-width: 761px) {
  .hf-page:not(.hf-pay) .fl-bk-form, .hf-page:not(.hf-pay) .fl-bk-side, .hf-page:not(.hf-pay) .fl-bk-main > .fl-bk-facts { padding: 28px 32px; }
}

/* The booking card: green for a booking made, plain for one cancelled; the tiles say what the book call answered. */
.hf-page .hf-done { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 20px; align-items: start; padding: 22px; border: 1px solid #cde9da; border-radius: 18px; background: #eef8f3; }
.hf-page .hf-done.is-cancelled { border-color: var(--line); background: var(--bg-soft); }
.hf-page .hf-done-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--success); color: #fff; }
.hf-page .hf-done.is-cancelled .hf-done-mark { background: #4a5a6e; }
.hf-page .hf-done-mark .icon { width: 26px; height: 26px; }
.hf-page .hf-done-in { display: grid; gap: 6px; min-width: 0; }
.hf-page .hf-done .fl-lede { margin: 0; font-size: 17px; color: var(--text); }
.hf-page .hf-tiles { display: grid; gap: 10px; margin: 10px 0 0; }
.hf-page .hf-tiles div { padding: 12px 16px; border: 1px solid #d7ece1; border-radius: 12px; background: #fff; min-width: 0; }
.hf-page .hf-tiles dt { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hf-page .hf-tiles dd { margin: 4px 0 0; font-size: 17px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.hf-page .hf-tiles .hf-ref { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: .04em; }
.hf-page .hf-next { margin-top: 8px; }
.hf-page .fl-bk-cancel .btn { justify-self: start; }
@media (min-width: 641px) { .hf-page .hf-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 761px) { .hf-page .hf-done { padding: 28px 32px; } }

/* ---------- Find a booking: one centred card, then where a reference is found ---------- */
.hf-page .hf-manage { display: grid; gap: 40px; justify-items: center; padding-block: 36px 72px; }
.hf-page .hf-manage-card { width: 100%; max-width: 700px; padding: 8px 20px 24px; border: 1px solid var(--gold-line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.hf-page .hf-manage .confirm-hero { padding: 24px 0 18px; }
.hf-page .hf-manage .confirm-hero h1 { font-family: var(--serif); font-size: 34px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.hf-page .hf-manage .confirm-hero p { max-width: 560px; margin: 0 auto; font-size: 16.5px; line-height: 1.55; color: var(--text); }
.hf-page .hf-manage .confirm-badge { width: 60px; height: 60px; background: var(--ivory-2); color: var(--gold-deep); }
.hf-page .hf-manage .confirm-badge .icon { width: 28px; height: 28px; }
.hf-page .hf-manage .confirm-card { max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; display: grid; gap: 16px; }
.hf-page .hf-manage .confirm-card .btn { justify-self: start; }
.hf-page .hf-manage-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.hf-page .hf-manage-note .icon { flex: none; width: 15px; height: 15px; margin-top: 2px; }
.hf-page .hf-help { width: 100%; max-width: 1000px; display: grid; gap: 18px; }
.hf-page .hf-help h2 { font-size: 26px; letter-spacing: -0.02em; color: var(--ink); text-align: center; }
.hf-page .hf-help-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.hf-page .hf-help-list li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid #e3e8ef; border-radius: 16px; background: #fff; }
.hf-page .hf-help-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ivory-2); color: var(--gold-deep); }
.hf-page .hf-help-icon .icon { width: 20px; height: 20px; }
.hf-page .hf-help-list h3 { font-size: 17px; margin-bottom: 4px; color: var(--ink); }
.hf-page .hf-help-list p { font-size: 15px; line-height: 1.55; color: var(--text); }
@media (min-width: 761px) {
  .hf-page .hf-manage { padding-block: 56px 88px; }
  .hf-page .hf-manage-card { padding: 12px 40px 36px; }
  .hf-page .hf-manage .confirm-hero h1 { font-size: 46px; }
  .hf-page .hf-manage .confirm-card .btn { justify-self: stretch; justify-content: center; border-radius: 999px; }
}
@media (min-width: 900px) { .hf-page .hf-help-list { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } .hf-page .hf-help-list li { display: grid; align-content: start; } }

/* ---------- My Trips: the band, the sections as cards, the account's ways on ---------- */
.hf-page .hf-trips-head { grid-template-columns: minmax(0, 1fr); align-items: end; }
.hf-page .hf-trips-head .tb-results-sub { margin: 10px 0 0; max-width: 640px; font-size: 16px; color: rgba(226, 236, 246, .92); }
.hf-page .hf-trips-head .tb-results-sub a { color: #fff; }
.hf-page .hf-trips-head form { justify-self: start; }
.hf-page .hf-trips-head .btn { min-height: 44px; }
.hf-page .hf-trips { display: grid; gap: 8px; padding-block: 12px 72px; }
.hf-page .hf-trips-cols { display: grid; gap: 28px; align-items: start; min-width: 0; }
.hf-page .hf-trips-main { min-width: 0; }
.hf-page .hf-trips section h2 { font-family: var(--serif); font-size: 26px; font-weight: 700; padding-bottom: 10px; border-bottom: 1px solid var(--gold-line); color: var(--ink); }
.hf-page .hf-trips .tb-mytrip, .hf-page .hf-trips .tb-return { border-color: #e3e8ef; border-radius: 16px; box-shadow: var(--shadow-sm); }
.hf-page .hf-trips .tb-empty { padding: 24px; border-color: var(--gold-line); background: #fff; }
.hf-page .hf-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 14px 16px; border: 1px solid var(--gold-line); border-radius: 14px; background: #fff; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.hf-page .hf-note .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--gold-deep); }
.hf-page .hf-account { padding: 20px 22px; border: 1px solid var(--gold-line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.hf-page .hf-account ul { margin: 8px 0 0; padding: 0; list-style: none; }
.hf-page .hf-account li + li { border-top: 1px solid var(--line); }
.hf-page .hf-account a { display: flex; align-items: center; gap: 12px; min-height: 48px; color: var(--ink); font-weight: 600; text-decoration: none; }
.hf-page .hf-account a:hover { color: var(--blue-600); }
.hf-page .hf-account .icon { flex: none; width: 18px; height: 18px; color: var(--gold-deep); }
@media (min-width: 761px) {
  .hf-page .hf-trips-head { grid-template-columns: minmax(0, 1fr) auto; }
  .hf-page .hf-trips-head form { justify-self: end; }
}
@media (min-width: 1024px) {
  .hf-page .hf-trips-cols { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
  .hf-page .hf-account { position: sticky; top: 24px; margin-top: 32px; }
}
@media (max-width: 760px) {
  /* A trip's actions sit at the left under it, clear of the Concierge button. */
  .hf-page .hf-trips .tb-mytrip > form, .hf-page .hf-trips .tb-mytrip-actions { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .hf-page .hf-gallery .ht-gallery-thumbs { scroll-behavior: auto; }
}
@media (forced-colors: active) {
  .hf-page .hf-chip, .hf-page .hf-done, .hf-page .hf-steps li span { border: 1px solid CanvasText; }
}


/* A part the script has hidden stays hidden. */
.hf-page .ht-chipbar[hidden], .hf-page .ht-price-msg[hidden], .hf-page .ht-chips-clear[hidden] { display: none; }
