:root {
  color-scheme: light;
  --ink: #203b32;
  --muted: #68716d;
  --gold: #a08450;
  --gold-light: #eef2ef;
  --paper: #ffffff;
  --wash: #f7f8f9;
  --line: #e3e7e5;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
button, input, select, textarea { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { border: 0; background: none; color: inherit; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; object-fit: cover; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.35; }
h1 { font-size: 2rem; font-weight: 600; }
h2 { font-size: 1.4rem; font-weight: 600; }
h3 { font-size: 1.12rem; font-weight: 600; }
small { font-size: .75rem; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.ui-icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 20px; vertical-align: middle; }
.hotel-site { min-height: 100vh; display: flex; flex-direction: column; }
#app, #checkout-app { flex: 1; }
#app { width: 100%; }
.site-header { height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: calc(100% - 80px); max-width: 1180px; margin: 0 auto; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 650; letter-spacing: .12em; }
.brand img { width: 45px; height: 45px; border-radius: 12px; }
.brand small { display: block; font-size: .6rem; font-weight: 500; letter-spacing: .2em; color: var(--gold); line-height: 1.8; margin-top: 2px; }
.header-nav { display: flex; align-items: center; gap: 38px; font-size: .875rem; }
.header-hotels { padding: 10px 0; border-bottom: 1px solid transparent; }
.catalog-page .header-hotels, .hotel-detail-page .header-hotels { border-color: var(--gold); }
.header-action { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.header-action .ui-icon { width: 18px; height: 18px; flex-basis: 18px; }
.orders-page .header-action { color: var(--gold); }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 48px; padding: 12px 20px; border-radius: 7px; font-size: .875rem; font-weight: 500; white-space: nowrap; transition: background .2s, box-shadow .2s, transform .2s; }
.primary { background: var(--ink); color: #ffffff; box-shadow: 0 3px 8px #203b3210; }
.primary:hover { background: #315448; box-shadow: 0 5px 14px #203b321a; }
.primary .ui-icon { width: 18px; height: 18px; flex-basis: 18px; transition: transform .2s; }
.primary:hover .ui-icon { transform: translateX(3px); }
.secondary { border: 1px solid var(--line); background: var(--paper); }
.secondary:hover { border-color: #a0845090; background: #f3f6f4; }
.wide { width: 100%; }
.price { font-family: var(--sans); font-style: normal; font-size: 2.4rem; font-weight: 600; line-height: 1.1; letter-spacing: 0; font-variant-numeric: lining-nums tabular-nums; }
.price .currency { font-size: .95rem; margin-right: 5px; letter-spacing: 0; }
.price small { font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: .7rem; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.price-note { color: var(--muted); font-size: .75rem; margin-top: 7px; line-height: 1.7; }
.minimum-stay-badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 5px 9px; border: 1px solid #bd7868; border-radius: 5px; color: #8c3f32; background: #fff4f2; font-size: .8125rem; line-height: 1.45; white-space: nowrap; }
.minimum-stay-badge strong { font-weight: 700; }
.minimum-stay-badge .ui-icon { width: 14px; height: 14px; flex-basis: 14px; }
.hotel-card-bottom .minimum-stay-badge { margin-bottom: 10px; }
.detail-title > .minimum-stay-badge { margin-top: 16px; }
.booking-price .minimum-stay-badge { margin-top: 11px; font-size: .6875rem; }
.minimum-stay-banner { display: flex; gap: 12px; align-items: center; padding: 13px 15px; margin-bottom: 22px; border: 1px solid #bd7868; border-radius: 7px; color: #8c3f32; background: #fff4f2; }
.minimum-stay-banner strong { display: block; font-size: .94rem; }
.minimum-stay-banner span { display: block; margin-top: 3px; color: #975d4f; font-size: .75rem; }
.minimum-stay-banner .ui-icon { width: 23px; height: 23px; flex-basis: 23px; }
.english-name { font-family: var(--serif); font-weight: 400; color: var(--muted); font-size: 1rem; line-height: 1.45; margin-top: 6px; }
.notice { font-size: .8125rem; color: var(--muted); line-height: 1.9; }
.notice p + p { margin-top: 14px; }
.address { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: .8125rem; margin-top: 15px; }
.address .ui-icon { width: 17px; height: 17px; flex-basis: 17px; margin-top: 3px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8125rem; padding: 18px 0; }
.back .ui-icon { width: 17px; height: 17px; flex-basis: 17px; }
.back:hover { color: var(--ink); }
/* Destination selection is functional, with no marketing hero. */
.catalog-filter { display: flex; align-items: center; gap: 30px; max-width: 1180px; margin: 32px auto 0; padding: 21px 28px; border-radius: 12px; background: var(--ink); color: #ffffff; width: calc(100% - 80px); }
.filter-label { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: #d0ddd7; flex-shrink: 0; }
.destinations { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.destinations::-webkit-scrollbar { display: none; }
.destination { padding: 8px 19px; border: 1px solid transparent; border-radius: 5px; font-size: .875rem; white-space: nowrap; transition: background .2s; }
.destination:hover { background: #ffffff10; }
.destination.active { background: #ffffff; color: #263b30; }
.catalog-body { max-width: 1180px; width: calc(100% - 80px); margin: 0 auto 72px; }
.listing-summary { display: flex; align-items: center; justify-content: space-between; padding: 30px 0 20px; }
.listing-summary p { font-size: .9375rem; font-weight: 500; }
.listing-summary p span { font-size: .75rem; font-weight: 400; color: var(--muted); padding-left: 15px; margin-left: 15px; border-left: 1px solid #e3e7e5; }
.hotel-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.hotel-card { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px #28392b04; transition: box-shadow .25s, border-color .25s; }
.hotel-card:hover { border-color: #b8c8bf; box-shadow: 0 15px 36px #28392b0c; }
.hotel-cover { display: block; overflow: hidden; background: #eef1f0; position: relative; }
.hotel-cover img { width: 100%; height: 195px; transition: transform .6s; }
.hotel-cover:hover img { transform: scale(1.035); }
.hotel-content { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 22px; }
.hotel-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; color: var(--gold); font-size: .75rem; margin-bottom: 12px; }
.hotel-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.hotel-card-meta .ui-icon { width: 14px; height: 14px; flex-basis: 14px; }
.hotel-name h2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.22; letter-spacing: -.025em; overflow-wrap: anywhere; }
.hotel-chinese-name { font-size: .8125rem; color: #686e62; margin-top: 9px; }
.card-inclusions { margin: 20px 0; }
.card-inclusions-label { font-size: .6875rem; letter-spacing: .12em; color: var(--muted); }
.card-inclusions ul { display: flex; flex-wrap: wrap; gap: 5px 16px; padding: 0; margin: 7px 0 0; list-style: none; font-size: .8125rem; color: #505b4e; }
.card-inclusions li::before { content: '·'; color: var(--gold); margin-right: 6px; }
.hotel-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; margin: auto -22px -22px; background: #f3f7f5; }
.hotel-card-bottom .price { font-size: 1.9rem; white-space: nowrap; }
/* One price area: amount, duration, unit and minimum stay without extra badges. */
.starting-price-line { display: flex; align-items: center; gap: 12px; min-width: 0; }
.starting-price-context { display: flex; flex-direction: column; flex-shrink: 0; padding-left: 12px; border-left: 1px solid #cad8d0; font-size: .6875rem; line-height: 1.55; color: var(--ink); white-space: nowrap; }
.starting-price-context > strong { font-size: .8125rem; font-weight: 650; }
.starting-price-minimum { margin-top: 2px; color: #995746; font-size: .6875rem; font-weight: 500; }
.starting-price-minimum strong { font-weight: 700; }
.hotel-card-bottom .primary { padding: 11px 14px; gap: 9px; font-size: .8125rem; flex-shrink: 0; }
.hotel-list.one-hotel { display: block; }
.one-hotel .hotel-card { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
.one-hotel .hotel-cover img { height: 100%; min-height: 300px; max-height: 390px; }
.one-hotel .hotel-content { padding: 32px 38px; }
.one-hotel .hotel-name h2 { font-size: 2rem; max-width: 440px; }
.one-hotel .hotel-chinese-name { font-size: .9375rem; }
.one-hotel .card-inclusions { margin: 22px 0; }
.one-hotel .hotel-card-bottom { margin: 4px 0 0; padding: 15px 16px; border-radius: 9px; }
.one-hotel .hotel-card-bottom .price { font-size: 2.35rem; }
/* Real hotel imagery, with a restrained gallery and a clear booking rail. */
.detail-top { max-width: 1180px; width: calc(100% - 80px); margin: 0 auto; }
.detail-title { padding: 12px 0 30px; }
.hotel-location { color: var(--gold); font-size: .75rem; display: flex; gap: 22px; margin-bottom: 13px; }
.hotel-location span { display: flex; align-items: center; gap: 6px; }
.hotel-location .ui-icon { width: 15px; height: 15px; flex-basis: 15px; }
.detail-title h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.12; letter-spacing: -.03em; }
.detail-chinese-name { font-size: 1.08rem; color: #565f51; margin-top: 13px; }
.detail-title .address { font-size: .75rem; margin-top: 10px; }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 10px; max-width: 1180px; width: calc(100% - 80px); height: 378px; margin: 0 auto 30px; border-radius: 13px; overflow: hidden; }
.detail-hero:not(:has(.detail-gallery-side)) { grid-template-columns: 1fr; }
.detail-cover { position: relative; min-width: 0; overflow: hidden; }
.detail-cover > img { width: 100%; height: 100%; }
.detail-gallery-side { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; min-height: 0; }
.detail-gallery-side > img { height: 100%; width: 100%; min-height: 0; }
.detail-gallery-side:has(img:only-child) { grid-template-rows: 1fr; }
.exclusive { position: absolute; top: 18px; left: 18px; font-size: .62rem; letter-spacing: .1em; font-weight: 500; background: #203b32eb; color: #ffffff; padding: 8px 12px; border-radius: 3px; }
.gallery-trigger { position: absolute; bottom: 20px; left: 20px; display: inline-flex; gap: 8px; align-items: center; background: #ffffffee; color: var(--ink); font-size: .75rem; border-radius: 5px; padding: 10px 13px; box-shadow: 0 4px 16px #00000014; }
.gallery-trigger .ui-icon { width: 16px; height: 16px; flex-basis: 16px; }
.detail-nav { display: flex; gap: 40px; padding: 0 max(40px, calc((100vw - 1180px)/2)); position: sticky; top: 0; z-index: 8; background: #fffffff7; backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.detail-nav a { display: block; padding: 18px 0 16px; border-bottom: 2px solid transparent; font-size: .875rem; color: var(--muted); transition: color .2s; }
.detail-nav a.active { color: var(--ink); border-color: var(--gold); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 46px; max-width: 1180px; width: calc(100% - 80px); margin: 0 auto 64px; align-items: start; }
.detail-footer { min-width: 0; }
.section { padding: 36px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.section-title h2 { font-size: 1.3rem; letter-spacing: .015em; }
.section-title .note { color: var(--muted); font-size: .75rem; }
.body-copy { color: #62685d; font-size: .875rem; line-height: 2.05; }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 25px; }
.highlight { padding: 15px; border: 1px solid var(--line); border-radius: 7px; color: #515e50; background: #ffffff; font-size: .8125rem; line-height: 1.7; }
.highlight-symbol { display: block; margin-bottom: 10px; color: var(--gold); }
.facility-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.facility { font-size: .75rem; color: #636b5d; padding: 6px 12px; border-radius: 4px; background: #f3f5f4; }
.sticky-booking { position: sticky; top: 96px; margin-top: 36px; padding: 28px 25px 22px; border-radius: 11px; background: var(--ink); color: #ffffff; box-shadow: 0 15px 32px #203b3212; }
.booking-kicker { font-size: .65rem; letter-spacing: .18em; color: #c9b485; margin-bottom: 8px; }
.booking-heading { font-size: 1.17rem; font-weight: 500; }
.booking-price { padding: 16px 12px; margin-top: 22px; border-radius: 8px; background: #f3f7f5; color: var(--ink); }
.sticky-booking .booking-price .price { font-size: 2.1rem; white-space: nowrap; }
.sticky-booking .booking-price .price small { color: var(--muted); }
.sticky-booking .price { font-size: 2.5rem; }
.sticky-booking .price small, .sticky-booking .price-note { color: #bfcbbd; }
.sticky-booking .primary { background: #ffffff; color: #283c2f; width: 100%; margin-top: 24px; padding-inline: 14px; gap: 12px; }
.sticky-booking .primary:hover { background: #eef3f0; }
.booking-footnote { font-size: .64rem; text-align: center; color: #aab8a6; margin-top: 13px; }
.package-list, .quote-list { display: grid; gap: 22px; }
.room-card { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); min-width: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; overflow: hidden; }
.room-visual { min-width: 0; overflow: hidden; }
.room-photo { width: 100%; height: 100%; min-height: 250px; }
.room-body { min-width: 0; padding: 22px; display: flex; flex-direction: column; }
.room-heading h3 { font-size: 1.05rem; }
.room-heading .english-name { font-size: .85rem; }
.room-specs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 11px; font-size: .7rem; color: var(--muted); }
.room-specs .ui-icon { width: 15px; height: 15px; flex-basis: 15px; color: var(--gold); }
.spec-separator { padding-inline: 2px; }
.package-inclusions-label { margin: 17px 0 0; font-size: .875rem; font-weight: 600; color: var(--ink); }
.package-inclusions-label + .inclusions { margin-top: 6px; }
.inclusions { list-style: none; padding: 0; margin: 17px 0 21px; font-size: .775rem; color: #5f6858; line-height: 1.75; }
.inclusions li { display: flex; align-items: flex-start; gap: 9px; margin: 7px 0; }
.inclusions li::before { content: '✓'; color: var(--gold); font-weight: 600; font-size: .75rem; flex: 0 0 12px; }
.room-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; border-top: 1px solid var(--line); padding-top: 15px; margin-top: auto; flex-wrap: wrap; }
.room-bottom .price { font-size: 2rem; }
.room-bottom .price-note { font-size: .67rem; }
.room-bottom .primary { font-size: .75rem; padding: 10px 12px; min-height: 42px; gap: 8px; }
.package-list + .notice { margin-top: 20px; }
.quote-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; background: #f5f8f6; border: 1px solid #dfe7e2; padding: 19px 22px; border-radius: 7px; margin-bottom: 24px; font-size: .8rem; }
.quote-summary > div { display: flex; align-items: center; gap: 12px; }
.quote-summary .ui-icon { color: var(--gold); }
.quote-summary small { display: block; color: var(--muted); font-size: .68rem; margin-top: 3px; }
.quote-card .room-bottom { display: block; }
.quote-price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.inventory { display: flex; align-items: center; gap: 5px; font-size: .65rem; color: #627a55; white-space: nowrap; }
.inventory i { background: #789267; width: 5px; height: 5px; border-radius: 50%; }
.quote-card .primary { width: 100%; margin-top: 14px; }
.time-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 23px; }
.time-grid > div { color: var(--muted); border: 1px solid var(--line); background: var(--paper); padding: 17px 20px; border-radius: 6px; font-size: .75rem; }
.time-grid strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.4rem; font-weight: 400; margin-top: 5px; }
.cancellation-copy { color: #62685d; font-size: .8125rem; border-left: 2px solid #c8b17b; padding: 3px 0 3px 18px; line-height: 2; }
/* Date and guest controls retain native inputs and keyboard access. */
dialog { padding: 0; border: 1px solid #e3e7e5; width: calc(100% - 32px); max-width: 540px; max-height: calc(100dvh - 40px); border-radius: 14px; color: var(--ink); background: var(--paper); overflow: auto; box-shadow: 0 30px 100px #0d1f2250; }
dialog::backdrop { background: #11281ccc; backdrop-filter: blur(5px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; padding: 25px 28px 21px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 2; }
.dialog-header h2 { font-size: 1.3rem; font-weight: 500; }
.close { width: 36px; height: 36px; border-radius: 50%; background: #f3f5f4; font-size: 1.5rem; line-height: 1; }
.dialog-body { padding: 23px 28px 28px; }
.dialog-subtitle { font-size: .8125rem; color: var(--muted); margin-bottom: 23px; }
.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; font-size: .75rem; color: #58604f; min-width: 0; }
.field input, .field select { min-width: 0; width: 100%; height: 50px; padding: 12px; font-size: .9375rem; color: var(--ink); background: #ffffff; border: 1px solid #dce3df; border-radius: 6px; appearance: auto; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { border-color: var(--gold); outline: 0; box-shadow: 0 0 0 3px #a0845014; }
input[type=date] { max-width: 100%; display: block; -webkit-appearance: none; appearance: none; }
input[type=date]::-webkit-date-and-time-value { text-align: left; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.stepper { display: flex; align-items: center; justify-content: space-between; padding: 13px 0 20px; margin-bottom: 10px; border-bottom: 1px solid var(--line); font-size: .875rem; }
.stepper small { display: block; color: var(--muted); font-size: .68rem; margin-top: 2px; }
.stepper-control { display: flex; align-items: center; gap: 14px; padding: 4px; border: 1px solid var(--line); border-radius: 25px; }
.stepper-control button { width: 32px; height: 32px; border-radius: 50%; background: #f3f5f4; font-size: 1.15rem; }
.stepper-control button:hover { background: #e8efeb; }
.stepper-control output { min-width: 19px; text-align: center; font-size: .875rem; }
.child-fields { margin-top: 20px; }
.query-step-label { color: var(--ink); font-size: .8rem; font-weight: 600; margin: 0 0 14px; }
.guest-steppers .stepper { padding: 12px 0; margin-bottom: 0; }
#calendar-load { margin: 20px 0 12px; }
#query-submit { margin-top: 18px; }
.price-calendar { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 20px; scroll-margin-top: 90px; }
.calendar-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.calendar-heading button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 1.4rem; }
.calendar-heading button:disabled { opacity: .35; }
.calendar-price-caption { text-align: center; font-size: .74rem; color: var(--muted); margin-bottom: 18px; }
.calendar-price-caption strong { color: var(--ink); }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; }
.calendar-weekdays span { text-align: center; font-size: .7rem; color: var(--muted); padding: 7px 0; }
.calendar-day { min-width: 0; min-height: 61px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid transparent; border-radius: 7px; padding: 5px 0; background: #f5f8f6; color: var(--ink); }
.calendar-day:disabled { cursor: not-allowed; opacity: 1; }
.calendar-day span { font-size: .86rem; font-weight: 500; }
.calendar-day small { font-size: .68rem; white-space: nowrap; letter-spacing: 0; }
.calendar-day.available:hover { border-color: var(--ink); }
.calendar-day.selected { background: var(--ink); color: white; border-color: var(--ink); }
.calendar-day.unavailable, .calendar-day.unknown { background: #f7f7f7; color: #999f9b; }
.calendar-day.outside { background: transparent; color: #c8ceca; }
.calendar-footnote { color: var(--muted); font-size: .7rem; line-height: 1.7; margin: 15px 0 0; }
.calendar-loading { padding: 35px 0; text-align: center; color: var(--muted); font-size: .8rem; }
.calendar-loading .spinner { border-color: #dce4df; border-top-color: var(--ink); }
.selected-stay { margin-top: 18px; padding: 14px; background: #f2f6f4; border: 1px solid #d9e4dd; border-radius: 8px; }
.selected-stay > div { display: flex; align-items: center; gap: 9px; font-size: .8rem; }
.selected-stay small { display: block; margin-top: 4px; color: var(--muted); }
.selected-stay > p { font-size: .85rem; font-weight: 600; margin: 12px 0 0; }
.selected-stay p span { display: block; font-size: .67rem; color: var(--muted); font-weight: 400; margin-top: 3px; }
@media(max-width: 380px) {
  #dialog { width: calc(100% - 16px); }
  #dialog .dialog-body, #dialog .dialog-header { padding: 16px; }
  #query-form .calendar-days, #query-form .calendar-weekdays { gap: 2px; }
  #query-form .calendar-day small { font-size: .6rem; }
  #query-form .calendar-day { min-height: 56px; }
}
.form-hint { color: var(--muted); font-size: .68rem; line-height: 1.85; margin: 17px 0 20px; }
.error { font-size: .8125rem; color: #a74334; line-height: 1.9; margin: 13px 0; }
.loading { padding: 80px 24px; color: var(--muted); text-align: center; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid #ffffff50; border-top-color: white; border-radius: 50%; margin-right: 8px; vertical-align: middle; animation: spin .8s linear infinite; }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.gallery img { width: 100%; border-radius: 4px; }
.empty { padding: 60px 24px; text-align: center; border: 1px dashed #dce3df; border-radius: 10px; background: #ffffff; }
.empty > .ui-icon { width: 38px; height: 38px; color: var(--gold); margin-bottom: 19px; }
.empty h2 { font-size: 1.1rem; font-weight: 500; }
.empty p { color: var(--muted); font-size: .8125rem; margin-top: 13px; }
.empty .primary { margin-top: 24px; }
.selected-summary { padding: 20px; background: var(--wash); margin: 20px 0; font-size: .875rem; }
.selected-summary .price { margin-top: 12px; }
#toast { position: fixed; bottom: 110px; left: 50%; transform: translateX(-50%); background: #203b32f5; color: white; border-radius: 6px; padding: 13px 18px; font-size: .8125rem; max-width: calc(100% - 40px); z-index: 30; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; padding: 34px max(40px, calc((100vw - 1180px)/2)); background: #fafbfa; border-top: 1px solid #e3e7e5; color: #666c5d; font-size: .75rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--ink); font-weight: 600; letter-spacing: .08em; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-brand small { display: block; font-size: .5rem; letter-spacing: .15em; font-weight: 400; color: var(--gold); }
.site-footer nav { display: flex; gap: 25px; }
.site-footer p { color: #929485; font-size: .67rem; }
[hidden] { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) {
  .hotel-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-filter { gap: 18px; padding-inline: 20px; }
  .destination { padding-inline: 14px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
  .room-card { grid-template-columns: 1fr; }
  .room-photo { height: 200px; min-height: 0; }
  .highlights { grid-template-columns: 1fr; gap: 10px; }
  .highlight { display: flex; align-items: center; gap: 12px; padding: 13px; }
  .highlight-symbol { margin: 0; }
  .sticky-booking { padding-inline: 21px; }
}
@media (max-width: 780px) {
  .site-header { width: calc(100% - 40px); height: 79px; gap: 16px; }
  .brand { font-size: 1.05rem; gap: 9px; }
  .brand img { width: 38px; height: 38px; border-radius: 10px; }
  .brand small { font-size: .5rem; }
  .header-nav { gap: 18px; font-size: .75rem; }
  .header-action { gap: 5px; }
  .header-action .ui-icon { width: 16px; height: 16px; flex-basis: 16px; }
  .catalog-filter { width: calc(100% - 32px); margin-top: 20px; padding: 15px; display: block; border-radius: 9px; }
  .filter-label { font-size: .7rem; margin-bottom: 10px; padding-left: 4px; }
  .filter-label .ui-icon { width: 15px; height: 15px; flex-basis: 15px; }
  .destinations { margin-right: -15px; padding-right: 15px; gap: 4px; }
  .destination { font-size: .75rem; padding: 7px 15px; }
  .catalog-body { width: calc(100% - 32px); margin-bottom: 38px; }
  .listing-summary { padding: 22px 2px 14px; }
  .listing-summary p { font-size: .8125rem; }
  .listing-summary p span { font-size: .6875rem; margin-left: 11px; padding-left: 11px; }
  .hotel-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .hotel-content, .one-hotel .hotel-content { padding: 18px; }
  .one-hotel .hotel-card { display: flex; flex-direction: column; }
  .one-hotel .hotel-cover img, .hotel-cover img { height: 174px; min-height: 0; max-height: none; }
  .hotel-name h2, .one-hotel .hotel-name h2 { font-size: 1.45rem; }
  .hotel-chinese-name, .one-hotel .hotel-chinese-name { font-size: .8125rem; margin-top: 7px; }
  .hotel-card-meta { margin-bottom: 10px; font-size: .68rem; }
  .card-inclusions, .one-hotel .card-inclusions { margin: 15px 0; }
  .card-inclusions ul { font-size: .75rem; gap: 4px 12px; }
  .hotel-card-bottom, .one-hotel .hotel-card-bottom { margin: auto -18px -18px; padding: 14px 16px; border-radius: 0; gap: 10px; }
  .hotel-card-bottom .price, .one-hotel .hotel-card-bottom .price { font-size: 1.8rem; }
  .starting-price-line { gap: 9px; }
  .starting-price-context { padding-left: 9px; }
  .starting-price-context > strong { font-size: .75rem; }
  .hotel-card-bottom .primary { min-height: 42px; font-size: .75rem; }
  .detail-top { width: calc(100% - 36px); }
  .back { padding-block: 15px; font-size: .75rem; }
  .detail-title { padding: 5px 0 24px; }
  .detail-title h1 { font-size: 2rem; }
  .detail-chinese-name { font-size: .94rem; margin-top: 10px; }
  .hotel-location { font-size: .68rem; margin-bottom: 10px; }
  .detail-title .address { font-size: .66rem; line-height: 1.8; }
  .detail-hero { width: calc(100% - 32px); height: 290px; gap: 7px; margin-bottom: 22px; border-radius: 9px; }
  .detail-gallery-side { gap: 7px; }
  .exclusive { top: 12px; left: 12px; font-size: .53rem; padding: 7px 9px; }
  .gallery-trigger { left: 12px; bottom: 12px; padding: 8px 10px; font-size: .66rem; }
  .detail-nav { padding: 0 18px; justify-content: space-between; gap: 12px; }
  .detail-nav a { font-size: .75rem; padding: 15px 0 13px; }
  .detail-layout { display: block; width: calc(100% - 36px); margin-bottom: 0; }
  .detail-footer { padding-bottom: 20px; }
  .section { padding: 28px 0; scroll-margin-top: 64px; }
  .section-title { margin-bottom: 19px; }
  .section-title h2 { font-size: 1.2rem; }
  .highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .highlight { display: block; padding: 13px 11px; font-size: .7rem; line-height: 1.7; }
  .highlight-symbol { margin-bottom: 7px; }
  .body-copy { font-size: .8125rem; }
  .sticky-booking { position: fixed; bottom: 0; top: auto; left: 0; width: 100%; margin: 0; border-radius: 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); z-index: 12; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f3f7f5; color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 -5px 25px #1d36220a; }
  .booking-intro, .booking-footnote { display: none; }
  .booking-price { border: 0; margin: 0; padding: 0; background: transparent; }
  .sticky-booking .booking-price .price { font-size: 1.7rem; }
  .sticky-booking .price { font-size: 1.9rem; }
  .sticky-booking .price small, .sticky-booking .price-note { color: var(--muted); }
  .sticky-booking .price-note { font-size: .62rem; margin-top: 4px; }
  .sticky-booking .primary { background: var(--ink); color: #ffffff; width: auto; margin: 0; min-height: 45px; padding-inline: 14px; font-size: .75rem; }
  .hotel-detail-page .site-footer { padding-bottom: 115px; }
  .package-list, .quote-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .room-card { display: flex; flex-direction: column; }
  .room-photo { height: 174px; }
  .room-body { padding: 18px; flex: 1; }
  .room-bottom .price { font-size: 1.9rem; }
  .quote-summary { gap: 13px; padding: 17px; }
  .quote-summary > div { gap: 9px; }
  .site-footer { padding: 26px 20px; gap: 22px 20px; }
  .site-footer p { width: 100%; border-top: 1px solid #d8d8c9; padding-top: 17px; }
  dialog { max-height: calc(100dvh - 28px); }
  .dialog-header { padding: 20px; }
  .dialog-body { padding: 20px; }
  .dialog-header h2 { font-size: 1.15rem; }
}
@media (max-width: 520px) {
  .hotel-list, .package-list, .quote-list { grid-template-columns: minmax(0, 1fr); }
  .header-hotels { display: none; }
  .detail-hero { grid-template-columns: minmax(0, 1fr); height: 238px; }
  .detail-gallery-side { display: none; }
  .detail-title h1 { font-size: 1.9rem; }
  .hotel-name h2, .one-hotel .hotel-name h2 { font-size: 1.3rem; }
  .room-body { padding: 20px; }
  .room-photo { height: 180px; }
  .room-heading h3 { font-size: 1.06rem; }
  .room-specs { font-size: .72rem; }
  .inclusions { font-size: .8125rem; }
  .room-bottom { flex-wrap: nowrap; }
  .room-bottom .primary { min-height: 44px; }
  .quote-price-row { flex-wrap: wrap; }
  .time-grid { gap: 10px; }
  .time-grid > div { padding: 14px 16px; }
  .form-row { gap: 12px; }
  .field input, .field select { font-size: 16px; }
  .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .brand { font-size: .95rem; }
  .brand img { width: 34px; height: 34px; }
  .site-header { width: calc(100% - 32px); }
  .hotel-card-bottom { gap: 8px; }
  .hotel-card-bottom .price, .one-hotel .hotel-card-bottom .price { font-size: 1.65rem; }
  .starting-price-line { gap: 5px; }
  .starting-price-context { padding-left: 7px; font-size: .625rem; }
  .starting-price-context > strong { font-size: .6875rem; }
  .starting-price-minimum { font-size: .625rem; }
  .hotel-card-bottom, .one-hotel .hotel-card-bottom { padding-inline: 12px; flex-direction: column; align-items: stretch; }
  .hotel-card-bottom .primary { padding: 10px; gap: 5px; }
  .highlights { grid-template-columns: 1fr; }
  .highlight { display: flex; align-items: center; gap: 12px; }
  .highlight-symbol { margin: 0; }
  .sticky-booking { padding-inline: 12px; gap: 8px; }
  .sticky-booking .booking-price .price { font-size: 1.55rem; }
  .sticky-booking .primary { padding-inline: 10px; gap: 7px; font-size: .7rem; }
  .sticky-booking .primary .ui-icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Hotel collection display updates. The wider dialog is for gallery images only. */
dialog.gallery-dialog { max-width: 960px; }
.gallery img { height: auto; object-fit: contain; background: var(--wash); }
.hotel-stars { display: inline-flex; align-items: center; gap: 3px; color: var(--gold); vertical-align: middle; }
.hotel-stars .ui-icon { width: 16px; height: 16px; flex-basis: 16px; fill: currentColor; }
.rating-star-half { position: relative; display: inline-flex; width: 16px; height: 16px; }
.rating-star-half > .ui-icon { fill: none; }
.rating-star-fill { position: absolute; inset: 0 auto 0 0; width: 50%; overflow: hidden; }
.rating-star-fill .ui-icon { display: block; max-width: none; }
.hotel-card-address { display: flex; align-items: flex-start; gap: 7px; margin-top: 10px; color: #748079; font-size: .75rem; line-height: 1.6; }
.hotel-card-address .ui-icon { width: 15px; height: 15px; flex-basis: 15px; margin-top: 2px; }
.hotel-card-address span { min-width: 0; overflow-wrap: anywhere; }
.site-footer { justify-content: center; }
.site-footer .company-copyright { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; width: 100%; margin: 0; padding: 0; border: 0; color: #748079; font-size: .75rem; line-height: 1.8; text-align: center; }
.company-copyright span { white-space: nowrap; }

/* Preserve the existing phone layout; desktop uses the chosen landscape card. */
.room-benefits { display: contents; }
.room-stay-total { display: none; }
@media (min-width: 781px) {
  .room-card { grid-template-columns: minmax(0, .46fr) minmax(0, .54fr); grid-template-rows: auto auto auto; border-radius: 14px; }
  .room-body { display: contents; }
  .room-visual { grid-column: 1; grid-row: 1; margin: 26px 26px 0; align-self: start; border-radius: 9px; }
  .room-photo { display: block; height: auto; min-height: 0; aspect-ratio: 16 / 9; object-fit: contain; background: var(--wash); }
  .room-heading { grid-column: 1; grid-row: 2; margin: 20px 26px 26px; }
  .room-heading h3 { font-size: 1.125rem; }
  .room-benefits { display: block; grid-column: 2; grid-row: 1 / 3; margin-block: 26px; padding: 0 26px; border-left: 1px solid var(--line); }
  .room-benefits .package-inclusions-label { margin-top: 0; }
  .room-benefits .inclusions { margin-bottom: 0; font-size: .8125rem; }
  .room-benefits .inclusions li { margin-top: 10px; }
  .room-bottom, .quote-card .room-bottom { display: grid; grid-column: 1 / -1; grid-row: 3; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 18px; margin: 0; padding: 20px 26px; background: #f3f7f5; }
  .quote-price-row { display: contents; }
  .room-price { display: flex; align-items: center; gap: 18px; grid-column: 1; grid-row: 1 / 3; min-width: 0; }
  .room-stay-total { display: flex; flex-direction: column; padding-right: 18px; border-right: 1px solid #cad8d0; flex-shrink: 0; }
  .room-stay-total strong { font-size: 1.0625rem; line-height: 1.4; }
  .room-stay-total small { font-size: .75rem; color: var(--muted); margin-top: 5px; }
  .room-bottom .price { font-size: 2.1rem; white-space: nowrap; }
  .room-bottom .price-note { display: none; }
  .room-bottom .inventory { grid-column: 2; grid-row: 1; justify-content: flex-end; }
  .room-bottom .primary { grid-column: 2; grid-row: 1 / 3; width: auto; margin: 0; padding: 13px 18px; }
  .quote-card .room-bottom .primary { grid-row: 2; }
}
@media (min-width: 781px) and (max-width: 1100px) {
  .room-card { grid-template-columns: minmax(0, 1fr); }
  .room-benefits { grid-column: 1; grid-row: 3; margin-top: 0; border-left: 0; }
  .room-bottom, .quote-card .room-bottom { grid-row: 4; grid-template-columns: minmax(0, 1fr); }
  .room-price { grid-row: 1; flex-wrap: wrap; }
  .room-bottom .inventory { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  .room-bottom .primary, .quote-card .room-bottom .primary { grid-column: 1; grid-row: 3; }
}

/* Mobile room stay totals. */
@media (max-width: 780px) {
  .room-price { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
  .room-price > .price { display: block; white-space: nowrap; }
  .room-bottom .price-note { display: block; width: fit-content; margin: 0; padding: 4px 8px;
    border: 1px solid #bd8d83; border-radius: 5px; background: #fff5f2;
    color: #974b3e; font-size: .72rem; font-weight: 700; line-height: 1.5; }
}

/* Stay totals follow the selected duration; preserve the existing card layout. */
.calendar-price-caption strong, .selected-stay .stay-total-highlight {
  display: inline-block; padding: 5px 9px; border: 1px solid #bd8d83;
  border-radius: 5px; background: #fff5f2; color: #974b3e;
  font-weight: 700; line-height: 1.5;
}

.catalog-search{width:calc(100% - 80px);max-width:1180px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:14px;padding:24px;border:1px solid var(--line);border-radius:12px;margin:24px auto;background:#f5f8f7;align-items:end}.catalog-search label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;min-width:0}.catalog-search input,.catalog-search select{width:100%;min-width:0;height:48px;background:white;border:1px solid #d8e1dc;border-radius:7px;padding:0 12px;color:var(--ink);font:inherit}.catalog-search>button.primary{height:48px;min-height:48px;padding:0 16px;white-space:nowrap}.catalog-search-note{grid-column:1/-1;font-size:13px;color:#586e63;margin:4px 0;line-height:1.7}.catalog-search .error{grid-column:1/-1}.catalog-child-ages{display:flex;gap:12px;grid-column:1/-1}.catalog-child-ages:empty{display:none}.catalog-child-ages label{flex:1}.catalog-search button{grid-column:6;grid-row:1}#catalog-search-message{max-width:1180px;width:calc(100% - 80px);margin:16px auto}@media(max-width:1000px){.catalog-search{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-search button{grid-column:auto;grid-row:auto}}@media(max-width:600px){.catalog-search{width:calc(100% - 32px);grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.catalog-search label:first-child,.catalog-search button{grid-column:1/-1}.catalog-search button{width:100%}.catalog-child-ages{flex-direction:column}}

.selected-stay > .selected-stay-price{display:block;margin-top:12px}.selected-stay-price .stay-total-highlight{margin:0 0 8px}.selected-stay-price p{font-size:.9rem;font-weight:700;margin:0}

.catalog-date-field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;min-width:0}
.catalog-date-button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:48px;padding:0 12px;border:1px solid #d8e1dc;border-radius:7px;background:white;color:var(--muted);font:inherit;text-align:left;white-space:nowrap}
.catalog-date-button.has-date{color:var(--ink)}
.catalog-date-button .ui-icon{width:17px;height:17px;flex:0 0 17px;color:var(--gold)}
.catalog-date-button:focus-visible,.catalog-search select:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.catalog-search .catalog-date-button{grid-column:auto;grid-row:auto}
#dialog.date-range-dialog{max-width:800px}
.date-range-dialog .dialog-body{padding-top:20px}
.range-selection{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px}
.range-selection button{padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:white;text-align:left;color:var(--ink)}
.range-selection button.active{border-color:var(--ink);background:var(--wash);box-shadow:inset 0 0 0 1px var(--ink)}
.range-selection small,.range-selection strong{display:block}
.range-selection small{font-size:12px;color:var(--muted);margin-bottom:5px}
.range-selection strong{font-size:15px;font-weight:600}
.range-navigation{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.range-navigation button{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:white;font-size:24px;color:var(--ink)}
.range-navigation button:disabled{opacity:.35;cursor:not-allowed}
.range-navigation p{font-size:13px;color:var(--muted)}
.range-months{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.range-month h3{font-size:16px;text-align:center;font-weight:600;margin:6px 0 16px}
.range-weekdays,.range-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0}
.range-weekdays span{font-size:12px;text-align:center;padding:10px 0;color:var(--muted)}
.range-days>span,.range-day{height:44px;min-width:0}
.range-day{background:white;border:1px solid #edf1ee;border-radius:0;color:var(--ink);font:inherit;font-size:14px;padding:0}
.range-day:hover:not(:disabled){background:#e3eee7}
.range-day:disabled{color:#c2c8c4;background:#fafbfa;cursor:not-allowed}
.range-day.in-range{background:#e3eee7;border-color:#e3eee7}
.range-day.selected,.range-day.selected:hover:not(:disabled){background:var(--ink);border-color:var(--ink);color:white;font-weight:600}
.range-day.range-start{border-radius:7px 0 0 7px}.range-day.range-end{border-radius:0 7px 7px 0}
.range-day:focus-visible{outline:2px solid var(--gold);outline-offset:-3px;position:relative;z-index:1}
.range-footer{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.range-summary{font-size:14px;font-weight:500;color:var(--ink);margin-bottom:16px;min-height:24px}
.range-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center}
.range-actions .primary,.range-actions .secondary{height:44px;min-height:44px;padding:0 18px;font-size:13px}
.range-clear{margin-right:auto;background:none;color:var(--muted);font-size:13px;text-decoration:underline;text-underline-offset:4px;padding:10px 0}
.range-actions button:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:680px){.range-months{grid-template-columns:1fr;gap:0}.date-range-dialog .dialog-body{padding:18px}.range-selection{gap:10px}.range-selection button{padding:12px}.range-summary{font-size:13px}.range-day{height:42px}.range-actions{gap:8px}.range-actions .primary,.range-actions .secondary{padding:0 12px}.catalog-date-button{font-size:12px}}

.catalog-date-button span{min-width:0;overflow:hidden;text-overflow:ellipsis}

.catalog-search-actions{display:flex;align-items:center;gap:10px;grid-column:6;grid-row:1}
.catalog-search-actions .primary,.catalog-search-actions .secondary{height:48px;min-height:48px;padding:0 14px;font-size:13px;white-space:nowrap}
.quote-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
#catalog-search-message{font-size:13px;color:var(--muted);line-height:1.7}
@media(max-width:1000px){.catalog-search-actions{grid-column:auto;grid-row:auto}}
@media(max-width:600px){.catalog-search-actions{grid-column:1/-1}.catalog-search-actions button{flex:1}.quote-actions{gap:8px}.quote-actions .secondary{padding:10px 12px}}

/* Quoted totals follow the amount on mobile and desktop. */
.quote-card .room-price { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.quote-card .room-bottom .price-note { display: block; width: fit-content; margin: 0; padding: 4px 8px; border: 1px solid #bd8d83; border-radius: 5px; background: #fff5f2; color: #974b3e; font-size: .75rem; font-weight: 700; line-height: 1.5; }
.quote-card .room-price > .price { display: block; }

/* Package groups are opt-in editorial mappings; existing room cards keep their layout. */
.hotel-quality-rating { color: var(--gold); font-size: .75rem; font-weight: 600; }
.room-card.package-group { display: block; }
.package-group .room-visual { margin: 0; border-radius: 0; }
.package-group .room-photo { width: 100%; height: 240px; object-fit: cover; }
.package-group .room-body { display: block; padding: 22px; }
.package-group .room-heading { padding: 0; margin: 0 0 20px; }
.package-group .package-options { display: grid; gap: 22px; }
.package-group .package-option { min-width: 0; border-top: 1px solid var(--line); padding-top: 20px; }
.package-group .package-option h4 { margin: 0 0 16px; font-size: .9375rem; line-height: 1.65; }
.package-group .package-option h4 span { display: block; font-size: .6875rem; color: var(--gold); margin-bottom: 5px; }
.package-group .room-benefits { display: block; padding: 0; margin: 0; border: 0; }
.package-group .quote-price-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.package-group .room-price { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.package-group .room-stay-total { display: none; }
.package-group .room-bottom { display: block; padding: 16px 0 0; margin-top: 18px; background: transparent; }
.package-group .room-bottom .price-note { display: block; }
.package-group .room-bottom .primary { width: 100%; margin-top: 16px; }
@media (max-width: 780px) { .package-group .room-body { padding: 20px; } .package-group .room-photo { height: 210px; } }

/* Room photos retain the existing card dimensions and have their own gallery. */
.room-gallery-trigger { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; }
.room-gallery-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; width: max-content; white-space: nowrap; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 5px; color: #fff; background: #203b32de; font: 500 .75rem/1.4 var(--sans); }
.room-gallery-count .ui-icon { width: 16px; height: 16px; flex: 0 0 16px; }
.room-gallery-trigger:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.room-gallery-viewer img { display: block; }

/* Phone browsers, including WeChat: reserve a full row for the card action. */
@media (max-width: 600px) {
  .hotel-card-bottom, .one-hotel .hotel-card-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  .hotel-card-bottom .starting-price-line {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 14px;
  }
  .hotel-card-bottom .price, .one-hotel .hotel-card-bottom .price { font-size: 1.65rem; }
  .hotel-card-bottom .primary { width: 100%; min-width: 0; }
  .sticky-booking {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  .sticky-booking .booking-price { min-width: 0; }
  .sticky-booking .starting-price-line { flex-direction: column; align-items: flex-start; gap: 3px; }
  .sticky-booking .starting-price-context { padding-left: 0; border-left: 0; white-space: normal; }
  .sticky-booking .booking-price .price { font-size: 1.45rem; }
  .sticky-booking .primary { width: 100%; min-width: 0; white-space: normal; }
}
/* Flight bundles retain the existing hotel cards and their physical galleries. */
.sticky-booking.flight-bundle-booking .starting-price-line { flex-direction:column; align-items:flex-start; gap:8px; }
.sticky-booking.flight-bundle-booking .starting-price-context { flex-shrink:1; min-width:0; max-width:100%; padding-left:0; border-left:0; white-space:normal; overflow-wrap:anywhere; }
.flight-summary { padding:24px; margin:20px 0; border:1px solid #d8e3df; border-radius:12px; background:#f4f8f6; overflow-wrap:anywhere; }
.flight-summary h3 { margin-top:0; }
.flight-leg { padding:16px 0; border-top:1px solid #d8e3df; }
.flight-leg p { margin:8px 0; line-height:1.7; }
.flight-tax { padding:12px; background:#fff7ed; border-radius:8px; font-size:.8125rem; line-height:1.7; }
.flight-passenger { margin:16px 0; padding:16px; border:1px solid #d8e3df; border-radius:8px; }

/* Dedicated Maldives flight-holiday landing; ordinary hotel cards keep their styles. */
.maldives-entry { display:inline-flex; margin-left:auto; flex-shrink:0; padding:10px 14px; border:1px solid #a0845070; border-radius:6px; color:white; font-size:.8125rem; }
.maldives-page { max-width:1180px; width:calc(100% - 80px); margin:0 auto 64px; }
.maldives-hero { position:relative; overflow:hidden; isolation:isolate; min-height:460px; border-radius:14px; display:flex; align-items:flex-end; background:#203b32; color:white; }
.maldives-hero > img { position:absolute; z-index:-2; inset:0; width:100%; height:100%; }
.maldives-hero::after { content:''; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#102d2abf,#102d2a10); }
.maldives-hero-copy { padding:44px; max-width:100%; }
.maldives-eyebrow { font-size:.75rem; letter-spacing:.12em; margin-bottom:12px; }
.maldives-hero h1 { font-family:var(--serif); font-size:2.6rem; margin-bottom:14px; }
.maldives-hero-copy > .primary { margin-top:24px; background:white; color:var(--ink); }
.maldives-collection { padding-top:40px; scroll-margin-top:20px; }
.maldives-package { display:grid; grid-template-columns:1.1fr 1fr; border:1px solid var(--line); border-radius:12px; overflow:hidden; margin-top:24px; }
.maldives-package-cover img { width:100%; height:100%; min-height:360px; }
.maldives-package-copy { padding:32px; min-width:0; }
.maldives-headline { color:var(--muted); margin-top:16px; }
.maldives-package-price { background:#f2f7f5; padding:18px; border-radius:8px; margin:24px 0 20px; }
.maldives-package-price .starting-price-line { flex-direction:column; align-items:flex-start; gap:12px; }
.maldives-package-price .starting-price-context { min-width:0; max-width:100%; padding:0; border:0; white-space:normal; overflow-wrap:anywhere; }
@media(max-width:760px) {
 .maldives-entry { margin:10px 0 0; }
 .maldives-page { width:calc(100% - 32px); margin-bottom:36px; }
 .maldives-hero { min-height:350px; }
 .maldives-hero-copy { padding:24px; }
 .maldives-hero h1 { font-size:1.9rem; }
 .maldives-package { grid-template-columns:1fr; }
 .maldives-package-cover img { min-height:0; height:230px; }
 .maldives-package-copy { padding:22px; }
}

/* Room package rows shared by hotel/flight-hotel presets and quotes. */
.hotel-room-card { grid-column:1 / -1; min-width:0; container-type:inline-size; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--paper); -webkit-text-size-adjust:100%; text-size-adjust:100%; }
.hotel-room-header { display:grid; grid-template-columns:180px minmax(0,1fr); align-items:center; gap:20px; padding:18px 20px; border-bottom:1px solid var(--line); }
.hotel-room-header .room-visual { margin:0; border-radius:6px; overflow:hidden; align-self:center; }
.hotel-room-header .room-photo { display:block; width:100%; height:120px; min-height:0; aspect-ratio:auto; object-fit:cover; }
.hotel-room-header .room-gallery-count { right:7px; bottom:7px; padding:6px 8px; font-size:.6875rem; white-space:nowrap; }
.hotel-room-heading { min-width:0; padding:0; }
.hotel-room-heading h3 { font-size:1.125rem; line-height:1.4; }
.hotel-room-heading .english-name { font-size:.8125rem; margin-top:4px; overflow-wrap:anywhere; }
.hotel-room-heading .room-specs { margin-top:9px; flex-wrap:wrap; }
.hotel-package-options { display:block; padding:0 20px; }
.hotel-package-option { display:grid; grid-template-columns:minmax(120px,.7fr) minmax(0,1.6fr) 160px; gap:20px; align-items:start; padding:22px 0; min-width:0; }
.hotel-package-option + .hotel-package-option { border-top:1px solid var(--line); }
.hotel-package-name { min-width:0; margin:0; overflow-wrap:anywhere; }
.hotel-package-name small { display:block; color:var(--gold); font-size:.6875rem; font-weight:500; margin-bottom:6px; }
.hotel-package-name strong { display:block; font-size:.9375rem; line-height:1.5; }
.hotel-option-benefits { min-width:0; }
.hotel-option-benefits .package-inclusions-label { margin:0 0 8px; font-size:.75rem; }
.hotel-option-benefits .inclusions { margin:0; font-size:.8125rem; line-height:1.65; overflow-wrap:anywhere; }
.hotel-option-benefits .inclusions li { margin:0 0 8px; gap:7px; }
.hotel-more-benefits summary, .hotel-benefits-collapse { display:flex; gap:8px; align-items:center; width:fit-content; padding:4px 0; color:var(--ink); font-size:.75rem; list-style:none; cursor:pointer; }
.hotel-more-benefits summary::-webkit-details-marker { display:none; }
.hotel-more-benefits summary:focus-visible, .hotel-benefits-collapse:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
.hotel-more-benefits[open] summary { display:none; }
.hotel-benefits-collapse { border:0; background:transparent; font-family:inherit; font-weight:inherit; }
.hotel-room-footer { display:flex; flex-direction:column; align-items:stretch; gap:14px; min-width:0; padding:0; margin:0; }
.hotel-room-price { display:flex; flex-direction:column; align-items:flex-start; min-width:0; gap:7px; }
.hotel-room-price .price { display:block; font-size:1.875rem; line-height:1.15; white-space:nowrap; }
.hotel-room-price .price-note { display:block; width:fit-content; margin:0; padding:3px 7px; border:1px solid #bd8d83; border-radius:4px; background:#fff5f2; color:#974b3e; font-size:.6875rem; line-height:1.5; }
.hotel-room-footer .primary { width:100%; min-width:0; min-height:44px; margin:0; padding:10px 12px; font-size:.75rem; gap:8px; white-space:nowrap; }
@container (max-width:640px) {
 .hotel-package-option { grid-template-columns:minmax(0,1fr) 150px; gap:12px 18px; }
 .hotel-package-name { grid-column:1; }
 .hotel-option-benefits { grid-column:1; }
 .hotel-room-footer { grid-column:2; grid-row:1 / 3; }
}
@container (max-width:460px) {
 .hotel-room-header { grid-template-columns:112px minmax(0,1fr); gap:12px; padding:16px; }
 .hotel-room-header .room-photo { height:104px; }
 .hotel-room-header .room-gallery-count { right:4px; bottom:4px; padding:5px 6px; font-size:.625rem; gap:4px; }
 .hotel-room-header .room-gallery-count .ui-icon { width:12px; height:12px; flex-basis:12px; }
 .hotel-room-heading h3 { font-size:1rem; }
 .hotel-room-heading .english-name { font-size:.75rem; }
 .hotel-room-heading .room-specs { font-size:.6875rem; margin-top:7px; }
 .hotel-package-options { padding:0 16px; }
 .hotel-package-option { grid-template-columns:minmax(0,1fr); gap:12px; padding:18px 0; }
 .hotel-package-name, .hotel-option-benefits, .hotel-room-footer { grid-column:1; grid-row:auto; }
 .hotel-package-name small { margin-bottom:4px; }
 .hotel-option-benefits .inclusions { font-size:.8125rem; line-height:1.6; }
 .hotel-room-footer { flex-direction:row; align-items:center; justify-content:space-between; gap:10px; padding-top:12px; border-top:1px solid var(--line); }
 .hotel-room-price .price { font-size:1.75rem; }
 .hotel-room-footer .primary { width:auto; flex-shrink:0; padding:10px 12px; }
}
@container (max-width:300px) {
 .hotel-room-header { grid-template-columns:100px minmax(0,1fr); gap:10px; }
 .hotel-room-footer { flex-wrap:wrap; }
 .hotel-room-footer .primary { flex:1 0 100%; }
}

/* Preserve the longer flight-hotel price wording beneath each amount. */
.flight-room-card .hotel-room-price .price-note { max-width:100%; white-space:normal; overflow-wrap:anywhere; }

/* Monthly starting prices belong only to the flight-hotel query template. */
#flight-query-form .flight-month-price { background:#f3f7f5; border-radius:8px; padding:16px; margin:14px 0; }
#flight-query-form .flight-month-price > span { font-size:.8rem; }
#flight-query-form .flight-month-price > strong { display:block; font-size:1.8rem; line-height:1.5; overflow-wrap:anywhere; }
#flight-query-form .flight-month-price small { font-size:.75rem; font-weight:400; margin-left:8px; }
#flight-query-form .flight-month-price p { font-size:.78rem; margin:4px 0 0; line-height:1.6; }
#flight-query-form .calendar-day small { font-size:clamp(.55rem,2.3vw,.68rem); }
#flight-query-form .calendar-days,#flight-query-form .calendar-weekdays { gap:2px; }

/* Flight-hotel only: month overview precedes the departure calendar. */
#flight-query-form .flight-month-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:16px 0; }
#flight-query-form .flight-month-option { display:flex; flex-direction:column; align-items:flex-start; gap:8px; border:1px solid #d5e0dc; background:#f3f7f5; color:var(--ink); border-radius:8px; padding:14px 12px; text-align:left; }
#flight-query-form .flight-month-option:hover,#flight-query-form .flight-month-option:focus-visible { border-color:var(--ink); background:#eaf1ed; }
#flight-query-form .flight-month-option span { font-size:.85rem; }
#flight-query-form .flight-month-option strong { font-size:1.3rem; overflow-wrap:anywhere; }
#flight-query-form .flight-month-option small { font-size:.7rem; font-weight:400; margin-left:4px; }
#flight-query-form .flight-month-back { background:transparent; border:0; padding:8px 0; color:var(--ink); font-size:.85rem; }
/* Promotions are independent of editorial prices and disappear with live rules. */
.hotel-cover,.maldives-package-cover{position:relative}
.promotion-image-slot{position:absolute;top:16px;left:16px;z-index:2;pointer-events:none}
.promotion-badge{display:inline-flex;align-items:center;background:#bb343e;color:#fff;font-weight:700;font-size:13px;line-height:1.3;padding:9px 13px;border-radius:6px;box-shadow:0 3px 12px #0002;white-space:nowrap}
.promotion-detail-slot:empty{display:none}
.promotion-detail-slot{position:absolute;top:18px;right:18px;z-index:2;max-width:calc(100% - 150px);pointer-events:none}
.promotion-detail{box-sizing:border-box;padding:8px 10px;background:#bb343eef;border:1px solid #ffffffb3;border-radius:7px;color:#fff;box-shadow:0 3px 12px #0002}
.promotion-offers{display:grid;gap:7px;min-width:0}
.promotion-offer{text-align:right;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.promotion-offer-line{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-end;gap:2px 5px}
.promotion-offer strong{font-size:13px}.promotion-offer small{display:block;font-size:11px;color:#fff;margin-top:2px}
.promotion-code{font-family:ui-monospace,monospace;letter-spacing:1px}
@media(max-width:700px){.promotion-image-slot{top:12px;left:12px}.promotion-badge{padding:8px 11px;font-size:12px}.promotion-detail-slot{top:12px;right:12px;max-width:calc(100% - 124px)}.promotion-detail{padding:6px 8px}.promotion-offer strong{font-size:12px}}

/* Charter cabin information does not replace quoted flight inclusions. */
.flight-cabin-section .section-title{flex-wrap:wrap;gap:8px 16px}
.flight-cabin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.flight-cabin-card{min-width:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.flight-cabin-card header{padding:20px 20px 16px}
.flight-cabin-card h3{font-size:1.05rem;margin:0 0 4px}
.flight-cabin-card header p{font-size:.8rem;color:var(--muted);margin:0}
.flight-cabin-card figure{margin:0}
.flight-cabin-card img{display:block;width:100%;height:auto;aspect-ratio:1000/563;object-fit:cover}
.flight-cabin-card figcaption{text-align:center;padding:6px 12px;background:var(--wash);font-size:.7rem;color:var(--muted)}
.flight-cabin-benefits{padding:18px 20px 20px}
.flight-cabin-benefits .inclusions{margin:0;font-size:.82rem;line-height:1.65}
.flight-cabin-benefits .inclusions li{margin-bottom:10px;overflow-wrap:anywhere}
.flight-cabin-benefits h4{font-size:.82rem;margin:18px 0 10px}
.flight-detail-nav{overflow-x:auto}
.flight-detail-nav a{flex-shrink:0;white-space:nowrap}
@media(max-width:780px){.flight-cabin-grid{grid-template-columns:minmax(0,1fr);gap:18px}.flight-cabin-card header{padding:18px}.flight-cabin-benefits{padding:18px}.flight-detail-nav{justify-content:flex-start;gap:24px}}

/* Use the same flight timeline in quotes, checkout and saved orders. */
.flight-summary{container-type:inline-size}
.flight-routes{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin-top:18px}
.flight-routes .flight-leg{min-width:0;padding:18px 0;border-top:1px solid #d8e3df}
.flight-direction{font-size:.8rem;margin:0 0 12px;color:var(--ink)}
.flight-route{display:grid;grid-template-columns:minmax(0,1fr) minmax(56px,.9fr) minmax(0,1fr);align-items:center;gap:8px}
.flight-endpoint{display:flex;flex-direction:column;gap:4px;min-width:0}
.flight-arrival{text-align:right}
.flight-date{font-size:.68rem;color:var(--muted);white-space:nowrap}
.flight-airport{font-size:.82rem;line-height:1.4}
.flight-time{font-size:1.3rem;line-height:1.3;white-space:nowrap;font-variant-numeric:tabular-nums}
.flight-day-change{font-size:.6rem;margin-left:3px;vertical-align:super}
.flight-transit{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;font-size:.7rem}
.flight-duration{min-height:1em;white-space:nowrap}
.flight-path{display:flex;align-items:center;gap:5px;width:100%;color:var(--ink)}
.flight-path::before{content:'';height:1px;background:currentColor;flex:1}
.flight-path svg{width:16px;height:16px;flex:none;transform:rotate(90deg)}
.flight-direct{color:var(--ink)}
.flight-routes .flight-meta{font-size:.7rem;color:var(--muted);margin:14px 0 0;line-height:1.5}
@container(min-width:640px){.flight-routes{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.flight-routes .flight-leg{border-top:0;padding:4px 0}.flight-routes .flight-leg+.flight-leg{border-left:1px solid #d8e3df;padding-left:20px}}
@media(max-width:480px){.flight-summary{padding:18px}.flight-route{gap:6px}.flight-time{font-size:1.15rem}}
