/* ── Stretched card links ────────────────── */
.room { position: relative; }
.room h3 a.stretch { text-decoration: none; }
.room h3 a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.room h3 a.stretch:focus-visible { outline: none; }
.room:has(a.stretch:focus-visible) { outline: 2.5px solid var(--gold); outline-offset: 3px; }

/* ── Room page ───────────────────────────── */
.room-page { padding-bottom: clamp(24px, 4vw, 48px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-block: 22px 0; font: 400 .8125rem var(--font-mono); letter-spacing: .04em; color: var(--ink-soft); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--bordeaux); }
.crumbs [aria-current] { color: var(--ink); }
.room-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 24px 48px; align-items: end; padding-block: clamp(20px, 4vw, 48px) clamp(20px, 3vw, 32px); }
.rh-copy { display: grid; gap: 14px; min-width: 0; }
.room-hero h1 { font-size: clamp(2.8rem, 1.5rem + 5vw, 6rem); font-weight: 400; letter-spacing: -.03em; line-height: .95; }
.rh-meta { display: grid; gap: 18px; justify-items: end; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .875rem; font-weight: 500; }
.chips svg { width: 17px; height: 17px; color: var(--accent-2); flex: none; }
.rh-price { display: flex; align-items: baseline; gap: 8px; }
.rh-price small { color: var(--ink-soft); }
.rh-price b { font: 400 clamp(2.4rem, 1.8rem + 2vw, 3.4rem)/1 var(--font-display); color: var(--bordeaux); font-variant-numeric: tabular-nums; }
.rh-price span { color: var(--ink-soft); }

.gal-wrap { position: relative; }
.mosaic { display: grid; gap: 10px; height: clamp(360px, 46vw, 600px); grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; }
.mosaic.n4 { grid-template-columns: 2fr 1fr 1fr; }
.mosaic.n4 .slide:nth-child(2) { grid-column: span 2; }
.mosaic .slide { padding: 0; border: 0; background: var(--line); cursor: zoom-in; overflow: hidden; min-width: 0; min-height: 0; }
.mosaic .slide.main { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.mosaic .slide:hover img { transform: scale(1.04); }
.all-photos { position: absolute; right: calc(var(--gutter-r) + 16px); bottom: 16px; background: var(--paper); min-height: 42px; box-shadow: var(--shadow); }
.strip-ui { display: none; }

.room-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(32px, 6vw, 88px); align-items: start; padding-block: clamp(40px, 6vw, 72px); }
.rb-main { display: grid; gap: clamp(36px, 5vw, 56px); min-width: 0; }
.rb-block { display: grid; gap: 16px; }
.rb-block h2 { font-size: var(--step-3); }
.rb-block p { color: var(--ink-soft); font-size: 1.0625rem; max-width: 62ch; }
.amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.amenities li { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); font-weight: 500; }
.amenities svg { width: 24px; height: 24px; color: var(--bordeaux); flex: none; }
.facts { margin: 0; display: grid; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-soft); font: 400 .8125rem/1.6 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.facts dd { margin: 0; font-weight: 500; }
.loc-teaser { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 10px 18px 10px 10px; border-radius: var(--r-lg); background: var(--navy); color: var(--on-dark); text-decoration: none; transition: transform .25s; }
.loc-teaser:hover { transform: translateY(-2px); }
.loc-teaser img { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.loc-teaser span { display: grid; gap: 4px; color: var(--on-dark-soft); font-size: .9375rem; min-width: 0; }
.loc-teaser b { color: #fff; font: 500 var(--step-1) var(--font-display); }
.loc-teaser > svg { width: 22px; height: 22px; color: var(--gold); }

.rb-side { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.booking.stack { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 18px; }
.bk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 8px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.bk-head span { font: 500 var(--step-1) var(--font-display); }
.bk-head b { font: 500 1.4rem var(--font-display); color: var(--bordeaux); font-variant-numeric: tabular-nums; }
.bk-head small { font: 400 .8125rem var(--font-body); color: var(--ink-soft); }
.bk-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.booking.stack .field { background: var(--ivory); border: 1px solid var(--line); }
.booking.stack .booking-sum { border-top: 0; padding: 8px 8px 4px; }
.booking.stack .btn { min-height: 54px; width: 100%; grid-column: auto; }
.booking.stack .booking-msg { margin: 0; }
.bk-help { text-align: center; font-size: .875rem; color: var(--ink-soft); padding-top: 4px; }
.bk-help a { color: var(--ink); font-weight: 600; text-decoration: none; }
.room-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.roombar { display: none; }

@media (max-width: 900px) {
  .room-hero { grid-template-columns: 1fr; align-items: start; }
  .rh-meta { justify-items: start; }
  .chips { justify-content: flex-start; }
  .room-body-grid { grid-template-columns: 1fr; }
  .rb-side { position: static; }
  .room-grid.two { grid-template-columns: none; }
}

/* mobile gallery: full-bleed swipe strip with counter and dots */
@media (max-width: 720px) {
  .gal-wrap { padding-left: 0; padding-right: 0; }
  .mosaic, .mosaic.n4 { display: flex; height: auto; gap: 0; border-radius: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .mosaic::-webkit-scrollbar { display: none; }
  .mosaic .slide, .mosaic .slide.main { flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: start; grid-row: auto; }
  .mosaic .slide:hover img { transform: none; }
  .strip-ui { display: flex; justify-content: space-between; align-items: center; position: absolute; left: 16px; right: 16px; bottom: 14px; pointer-events: none; }
  .strip-count { font: 500 .75rem var(--font-mono); letter-spacing: .06em; color: #fff; background: rgb(19 41 61 / .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 6px 10px; border-radius: 999px; }
  .dots { display: flex; gap: 6px; }
  .dots span { width: 7px; height: 7px; border-radius: 50%; background: rgb(255 255 255 / .5); transition: width .3s, background-color .3s; }
  .dots span.on { width: 20px; border-radius: 4px; background: #fff; }
  .all-photos { display: none; }
  .rh-price { display: none; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .loc-teaser { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; }
  .loc-teaser img { width: 84px; }
  .booking.stack { padding: 14px; }
  .has-roombar .footer { padding-bottom: 120px; }

  /* sticky price + CTA instead of the generic action bar */
  .roombar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .roombar div { display: grid; line-height: 1.2; min-width: 0; }
  .roombar small { color: var(--ink-soft); font-size: .75rem; }
  .roombar b { font: 500 1.3rem var(--font-display); color: var(--bordeaux); }
  .roombar b span { font: 400 .8125rem var(--font-body); color: var(--ink-soft); }
  .roombar .btn { min-height: 48px; padding: 0 18px; font-size: .875rem; }
}
