/* ============================================================================
   Digitour — blocks.css
   Blocks that appear on more than one page type. Loaded on every page next to
   base.css so a shared component can never arrive unstyled because a page
   forgot to import the stylesheet it happened to live in.
   ========================================================================== */

/* ── Steps ───────────────────────────────────────────────────────────────── */
.steps { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 640px)  { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; } }

.step {
  position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 20px 24px;
}
.step__n {
  font-family: var(--serif); font-size: 1.75rem; font-weight: 600;
  color: #948d7c; line-height: 1; display: block;
}
.step__icon {
  position: absolute; top: 20px; right: 20px;
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: var(--g100); color: var(--g700);
  display: grid; place-items: center;
}
.step__title { font-size: 1.0625rem; margin: 14px 0 8px; }
.step__desc { font-size: .8125rem; color: var(--muted); line-height: 1.68; }

/* ── FAQ layout ──────────────────────────────────────────────────────────── */
.faq__grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; } }
.faq__grid .t-h2 { margin: 6px 0 12px; }

/* ── Contact band ────────────────────────────────────────────────────────── */
.cband__grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .cband__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.cband__lead { color: var(--g100); line-height: 1.72; margin: 14px 0 24px; max-width: 52ch; }
.cband__contacts { display: grid; gap: 12px; }
.cband__contacts li { display: flex; align-items: flex-start; gap: 12px; font-size: .875rem; color: var(--g100); }
.cband__contacts .i { flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.cband__contacts a { display: inline-flex; align-items: center; min-height: 44px; color: var(--g100); text-decoration: none; border-bottom: 1px solid rgba(220,235,226,.28); }
.cband__contacts a:hover { color: #fff; border-color: #fff; }
.cband__form {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 22px;
}
@media (min-width: 768px) { .cband__form { padding: 30px; } }
.cband__form .btn { margin-top: 18px; }
.cband__done { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.16); }
.cband__done .i { color: var(--gold); }

/* ── Comparison table ────────────────────────────────────────────────────── */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.dtable { width: 100%; min-width: 620px; font-size: .8125rem; }
.dtable th, .dtable td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtable thead th { background: var(--g100); font-family: var(--serif); font-size: .9375rem; color: var(--g900); white-space: nowrap; }
.dtable tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; background: var(--ivory); }
.dtable tbody tr:last-child th, .dtable tbody tr:last-child td { border-bottom: 0; }
.dtable td b { font-family: var(--serif); font-size: 1rem; color: var(--g700); }

/* ── Mini cards ──────────────────────────────────────────────────────────── */
.minicard {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); text-decoration: none;
  transition: border-color var(--dur-1) ease, box-shadow var(--dur-2) ease, transform var(--dur-2) var(--ease);
}
.minicard:hover { border-color: var(--g600); box-shadow: var(--sh-2); transform: translateY(-2px); }
.minicard__label { font-family: var(--serif); font-weight: 600; font-size: 1.0625rem; }
.minicard__text { font-size: .8125rem; color: var(--muted); line-height: 1.55; }
.minicard__meta {
  display: flex; align-items: center; gap: 6px; margin-top: 6px;
  font-size: .75rem; font-weight: 600; color: var(--g700);
}


/* ── Grid children: stop long content forcing a blowout ──────────────────── */
.results__main, .pkg__main, .visa__main, .incl__col, .bigdest__body,
.prose, .article__toc, .refusal > *, .dest__intro > *, .mdresults__main { min-width: 0; }
.tablewrap { max-width: 100%; }

/* ── Flight offer cards (mobile-first: single column, stacked, then a
   3-across grid once there's room) ─────────────────────────────────────── */
.flightsblock__head { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 10px; }
.flightsblock__note { max-width: 46ch; margin: 0; color: var(--muted); }
.flightsblock__sort { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.sortchip {
  min-height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--muted);
  font-size: .75rem; font-weight: 600;
  transition: background-color var(--dur-1) ease, border-color var(--dur-1) ease, color var(--dur-1) ease;
}
.sortchip:hover { border-color: var(--g600); }
.sortchip.is-active { background: var(--g700); border-color: var(--g700); color: #fff; }
.flightsblock__empty { color: var(--muted); max-width: 62ch; margin: 4px 0 0; }
.flightgrid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .flightgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
/* At full container width there's room for all 5 cards in one row —
   switches from the 3-column layout above and shrinks card padding/type
   to match the narrower per-card width, so 5-across doesn't grow tall. */
@media (min-width: 1180px) {
  .flightgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .flightcard { padding: 10px; gap: 8px; }
  .flightcard__logo { width: 32px; height: 32px; }
  .flightcard__airline { font-size: .8125rem; }
  .flightcard__leg { padding: 6px 7px; gap: 1px; }
  .flightcard__time { font-size: .8125rem; }
  .flightcard__baggage li { font-size: .6875rem; }
}

.flightcard {
  position: relative; min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
}
.flightcard--best { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.flightcard--fastest { border-color: var(--g700); box-shadow: 0 0 0 1px var(--g700); }
.flightcard__badge { position: absolute; top: -10px; left: 14px; }
.flightcard__top { display: flex; align-items: center; gap: 10px; }
.flightcard__logo { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.flightcard__airline { font-weight: 600; font-size: .875rem; color: var(--ink); margin: 0; }
.flightcard__stops { font-size: .6875rem; color: var(--muted); margin: 1px 0 0; text-transform: uppercase; letter-spacing: .04em; }

/* Compact outbound/return leg rows — each carries its own times,
   duration, stop count and per-connection wait time so a round-trip
   itinerary is fully legible without the card growing tall. */
.flightcard__legs { display: flex; flex-direction: column; gap: 6px; }
.flightcard__leg {
  padding: 7px 8px; border: 1px solid var(--line-soft); border-radius: var(--r-md, 8px);
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.flightcard__legtag { font-size: .625rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--g600); }
.flightcard__legtimes { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.flightcard__time { font-family: var(--serif); font-weight: 600; font-size: .9375rem; color: var(--g900); }
.flightcard__arrow { color: var(--muted); font-size: .8125rem; }
.flightcard__route { font-size: .6875rem; color: var(--muted); margin-left: auto; }
.flightcard__label { display: block; font-size: .6875rem; color: var(--muted); margin-top: 1px; }
.flightcard__legmeta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .6875rem; color: var(--muted); min-width: 0; }
.flightcard__duration { font-weight: 600; color: var(--g700); white-space: nowrap; }
.flightcard__stopcount { white-space: nowrap; }
.flightcard__layover {
  /* Wraps onto its own line rather than truncating with an ellipsis —
     the connection airport name and wait time are exactly the kind of
     detail a visitor is comparing cards on, so it needs to stay fully
     readable rather than clipped. min-width:0 on the ancestor chain
     (.flightcard/.flightcard__leg/.flightcard__legmeta) is what lets this
     wrap instead of forcing the card wider than its grid column. */
  background: var(--sand, #f4efe6); color: var(--g700);
  border-radius: 10px; padding: 2px 7px; font-size: .625rem; line-height: 1.4;
  max-width: 100%;
}
.flightcard__baggage { display: flex; flex-direction: column; gap: 4px; }
.flightcard__baggage li { display: flex; align-items: flex-start; gap: 6px; font-size: .75rem; color: var(--muted); }
.flightcard__baggage .i { color: var(--g600); margin-top: 2px; flex-shrink: 0; }
.flightcard__baggagenote { font-size: .6875rem; color: var(--muted); font-style: italic; margin: 0; }
.flightcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.flightcard__price strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--g900); font-weight: 600; }
.flightcard__price span { display: block; font-size: .6875rem; color: var(--muted); }
.flightcard.is-selected { border-color: var(--g700); box-shadow: 0 0 0 2px var(--g700); }
.flightcard.is-selected .flightcard__foot .btn { background: var(--g700); color: #fff; }

.flightsblock__clear {
  display: flex; align-items: center; gap: 8px; margin: 14px 0 0;
  font-size: .8125rem; color: var(--g700); font-weight: 600;
}
.flightsblock__clear[hidden] { display: none; }
.flightsblock__clear .i { color: var(--g600); }

/* ── Pagination ──────────────────────────────────────────────────────────── */
.pagination {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
}
.pagination[hidden] { display: none; }
.pagination__status { font-size: .8125rem; color: var(--muted); }
.pagination__pages { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.pagination__link, .pagination__ellipsis {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 999px; font: inherit; font-size: .875rem; font-weight: 600;
  text-decoration: none; color: var(--ink); cursor: pointer;
  border: 1px solid transparent; background: transparent;
  transition: border-color var(--dur-1) ease, background-color var(--dur-1) ease, color var(--dur-1) ease;
}
.pagination__link:hover { background: var(--sand); }
.pagination__link.is-current { background: var(--g700); color: #fff; }
.pagination__link.is-nav { border-color: var(--line); background: var(--white); padding: 0 16px; }
.pagination__link.is-nav:hover { border-color: var(--g600); color: var(--g700); background: var(--white); }
.pagination__link[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.pagination__ellipsis { color: var(--muted); cursor: default; }
@media (max-width: 560px) {
  .pagination { justify-content: center; }
  .pagination__status { display: none; }
  .pagination__pages { margin-left: 0; }
  .pagination__link.is-nav span { display: none; }
}

/* ── Room-options list (live hotel results — hotel detail page and the
   rooms popup below both reuse this exact row styling) ──────────────────── */
.roomlist { border-top: 1px solid var(--line); margin-top: 14px; }
.roomlist__row {
  display: grid; grid-template-columns: 1fr; gap: 6px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  min-width: 0; /* lets any cell's text actually wrap instead of forcing the row (and the popup around it) wider */
}
.roomlist__row > * { min-width: 0; }
@media (min-width: 640px) {
  .roomlist__row { grid-template-columns: 1.6fr 1fr 1fr auto; align-items: center; gap: 12px; }
}
/* The rooms popup checks viewport width like every other page, but its own
   box is capped well under a typical desktop viewport (640px — see
   .roomsmodal .modal__box below) — that media query alone doesn't know
   the box itself never gets that wide, so the 4-column layout kept
   trying to activate inside a container too narrow to fit it, forcing
   the whole popup wider than its own max-width (see .modal__box's
   overflow-x note in base.css for the visible symptom). Stay
   single-column in here regardless of the viewport. */
.roomsmodal__list .roomlist__row { grid-template-columns: 1fr; }
.roomlist__name { font-weight: 600; font-size: .875rem; color: var(--ink); }
.roomlist__meta { font-size: .75rem; color: var(--muted); }
.roomlist__price {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end;
  column-gap: 16px; row-gap: 4px; min-width: 0;
  font-family: var(--serif); font-weight: 600; font-size: 1.0625rem; color: var(--g900);
}
/* nowrap belongs on the price figures only ($1,172 / ֏432,468) — the
   descriptive label below them ("total, all travellers") is long,
   especially in Armenian, and inheriting nowrap from .roomlist__price
   forced it onto one line that overflowed into the next column. */
.roomlist__price [data-price-display], .roomlist__price [data-price-amd] { white-space: nowrap; }
.roomlist__price-main { display: flex; flex-direction: column; align-items: flex-end; min-width: 0; max-width: 100%; }
/* The room price figure was rendering at the same tiny, muted-grey size
   as the "total, all travellers" label below it — easy to miss next to
   the late-checkout price beside it, which is bold and colorful. The
   price is the primary number on this row; it should read that way. */
.roomlist__price-main > span:first-child {
  display: block; font-family: var(--sans); font-weight: 800; font-size: 1.125rem;
  color: var(--g700); white-space: nowrap; text-align: right;
}
.roomlist__price-main .price-amd {
  display: block; margin-left: 0; font-size: .75rem; font-weight: 600;
  color: var(--g600); opacity: .85; white-space: nowrap; text-align: right;
}
.roomlist__price-main > span:last-child {
  display: block; font-family: var(--sans); font-weight: 500; font-size: .6875rem;
  color: var(--muted); white-space: normal; text-align: right;
}

/* Departure/return flight strip — was a single "Departs 08:00-10:00 ·
   Returns 11:00-15:00" text run that wrapped badly in the room row's
   narrow middle column, then two explicitly-labelled rows (still 2 lines
   tall). Now one row: icon + time per leg, direction read from the icon
   (return leg mirrored via scaleX) rather than a spelled-out label, with
   the label kept as an aria-label for screen readers instead of visible
   text — the pair fits on one line at the widths this column actually
   gets. flex-wrap is the fallback for when it truly doesn't fit, not the
   normal case. */
.roomlist__flights { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 2px; }
.roomlist__flight { display: inline-flex; align-items: center; gap: 5px; }
.roomlist__flight .i { color: var(--g500); flex-shrink: 0; }
.roomlist__flight--return .i { transform: scaleX(-1); }
.roomlist__flight-time { font-variant-numeric: tabular-nums; color: var(--ink); font-size: .75rem; white-space: nowrap; }

/* Second price, same room — paired in by DestinationsController::
   pairLateCheckoutOptions() rather than listed as its own row. Sits beside
   the main price (not below it behind a divider) in --gold-dark so it
   reads as a distinct, clearly-labelled alternative, not a continuation. */
.roomlist__price-late {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--sans); color: var(--gold-dark); white-space: nowrap;
}
.roomlist__price-late .i { color: var(--gold-dark); flex-shrink: 0; }
.roomlist__price-late-figures { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; }
.roomlist__price-late-figures > span:first-child { font-size: .875rem; font-weight: 700; }
.roomlist__price-late-figures .price-amd { display: block; margin-left: 0; font-size: .6875rem; font-weight: 500; color: var(--gold-dark); opacity: .82; }
.roomlist__price-late-label { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; max-width: 74px; white-space: normal; line-height: 1.2; }
.roomlist__actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.roomlist__book-late { white-space: nowrap; }

/* Any [data-price-display] gets this once a flight is added on top of it —
   a small inline marker rather than extra markup per price (see
   maldives-flights.js). */
[data-price-display].has-flight { color: var(--g700); }
[data-price-display].has-flight::after { content: " ✈"; font-size: .75em; vertical-align: middle; }

/* ── Hotel result tiles (search-results / directory grid) ────────────────── */
/* Mobile-first: one tile per row by default — each card carries an image,
   stars, name, price AND two buttons ("N rooms" + "View resort"), which
   read as genuinely cramped at anything under ~420px if forced 2-up. */
.hotelgrid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 480px)  { .hotelgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 780px)  { .hotelgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .hotelgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.hoteltile {
  display: block; text-align: left; width: 100%; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur-1) ease, box-shadow var(--dur-2) ease, transform var(--dur-2) var(--ease);
}
.hoteltile:hover { border-color: var(--g600); box-shadow: var(--sh-2); transform: translateY(-2px); }
.hoteltile__trigger { display: block; width: 100%; }
.hoteltile__media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.hoteltile__media img { width: 100%; height: 100%; object-fit: cover; }
.hoteltile__body { padding: 14px; }
.hoteltile__meta { display: flex; align-items: center; gap: 5px; font-size: .6875rem; color: var(--muted); margin-bottom: 6px; }
.hoteltile__name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-family: var(--serif); font-weight: 600; font-size: .9375rem; line-height: 1.32; color: var(--ink);
  margin: 4px 0 9px; min-height: 2.6em; text-decoration: none;
}
a.hoteltile__name:hover { color: var(--g700); text-decoration: underline; }
.hoteltile__price { font-size: .75rem; color: var(--muted); }
.hoteltile__price strong { display: block; font-family: var(--serif); font-size: 1.125rem; color: var(--g900); font-weight: 600; }
.hoteltile__cta {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 12px; border-radius: var(--r-sm); background: var(--g100); color: var(--g700);
  font-size: .8125rem; font-weight: 600; white-space: nowrap;
  transition: background-color var(--dur-1) ease, color var(--dur-1) ease;
}
.hoteltile__cta:hover { background: var(--g700); color: #fff; }

/* Big, legible star rating — a row of five characters rather than tiny SVG
   icons, with the unearned stars dimmed instead of omitted so 3★ vs 4★ vs
   5★ reads at a glance. */
.stars--lg { display: block; font-size: 1.05rem; line-height: 1; letter-spacing: 1px; color: var(--gold); }
.stars--lg .stars__dim { color: var(--line); }

/* ── Image carousel ──────────────────────────────────────────────────────── */
.carousel { position: relative; }
.carousel__viewport { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--sand); }
.carousel__track { display: flex; transition: transform var(--dur-3) var(--ease); }
.carousel__slide { flex: 0 0 100%; aspect-ratio: 16 / 10; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10, 46, 32, .55); color: #fff; backdrop-filter: blur(2px);
  transition: background-color var(--dur-1) ease;
}
.carousel__arrow:hover { background: rgba(10, 46, 32, .8); }
.carousel__arrow--prev { left: 12px; }
.carousel__arrow--next { right: 12px; }
.carousel__maximize {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10, 46, 32, .55); color: #fff; transition: background-color var(--dur-1) ease;
}
.carousel__maximize:hover { background: rgba(10, 46, 32, .8); }
.carousel__counter {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  background: rgba(10, 46, 32, .65); color: #fff; font-size: .75rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.carousel__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.carousel__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background-color var(--dur-1) ease, transform var(--dur-1) ease; }
.carousel__dot.is-active { background: var(--g700); transform: scale(1.3); }

/* ── Lightbox (full-size image viewer, opened from any carousel's maximize
   button) — one shared instance lives in layouts/app.blade.php ─────────── */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-sheet);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: #050f0a;
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(100%, 1100px); max-height: 82vh; object-fit: contain; border-radius: var(--r-sm); }
.lightbox__close {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px;
  border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .12);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); }
.lightbox__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, .12);
}
.lightbox__arrow:hover { background: rgba(255, 255, 255, .22); }
.lightbox__arrow--prev { left: 18px; }
.lightbox__arrow--next { right: 18px; }
.lightbox__counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: var(--on-dark-2); font-size: .8125rem; margin: 0;
}
@media (max-width: 640px) {
  .lightbox__arrow { width: 40px; height: 40px; }
  .lightbox__arrow--prev { left: 6px; }
  .lightbox__arrow--next { right: 6px; }
}

/* Rooms popup (opened by clicking a hotel tile) */
.roomsmodal .modal__box { max-width: 640px; }
.roomsmodal__gallery { margin-bottom: 16px; }
.roomsmodal__gallery .carousel__slide { aspect-ratio: 16 / 9; }
.roomsmodal__head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; padding-right: 32px; }
.roomsmodal__head h3 { margin: 0 0 3px; }
.roomsmodal__head p { margin: 0; font-size: .8125rem; color: var(--muted); }
/* No max-height/overflow of its own — .modal__box (the whole popup) is
   already the one scrollable region (see base.css). A second independent
   scroll area nested inside it meant two scrollbars competing for the same
   gesture and the room list getting cut off mid-row at 52vh regardless of
   how much room the modal actually had left; letting the gallery+header+
   list scroll together as a single unit reads as one predictable list
   instead of a list-in-a-box. */
.roomsmodal__list { }

/* .modal__close (top:16/right:16 off the BOX) and the gallery's own
   .carousel__maximize (top:12/right:12 off the VIEWPORT, which itself
   starts at the box's own padding) land in the same physical corner once
   the box's padding is accounted for — they visually overlap. Moving the
   maximize button to the gallery's bottom-right (free real estate here;
   this gallery has no counter badge) clears the collision entirely rather
   than fine-tuning two independently-positioned offsets against each
   other. The close button also gets its own always-visible backdrop
   (params below relied on parent :hover/transparent — invisible against a
   light photo) plus a z-index above the carousel's own controls (2), so
   it's unambiguously the "close" control regardless of what image is
   showing under it. */
.roomsmodal .modal__close {
  z-index: 3; background: rgba(255, 255, 255, .92); box-shadow: var(--sh-2);
}
.roomsmodal .modal__close:hover { background: #fff; }
.roomsmodal__gallery .carousel__maximize { top: auto; bottom: 12px; right: 12px; }
.roomsmodal__empty { padding: 20px 0; text-align: center; color: var(--muted); font-size: .875rem; }
.roomsmodal__note { margin: 0 0 12px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--g50); color: var(--muted); font-size: .75rem; }
