/*
 * Booking flow (/book).
 *
 * Uses only the CMS theme tokens emitted by pages/includes/head_branding.php, so the
 * page re-themes with the rest of the site and never hard-codes a brand colour.
 */

.book-page {
  background: var(--color-background, #f8fafc);
  padding: 1.75rem var(--section-x, 1.5rem) var(--section-y, 3rem);
}

.book-page__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.book-page__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight, 700);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  line-height: 1.15;
  color: var(--color-text, #1a1a1a);
}

.book-page .stay-bar {
  margin: 0;
}

/* ---------------------------------------------------------------- results */

.book-results__count {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-caption, 0.875rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(0, 0, 0, 0.62));
}

.book-results {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.book-results__footnote {
  margin: 0;
  font-size: var(--font-caption, 0.875rem);
  color: var(--text-muted, rgba(0, 0, 0, 0.62));
}

/* ---------------------------------------------------------------- room card */

.book-room {
  --book-room-ink: var(--color-text, #1c1917);
  --book-room-muted: var(--text-muted, rgba(28, 25, 23, 0.62));
  --book-room-line: rgba(28, 25, 23, 0.08);
  --book-room-surface: #fffdf8;
  --book-room-offer: #f7f2ea;

  background: var(--book-room-surface);
  border: 1px solid var(--book-room-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(28, 25, 23, 0.05);
}

.book-room__body {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  align-items: stretch;
  min-height: 280px;
}

.book-room__media {
  position: relative;
  min-height: 280px;
  height: 100%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55), transparent 45%),
    linear-gradient(160deg, #ebe4d8, #ddd4c5);
  overflow: hidden;
  isolation: isolate;
}

.book-room__slides {
  position: absolute;
  inset: 0;
}

.book-room__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.book-room__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.book-room__slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.book-room__media:not(.book-room__media--carousel):hover .book-room__slide.is-active img,
.book-room__media--carousel:hover .book-room__slide.is-active img {
  transform: scale(1.03);
}

.book-room__media-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
}

.book-room__media-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 280px;
  color: rgba(28, 25, 23, 0.22);
}

.book-room__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.book-room__media--carousel:hover .book-room__nav,
.book-room__media--carousel:focus-within .book-room__nav,
.book-room__nav:focus-visible {
  opacity: 1;
}

.book-room__nav:hover,
.book-room__nav:focus-visible {
  background: rgba(17, 17, 17, 0.78);
}

.book-room__nav:active {
  transform: translateY(-50%) scale(0.96);
}

.book-room__nav--prev {
  left: 0.7rem;
}

.book-room__nav--next {
  right: 0.7rem;
}

.book-room__media-chrome {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 2.1rem 0.85rem 0.85rem;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.55), transparent);
  pointer-events: none;
}

.book-room__photo-count {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.book-room__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  max-width: 55%;
  pointer-events: auto;
}

.book-room__dot {
  width: 0.48rem;
  height: 0.48rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, width 0.18s ease;
}

.book-room__dot:hover,
.book-room__dot:focus-visible {
  background: rgba(255, 255, 255, 0.85);
}

.book-room__dot.is-active {
  width: 1.05rem;
  background: #fff;
}

@media (hover: none) {
  .book-room__nav {
    opacity: 0.92;
  }
}

.book-room__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.book-room__info {
  padding: 1.55rem 1.7rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.book-room__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.85rem;
}

.book-room__kicker {
  margin: 0;
  width: 100%;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-primary, #c47a1a);
}

.book-room__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight, 700);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.12;
  color: var(--book-room-ink);
}

.book-room__scarcity {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(198, 40, 40, 0.08);
  color: #b71c1c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.book-room__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.book-room__chips li {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.04);
  border: 1px solid rgba(28, 25, 23, 0.06);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--book-room-muted);
}

/*
 * CMS room amenities on the book card.
 * Scan-first pills (not a nested checklist box) so they support room comparison
 * without competing with rate-plan inclusions or the Select CTA.
 */
.book-room__features {
  margin: 0;
  padding: 0.55rem 0 0.05rem;
  border-top: 1px solid var(--book-room-line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.book-room__features-label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary, #c47a1a);
}

.book-room__features-label::after {
  content: "";
  display: block;
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.book-room__features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.book-room__features-list > li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  padding: 0.4rem 0.8rem 0.4rem 0.45rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--brand-primary, #c47a1a) 26%, rgba(28, 25, 23, 0.08));
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.book-room__features-list > li:hover {
  border-color: var(--brand-primary, #c47a1a);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--brand-primary, #c47a1a) 20%, transparent);
  transform: translateY(-1px);
}

.book-room__features-mark {
  flex: 0 0 auto;
  position: relative;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  /* Prefer the darker hover token so white checks stay readable on pale brand golds */
  background: var(--brand-primary-hover, var(--brand-primary, #c47a1a));
  box-shadow: 0 1px 2px color-mix(in srgb, var(--brand-primary-hover, #c47a1a) 35%, transparent);
}

.book-room__features-mark::after {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.22rem;
  width: 0.26rem;
  height: 0.42rem;
  border: solid #fff;
  border-width: 0 1.7px 1.7px 0;
  transform: rotate(45deg);
}

.book-room__features-text {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--book-room-ink);
  word-break: break-word;
}

.book-room__features-more {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
  background: transparent !important;
  border-style: dashed !important;
  border-color: rgba(28, 25, 23, 0.16) !important;
  box-shadow: none !important;
}

.book-room__features-more:hover {
  border-color: var(--brand-primary, #c47a1a) !important;
  box-shadow: none !important;
}

.book-room__features-more a {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--book-room-muted);
  text-decoration: none;
}

.book-room__features-more:hover a {
  color: var(--brand-primary, #c47a1a);
}

.book-room__desc {
  margin: 0;
  max-width: 54ch;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--book-room-muted);
}

.book-room__detail-link {
  align-self: flex-start;
  margin-top: 0.1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--book-room-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 25, 23, 0.28);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.book-room__detail-link:hover {
  color: var(--brand-primary, #c47a1a);
  border-bottom-color: currentColor;
}

/* Offer band: dropdown + live plan details + CTA */
.book-room__offer {
  margin: 0 1.15rem 1.15rem;
  padding: 1.05rem 1.15rem;
  border-radius: 16px;
  background: var(--book-room-offer);
  border: 1px solid rgba(28, 25, 23, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(190px, 0.9fr);
  gap: 1rem 1.35rem;
  align-items: end;
}

.book-room__offer-plan {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.book-room__controls {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(120px, 0.7fr);
  gap: 0.75rem;
  align-items: end;
}

.book-room__control {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.book-room__control--rooms {
  max-width: 160px;
}

.book-room__plan-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--book-room-muted);
}

.book-room__plan-select-wrap {
  position: relative;
}

.book-room__plan-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid rgba(28, 25, 23, 0.55);
  border-bottom: 2px solid rgba(28, 25, 23, 0.55);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.book-room__plan-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 0.72rem 2.4rem 0.72rem 0.95rem;
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--book-room-ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.book-room__rooms-select {
  font-variant-numeric: tabular-nums;
}

.book-room__plan-select:hover,
.book-room__plan-select:focus {
  outline: none;
  border-color: rgba(196, 122, 26, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 186, 90, 0.22);
}

.book-room__plan-static {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--book-room-ink);
}

.book-room__inclusions {
  list-style: none;
  margin: 0.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  min-height: 1.35rem;
}

.book-room__inclusions li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: #1f7a4d;
}

.book-room__inclusions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(31, 122, 77, 0.14);
  box-shadow: inset 0 0 0 1.5px #1f7a4d;
}

.book-room__inclusions li::after {
  content: "";
  position: absolute;
  left: 0.22rem;
  top: 0.42em;
  width: 0.26rem;
  height: 0.4rem;
  border: solid #1f7a4d;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}

.book-room__inclusions.is-empty::after {
  content: "No listed inclusions for this plan";
  font-size: 0.8rem;
  color: var(--book-room-muted);
  font-weight: 500;
}

.book-room__note {
  margin: 0;
  font-size: 0.74rem;
  color: var(--book-room-muted);
}

.book-room__offer-buy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

.book-room__price {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.12rem;
}

.book-room__amount {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--book-room-ink);
}

.book-room__currency {
  font-size: 0.68em;
  font-weight: 700;
  opacity: 0.72;
}

.book-room__per {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--book-room-muted);
}

.book-room__total {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--book-room-muted);
}

.book-room__form {
  margin: 0;
}

.book-room__btn {
  width: 100%;
  min-height: 48px;
  border-radius: 999px !important;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.82rem;
  box-shadow: 0 6px 16px rgba(243, 156, 18, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.book-room__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(243, 156, 18, 0.36);
  filter: brightness(1.03);
}

.book-room__btn:active {
  transform: translateY(0);
}

/* ---------------------------------------------------------------- review + guest */

.book-review {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.75rem;
  align-items: start;
}

.book-review__summary,
.book-guest {
  background: var(--brand-card-bg, #fff);
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.1));
  border-radius: 14px;
  padding: 1.75rem;
}

.book-review__summary h2,
.book-guest h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-text, #1a1a1a);
}

.book-review__rows {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.book-review__rows > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.925rem;
}

.book-review__rows dt {
  color: var(--text-muted, rgba(0, 0, 0, 0.62));
  font-weight: 400;
}

.book-review__rows dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  color: var(--color-text, #1a1a1a);
}

.book-review__price {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--color-border, rgba(0, 0, 0, 0.14));
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.book-review__line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted, rgba(0, 0, 0, 0.62));
}

.book-review__line--total {
  margin-top: 0.4rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--color-border, rgba(0, 0, 0, 0.1));
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text, #1a1a1a);
}

.book-review__note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-muted, rgba(0, 0, 0, 0.62));
}

.book-guest__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.book-guest__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.book-guest__field--wide {
  margin-top: 0.9rem;
}

.book-guest__field > span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(0, 0, 0, 0.62));
}

.book-guest__field em {
  color: #d93838;
  font-style: normal;
  margin-left: 2px;
}

.book-guest__field input,
.book-guest__field select,
.book-guest__field textarea,
.book-guest__children select {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.14));
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--color-text, #1a1a1a);
  background: #fff;
}

.book-guest__field select:not(.book-guest__select2) {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b6560' d='M1.1 1.1L6 6l4.9-4.9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px 8px;
  padding-right: 2.1rem;
  cursor: pointer;
}

.book-guest__field .select2-container {
  width: 100% !important;
}

.book-guest__field .select2-container--default .select2-selection--single {
  min-height: 2.85rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.14));
  border-radius: 7px;
  background: #fff;
}

.book-guest__field .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 1.8;
  padding-left: 0;
  color: var(--color-text, #1a1a1a);
}

.book-guest__field .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.book-guest__field .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 0.55rem;
}

.book-guest__field .select2-container--default.select2-container--focus .select2-selection--single,
.book-guest__field .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--brand-primary, #ffba5a);
  outline: none;
}

.book-guest .select2-dropdown {
  border-color: var(--color-border, rgba(0, 0, 0, 0.14));
  border-radius: 7px;
}

.book-guest__field input:focus,
.book-guest__field select:focus,
.book-guest__field textarea:focus {
  outline: none;
  border-color: var(--brand-primary, #ffba5a);
}

.book-guest__field small {
  font-size: 0.72rem;
  color: var(--text-muted, rgba(0, 0, 0, 0.62));
}

.book-guest__children {
  margin: 1rem 0 0;
  padding: 0.9rem;
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.1));
  border-radius: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.book-guest__children legend {
  width: auto;
  padding: 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(0, 0, 0, 0.62));
}

.book-guest__children label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  margin: 0;
}

.book-guest .web-recaptcha {
  margin-top: 1.15rem;
}

.book-guest .web-recaptcha .g-recaptcha {
  transform-origin: left top;
}

.book-guest__submit {
  margin-top: 1.3rem;
  width: 100%;
}

.book-guest__back {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: var(--font-caption, 0.875rem);
  color: var(--text-muted, rgba(0, 0, 0, 0.62));
}

.stay-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

/* ---------------------------------------------------------------- empty + done */

.book-empty,
.book-done {
  background: var(--brand-card-bg, #fff);
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.1));
  border-radius: 14px;
  padding: 2.4rem;
  text-align: center;
}

.book-empty h2,
.book-done__title {
  margin: 0 0 0.7rem;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  color: var(--color-text, #1a1a1a);
}

.book-empty p,
.book-done__lede {
  margin: 0 auto 1.3rem;
  max-width: 46ch;
  line-height: 1.65;
  color: var(--text-muted, rgba(0, 0, 0, 0.62));
}

.book-done__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1b8755;
}

.book-done__ref {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0 0 1.4rem;
  padding: 0.85rem 1.6rem;
  border: 1px dashed var(--color-border, rgba(0, 0, 0, 0.2));
  border-radius: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(0, 0, 0, 0.62));
}

.book-done__ref span {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--color-text, #1a1a1a);
}

.book-done__rows {
  margin: 0 auto 1.4rem;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.book-done__rows > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.925rem;
}

.book-done__rows dt {
  color: var(--text-muted, rgba(0, 0, 0, 0.62));
  font-weight: 400;
}

.book-done__rows dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-text, #1a1a1a);
}

.book-done__contact {
  margin: 0 auto 1.5rem;
  max-width: 48ch;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted, rgba(0, 0, 0, 0.62));
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .book-review {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .book-room__body {
    grid-template-columns: 1fr;
  }

  .book-room__media,
  .book-room__slides,
  .book-room__slide,
  .book-room__slide img,
  .book-room__media-empty {
    min-height: 200px;
    height: 200px;
  }

  .book-room__info {
    padding: 1.25rem 1.2rem 0.9rem;
  }

  .book-room__offer {
    margin: 0 0.9rem 0.95rem;
    padding: 0.95rem 1rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .book-room__controls {
    grid-template-columns: 1fr 1fr;
  }

  .book-room__control--rooms {
    max-width: none;
  }

  .book-room__price {
    text-align: left;
    align-items: flex-start;
    border-top: 1px dashed rgba(28, 25, 23, 0.1);
    padding-top: 0.85rem;
  }

  .book-guest__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- ajax search */

.book-results-region {
  position: relative;
  min-height: 120px;
  transition: opacity 0.18s ease;
}

/* Dim rather than blank the old results: keeping them on screen avoids a
   layout jump and makes the update feel like a refresh, not a reload. */
.book-results-region.is-loading {
  opacity: 0.45;
  pointer-events: none;
}

.book-results-region.is-loading::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 50%;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  border: 3px solid var(--color-border, rgba(0, 0, 0, 0.15));
  border-top-color: var(--brand-primary, #ffba5a);
  border-radius: 50%;
  animation: book-spin 0.7s linear infinite;
}

@keyframes book-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .book-results-region,
  .book-results-region.is-loading::after {
    transition: none;
    animation: none;
  }
}

/* The results heading takes focus after a search so screen readers announce the
   new count; it is not interactive, so no focus ring. */
.js-book-results-heading:focus {
  outline: none;
}

.stay-bar-submit[disabled] {
  opacity: 0.65;
  cursor: progress;
}

.book-empty__suggestion {
  margin: 0 auto 1.3rem;
  max-width: 46ch;
  line-height: 1.65;
  color: var(--color-text, #1a1a1a);
}

.book-empty__alt {
  display: block;
  margin-top: 0.9rem;
  font-size: var(--font-caption, 0.875rem);
  color: var(--text-muted, rgba(0, 0, 0, 0.62));
}
