/* The booking page ("cinematic dusk"), over base.css, which holds what every page shares and is loaded first.
   Every value is a token of tokens.css; text colours are the pairs of design-system/palmora/pairs.json. A
   translucent layer is its own element or pseudo-element: a solid token colour and an opacity token, with its
   text in a sibling above it. Phone first, then 768, 1024 and 1440 px. Layout uses logical properties, so Arabic
   needs no second stylesheet. */

.hero :focus-visible {
  outline-color: var(--color-cream);
}
.band {
  padding-block: var(--space-18);
}
.pin-note,
.org-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* Controls of this page. */
button.day:active {
  transform: scale(0.96);
}
.btn-leaf {
  background: var(--color-leaf);
  color: var(--color-night);
}

/* Surfaces with a hairline: cards and free days. */
.swatch,
button.day,
.choice,
.org,
.agree {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}
@media (hover: hover) {
  button.day[aria-pressed="false"]:hover {
    background: var(--color-palm-soft);
  }
  .tile:hover,
  .price-card:hover,
  .org:hover {
    transform: translateY(calc(-1 * var(--space-1)));
  }
}

/* Glass: over the video only. The blurred night layer sits under the text as a pseudo-element. */
.glass {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-block-size: var(--size-tap);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  color: var(--color-cream);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--color-night);
  opacity: var(--opacity-glass);
  -webkit-backdrop-filter: blur(var(--blur-glass));
  backdrop-filter: blur(var(--blur-glass));
}

/* First screen. Poster and video fill it from behind; the fade, the scrim and the text share the bottom row, so
   the scrim is exactly as tall as the text it carries. */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  /* Full height of the screen, but never taller than the page is wide on a very large monitor. */
  min-block-size: min(100svh, var(--size-page));
  overflow: hidden;
  background: var(--color-night);
  color: var(--color-cream);
}
.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -1;
  inline-size: 100%;
  block-size: 100%;
}
.hero-poster img,
.hero-video {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.hero-video {
  opacity: 0;
  transition: opacity var(--motion-video) var(--motion-ease);
}
.hero-video.is-playing {
  opacity: 1;
}
.hero-fade,
.hero-scrim {
  grid-column: 1;
  opacity: var(--opacity-scrim);
}
.hero-fade {
  grid-row: 1;
  align-self: end;
  block-size: var(--space-24);
  background: linear-gradient(to top, var(--color-scrim), transparent);
}
.hero-scrim {
  grid-row: 2;
  background: var(--color-scrim);
}
/* On a phone the booking bar stands over the bottom of the first screen: the scroll cue stays above it. */
.hero-text {
  position: relative;
  grid-row: 2;
  grid-column: 1;
  padding-block: var(--space-6) calc(var(--space-8) + var(--bar-room));
}
.hero-inner {
  display: grid;
  justify-items: start;
  gap: var(--space-4);
}
.hero-label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
}
.hero-label::before {
  content: "";
  inline-size: var(--space-8);
  border-block-start: 2px solid var(--color-gold);
}
.hero h1 {
  font-size: var(--text-display);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}
/* The first screen's last row: the scroll cue in the middle and, while a video plays, its pause button at the
   inline end. Where the two do not fit side by side (larger text), the cue moves aside; neither leaves the row. */
.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-self: stretch;
}
.scroll-cue {
  grid-column: 2;
  justify-self: center;
}
.video-toggle {
  grid-column: 3;
  justify-self: end;
}
.scroll-cue .icon {
  color: var(--color-gold);
}

/* Offer banner: night on gold, directly under the first screen. It is information, not a control. */
.offer-banner {
  padding-block: var(--space-3);
  background: var(--color-gold);
  color: var(--color-night);
}
.offer-banner p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-3);
  line-height: var(--leading-heading);
}
.offer-banner strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
}
.offer-banner span:last-child {
  font-weight: 700;
}

/* Facilities: the photo, or the icon in the same 3:2 space, fills the top of the tile; the text sits on forest. */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}
.tile {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-forest);
  transition: transform var(--motion-base) var(--motion-ease);
}
.tile img,
.tile-icon {
  inline-size: 100%;
  aspect-ratio: 3 / 2;
}
.tile img {
  object-fit: cover;
}
.tile-icon {
  display: grid;
  place-items: center;
  border-block-end: 1px solid var(--color-night);
}
.tile .icon {
  inline-size: var(--text-3xl);
  block-size: var(--text-3xl);
  color: var(--color-gold);
}
.tile p {
  display: grid;
  align-content: start;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4) var(--space-4);
  line-height: var(--leading-heading);
}
.t-name {
  font-weight: 700;
}
.t-detail {
  color: var(--color-mist);
  font-size: var(--text-sm);
}

/* Photo reel: scrolls sideways by touch, snapping to each photo; it starts from the right in Arabic. */
.reel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82%, var(--size-measure));
  gap: var(--space-4);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  padding-block-end: var(--space-4);
  scrollbar-color: var(--color-line) transparent;
}
.reel:focus-visible {
  outline-offset: -2px;
}
.reel figure {
  display: grid;
  gap: var(--space-2);
  scroll-snap-align: center;
}
.reel figcaption {
  padding-inline: var(--space-4);
  color: var(--color-stone);
  font-size: var(--text-sm);
}
.reel img {
  inline-size: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* Times and prices */
.cards {
  display: grid;
  gap: var(--space-3);
}
.card-dark {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-forest);
  transition: transform var(--motion-base) var(--motion-ease);
}
.times {
  margin-block-end: var(--space-6);
}
.head-sm {
  display: grid;
  gap: var(--space-1);
}
.note-line {
  margin-block-start: var(--space-6);
}
/* Two equal columns while both figures fit side by side; one above the other when they do not (a narrow card,
   larger text). The same holds for the choice cards. */
.figures,
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
:is(.figures, .choices) > * {
  flex: 1 1 0;
  min-inline-size: min-content;
}
.figure {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: var(--leading-tight);
}
/* Offer price: the offer figure takes the normal figure's place; the normal one stays beside it, struck through. */
.offer-tag {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: var(--space-2);
  margin-block-start: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-pill);
  color: var(--color-gold);
  font-size: var(--text-sm);
  font-weight: 700;
}
.offer-tag .icon {
  inline-size: var(--text-sm);
  block-size: var(--text-sm);
}

/* Booking steps. On a phone the layout gives no box of its own (see the booking bar): its width (the form is a
   .wrap too) and its room are the form's. */
.booking-layout {
  display: contents;
}
.booking {
  display: grid;
  gap: var(--space-18);
  padding-block: var(--space-18);
}
.step,
.calendar,
.step-body {
  display: grid;
  gap: var(--space-6);
}
/* A link from the first screen lands with the step's heading in view. */
.step {
  scroll-margin-block-start: var(--space-6);
}
/* A legend sits outside its fieldset's grid. */
legend.head {
  margin-block-end: var(--space-6);
}

/* Calendar: weeks start on Sunday. Days at the weekend rate carry an amber dot. */
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
/* Past days: stone on sand, no surface, not focusable. */
.day {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  aspect-ratio: 1;
  min-block-size: var(--size-tap);
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--color-stone);
}
button.day {
  color: var(--color-ink);
  cursor: pointer;
  transition: transform var(--motion-fast) var(--motion-ease);
}
.day.is-booked {
  background: var(--color-stone-soft);
  text-decoration: line-through;
}
.day.is-today {
  border: 2px solid var(--color-pool);
}
.day[aria-pressed="true"],
.swatch.is-mine {
  border-color: var(--color-pool);
  background: var(--color-pool);
  color: var(--color-surface);
  font-weight: 700;
}
.day.is-weekend::after {
  position: absolute;
  inset-block-end: var(--space-1);
  inset-inline: 0;
  margin-block: 0;
  margin-inline: auto;
}
/* Offer mark: a small palm ribbon in the corner of a free day inside an offer. */
.is-offer::before,
.offer-mark {
  content: "";
  display: block;
  inline-size: var(--space-2);
  block-size: var(--space-3);
  background: var(--color-palm);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 70%, 0 100%);
}
.is-offer::before {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: var(--space-1);
}
[aria-pressed="true"].is-offer::before {
  background: currentColor;
}
.swatch {
  inline-size: var(--space-4);
  block-size: var(--space-4);
  border-radius: var(--radius-sm);
}
.swatch.is-booked {
  background: var(--color-stone-soft);
}

/* Choice cards: stay, occasion, guest tier, add-ons */
.choices {
  gap: var(--space-3);
}
.choice {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: var(--space-1);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.choice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: var(--space-2);
  color: var(--color-pool);
}
.choice strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: var(--leading-heading);
}
/* A chosen card, like a ticked row of base.css. */
:is(.choice, .agree):has(:checked) {
  border-color: var(--color-pool);
  background: var(--color-pool-soft);
  box-shadow: inset 0 0 0 1px var(--color-pool);
}
/* Stone and palm on pool-soft are not pairs; ink is. */
:is(.choice, .agree):has(:checked) :is(.hint, .price, .was) {
  color: var(--color-ink);
}

/* Service cards: shown while the occasion is one with services. A visitor ticks any number of them, or none; a
   ticked card opens its tiers and add-ons. */
.organisers {
  display: grid;
  gap: var(--space-6);
  margin-block-start: var(--space-6);
}
.orgs {
  display: grid;
  gap: var(--space-4);
}
.org {
  container-type: inline-size;
  display: grid;
  align-content: start;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--motion-base) var(--motion-ease);
}
.org:has(.org-pick :checked) {
  border-color: var(--color-pool);
  background: var(--color-pool-soft);
  box-shadow:
    inset 0 0 0 1px var(--color-pool),
    var(--shadow-card);
}
/* Stone on pool-soft is not a pair; ink is. */
.org:has(.org-pick :checked) :is(caption, th, .label, .hint) {
  color: var(--color-ink);
}
.org-open {
  display: grid;
  gap: var(--space-4);
}
.org-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: var(--leading-heading);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.chips li {
  padding: var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--color-sand);
  font-size: var(--text-sm);
  line-height: var(--leading-heading);
}
.tiers {
  inline-size: 100%;
  font-size: var(--text-sm);
}
.tiers caption {
  padding-block-end: var(--space-2);
  color: var(--color-stone);
  text-align: start;
}
.tiers th,
.tiers td {
  padding: var(--space-2);
  border-block-end: 1px solid var(--color-line);
  text-align: start;
}
.tiers td {
  white-space: nowrap;
}
.tiers th {
  color: var(--color-stone);
  font-weight: 400;
}
.tiers .is-now {
  background: var(--color-amber-soft);
  color: var(--color-ink);
  font-weight: 700;
}
/* A service card is the query container of its price table, whose three columns of whole words need about
   14.75rem (English; Arabic needs less): a phone's card has that at the normal text size. In a narrower card
   (larger text, a phone under 375 px) the columns are equal thirds, the room between them is on one side of
   each cell only, and a word longer than its column breaks rather than push the card off the screen. Like a
   breakpoint, the width is written as it is: a query cannot read a token. */
@container (max-width: 15rem) {
  .tiers {
    table-layout: fixed;
  }
  .tiers :is(th, td) {
    padding-inline: var(--space-1) 0;
    overflow-wrap: anywhere;
  }
}
.org-link {
  justify-self: start;
  min-block-size: var(--size-tap);
  font-weight: 700;
  text-decoration: none;
}

/* When the site's data could not be loaded. */
.load-error {
  padding-block: var(--space-18);
}

/* Policies and the agreement */
.policies {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  counter-reset: policy;
}
.policies li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: var(--space-3);
  counter-increment: policy;
}
.policies li:not(.skel)::before {
  content: counter(policy);
  display: grid;
  place-items: center;
  inline-size: var(--space-8);
  block-size: var(--space-8);
  border-radius: var(--radius-pill);
  background: var(--color-pool-soft);
  color: var(--color-pool);
  font-size: var(--text-sm);
  font-weight: 700;
}
.agree {
  display: flex;
  align-items: start;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.agree input {
  margin-block-start: var(--space-1);
}

/* Booking bar: on a phone it stands last in main, after the contact band, and sticks to the bottom of the screen
   until the page reaches it, so neither the footer nor anything else is ever left under it, however tall larger
   text or a message makes it. For that main is the phone's column and the booking layout gives no box of its
   own; a landmark always keeps its box, as a screen reader may lose one that has none. A sticky box never leaves
   its parent: main reaches up under the first screen by --bar-room, the room that screen leaves for the bar, and
   gives that room back before its first section, so the bar may stand over the room but never above it, and a
   taller bar runs off the bottom of the first screen rather than cover its controls. From 1024 px it is the
   summary panel beside the steps.
   A control the keyboard reaches scrolls clear of the bar: the bottom of the screen keeps room for the bar at
   its tallest (--bar-reach, in lines of its words, so it grows with the text): five lines and its button on a
   line of its own, and with a price that could not be loaded, four more for the reason and the button that
   asks again. */
:root {
  --bar-room: calc(var(--size-tap) + var(--space-8) + env(safe-area-inset-bottom));
  --bar-line: calc(var(--text-sm) * var(--leading-heading));
  --bar-reach: calc(5 * var(--bar-line) + var(--space-12) + 3 * var(--space-3) + env(safe-area-inset-bottom));
  scroll-padding-block-end: var(--bar-reach);
}
:root:has(.bar-retry) {
  --bar-reach: calc(9 * var(--bar-line) + 2 * var(--space-12) + 4 * var(--space-3) + env(safe-area-inset-bottom));
}
.booking-page > main {
  display: flex;
  flex-direction: column;
  margin-block-start: calc(-1 * var(--bar-room));
}
.booking-page > main::before {
  content: "";
  block-size: var(--bar-room);
}
.bar {
  position: sticky;
  inset-block-end: 0;
  z-index: 10;
  order: 1;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
  background: var(--color-surface);
  box-shadow: var(--shadow-bar);
}
/* The bar's rows are children of the bar itself, wherever book.js writes them. */
.bar-body {
  display: contents;
}
.bar .icon {
  color: var(--color-pool);
}
/* The words keep at least their longest word's width: where that and the button do not fit on one line (larger
   text), the button takes a line of its own. */
.bar {
  flex-wrap: wrap;
}
.bar .row {
  flex: 1;
  min-inline-size: min-content;
}
.bar-text {
  display: grid;
  flex: 1;
  gap: 0 var(--space-2);
  min-inline-size: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-heading);
}
.bar-text > span {
  color: var(--color-stone);
}
.bar-text .msg {
  color: var(--color-danger);
}
/* After a price could not be loaded: the reason, and a button that asks again. */
.bar-retry {
  justify-self: start;
  margin-block-start: var(--space-1);
  padding-inline: var(--space-4);
  font-size: var(--text-sm);
}
/* On a phone the bar is three lines at most: the normal rate an offer replaced is told in the panel and on the
   stay card. */
.bar-text .bar-offer {
  display: none;
}
/* On a phone the bar names no service; this cue says how many are chosen. The panel lists them from 1024 px. */
.bar-text .bar-more {
  color: var(--color-palm);
  font-weight: 700;
}
.bar-title,
.bar-lines {
  display: none;
}
.bar .btn {
  flex: none;
}

/* The success screen replaces the steps and the information bands. */
.success {
  padding-block: var(--space-18);
}
.success-card {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  max-inline-size: var(--size-measure);
  margin-inline: auto;
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-raised);
  text-align: center;
}
.success-mark {
  display: grid;
  place-items: center;
  inline-size: var(--space-18);
  block-size: var(--space-18);
  border-radius: var(--radius-pill);
  background: var(--color-palm-soft);
  color: var(--color-palm);
}
.success-mark .icon {
  inline-size: var(--space-8);
  block-size: var(--space-8);
}
.summary {
  display: grid;
  inline-size: 100%;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-sand);
  text-align: start;
}
.summary div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 var(--space-4);
}
.summary dt {
  color: var(--color-stone);
}
/* The terms of a price list in the dark band: here, after the summary's terms, for the lint's order of
   specificity; the two never meet on one element. */
.dark .kv dt {
  color: var(--color-mist);
}
.summary dd {
  font-weight: 700;
  text-align: end;
}
.pin-note {
  min-block-size: var(--size-tap);
  font-weight: 700;
  text-decoration: none;
}
.pin-note .icon {
  color: var(--color-pool);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

/* The page's states. After a booking, and when the site's data could not be loaded, the bar is gone and so is
   the room left for it. */
[data-state="success"],
[data-state="failed"] {
  --bar-room: 0px;
}
:root:has(> [data-state="success"], > [data-state="failed"]) {
  scroll-padding-block-end: 0;
}
[data-state="success"] :is(.info, .booking-layout, .scroll-cue, .hero-actions .btn) {
  display: none;
}
[data-state="failed"] :is(.info, .booking-layout, #contact, .scroll-cue, .hero-actions .btn) {
  display: none;
}
:is([data-state="success"], [data-state="failed"]) .hero {
  min-block-size: min(60svh, var(--size-page));
}
/* Without the cue, the last row holds only the video's button: with no video playing it takes no room. */
:is([data-state="success"], [data-state="failed"]) .hero-foot:has(> .video-toggle[hidden]) {
  display: none;
}

/* Skeleton blocks, over those of base.css: the shapes of this page's own parts while the site's data loads. */
.dark .skel {
  background: var(--color-forest);
}
.tile.skel {
  aspect-ratio: 1;
}
.skel-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
}
.skel-choice {
  min-block-size: calc(var(--space-24) + var(--space-12));
  cursor: default;
}
.skel-line {
  block-size: var(--space-12);
  border-radius: var(--radius-sm);
}
.skel-button {
  inline-size: calc(var(--space-24) + var(--space-8));
}

/* Contact and footer. WhatsApp and call are secondary buttons; the phone number is never shown. */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-block-end: var(--space-3);
}
.contact-links {
  display: grid;
  gap: var(--space-3);
  margin-block-start: var(--space-8);
}
.contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-block-size: var(--size-tap);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-forest);
  color: var(--color-cream);
  font-weight: 700;
  line-height: var(--leading-tight);
  text-decoration: none;
}
.contact-link .icon {
  color: var(--color-gold);
}
.contact-link span {
  display: grid;
  gap: var(--space-1);
}
.contact-link small {
  color: var(--color-mist);
  font-size: var(--text-sm);
  font-weight: 400;
}
.foot {
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  padding-block: var(--space-8);
  border-block-start: 1px solid var(--color-forest);
  color: var(--color-mist);
  font-size: var(--text-sm);
  text-align: center;
}

/* Reveal: only once the script has run, so a page without it shows everything. */
.reveal {
  transition:
    opacity var(--motion-slow) var(--motion-ease),
    transform var(--motion-slow) var(--motion-ease);
}
html.js .reveal:not(.in) {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal:not(.in) {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 768px) {
  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .times,
  .prices,
  .contact-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Two price figures fit side by side in a card only from about 290 px wide: the deposit takes its own row here. */
  .prices > :last-child {
    grid-column: 1 / -1;
  }
}

/* 1024 px: the steps beside the summary panel. */
@media (min-width: 1024px) {
  :root {
    --bar-room: 0px;
    scroll-padding-block-end: 0;
  }
  .band,
  .booking-layout,
  .success,
  .load-error {
    padding-block: var(--space-24);
  }
  h2 {
    font-size: var(--text-3xl);
  }
  .tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .prices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .prices > :last-child {
    grid-column: auto;
  }
  .booking-page > main {
    display: block;
  }
  .booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
    gap: var(--space-12);
  }
  .booking {
    inline-size: auto;
    margin-inline: 0;
    padding-block: 0;
  }
  .bar {
    inset-block: var(--space-6) auto;
    z-index: auto;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-6);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
  }
  .bar-title {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    line-height: var(--leading-heading);
  }
  .bar .row {
    flex: none;
    align-items: start;
  }
  /* The panel lists each chosen service on its own line; nothing is added up. */
  .bar-text .bar-more {
    display: none;
  }
  .bar-text .bar-offer {
    display: block;
  }
  .bar-lines {
    display: grid;
    gap: var(--space-2);
    padding-block-start: var(--space-3);
    border-block-start: 1px solid var(--color-line);
    font-size: var(--text-sm);
  }
  .bar-lines li {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
  }
  .bar-lines .money {
    color: var(--color-palm);
    font-weight: 700;
    white-space: nowrap;
  }
}

/* 1440 px: two service cards side by side. */
@media (min-width: 1440px) {
  .orgs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
