/* Travel Villa / considered journeys.
   Guest-only overrides. Discovery, quote and booking behavior is unchanged. */
:is(#resultsView, #detailView, .guest-flow, #filterDialog, #dialog) {
  --flow-ink: #142b3b;
  --flow-paper: #f8f7f3;
  --flow-accent: #b96b4b;
  --flow-line: #e0e3e3;
  --flow-muted: #67717a;
  color: var(--flow-ink);
  font-family: 'Manrope', Arial, sans-serif;
}
:is(#resultsView, #detailView, .guest-flow, #filterDialog, #dialog) :is(h1, h2, h3) {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
}
:is(#resultsView, #detailView, .guest-flow, #filterDialog, #dialog) :is(button, a, input, select, summary):focus-visible {
  outline: 3px solid #148ba1;
  outline-offset: 4px;
}
:is(#resultsView, #detailView, .guest-flow, #filterDialog, #dialog) :is(button, input, select):disabled {
  cursor: not-allowed;
  opacity: .5;
  filter: none;
  transform: none;
}
:is(#resultsView, #detailView, .guest-flow, #filterDialog, #dialog) :is(.outline, .primary, .text-btn, .gf-button) {
  min-height: 44px;
  border-radius: 6px;
  line-height: 1.5;
}
:is(#resultsView, #detailView, #filterDialog, #dialog) .outline {
  border-color: #cfd7dc;
  color: var(--flow-ink);
  background: transparent;
  padding: 12px 19px;
}
:is(#resultsView, #detailView, #filterDialog, #dialog) .primary {
  background: var(--flow-ink);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 16px 22px;
}
:is(#resultsView, #detailView, #filterDialog, #dialog) :is(.eyebrow.dark, .location) {
  color: var(--flow-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  line-height: 1.7;
}

/* Discovery: a midnight masthead above an airy, image-led shortlist. */
#resultsView { background: var(--flow-paper); }
#resultsView .results-heading {
  max-width: none;
  margin: 0;
  padding: 22px max(40px, calc((100vw - 1280px) / 2)) 27px;
  color: white;
  background: radial-gradient(ellipse at 93% 15%, #2e4d5e 0, transparent 44%), #142b3b;
  border-bottom: 1px solid #203d4e;
}
#resultsView .results-heading > .back {
  color: #c5d4de;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 12px;
}
#resultsView .results-heading .section-title { align-items: center; gap: 28px; margin-bottom: 22px; }
#resultsView .results-heading .eyebrow { color: #c5aa99; font-size: 9px; letter-spacing: 2.3px; }
#resultsView .results-heading h1 { color: white; font-size: clamp(44px, 4.5vw, 66px); line-height: 1.05; letter-spacing: -1.8px; margin: 12px 0; }
#resultsView #searchSummary { color: #d0dce3; font-size: 12px; line-height: 1.8; margin: 13px 0 0; }
#resultsView #changeSearch { color: white; border-color: #69808e; background: #ffffff06; flex-shrink: 0; }
#resultsView #changeSearch:hover { background: #ffffff12; }
#resultsView .result-tools { min-height: 66px; padding: 11px 0; gap: 20px; border-color: #ffffff24; background: transparent; }
#resultsView .result-tools p { color: #c6d5de; margin: 0; font-size: 12px; }
#resultsView .result-tools strong { color: white; font-size: 17px; font-weight: 600; margin-right: 4px; }
#resultsView .result-tools label { color: #c6d5de; margin-left: auto; font-size: 11px; display: flex; align-items: center; gap: 10px; }
#resultsView .result-tools select { min-height: 44px; color: white; background: #ffffff0c; border: 1px solid #ffffff24; border-radius: 5px; max-width: 220px; padding: 11px 14px; font-size: 12px; }
#resultsView .result-tools select option { color: #142b3b; background: white; }
#resultsView .quick-filters { gap: 9px; margin: 2px 0 0; }
#resultsView .quick-filters button { min-height: 44px; padding: 11px 17px; border-radius: 5px; color: #ecf1f4; font-size: 11px; border-color: #ffffff30; background: transparent; }
#resultsView .quick-filters button:hover { background: #ffffff0e; }
#resultsView .quick-filters button[aria-pressed=true] { background: #f8f7f3; color: #142b3b; border-color: #f8f7f3; box-shadow: inset 0 -3px #b96b4b; }
#resultsView .active-filters { gap: 8px; margin: 14px 0 0; }
#resultsView .filter-chip { min-height: 44px; background: #e8eff1; border-color: #e8eff1; border-radius: 5px; color: #142b3b; padding: 10px 13px; }
#resultsView .results-layout { max-width: 1360px; padding: 0 40px; margin: 34px auto 86px; grid-template-columns: 258px minmax(0, 1fr); gap: 30px; align-items: start; }
#resultsView #filterHome { align-self: stretch; }
:is(#resultsView, #filterDialog) #filters { background: white; border: 1px solid #e0e3e3; padding: 23px; border-radius: 9px; box-shadow: 0 6px 24px #142b3b04; }
#resultsView #filters { position: sticky; top: 20px; max-height: calc(100dvh - 40px); overflow: auto; scrollbar-width: thin; scrollbar-color: #cad3d8 transparent; }
:is(#resultsView, #filterDialog) #filters .filter-title { margin-bottom: 7px; }
:is(#resultsView, #filterDialog) #filters .filter-title h3 { margin: 0; font-size: 23px; letter-spacing: -.5px; }
:is(#resultsView, #filterDialog) #filters .filter-title button { font-family: 'Manrope', Arial, sans-serif; color: #985337; font-weight: 600; min-width: 44px; }
:is(#resultsView, #filterDialog) #filters label { color: #43515c; font-size: 11px; }
:is(#resultsView, #filterDialog) #filters .filter-search { font-size: 11px; margin-top: 18px; }
:is(#resultsView, #filterDialog) #filters :is(input:not([type=checkbox]), select) { min-height: 44px; background: #fbfbf9; border-color: #dbe0e2; border-radius: 5px; color: #142b3b; font-size: 12px; padding: 11px 10px; }
:is(#resultsView, #filterDialog) #filters :is(input:not([type=checkbox]), select):focus { border-color: #148ba1; background: white; }
:is(#resultsView, #filterDialog) #filters input::placeholder { color: #849098; font-size: 11px; }
:is(#resultsView, #filterDialog) #filters fieldset { border-color: #e0e3e3; padding: 20px 0 0; margin-top: 23px; }
:is(#resultsView, #filterDialog) #filters legend { font-family: 'Manrope', Arial, sans-serif; font-size: 12px; color: #142b3b; font-weight: 600; margin-bottom: 8px; }
:is(#resultsView, #filterDialog) #filters .facet-option { min-height: 44px; gap: 9px; margin: 0; cursor: pointer; }
:is(#resultsView, #filterDialog) #filters input[type=checkbox] { width: 17px; height: 17px; accent-color: #142b3b; }
:is(#resultsView, #filterDialog) #filters .facet-option:has(input:checked) { color: #142b3b; font-weight: 600; }
:is(#resultsView, #filterDialog) #filters .facet-count { display: grid; place-items: center; min-width: 21px; min-height: 21px; border-radius: 4px; background: #f2f4f4; color: #67717a; font-size: 10px; font-weight: 400; }
:is(#resultsView, #filterDialog) #filters .filter-note { background: #eef3f4; border-left: 2px solid #148ba1; border-radius: 0 5px 5px 0; color: #142b3b; font-size: 11px; padding: 14px; }
:is(#resultsView, #filterDialog) #filters .filter-note small { display: block; margin-top: 6px; font-size: 10px; color: #67717a; }
:is(#resultsView, #filterDialog) #filters .unavailable-filters summary { min-height: 44px; color: #67717a; line-height: 1.8; }
:is(#resultsView, #filterDialog) #filters .unavailable-filters :disabled { background: #f3f3f1 !important; color: #81858a !important; }
#resultsView .results-list { gap: 24px; }
#resultsView .hotel-card { grid-template-columns: minmax(240px, .85fr) minmax(0, 1.15fr); border: 1px solid #e0e3e3; border-radius: 9px; background: white; box-shadow: 0 9px 28px #142b3b05; transition: box-shadow .25s ease, border-color .25s ease; }
#resultsView .hotel-card:hover { border-color: #c1cdd2; box-shadow: 0 13px 34px #142b3b0e; }
#resultsView .card-photo { min-height: 330px; height: 100%; overflow: hidden; background: #e8eff1; }
#resultsView .card-photo img { display: block; transition: transform .7s ease; }
#resultsView .hotel-card:hover .card-photo img { transform: scale(1.035); }
#resultsView .card-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #142b3b1a, transparent 35%, #142b3b19); }
#resultsView .tag { z-index: 1; left: 18px; top: 19px; padding: 8px 10px; background: #fffffff2; border-radius: 3px; color: #142b3b; font-size: 8px; font-weight: 600; letter-spacing: 1.2px; }
#resultsView .save { z-index: 2; top: 15px; right: 15px; width: 44px; height: 44px; color: #142b3b; font-size: 24px; border: 1px solid #ffffffc9; box-shadow: 0 4px 15px #142b3b14; }
#resultsView .save[aria-pressed=true] { color: white; background: #142b3b; }
#resultsView .card-body { display: flex; flex-direction: column; padding: 27px 28px 24px; min-width: 0; }
#resultsView .card-body .location { font-size: 9px; letter-spacing: 1.4px; }
#resultsView .hotel-card h3 { font-size: clamp(27px, 2.3vw, 33px); margin: 8px 0; letter-spacing: -.8px; line-height: 1.1; }
#resultsView .stars { color: #b96b4b; font-size: 10px; letter-spacing: 3px; }
#resultsView .amenities { margin: 16px 0 21px; color: #67717a; font-size: 11px; line-height: 1.9; }
#resultsView .card-bottom { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; gap: 17px; border-color: #e0e3e3; padding-top: 18px; }
#resultsView .card-bottom .price { font-size: 26px; font-weight: 500; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
#resultsView .card-bottom .price small { color: #67717a; font-size: 10px; line-height: 1.6; margin-top: 5px; }
#resultsView .card-bottom .stay-total { color: #142b3b; font-size: 12px; font-weight: 600; margin-top: 9px; }
#resultsView .card-bottom button { min-height: 46px; padding: 13px 18px; background: #142b3b; color: white; border-radius: 5px; font-size: 12px; font-weight: 600; width: 100%; }
#resultsView .empty { padding: 58px 35px; border: 1px solid #e0e3e3; border-radius: 9px; }
#resultsView .empty h2 { font-size: 40px; letter-spacing: -1px; }
#resultsView .empty p { max-width: 470px; margin: 18px auto 25px; color: #67717a; font-size: 13px; }
#resultsView .empty .text-btn { margin-top: 12px; }

/* Property: cinematic photography, clear rates and a quiet booking rail. */
#detailView { background: var(--flow-paper); }
#detailView .detail-wrap { max-width: 1360px; padding: 24px 40px 90px; }
#detailView #backResults { color: #67717a; font-size: 11px; margin-bottom: 17px; }
#detailView .section-title { align-items: center; gap: 30px; margin-bottom: 29px; }
#detailView .section-title > div { min-width: 0; }
#detailView .section-title > .outline { flex-shrink: 0; border-radius: 999px; padding: 12px 22px; background: white; }
#detailView .section-title > .outline[aria-pressed=true] { background: #142b3b; color: white; border-color: #142b3b; }
#detailView h1 { font-size: clamp(42px, 4.7vw, 66px); margin: 12px 0 15px; letter-spacing: -1.8px; line-height: 1.04; }
#detailView .stars { color: #b96b4b; letter-spacing: 3px; margin-right: 9px; }
#detailView .detail-gallery { position: relative; grid-template-columns: 1.55fr 1fr; gap: 8px; height: clamp(340px, 35vw, 485px); margin: 0 0 27px; border-radius: 9px; }
#detailView .detail-gallery img { min-width: 0; display: block; }
#detailView .detail-gallery img:first-child { object-position: center 58%; }
#detailView .detail-subnav { position: sticky; top: 0; z-index: 3; gap: 36px; flex-wrap: nowrap; padding: 0; margin-bottom: 36px; border-color: #d4dcdf; background: #f8f7f3f5; backdrop-filter: blur(14px); font-size: 12px; }
#detailView .detail-subnav a { display: flex; align-items: center; min-height: 60px; padding: 14px 0; color: #51606b; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
#detailView .detail-subnav a:hover, #detailView .detail-subnav a:focus-visible { color: #142b3b; border-bottom-color: #b96b4b; }
#detailView .detail-subnav a:first-child { color: #142b3b; font-weight: 600; }
#detailView .detail-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 62px; align-items: start; }
#detailView .detail-copy { min-width: 0; }
#detailView .detail-copy section { scroll-margin-top: 85px; }
#detailView .detail-copy h2 { font-size: 40px; line-height: 1.12; letter-spacing: -1px; margin: 13px 0 22px; }
#detailView .detail-copy p { color: #67717a; font-size: 14px; line-height: 1.9; }
#detailView #hotelOverview { padding: 5px 0 26px; border-bottom: 1px solid #e0e3e3; }
#detailView #hotelOverview > p { max-width: 640px; }
#detailView .feature-row { gap: 10px; margin: 28px 0 14px; }
#detailView .feature-row span { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid #dfe5e6; border-radius: 5px; background: #eef2f2; color: #40535f; font-size: 11px; }
#detailView .feature-row span::before { content: ''; width: 5px; height: 5px; border: 1px solid #148ba1; transform: rotate(45deg); }
#detailView #hotelRooms { padding-top: 32px; }
#detailView .rate-card { position: relative; margin-top: 23px; padding: 32px; border: 1px solid #d9e0e3; border-top: 3px solid #b96b4b; border-radius: 7px; box-shadow: 0 10px 30px #142b3b04; }
#detailView .rate-card .eyebrow { color: #985337; font-size: 9px; letter-spacing: 1.7px; }
#detailView .rate-card h3 { font-size: 31px; letter-spacing: -.6px; margin: 12px 0 15px; }
#detailView .rate-card p { font-size: 12px; line-height: 1.85; }
#detailView .rate-card .cost-row { margin: 0; padding: 14px 0; font-size: 12px; color: #52616c; border-bottom: 1px solid #edf0f1; }
#detailView .rate-card .cost-row strong { font-weight: 500; color: #142b3b; text-align: right; flex-shrink: 0; font-variant-numeric: tabular-nums; }
#detailView .rate-card .cost-row.total { align-items: center; font-size: 14px; margin-top: 5px; padding: 22px 0 18px; border-top: 0; border-bottom: 0; color: #142b3b; }
#detailView .rate-card .cost-row.total strong { font-size: 29px; font-weight: 500; letter-spacing: -.8px; }
#detailView .demo-note { border: 1px solid #e6e2da; background: #f8f6f0; color: #72685c !important; font-size: 10px !important; line-height: 1.8; padding: 14px 16px; border-radius: 5px; }
#detailView .rate-card .primary { min-height: 52px; margin-top: 12px; letter-spacing: .2px; }
#detailView .stay-summary { position: sticky; top: 88px; border: 0; border-radius: 8px; padding: 30px; color: #fff; background: #142b3b; box-shadow: 0 15px 35px #142b3b13; }
#detailView .stay-summary .eyebrow { color: #c5aa99; font-size: 9px; letter-spacing: 1.8px; }
#detailView .stay-summary h3 { color: white; font-size: 32px; font-weight: 500; margin: 12px 0 17px; letter-spacing: -.7px; }
#detailView .stay-summary .booking-channel { color: #cddbe3; font-size: 11px; font-weight: 400; line-height: 1.9; margin: 0 0 21px; }
#detailView .stay-summary .cost-row { margin: 0; padding: 15px 0; border-top: 1px solid #ffffff1c; font-size: 11px; color: #b7cbd6; }
#detailView .stay-summary .cost-row b { color: white; font-size: 12px; font-weight: 500; text-align: right; }
#detailView .stay-summary .outline { width: 100%; color: white; border-color: #738794; background: transparent; margin: 16px 0 7px; }
#detailView .stay-summary .outline:hover { background: #ffffff0d; }
#detailView .stay-summary .demo-note { background: #ffffff08; border-color: #ffffff1c; color: #becfd9 !important; margin: 13px 0 0; padding: 13px; }
#detailView .policy-box { margin-top: 34px; border-left: 2px solid #b96b4b; padding: 25px 28px; background: #f0f0eb; border-radius: 0 6px 6px 0; }
#detailView .policy-box h2 { font-size: 31px; margin: 0 0 17px; }
#detailView .policy-box p { font-size: 12px; line-height: 1.9; }

/* Checkout and the page-local mock stays ledger. */
.guest-flow { max-width: 1280px; padding: 0 40px; margin: 40px auto 88px; }
.guest-flow .gf-page-heading { gap: 30px; padding: 9px 0 33px; align-items: center; }
.guest-flow .gf-page-heading > div { min-width: 0; }
.guest-flow .gf-page-heading h1 { font-size: clamp(44px, 4.7vw, 64px); margin: 13px 0; letter-spacing: -1.8px; }
.guest-flow .gf-page-heading p { font-size: 12px; color: #67717a; line-height: 1.8; }
.guest-flow .gf-eyebrow { color: #985337; font-size: 9px; letter-spacing: 1.8px; line-height: 1.8; }
.guest-flow .gf-button { min-height: 46px; border: 1px solid #cfd8dc; background: white; color: #142b3b; font-size: 12px; font-weight: 500; padding: 13px 19px; }
.guest-flow .gf-button--primary { color: white; background: #142b3b; border-color: #142b3b; font-weight: 600; }
.guest-flow .gf-button--text { background: transparent; border-color: transparent; color: #52616c; padding-left: 0; padding-right: 0; }
.guest-flow .gf-button:disabled { background: #edf0f1; border-color: #dce1e4; color: #67717a; opacity: .72; }
.guest-flow .gf-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 5px; margin: 0 0 22px; border: 1px solid #dce3e6; border-radius: 7px; background: #edf1f2; font-size: 11px; }
.guest-flow .gf-steps li { padding: 14px 19px; min-width: 0; line-height: 1.7; border-radius: 4px; color: #667782; }
.guest-flow .gf-steps [aria-current] { color: white; background: #142b3b; font-weight: 500; box-shadow: 0 3px 8px #142b3b12; }
.guest-flow .gf-live { display: flex; align-items: center; gap: 9px; color: #52616c; font-size: 11px; line-height: 1.8; margin: 0 0 24px; }
.guest-flow .gf-live::before { content: ''; width: 6px; height: 6px; flex-shrink: 0; background: #148ba1; border-radius: 50%; }
.guest-flow .gf-checkout-grid { grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 30px; }
.guest-flow :is(.gf-stay-card, .gf-quote-card, .gf-booking-card) { border: 1px solid #dfe4e6; border-radius: 8px; background: white; box-shadow: 0 9px 28px #142b3b04; }
.guest-flow .gf-stay-photo { height: 335px; background: #e8eff1; }
.guest-flow .gf-photo-label { left: 22px; bottom: 22px; max-width: calc(100% - 44px); background: #fffffff2; color: #142b3b; font-size: 8px; letter-spacing: 1.2px; padding: 9px 11px; }
.guest-flow .gf-stay-copy { padding: 30px 32px; }
.guest-flow .gf-stay-copy h2 { font-size: 38px; letter-spacing: -.9px; margin: 11px 0 17px; }
.guest-flow :is(.gf-stay-fields, .gf-booking-facts) { gap: 24px 22px; margin: 27px 0 24px; }
.guest-flow .gf-stay-fields .gf-field { padding-top: 14px; border-top: 1px solid #e7ebed; }
.guest-flow .gf-field dt { color: #67717a; font-size: 9px; letter-spacing: 1px; margin-bottom: 8px; }
.guest-flow .gf-field dd { color: #142b3b; font-size: 13px; font-weight: 500; }
.guest-flow .gf-quote-card { position: sticky; top: 24px; padding: 30px; border-top: 3px solid #b96b4b; }
.guest-flow .gf-quote-card h2 { font-size: 32px; margin: 7px 0 22px; }
.guest-flow .gf-costs .gf-field { padding: 15px 0; gap: 14px; border-color: #e0e3e3; }
.guest-flow .gf-costs dt { color: #67717a; font-size: 11px; letter-spacing: 0; }
.guest-flow .gf-costs dd { flex-shrink: 0; max-width: 58%; font-size: 12px; font-variant-numeric: tabular-nums; }
.guest-flow .gf-costs .gf-field:last-child { border-bottom: 0; padding-top: 23px; padding-bottom: 4px; }
.guest-flow .gf-costs .gf-field:last-child dt { color: #142b3b; font-weight: 600; }
.guest-flow .gf-costs .gf-field:last-child dd { font-size: 30px; font-weight: 500; letter-spacing: -.8px; }
.guest-flow .gf-tax { font-size: 10px; color: #67717a; margin: 13px 0 24px; }
.guest-flow .gf-policy { background: #f6f4ee; border: 1px solid #eae4d9; border-radius: 5px; padding: 20px; margin-bottom: 22px; }
.guest-flow .gf-policy h3 { color: #142b3b; font-size: 23px; letter-spacing: -.3px; }
.guest-flow .gf-policy p { font-size: 11px; color: #59646c; line-height: 1.8; }
.guest-flow .gf-policy .gf-expiry { color: #8b583c; font-size: 10px; margin-top: 13px; }
.guest-flow .gf-accept { min-height: 44px; gap: 12px; margin: 23px 0; color: #43535e; font-size: 11px; line-height: 1.9; }
.guest-flow .gf-accept input { margin-top: 4px; width: 19px; height: 19px; accent-color: #142b3b; }
.guest-flow .gf-quote-card > .gf-button { min-height: 52px; font-size: 12px; }
.guest-flow .gf-quote-card > .gf-small { margin-top: 9px; font-size: 10px; }
.guest-flow .gf-demo-note { padding-top: 23px; margin-top: 30px; border-top: 1px solid #e0e3e3; color: #67717a; font-size: 10px; line-height: 1.8; }
.guest-flow .gf-alert { border-radius: 6px; border: 1px solid #e8cab9; border-left: 3px solid #b96b4b; background: #fff5ef; color: #7d432c; padding: 18px 21px; }
.guest-flow .gf-uncertainty { border-radius: 6px; border: 1px solid #ddc2a0; border-left: 3px solid #a37239; background: #faf4e9; padding: 26px; }
.guest-flow .gf-uncertainty h2 { font-size: 30px; }
.guest-flow :is(.gf-empty, .gf-loading) { padding: 70px 35px; border-color: #dfe4e6; border-radius: 8px; box-shadow: 0 12px 35px #142b3b04; }
.guest-flow :is(.gf-empty, .gf-loading) h2 { font-size: 38px; }
.guest-flow .gf-record-caption { border-color: #d8e0e3; padding: 22px 0; gap: 18px; font-size: 11px; line-height: 1.8; }
.guest-flow .gf-booking-list { gap: 28px; }
.guest-flow .gf-booking-card { grid-template-columns: 270px minmax(0, 1fr); }
.guest-flow .gf-booking-photo { min-height: 350px; }
.guest-flow .gf-booking-body { padding: 30px 32px; min-width: 0; }
.guest-flow .gf-booking-heading { gap: 20px; }
.guest-flow .gf-booking-heading h2 { font-size: 34px; letter-spacing: -.7px; margin: 10px 0; }
.guest-flow .gf-badge { border: 1px solid #dbe2e6; border-radius: 4px; background: #f0f3f4; color: #435965; padding: 8px 11px; font-size: 9px; }
.guest-flow .gf-badge--success { border-color: #c5dade; background: #eaf3f4; color: #176276; }
.guest-flow .gf-badge--warning { border-color: #dec29a; background: #fbf1e2; color: #805a2f; }
.guest-flow .gf-booking-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 19px 0 3px; border-top: 1px solid #e5eaec; }
.guest-flow .gf-booking-facts .gf-field dt { font-size: 8px; }
.guest-flow .gf-booking-facts .gf-field dd { font-size: 12px; }
.guest-flow .gf-booking-notes { border-color: #e0e3e3; padding-top: 17px; }
.guest-flow .gf-booking-notes p { font-size: 11px; line-height: 1.8; }
.guest-flow .gf-cancel-review { background: #f6f4ee; border-color: #e3ded4; border-radius: 6px; padding: 25px; }
.guest-flow .gf-cancel-review h3 { font-size: 26px; }
.guest-flow .gf-history { border-color: #e0e3e3; }
.guest-flow .gf-history summary { color: #435965; min-height: 44px; display: list-item; padding: 11px 0; }

/* Native dialogs remain keyboard-accessible and always retain their close action. */
#dialog { padding: 44px; border: 1px solid #e0e3e3; border-radius: 10px; width: calc(100% - 32px); max-width: 565px; max-height: calc(100dvh - 32px); overflow: auto; background: #fdfdfb; box-shadow: 0 32px 110px #0d23394d; }
:is(#dialog, #filterDialog)::backdrop { background: #0e253ab3; backdrop-filter: blur(7px); }
#dialog .close { top: 13px; right: 13px; min-width: 44px; min-height: 44px; border-radius: 50%; color: #142b3b; background: #edf1f2; }
#dialog h2 { font-size: 40px; line-height: 1.08; letter-spacing: -1px; margin: 17px 0 25px; padding-right: 7px; }
#dialog p { font-size: 12px; color: #67717a; line-height: 1.9; }
#dialog .eyebrow { margin-top: 20px; color: #985337; font-size: 9px; letter-spacing: 1.7px; }
#dialog .demo-note { font-size: 10px !important; color: #72685c !important; background: #f5f2e9; border: 1px solid #e9e2d5; padding: 14px 16px; line-height: 1.8; }
#dialog .search-edit { gap: 20px 16px; }
#dialog .search-edit label { color: #52616c; font-size: 11px; font-weight: 500; gap: 9px; }
#dialog .search-edit :is(input, select) { min-height: 48px; padding: 12px 10px; border-color: #d9e1e5; border-radius: 5px; color: #142b3b; background: white; font-size: 13px; }
#dialog .search-edit .primary { margin: 0; min-height: 50px; }
#dialog .search-edit #editSearchError { color: #993f29; margin: 0; }
#dialog .search-edit #editSearchError:empty { display: none; }
#filterDialog { padding: 0; max-width: 480px; width: calc(100% - 24px); border: 1px solid #dfe5e8; border-radius: 10px; max-height: calc(100dvh - 24px); background: white; overflow: auto; }
#filterDialog .filter-dialog-heading { position: sticky; top: 0; z-index: 2; padding: 18px 22px; background: #142b3b; color: white; }
#filterDialog .filter-dialog-heading h2 { font-size: 29px; letter-spacing: -.6px; }
#filterDialog #closeFilters { min-height: 44px; min-width: 44px; padding: 5px; font-size: 24px; color: white; border-color: #6f8391; }
#filterDialog #filters { border: 0; border-radius: 0; box-shadow: none; padding: 25px; position: static; max-height: none; overflow: visible; }
#filterDialog .filter-dialog-footer { padding: 15px 22px; border-color: #dfe5e8; z-index: 2; box-shadow: 0 -8px 24px #142b3b07; }
#filterDialog .filter-dialog-footer .text-btn { color: #985337; }
#filterDialog .filter-dialog-footer .primary { min-width: 155px; }

@media (min-width: 1500px) {
  #resultsView .results-heading { padding-left: max(40px, calc((100vw - 1280px) / 2)); padding-right: max(40px, calc((100vw - 1280px) / 2)); }
}
@media (max-width: 1150px) {
  #resultsView .results-layout { grid-template-columns: 235px minmax(0, 1fr); gap: 24px; padding: 0 30px; }
  #resultsView .results-heading { padding-left: 30px; padding-right: 30px; }
  #resultsView .hotel-card { grid-template-columns: minmax(195px, .85fr) minmax(0, 1.15fr); }
  #resultsView .card-body { padding: 24px; }
  #resultsView .hotel-card h3 { font-size: 28px; }
  #resultsView .tag { left: 12px; top: 15px; max-width: calc(100% - 68px); font-size: 7px; padding: 8px; }
  #resultsView .save { right: 10px; top: 10px; }
  #detailView .detail-wrap { padding-left: 30px; padding-right: 30px; }
  #detailView .detail-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 32px; }
  #detailView .stay-summary { padding: 26px; }
  .guest-flow { padding: 0 30px; }
  .guest-flow .gf-checkout-grid { gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); }
  .guest-flow :is(.gf-stay-copy, .gf-quote-card) { padding: 26px; }
  .guest-flow .gf-booking-card { grid-template-columns: 215px minmax(0, 1fr); }
  .guest-flow .gf-booking-body { padding: 26px; }
  .guest-flow .gf-booking-heading { display: block; }
  .guest-flow .gf-badge { margin-top: 12px; }
}
@media (max-width: 900px) {
  #resultsView .results-layout { grid-template-columns: 225px minmax(0, 1fr); gap: 22px; }
  #resultsView .hotel-card { grid-template-columns: 1fr; }
  #resultsView .card-photo { min-height: 0; height: 240px; }
  #resultsView .tag { left: 18px; top: 19px; font-size: 8px; max-width: none; padding: 8px 10px; }
  #resultsView .save { top: 15px; right: 15px; }
  #resultsView .card-body { padding: 24px; }
  #resultsView .hotel-card h3 { font-size: 31px; }
  #detailView .detail-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 25px; }
  #detailView .stay-summary { padding: 23px; }
  #detailView .rate-card { padding: 25px; }
  #detailView .detail-copy h2 { font-size: 35px; }
  .guest-flow .gf-stay-photo { height: 285px; }
  .guest-flow .gf-stay-copy h2 { font-size: 33px; }
}
@media (max-width: 760px) {
  #resultsView .results-heading { padding: 18px 24px 24px; }
  #resultsView .results-heading .section-title { margin-bottom: 20px; gap: 20px; }
  #resultsView .results-heading h1 { font-size: 49px; }
  #resultsView .results-layout { display: block; padding: 0 24px; margin: 26px auto 60px; }
  #resultsView #filterHome > #filters { display: none; }
  #resultsView .result-tools { flex-wrap: wrap; gap: 12px; padding: 15px 0; }
  #resultsView .result-tools label { margin-left: auto; }
  #resultsView .mobile-filter { display: block; min-width: 92px; border-color: #78909e; color: white; background: #ffffff0a; margin: 0; }
  #resultsView .hotel-card { grid-template-columns: minmax(220px, .85fr) minmax(0, 1.15fr); }
  #resultsView .card-photo { height: 100%; min-height: 330px; }
  #resultsView .card-body { padding: 24px; }
  #resultsView .hotel-card h3 { font-size: 29px; }
  #detailView .detail-wrap { padding: 22px 24px 60px; }
  #detailView .detail-gallery { height: 340px; grid-template-columns: 1.5fr 1fr; }
  #detailView .detail-layout { display: flex; flex-direction: column; gap: 28px; }
  #detailView .detail-copy { width: 100%; }
  #detailView .stay-summary { position: static; width: 100%; padding: 28px; }
  #detailView .stay-summary .cost-row { padding: 14px 0; }
  #detailView .detail-copy h2 { font-size: 38px; }
  #detailView .detail-subnav { margin-bottom: 29px; }
  .guest-flow { padding: 0 24px; margin-top: 25px; margin-bottom: 60px; }
  .guest-flow .gf-page-heading { align-items: flex-start; flex-direction: column; gap: 7px; padding: 7px 0 25px; }
  .guest-flow .gf-page-heading h1 { font-size: 49px; }
  .guest-flow .gf-header-actions { justify-content: flex-start; }
  .guest-flow .gf-steps { font-size: 10px; }
  .guest-flow .gf-steps li { padding: 12px 10px; }
  .guest-flow .gf-checkout-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .guest-flow .gf-quote-card { position: static; }
  .guest-flow .gf-stay-photo { height: 320px; }
  .guest-flow .gf-booking-card { grid-template-columns: 1fr; }
  .guest-flow .gf-booking-photo { height: 270px; min-height: 0; }
  .guest-flow .gf-booking-heading { display: flex; }
  .guest-flow .gf-booking-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guest-flow .gf-badge { margin-top: 0; }
}
@media (max-width: 600px) {
  #resultsView .results-heading .section-title { display: block; }
  #resultsView .results-heading > .back { margin-bottom: 14px; }
  #resultsView .results-heading h1 { font-size: 45px; letter-spacing: -1.3px; }
  #resultsView #changeSearch { margin-top: 16px; min-height: 44px; padding: 10px 16px; font-size: 11px; }
  #resultsView #searchSummary { max-width: 340px; font-size: 11px; }
  #resultsView .result-tools { position: static; gap: 12px; }
  #resultsView .result-tools p { width: 100%; font-size: 11px; }
  #resultsView .result-tools label { flex: 1; margin: 0; min-width: 0; gap: 8px; font-size: 10px; }
  #resultsView .result-tools select { flex: 1; width: 100%; min-width: 0; max-width: 220px; font-size: 11px; padding: 10px 8px; }
  #resultsView .result-tools .mobile-filter { font-size: 11px; padding: 11px 13px; }
  #resultsView .quick-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
  #resultsView .quick-filters button { text-align: center; font-size: 10px; padding: 10px 6px; }
  #resultsView .results-list { gap: 23px; }
  #resultsView .hotel-card { grid-template-columns: 1fr; }
  #resultsView .card-photo { height: 255px; min-height: 0; }
  #resultsView .card-body { padding: 25px; }
  #resultsView .hotel-card h3 { font-size: 34px; }
  #resultsView .card-bottom { gap: 19px; }
  #resultsView .card-bottom .price { font-size: 28px; }
  #resultsView .card-bottom button { min-height: 48px; font-size: 12px; }
  #resultsView .empty { padding: 38px 23px; }
  #resultsView .empty h2 { font-size: 34px; }
  #detailView .section-title { display: block; }
  #detailView .section-title > .outline { margin-top: 18px; font-size: 11px; }
  #detailView h1 { font-size: 47px; letter-spacing: -1.3px; margin: 12px 0 16px; }
  #detailView .section-title .location { font-size: 9px; letter-spacing: 1px; }
  #detailView .detail-gallery { height: 345px; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 100px; gap: 6px; margin-bottom: 19px; }
  #detailView .detail-gallery img:nth-child(2) { display: block; object-position: center 59%; }
  #detailView .detail-subnav { justify-content: space-between; gap: 12px; margin-bottom: 27px; font-size: 11px; }
  #detailView .detail-subnav a { display: flex; min-height: 52px; }
  #detailView .detail-copy h2 { font-size: 36px; }
  #detailView .detail-copy p { font-size: 13px; }
  #detailView .rate-card { padding: 25px; }
  #detailView .rate-card p { font-size: 11px; }
  #detailView .rate-card .cost-row { font-size: 11px; gap: 12px; }
  #detailView .rate-card .cost-row.total { font-size: 12px; }
  #detailView .rate-card .cost-row.total strong { font-size: 27px; }
  #detailView .feature-row { gap: 8px; }
  #detailView .feature-row span { font-size: 10px; padding: 10px 12px; }
  #detailView .policy-box { padding: 23px; }
  #detailView .policy-box h2 { font-size: 30px; }
  #detailView .policy-box p { font-size: 11px; }
  .guest-flow .gf-steps { font-size: 9px; }
  .guest-flow .gf-steps li { padding: 12px 9px; }
  .guest-flow .gf-stay-photo { height: 270px; }
  .guest-flow .gf-booking-heading { display: block; }
  .guest-flow .gf-badge { margin-top: 13px; }
  .guest-flow .gf-booking-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guest-flow .gf-booking-photo { height: 245px; }
  .guest-flow .gf-record-caption { display: block; font-size: 10px; }
  .guest-flow .gf-record-caption > * + * { display: block; margin-top: 7px; }
  .guest-flow .gf-actions .gf-button { width: 100%; }
  #dialog, #dialog:has(.search-edit) { padding: 35px 25px 26px; }
  #dialog h2 { font-size: 36px; }
  #dialog .search-edit { gap: 18px 12px; }
  #dialog .search-edit :is(input, select) { font-size: 12px; padding: 12px 8px; }
}
@media (max-width: 390px) {
  #resultsView .results-heading { padding-left: 18px; padding-right: 18px; }
  #resultsView .results-layout { padding: 0 18px; margin-top: 22px; }
  #resultsView .results-heading h1 { font-size: 41px; }
  #resultsView .result-tools label { gap: 7px; font-size: 9px; }
  #resultsView .result-tools select { font-size: 10px; padding: 10px 6px; }
  #resultsView .result-tools .mobile-filter { min-width: 82px; padding: 10px; }
  #resultsView .card-photo { height: 225px; }
  #resultsView .card-body { padding: 22px; }
  #resultsView .hotel-card h3 { font-size: 31px; }
  #resultsView .card-body .location { font-size: 8px; }
  #resultsView .amenities { font-size: 10px; }
  #detailView .detail-wrap { padding-left: 18px; padding-right: 18px; }
  #detailView h1 { font-size: 41px; }
  #detailView .detail-gallery { height: 315px; grid-template-rows: minmax(0, 1fr) 88px; }
  #detailView .detail-subnav { gap: 10px; font-size: 10px; }
  #detailView .rate-card, #detailView .stay-summary { padding: 22px; }
  #detailView .rate-card .cost-row.total strong { font-size: 25px; }
  #detailView .detail-copy h2 { font-size: 33px; }
  .guest-flow { padding: 0 18px; }
  .guest-flow .gf-page-heading h1 { font-size: 42px; }
  .guest-flow .gf-steps { font-size: 8px; padding: 4px; }
  .guest-flow .gf-steps li { padding: 11px 6px; }
  .guest-flow :is(.gf-stay-copy, .gf-quote-card, .gf-booking-body) { padding: 22px; }
  .guest-flow .gf-stay-copy h2 { font-size: 32px; }
  .guest-flow .gf-stay-photo { height: 235px; }
  .guest-flow .gf-photo-label { left: 16px; bottom: 16px; max-width: calc(100% - 32px); font-size: 7px; }
  .guest-flow .gf-policy { padding: 17px; }
  .guest-flow .gf-costs .gf-field:last-child dd { font-size: 26px; }
  .guest-flow .gf-cancel-review { padding: 20px; }
  .guest-flow .gf-cancel-costs { grid-template-columns: 1fr; }
  #dialog, #dialog:has(.search-edit) { padding: 35px 20px 24px; }
  #dialog .search-edit { grid-template-columns: 1fr; }
  #dialog h2 { font-size: 33px; }
  #filterDialog .filter-dialog-heading { padding: 16px 18px; }
  #filterDialog .filter-dialog-heading h2 { font-size: 27px; }
  #filterDialog #filters { padding: 22px; }
  #filterDialog .filter-dialog-footer { padding: 14px 18px; }
  #filterDialog .filter-dialog-footer .primary { min-width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(#resultsView, #detailView, .guest-flow, #filterDialog, #dialog),
  :is(#resultsView, #detailView, .guest-flow, #filterDialog, #dialog) * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  #resultsView .hotel-card:hover .card-photo img { transform: none; }
}
/* Readable search-filter controls without altering hotel cards or other views. */
:is(#resultsView,#filterDialog) #filters{font-family:Arial,Helvetica,sans-serif}
:is(#resultsView,#filterDialog) #filters label,:is(#resultsView,#filterDialog) #filters .filter-search{font-size:13px}
:is(#resultsView,#filterDialog) #filters legend{font:700 13px Arial,Helvetica,sans-serif}
:is(#resultsView,#filterDialog) #filters .facet-group fieldset,:is(#resultsView,#filterDialog) #filters .pending-filter-group fieldset{border:0;padding:0;margin:0}
:is(#resultsView,#filterDialog) #filters .facet-group .facet-option{font:13px/1.4 Arial,Helvetica,sans-serif;min-height:40px}
:is(#resultsView,#filterDialog) #filters .facet-group .facet-unavailable{font-size:10px;font-weight:400;color:#6e7a83}
:is(#resultsView,#filterDialog) #filters .facet-group .facet-no-data{color:#71808b;cursor:default}
:is(#resultsView,#filterDialog) #filters .facet-group input[type=checkbox]{width:18px;height:18px}
:is(#resultsView,#filterDialog) #filters .pending-filter-group label{font:12px/1.4 Arial,Helvetica,sans-serif;color:#67717a}
:is(#resultsView,#filterDialog) #filters .facet-group summary small{white-space:nowrap}
#filterDialog .filter-dialog-heading h2{font:700 24px/1.2 Arial,Helvetica,sans-serif;letter-spacing:-.4px}
