/* =========================================================================
   Booking page — built on the site's existing Navy & Gold tokens (site.css
   loads first). Everything here is booking-specific: room picker, the
   custom date-range calendar, guest form, live bill panel.
   ========================================================================= */

/* ---------- Layout ---------- */
.booking {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
/* minmax(0, …) rather than a bare 1fr: with 1fr the column's minimum is its
   widest child's min-content, and on a 390px phone the form pushed it 7px past
   the viewport edge (clipped by the body's overflow-x). */
@media (max-width: 980px) { .booking { grid-template-columns: minmax(0, 1fr); } }

.booking__flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- Step labels ---------- */
.step__head { display: flex; align-items: baseline; gap: .9rem; margin-bottom: 1.5rem; }
.step__n {
  font-family: var(--display); color: var(--gold); font-size: 1.5rem; line-height: 1;
  flex: none; min-width: 1.6ch;
}
.step__title h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.step__title p { margin-top: .35rem; color: var(--on-light-mute); font-size: .92rem; }

/* ---------- Room list (text-first — the room itself is the point, not the
   photograph) ---------- */
.room-list { display: grid; gap: .85rem; }

.room-row {
  display: flex; align-items: flex-start; gap: 1.5rem;
  border: 1px solid var(--line-light); background: var(--cream);
  padding: 1.5rem;
  transition: border-color .25s var(--ease);
}
.room-row:hover { border-color: var(--gold-dim); }
.room-row__thumb { width: 8rem; height: 6.5rem; flex: none; overflow: hidden; background: var(--ink-soft); }
.room-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 620px) { .room-row__thumb { display: none; } }

.room-row__info { flex: 1 1 auto; min-width: 0; }
.room-row__info h3 { font-size: 1.15rem; }
.room-row__desc { margin-top: .5rem; font-size: .92rem; line-height: 1.6; color: var(--on-light-mute); max-width: 46ch; }

.room-row__action {
  flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: .9rem;
  padding-left: 1rem; border-left: 1px solid var(--line-light); text-align: right;
}
.room-row__price { font-family: var(--display); color: var(--gold); font-size: 1.3rem; line-height: 1; white-space: nowrap; }
.room-row__price small { display: block; margin-top: .3rem; font-family: var(--caps); text-transform: uppercase; font-size: .58rem; letter-spacing: .1em; color: var(--on-light-mute); }

.room-row__price--sale { display: flex; flex-direction: column; align-items: flex-end; }
.room-row__price-strike {
  order: -1; font-family: var(--caps); font-size: .78rem; font-weight: 500;
  color: var(--on-light-mute); text-decoration: line-through; text-decoration-color: var(--maroon);
}
.room-row__badge {
  order: -1; display: inline-block; margin-bottom: .3rem;
  font-family: var(--caps); text-transform: uppercase; font-size: .6rem; font-weight: 700; letter-spacing: .06em;
  color: var(--cream); background: var(--maroon); padding: .2rem .5rem;
}
.room-row__add {
  flex: none; display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  padding: .65rem 1.2rem; border: 1px solid var(--gold-dim); background: transparent; color: var(--ink);
  font-family: var(--caps); text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.room-row__add:hover { background: var(--gold); border-color: var(--gold); color: var(--ink-deep); }
.room-row__add:disabled { opacity: .35; cursor: not-allowed; }
.room-row__add:disabled:hover { background: transparent; border-color: var(--gold-dim); color: var(--ink); }

@media (max-width: 560px) {
  .room-row { flex-wrap: wrap; }
  .room-row__action { flex-direction: row-reverse; justify-content: space-between; align-items: center; width: 100%; border-left: 0; border-top: 1px solid var(--line-light); padding-left: 0; padding-top: 1rem; margin-top: .25rem; }
  .room-row__price small { display: inline; margin-top: 0; margin-left: .35rem; }
}

/* ---------- Room cart — every added room is its own line with its own guest
   count, so the same type can appear more than once with different guests. ---------- */
.room-cart { margin-top: 1.75rem; border-top: 1px solid var(--line-light); padding-top: 1.5rem; }
.room-cart__title { font-family: var(--caps); text-transform: uppercase; font-size: .74rem; letter-spacing: .12em; color: var(--gold-dim); }
.room-cart__empty { margin-top: .85rem; font-size: .85rem; color: var(--on-light-mute); }
.room-cart__empty strong { color: var(--gold-dim); font-weight: 600; }
.room-cart__list { margin-top: 1rem; display: grid; gap: .75rem; }
.room-cart__item { display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap; border: 1px solid var(--gold-dim); background: var(--cream-deep); padding: .8rem 1rem; }
.room-cart__item-name { padding-top: .5rem; }
.room-cart__remove { margin-top: .5rem; }
.room-cart__item-name { font-family: var(--display); font-size: 1rem; flex: 1; min-width: 8rem; }
.room-cart__item-name small { display: block; margin-top: .15rem; font-family: var(--caps); text-transform: uppercase; font-size: .6rem; letter-spacing: .1em; color: var(--on-light-mute); }
.room-cart__remove {
  flex: none; width: 2rem; height: 2rem; border: 1px solid var(--line-light); background: transparent; cursor: pointer;
  display: grid; place-items: center; color: var(--maroon);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.room-cart__remove:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.room-cart__remove svg { width: .8rem; height: .8rem; }

/* ---------- Stay picker (dates only — guests now live per room line above) ---------- */
.stay-picker { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: stretch; }
@media (max-width: 700px) { .stay-picker { grid-template-columns: 1fr; } }

.date-field {
  position: relative;
  display: grid; gap: .35rem; text-align: left; cursor: pointer;
  border: 1px solid var(--line-light); background: var(--cream);
  padding: .85rem 1.1rem; font: inherit; color: inherit;
  transition: border-color .25s var(--ease);
}
.date-field:hover, .date-field[aria-expanded="true"] { border-color: var(--gold); }
.date-field__label { font-family: var(--caps); text-transform: uppercase; font-size: .64rem; letter-spacing: .13em; color: var(--gold); }
.date-field__value { font-size: .98rem; }
.date-field__value[data-empty="true"] { color: var(--on-light-mute); }

.room-cart__occupancy { display: flex; flex-direction: column; gap: .6rem; flex: none; width: 100%; }
@media (min-width: 640px) { .room-cart__occupancy { width: auto; flex-direction: row; flex-wrap: wrap; align-items: flex-start; } }

.guest-stepper {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  border: 1px solid var(--line-light); background: var(--cream); padding: .5rem .5rem .5rem 1.1rem;
}
.guest-stepper__label { font-family: var(--caps); text-transform: uppercase; font-size: .64rem; letter-spacing: .13em; color: var(--gold); }
.guest-stepper__controls { display: flex; align-items: center; gap: .1rem; }
.guest-stepper button {
  width: 2.1rem; height: 2.1rem; border: 1px solid var(--line-light); background: transparent;
  font-size: 1.1rem; cursor: pointer; color: var(--ink); display: grid; place-items: center;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.guest-stepper button:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--ink-deep); }
.guest-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.guest-stepper__count { min-width: 1.6rem; text-align: center; font-variant-numeric: tabular-nums; }

.child-ages { display: flex; flex-direction: column; gap: .4rem; flex-basis: 100%; }
.child-ages__row {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  border: 1px solid var(--line-light); background: var(--cream); padding: .5rem .5rem .5rem 1.1rem;
}
.child-ages__row span { font-family: var(--caps); text-transform: uppercase; font-size: .64rem; letter-spacing: .13em; color: var(--gold); }
.child-ages__row select { font: inherit; border: 1px solid var(--line-light); background: var(--cream); padding: .4rem .6rem; color: inherit; }
.child-ages__hint { font-size: .74rem; color: var(--on-light-mute); margin: 0; }

/* ---------- Party picker (Step 2) — total guests for the whole booking,
   split across individual rooms in Step 3. Reuses .guest-stepper/.child-ages
   from the room cart above so both steps read as the same control. ---------- */
.party-picker { display: flex; flex-wrap: wrap; gap: .75rem; }
.party-picker .guest-stepper { flex: 1 1 12rem; }
.party-picker .child-ages { margin-top: .1rem; }

.room-cart__remaining { margin-top: .85rem; font-size: .85rem; color: var(--maroon); }

/* ---------- Calendar popover ---------- */
.calendar-pop {
  position: absolute; z-index: 60; top: calc(100% + .6rem); left: 0;
  background: var(--cream); border: 1px solid var(--line-light);
  box-shadow: 0 24px 48px -20px rgba(15,27,46,.35);
  padding: 1.25rem; display: none;
}
.calendar-pop[data-open="true"] { display: block; }
.calendar-pop__months { display: flex; gap: 1.75rem; }
@media (max-width: 640px) { .calendar-pop { left: 50%; translate: -50% 0; width: calc(100vw - 2.5rem); } .calendar-pop__months { flex-direction: column; gap: 1.25rem; } }

.cal-month { width: 16.5rem; }
@media (max-width: 640px) { .cal-month { width: 100%; } }
.cal-month__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.cal-month__title { font-family: var(--display); font-size: 1.05rem; }
.cal-month__nav {
  width: 1.9rem; height: 1.9rem; border: 1px solid var(--line-light); background: none; cursor: pointer;
  display: grid; place-items: center; color: var(--ink); transition: background .2s var(--ease), color .2s var(--ease);
}
.cal-month__nav:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--ink-deep); }
.cal-month__nav:disabled { opacity: .25; cursor: default; }
.cal-month__nav svg { width: .8rem; height: .8rem; }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: .3rem; }
.cal-dow span { text-align: center; font-family: var(--caps); font-size: .62rem; letter-spacing: .06em; color: var(--on-light-mute); text-transform: uppercase; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }

.cal-day {
  position: relative; aspect-ratio: 1; border: 0; background: none; cursor: pointer;
  font-size: .86rem; color: var(--on-light); display: grid; place-items: center;
  font-variant-numeric: tabular-nums;
}
.cal-day[data-blank="true"] { visibility: hidden; cursor: default; }
.cal-day:disabled { color: var(--on-light-mute); opacity: .35; cursor: not-allowed; }
.cal-day[data-today="true"]::after {
  content: ''; position: absolute; bottom: .2rem; left: 50%; translate: -50% 0;
  width: .28rem; height: .28rem; border-radius: 50%; background: var(--gold);
}
.cal-day:not(:disabled):not([data-blank="true"]):hover { background: var(--cream-deep); }
.cal-day[data-in-range="true"] { background: color-mix(in srgb, var(--gold) 16%, transparent); }
.cal-day[data-endpoint="true"] { background: var(--gold); color: var(--ink-deep); font-weight: 600; }
.cal-day[data-endpoint="true"]:hover { background: var(--gold-lit); }

/* ---------- Season rate markers ----------
   A bar along the top of a day that costs more or less than the rate being
   quoted today. ::before, because ::after is already the "today" dot.

   The two states differ by pattern as well as hue — solid for dearer, dashed
   for cheaper — so they stay distinguishable without relying on colour, and
   each day also carries the difference in its title/aria-label (see
   assets/js/booking.js). Days at the current season's rate get no marker at
   all: marking every square would say nothing. */
.cal-day[data-rate]::before {
  content: ''; position: absolute; top: .16rem; left: 22%; right: 22%; height: 3px; border-radius: 2px;
}
.cal-day[data-rate="higher"]::before {
  background: var(--maroon);
}
.cal-day[data-rate="lower"]::before {
  /* Dashed via a repeating gradient rather than a border, so it keeps the
     same weight and rounding as the solid bar above. */
  background: repeating-linear-gradient(90deg, #1F6F4A 0 4px, transparent 4px 7px);
}
/* On a selected endpoint the gold background swallows a thin maroon bar —
   lighten both markers so they stay legible on it. */
.cal-day[data-endpoint="true"][data-rate="higher"]::before { background: var(--ink-deep); }
.cal-day[data-endpoint="true"][data-rate="lower"]::before {
  background: repeating-linear-gradient(90deg, var(--ink-deep) 0 4px, transparent 4px 7px);
}

.calendar-pop__rates {
  margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-size: .74rem; color: var(--on-light-mute);
}
/* The explicit `display` below is an author rule, which outranks the
   browser's default [hidden]{display:none} no matter the specificity — so a
   key hidden via the `hidden` attribute (there are no cheaper dates, say)
   would still paint. This puts the attribute back in charge. */
.rate-key[hidden] { display: none; }
.rate-key { display: inline-flex; align-items: center; gap: .4rem; }
.rate-key i { width: .8rem; height: 3px; border-radius: 2px; flex: none; }
.rate-key--higher i { background: var(--maroon); }
.rate-key--lower i { background: repeating-linear-gradient(90deg, #1F6F4A 0 4px, transparent 4px 7px); }

.calendar-pop__foot {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .82rem; color: var(--on-light-mute);
}

/* ---------- Guest details form ---------- */
.phone-group { display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; }
@media (max-width: 480px) { .phone-group { grid-template-columns: 1fr; } }

.mcq { display: grid; gap: .6rem; }
.mcq__options { display: flex; gap: .6rem; }
.mcq__option {
  position: relative; flex: 1; text-align: center; padding: .7rem 1rem; cursor: pointer;
  border: 1px solid var(--line-light); font-family: var(--caps); text-transform: uppercase;
  font-size: .74rem; letter-spacing: .1em; color: var(--on-light-mute);
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.mcq__option input { position: absolute; opacity: 0; pointer-events: none; }
.mcq__option:has(input:checked) { border-color: var(--gold); background: var(--gold); color: var(--ink-deep); }
.mcq__option:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.mcq__followup { display: grid; gap: .55rem; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .35s var(--ease), opacity .3s var(--ease), margin-top .35s var(--ease); }
.mcq__followup[data-open="true"] { max-height: 8rem; opacity: 1; margin-top: .2rem; }

.field--error input, .field--error select, .field--error textarea { border-bottom-color: var(--maroon); }
.field__note { margin: 0; font-size: .78rem; color: var(--on-light-mute); line-height: 1.5; }
.field__error { display: none; margin-top: .4rem; font-size: .78rem; color: var(--maroon); }
.field--error .field__error { display: block; }

.form-alert {
  display: none; gap: .8rem; align-items: flex-start;
  border: 1px solid var(--maroon); background: color-mix(in srgb, var(--maroon) 8%, var(--cream));
  padding: 1rem 1.2rem; margin-top: 1.5rem;
}
.form-alert[data-open="true"] { display: flex; }
.form-alert svg { width: 1.2rem; height: 1.2rem; color: var(--maroon); flex: none; margin-top: .15rem; }
.form-alert__title { font-family: var(--caps); text-transform: uppercase; font-size: .74rem; letter-spacing: .1em; color: var(--maroon); }
.form-alert ul { margin-top: .5rem; display: grid; gap: .3rem; font-size: .88rem; color: var(--on-light); }

/* ---------- Bill panel ---------- */
.bill {
  position: sticky; top: 6.5rem;
  background: var(--ink-deep); color: var(--on-dark);
  border-top: 3px solid var(--gold);
  padding: clamp(1.5rem, 3vw, 2rem);
}
@media (max-width: 980px) { .bill { position: static; } }

.bill__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.bill__head h2 { font-size: 1.2rem; color: var(--on-dark); }
.bill__room { margin-top: .3rem; font-size: .84rem; color: var(--on-dark-mute); }

.bill__rows { margin-top: 1.5rem; display: grid; gap: .75rem; }
.bill__row { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; color: var(--on-dark-mute); }
.bill__row span:last-child { font-variant-numeric: tabular-nums; color: var(--on-dark); }
.bill__row--gst { font-size: .8rem; }
.bill__divider { border-top: 1px solid var(--line-dark); margin: .35rem 0; }
.bill__line { display: grid; gap: .5rem; }
.bill__line-title { font-family: var(--display); font-size: .95rem; color: var(--gold-lit); }
.bill__line-title span { font-family: var(--caps); font-size: .68rem; letter-spacing: .06em; color: var(--on-dark-mute); }
.bill__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .25rem; }
.bill__total-label { font-family: var(--caps); text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; color: var(--on-dark-mute); }
.bill__total-value { font-family: 'Prata', var(--display); font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--gold); font-variant-numeric: tabular-nums; }

.bill__empty { margin-top: 1.5rem; font-size: .88rem; color: var(--on-dark-mute); }
/* When the price could not be fetched, the message carries the reception
   number and a "Try again" button (assets/js/booking.js, showQuoteUnavailable). */
.bill__empty a { color: var(--gold-lit); text-decoration: underline; text-underline-offset: .15em; white-space: nowrap; }
.bill__empty a:hover { color: var(--gold); }
.bill__retry {
  display: block; margin-top: .85rem; background: transparent; border: 1px solid var(--gold-dim); color: var(--gold-lit);
  padding: .6rem 1.1rem; font: inherit; font-weight: 600; font-size: .82rem; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.bill__retry:hover { background: var(--gold); color: var(--ink-deep); }
.bill__retry:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.bill__row--discount span:last-child { color: #7FD99A; }

.bill__coupon { margin-top: 1.25rem; }
.bill__coupon-label { display: block; font-family: var(--caps); text-transform: uppercase; font-size: .7rem; letter-spacing: .1em; color: var(--on-dark-mute); margin-bottom: .5rem; }
.bill__coupon-row { display: flex; gap: .5rem; }
.bill__coupon-row input {
  flex: 1; min-width: 0; background: var(--ink-soft); border: 1px solid var(--line-dark);
  color: var(--on-dark); padding: .6rem .75rem; font: inherit; text-transform: uppercase;
}
.bill__coupon-row input::placeholder { color: var(--on-dark-mute); text-transform: none; }
.bill__coupon-row input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.bill__coupon-row button {
  flex: none; background: transparent; border: 1px solid var(--gold-dim); color: var(--gold-lit);
  padding: .6rem 1.1rem; font: inherit; font-weight: 600; font-size: .82rem; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease);
}
.bill__coupon-row button:hover:not(:disabled) { background: var(--gold); color: var(--ink-deep); }
.bill__coupon-row button:disabled { opacity: .5; cursor: not-allowed; }
.bill__coupon-msg { margin-top: .5rem; font-size: .8rem; min-height: 1em; }
.bill__coupon-msg[data-state="error"] { color: #ef9fac; }
.bill__coupon-msg[data-state="ok"] { color: #7FD99A; }

/* ---------- Payment plan (pay in full vs. advance) ---------- */
.pay-plan { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); }
.pay-plan__label {
  font-family: var(--caps); text-transform: uppercase; font-size: .7rem; letter-spacing: .1em;
  color: var(--on-dark-mute); margin-bottom: .65rem;
}

.pay-plan__options { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.pay-plan__option {
  position: relative; display: flex; flex-direction: column; gap: .2rem;
  border: 1px solid var(--line-dark); background: var(--ink-soft); padding: .75rem .9rem;
  cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.pay-plan__option input {
  position: absolute; top: .7rem; right: .7rem; margin: 0;
  width: .95rem; height: .95rem; accent-color: var(--gold); cursor: pointer;
}
.pay-plan__option-title { font-family: var(--display); font-size: .92rem; color: var(--on-dark); padding-right: 1.3rem; }
.pay-plan__option-sub { font-size: .72rem; color: var(--on-dark-mute); }
.pay-plan__option:hover { border-color: var(--gold-dim); }
.pay-plan__option:has(input:checked) { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, var(--ink-soft)); }
.pay-plan__option:has(input:checked) .pay-plan__option-title { color: var(--gold-lit); }
.pay-plan__option:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

.pay-plan__advance { margin-top: 1rem; display: none; }
.pay-plan__advance[data-open="true"] { display: block; }
.pay-plan__advance-label {
  display: block; font-family: var(--caps); text-transform: uppercase; font-size: .68rem;
  letter-spacing: .1em; color: var(--on-dark-mute); margin-bottom: .5rem;
}
.pay-plan__advance-row {
  display: flex; align-items: stretch; border: 1px solid var(--line-dark); background: var(--ink-soft);
  transition: border-color .2s var(--ease);
}
.pay-plan__advance-row:focus-within { border-color: var(--gold); }
.pay-plan__advance-currency {
  display: flex; align-items: center; padding: 0 0 0 .8rem;
  font-family: var(--display); font-size: 1.05rem; color: var(--gold-lit);
}
.pay-plan__advance-row input {
  flex: 1; min-width: 0; background: transparent; border: none; color: var(--on-dark);
  padding: .65rem .8rem; font: inherit; font-size: 1.05rem; font-variant-numeric: tabular-nums;
}
.pay-plan__advance-row input:focus { outline: none; }
.pay-plan__advance-hint { margin-top: .45rem; font-size: .76rem; color: var(--on-dark-mute); }
.pay-plan__advance .field__error { color: #ef9fac; }
.pay-plan__advance.field--error .pay-plan__advance-row { border-color: #ef9fac; }
.pay-plan__advance.field--error .field__error { display: block; }

.pay-plan__breakdown {
  margin-top: 1rem; display: grid; gap: .4rem;
  border-top: 1px dashed var(--line-dark); padding-top: .85rem;
}
.pay-plan__breakdown-row { display: flex; justify-content: space-between; font-size: .86rem; color: var(--on-dark-mute); }
.pay-plan__breakdown-row span:last-child { font-variant-numeric: tabular-nums; color: var(--on-dark); }
.pay-plan__breakdown-row:last-child span:last-child { color: var(--gold-lit); font-weight: 600; }

.consent {
  margin-top: 1.5rem; display: flex; align-items: flex-start; gap: .6rem;
  font-size: .82rem; line-height: 1.5; color: var(--on-dark-mute); cursor: pointer;
}
.consent input { margin-top: .2rem; width: 1rem; height: 1rem; accent-color: var(--gold); flex: none; cursor: pointer; }
.consent a { color: var(--gold-lit); text-decoration: underline; text-underline-offset: .15em; }
.consent a:hover { color: var(--gold); }
#field-agreedToTerms + .field__error { margin-top: .4rem; }

.bill__cta {
  width: 100%; margin-top: 1.75rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.5rem; border: 1px solid var(--gold-dim); background: var(--gold); color: var(--ink-deep);
  font-family: var(--caps); text-transform: uppercase; font-size: .82rem; letter-spacing: .14em; cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.bill__cta:hover:not(:disabled) { background: var(--gold-lit); transform: translateY(-2px); }
.bill__cta:disabled { opacity: .45; cursor: not-allowed; }
.bill__cta svg { width: 1rem; height: 1rem; }

.bill__trust { margin-top: 1rem; display: flex; align-items: center; gap: .55rem; font-size: .76rem; color: var(--on-dark-mute); }
.bill__trust svg { width: .95rem; height: .95rem; color: var(--gold); flex: none; }

.bill__loading { display: none; }
.bill[data-loading="true"] .bill__loading { display: block; }

/* =========================================================================
   Flash sales (calendar offers) — the booking page's share of them.
   The banner itself, the bolt mark and the coupon dialog live in
   flash-offers.css; this is only what sits inside the booking flow. Every
   rule is keyed to markup that exists only while a sale is running, so a
   page with no sale is untouched.
   ========================================================================= */

/* ---------- Calendar: ⚡ marker + legend ----------
   A small navy chip with a gold bolt, bottom-right of the day (the top edge
   belongs to the rate bar, the bottom-centre to the "today" dot). Navy-on-gold
   and navy-on-cream both stay readable, so it works on a selected day too.
   The same fact is also in the day's title / aria-label ("Flash sale: …"),
   and in the legend, so the chip is never the only carrier. */
.cal-day__bolt {
  position: absolute; right: .1rem; bottom: .1rem; width: .78rem; height: .78rem; border-radius: 50%;
  background: var(--ink-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon fill='%23D4AF37' points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E") center / 64% no-repeat;
  pointer-events: none;
}
/* ---------- Calendar: sold-out nights ----------
   Closed in the dashboard's Inventory manager. Struck through as well as
   faded, so it is not colour-only; the day's title / aria-label also says
   "Sold out". A sold-out day stays clickable while a check-out date is being
   chosen — leaving that morning does not need the night. */
.cal-day[data-sold-out="true"] { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--on-light-mute); }
.cal-day[data-sold-out="true"][data-endpoint="true"] { color: var(--ink-deep); }
.rate-key--soldout i {
  width: .9rem; height: .9rem; border-radius: 3px; border: 1px solid var(--on-light-mute);
  background: linear-gradient(to top right, transparent calc(50% - .75px), var(--on-light-mute) calc(50% - .75px), var(--on-light-mute) calc(50% + .75px), transparent calc(50% + .75px));
}
.rate-key--sale i {
  width: .9rem; height: .9rem; border-radius: 50%;
  background: var(--ink-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon fill='%23D4AF37' points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E") center / 64% no-repeat;
}

/* ---------- Room rows ---------- */
.room-row__price--offer { display: flex; flex-direction: column; align-items: flex-end; white-space: normal; }
/* the caption can be "Per night · when you qualify": let it wrap, or on a
   phone the row's minimum width outgrows the screen */
.room-row__price--offer small { max-width: 11rem; }
.room-row__price--offer .room-row__now { color: var(--mmo-bronze); }
.room-row__price--offer .room-row__price-strike { margin-bottom: .2rem; color: var(--mmo-muted); text-decoration-color: var(--mmo-muted); }
.room-row__price--offer small { color: var(--mmo-muted); text-align: right; }
.room-row__badge--offer {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--ink-deep); color: var(--gold-lit); border: 1px solid var(--gold-dim);
}
.room-row__badge--offer .mmo-bolt { width: .75rem; height: .75rem; color: var(--gold); }
.room-row__from {
  font-family: var(--caps); text-transform: uppercase; font-size: .6rem; letter-spacing: .14em; color: var(--mmo-muted);
}

/* the sale's own words, under the room description */
.room-row__offer { margin-top: .75rem; display: flex; gap: .55rem; align-items: flex-start; font-size: .88rem; line-height: 1.55; color: var(--on-light); }
.room-row__offer > .mmo-bolt { width: .9rem; height: .9rem; margin-top: .32rem; color: var(--mmo-bronze); }
.room-row__offer strong { display: block; font-weight: 600; }
.room-row__conds { margin-top: .2rem; display: grid; gap: .1rem; font-size: .82rem; color: var(--mmo-muted); }
.room-row__conds li { position: relative; padding-left: .9rem; }
.room-row__conds li::before {
  content: ''; position: absolute; left: .05rem; top: .6em; width: .3rem; height: .3rem; background: var(--mmo-bronze); rotate: 45deg;
}

/* ---------- Room cart line ---------- */
.room-cart__offer {
  display: inline-flex; align-items: center; gap: .3rem; margin-left: .35rem; color: var(--mmo-bronze); font-weight: 600;
}
.room-cart__offer .mmo-bolt { width: .7rem; height: .7rem; }

/* ---------- Bill panel ---------- */
.bill__offers { display: grid; gap: .6rem; }
.bill__offers-title {
  font-family: var(--caps); text-transform: uppercase; font-size: .68rem; letter-spacing: .16em; color: var(--gold);
}
.bill__row--offer > span:first-child { color: var(--gold-lit); }
.bill__row--offer > span:first-child .mmo-bolt { width: .8rem; height: .8rem; margin-right: .4rem; vertical-align: -.1em; color: var(--gold); }
.bill__row--offer small { display: block; margin-top: .1rem; font-size: .72rem; color: var(--on-dark-mute); }
.bill__row--offer > span:last-child { color: #7FD99A; }
.bill__tag { display: inline-flex; align-items: center; gap: .25rem; margin-left: .35rem; font-size: .72rem; color: var(--gold-lit); }
.bill__tag .mmo-bolt { width: .7rem; height: .7rem; color: var(--gold); }
.bill__strike { margin-right: .25rem; color: var(--on-dark-mute); text-decoration: line-through; text-decoration-color: var(--on-dark-mute); }
.bill__note { margin: -.15rem 0 0; font-size: .76rem; color: var(--on-dark-mute); }
.bill__hints { margin-top: 1.1rem; display: grid; gap: .5rem; }
.bill__hint {
  display: flex; gap: .55rem; align-items: flex-start;
  border-left: 2px solid var(--gold); padding: .5rem .75rem; font-size: .8rem; line-height: 1.5; color: var(--on-dark);
  background: color-mix(in srgb, var(--gold) 9%, transparent);
}
.bill__hint .mmo-bolt { width: .85rem; height: .85rem; margin-top: .22rem; color: var(--gold); }
.bill__hint strong { color: var(--gold-lit); font-weight: 600; }
