/* HOTELLIX design system: hotel page. Colours, sizes and spacing come from tokens.css. */

.ds-page-hotel {
  --hotel-aside-w: 340px;
  --hotel-gallery-h: 400px;
  --hotel-nav-h: 48px;
  --hotel-photo-btn: 44px;
  --hotel-room-price-w: 176px;
  --hotel-dist-label: 44px;
  --hotel-dist-count: 32px;
  --hotel-dist-max: 420px;
  --hotel-score: 48px;
  --hotel-icon-tile: 48px;
  --hotel-bar-h: var(--ds-sticky-cta-h);
  --hotel-sticky-top: calc(var(--ds-header-h) + var(--hotel-nav-h) + var(--ds-sp-4));
}
@media (min-width: 992px) { .ds-page-hotel { --hotel-gallery-h: 420px; } }
@media (min-width: 1200px) { .ds-page-hotel { --hotel-aside-w: 360px; --hotel-gallery-h: 460px; } }

/* ---------------------------------------------------------------- page frame, breadcrumb, flash */
.ds-page-hotel .hv2-main > .hv2-container { max-inline-size: var(--ds-container); }   /* same container as every other page (was 1200 px) */
/* .hv2d-crumb (breadcrumb) lives in template.css: the destination page uses it too and does not load this file */
.hv2d-flash { margin-block: var(--ds-sp-3); }

/* ---------------------------------------------------------------- page root: phones put the gallery first */
.cfh {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-block-end: var(--ds-sp-8);
}
.cfh > .cfh-gallery { order: -1; }
@media (min-width: 768px) {
  .cfh { display: block; }
}

/* ---------------------------------------------------------------- title block */
.cfh-head { display: flex; flex-direction: column; gap: var(--ds-sp-2); margin-block: var(--ds-sp-4) var(--ds-sp-3); }
.cfh-head-main { min-inline-size: 0; }
.cfh-cats { display: flex; flex-wrap: wrap; gap: var(--ds-sp-1h); margin-block-end: var(--ds-sp-2); }
.cfh-cats .cf-chip { min-block-size: var(--ds-target-min); padding-inline: var(--ds-sp-2h); font-size: var(--ds-fs-12); }
@media (pointer: coarse) { .cfh-cats .cf-chip { min-block-size: var(--ds-target); } }
.cfh-title {
  margin: 0;
  font-size: var(--ds-fs-24);
  line-height: var(--ds-lh-32);
  font-weight: var(--ds-w-semibold);
  letter-spacing: var(--ds-track-h1);
  color: var(--ds-text-strong);
  overflow-wrap: anywhere;
}
.cfh-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ds-sp-1) var(--ds-sp-3);
  margin-block-start: var(--ds-sp-1h);
  font-size: var(--ds-fs-14);
  line-height: var(--ds-lh-20);
  color: var(--ds-text-2);
}
.cfh-sub i { color: var(--ds-accent-fg); }
.cfh-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--ds-sp-1);
  min-block-size: var(--ds-target-min);
  color: var(--ds-link);
  font-weight: var(--ds-w-semibold);
  text-decoration: none;
}
.cfh-link::after { content: ""; position: absolute; inset-block: calc(var(--ds-sp-2h) * -1); inset-inline: calc(var(--ds-sp-05) * -1); }
@media (hover: hover) { .cfh-link:hover { text-decoration: underline; color: var(--ds-link-hover); } }
@media (pointer: coarse) { .cfh-link { min-block-size: var(--ds-target); } }
.cfh-meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--ds-sp-2);
  margin-block-start: var(--ds-sp-2h);
  overflow-x: auto;
  scrollbar-width: none;
}
.cfh-meta::-webkit-scrollbar { display: none; }
.cfh-meta > * { flex: none; }
@media (min-width: 768px) { .cfh-meta { flex-wrap: wrap; overflow: visible; } }
.cfh-score-sm {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-sp-1h);
  min-block-size: var(--ds-target-min);
  font-size: var(--ds-fs-14);
  font-weight: var(--ds-w-semibold);
  color: var(--ds-text-strong);
  text-decoration: none;
}
.cfh-score-sm b {
  padding: var(--ds-sp-05) var(--ds-sp-2);
  border-radius: var(--ds-r-md) var(--ds-r-md) var(--ds-r-md) var(--ds-r-xs);
  background: var(--ds-teal-700);
  color: var(--ds-on-accent);
  font-variant-numeric: tabular-nums;
}
@media (pointer: coarse) { .cfh-score-sm { min-block-size: var(--ds-target); } }
.cfh-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-sp-1);
  gap: var(--ds-sp-1h);
  min-block-size: 28px;                                  /* one height with the score badge next to them (pills were 22 px) */
  padding-inline: var(--ds-sp-3);
  border: var(--ds-bw) solid var(--ds-border);
  border-radius: var(--ds-r-full);
  background: var(--ds-surface);
  color: var(--ds-text-2);
  font-size: var(--ds-fs-13);
  line-height: var(--ds-lh-18);
  font-weight: var(--ds-w-medium);
  white-space: nowrap;
}
.cfh-score-sm b { display: inline-flex; align-items: center; min-block-size: 28px; }
.cfh-meta > .cfh-score-sm { margin-inline-end: var(--ds-sp-1); }
.cfh-pill i { color: var(--ds-accent-fg); }
.cfh-pill-gold i { color: var(--ds-highlight-text); }

/* Save / Share: 44 px photo buttons on the gallery's top end (phones); secondary sm in the H1 row (≥768) */
.cfh-head-actions { display: flex; gap: var(--ds-sp-2); }
.cfh-btn-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-sp-1h);
  min-block-size: var(--ds-ctl-sm);
  padding-inline: var(--ds-sp-3);
  border: var(--ds-bw) solid var(--ds-border-strong);
  border-radius: var(--ds-ctl-r);
  font-size: var(--ds-fs-14);
  font-weight: var(--ds-w-semibold);
  line-height: var(--ds-lh-20);
  white-space: nowrap;
  cursor: pointer;
}
.cfh-btn-o.is-on i { color: var(--ds-heart); }
@media (pointer: coarse) { .cfh-btn-o { min-block-size: var(--ds-target); } }
@media (max-width: 767.98px) {
  .cfh-head-actions {
    position: absolute;
    inset-block-start: var(--ds-sp-3);
    inset-inline-end: 0;
    z-index: var(--ds-z-raised);
  }
  .cfh-head-actions .cfh-btn-o {
    inline-size: var(--hotel-photo-btn);
    min-block-size: var(--hotel-photo-btn);
    padding: 0;
    border-color: transparent;
    border-radius: var(--ds-r-full);
    background: var(--ds-surface);
    box-shadow: var(--ds-sh-2);
    font-size: 0;
  }
  .cfh-head-actions .cfh-btn-o > span { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cfh-head-actions .cfh-btn-o i { font-size: var(--ds-icon-md); }
}
@media (min-width: 768px) {
  .cfh-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: var(--ds-sp-4); margin-block: 0 var(--ds-sp-4); }
  .cfh-head-actions { flex: none; }
}
@media (min-width: 992px) {
  .cfh-title { font-size: var(--ds-fs-32); line-height: var(--ds-lh-40); }
}

/* ---------------------------------------------------------------- gallery: phone strip · tablet 1+2 · desktop count-aware mosaic */
.cfh-gallery {
  display: flex;
  margin-inline: calc(var(--ds-gutter) * -1);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: var(--ds-sunken);
}
.cfh-gallery::-webkit-scrollbar { display: none; }
.cfh-ph {
  display: block;
  flex: 0 0 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--ds-sunken);
  cursor: zoom-in;
  scroll-snap-align: start;
}
.cfh-ph img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.cfh-ph:focus-visible { outline: var(--ds-focus-w) solid var(--ds-highlight); outline-offset: calc(var(--ds-focus-w) * -1); }
/* overlays sit on .cfh (the gallery is the first box of .cfh on phones), so the strip scrolls under them */
.cfh-ribbon {
  position: absolute;
  inset-block-start: var(--ds-sp-3);
  inset-inline-start: 0;
  z-index: var(--ds-z-raised);
  padding: var(--ds-sp-1) var(--ds-sp-2h);
  border-radius: var(--ds-r-sm);
  background: var(--ds-highlight);
  color: var(--ds-on-highlight);
  font-size: var(--ds-fs-13);
  line-height: var(--ds-lh-18);
  font-weight: var(--ds-w-bold);
  pointer-events: none;
}
.cfh-all-photos,
.ds-ph-count {
  position: absolute;
  inset-block-start: calc(100vw * 3 / 4 - var(--ds-sp-3) - var(--ds-ctl-sm));
  z-index: var(--ds-z-raised);
  display: inline-flex;
  align-items: center;
  gap: var(--ds-sp-1h);
  min-block-size: var(--ds-ctl-sm);
  padding-inline: var(--ds-sp-3);
  border-radius: var(--ds-r-full);
  font-size: var(--ds-fs-13);
  line-height: var(--ds-lh-18);
  font-weight: var(--ds-w-semibold);
}
.cfh-all-photos {
  inset-inline-end: 0;
  border: 0;
  background: var(--ds-surface);
  color: var(--ds-text-strong);
  box-shadow: var(--ds-sh-2);
  cursor: pointer;
}
.ds-ph-count {
  inset-inline-start: 0;
  background: var(--ds-scrim);
  color: var(--ds-text-inverse);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
@media (max-width: 767.98px) {
  .ds-page-hotel .cfh-ribbon,
  .ds-page-hotel .ds-ph-count { inset-inline-start: var(--ds-sp-3); }
  .ds-page-hotel .cfh-all-photos { inset-inline-end: var(--ds-sp-3); }
  .cfh-head-actions { inset-inline-end: var(--ds-sp-3); }
  .cfh-gallery-1 ~ .ds-ph-count { display: none; }
}
@media (pointer: coarse) { .cfh-all-photos { min-block-size: var(--ds-target); } }
@media (min-width: 768px) {
  .cfh-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-auto-rows: 1fr;
    gap: var(--ds-sp-2);
    block-size: var(--hotel-gallery-h);
    margin: 0 0 var(--ds-sp-6);
    overflow: hidden;
    border-radius: var(--ds-r-xl);
    scroll-snap-type: none;
    background: transparent;
  }
  .cfh-ph { aspect-ratio: auto; block-size: 100%; }
  .cfh-gallery .cfh-ph:first-child { grid-row: span 2; }
  .cfh-gallery .cfh-ph:nth-child(n + 4) { display: none; }
  .cfh-gallery-1 { grid-template-columns: 1fr; block-size: auto; aspect-ratio: 21 / 9; max-block-size: var(--hotel-gallery-h); }
  .cfh-gallery-1 .cfh-ph:first-child { grid-row: auto; }
  .cfh-gallery-2 { grid-template-columns: 1fr 1fr; }
  .cfh-gallery-2 .cfh-ph:nth-child(2) { grid-row: span 2; }
  .cfh-ribbon { inset-block-start: var(--ds-sp-4); inset-inline-start: var(--ds-sp-4); }
  .cfh-all-photos { inset-block: auto var(--ds-sp-4); inset-inline-end: var(--ds-sp-4); }
  .ds-ph-count { display: none; }
  .cfh-head-actions .cfh-btn-o > span { position: static; }
}
@media (min-width: 992px) {
  .cfh-gallery-3 { grid-template-columns: 2fr 1fr; }
  .cfh-gallery-4 { grid-template-columns: 2fr 1fr 1fr; }
  .cfh-gallery-4 .cfh-ph:nth-child(4) { display: block; grid-column: span 2; }
  .cfh-gallery-5 { grid-template-columns: 2fr 1fr 1fr; }
  .cfh-gallery-5 .cfh-ph:nth-child(n + 4) { display: block; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cfh-ph img { transition: opacity var(--ds-dur-2) var(--ds-ease-out); }
  .cfh-ph:hover img { opacity: .92; }
}

/* ---------------------------------------------------------------- section nav */
.ds-hsec {
  display: flex;
  gap: var(--ds-sp-2);
  margin-block: var(--ds-sp-2) var(--ds-sp-6);   /* 8 px left the first heading pressed against the chips */
  margin-inline: calc(var(--ds-gutter, 16px) * -1);
  padding-inline: var(--ds-gutter, 16px);        /* chips scroll edge to edge instead of being cut at the gutter */
  overflow-x: auto;
  scrollbar-width: none;
}
.ds-hsec::-webkit-scrollbar { display: none; }
.ds-hsec a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-block-size: var(--ds-target);
  padding-inline: var(--ds-sp-3);
  border: var(--ds-bw) solid var(--ds-border-card);
  border-radius: var(--ds-r-full);
  background: var(--ds-surface);
  color: var(--ds-text);
  font-size: var(--ds-fs-14);
  font-weight: var(--ds-w-semibold);
  text-decoration: none;
  white-space: nowrap;
}
.ds-hsec a[aria-current="true"] { border-color: var(--ds-accent); background: var(--ds-selected); color: var(--ds-accent-fg); }
@media (min-width: 768px) {
  .ds-hsec {
    position: sticky;
    inset-block-start: var(--ds-header-h);
    z-index: var(--ds-z-sticky);
    gap: var(--ds-sp-5);
    margin: 0 0 var(--ds-sp-6);
    padding-inline: 0;
    border-block-end: var(--ds-bw) solid var(--ds-border);
    background: var(--ds-canvas);
  }
  .ds-hsec a {
    min-block-size: var(--hotel-nav-h);
    padding-inline: 0;
    border: 0;
    border-block-end: var(--ds-bw-strong) solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--ds-text-2);
  }
  .ds-hsec a[aria-current="true"] { border-block-end-color: var(--ds-accent); background: transparent; color: var(--ds-text-strong); }
  @media (hover: hover) { .ds-hsec a:hover { color: var(--ds-text-strong); } }
}
.cfh :is(#cfhOverview, #cfhRooms, #cfhAmenities, #cfhReviews, #cfhLocation, #cfhPolicies) { scroll-margin-block-start: calc(var(--ds-header-h) + var(--ds-sp-4)); }
@media (min-width: 768px) {
  .cfh :is(#cfhOverview, #cfhRooms, #cfhAmenities, #cfhReviews, #cfhLocation, #cfhPolicies) { scroll-margin-block-start: var(--hotel-sticky-top); }
}
#cfhStay { scroll-margin-block-start: calc(var(--ds-header-h) + var(--ds-sp-6)); }

/* ---------------------------------------------------------------- columns */
.cfh-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ds-sp-8); align-items: start; }
.cfh-main { min-inline-size: 0; }
@media (min-width: 992px) {
  .cfh-cols { grid-template-columns: minmax(0, 1fr) var(--hotel-aside-w); }
  .cfh-cols > .cfh-aside { align-self: stretch; }
}
@media (min-width: 1200px) { .cfh-cols { gap: var(--ds-sp-12); } }

/* ---------------------------------------------------------------- sections: unboxed, hairline + 32 between */
.cfh-box { padding-block: var(--ds-sp-8); border-block-start: var(--ds-bw) solid var(--ds-border); }
.cfh-main > .cfh-box:first-child { padding-block-start: 0; border-block-start: 0; }
.cfh-box > h2 {
  margin: 0 0 var(--ds-sp-4);
  font-size: var(--ds-type-h2-fs);
  line-height: var(--ds-lh-28);
  font-weight: var(--ds-w-semibold);
  letter-spacing: var(--ds-track-h2);
  color: var(--ds-text-strong);
}
.cfh-muted { color: var(--ds-text-muted); font-size: var(--ds-fs-13); line-height: var(--ds-lh-18); }
.cfh-ok { margin-block-start: var(--ds-sp-1); color: var(--ds-success-fg); font-size: var(--ds-fs-13); line-height: var(--ds-lh-18); font-weight: var(--ds-w-semibold); }
.cfh-note { margin: var(--ds-sp-3) 0 0; }
.cfh-about { margin: var(--ds-sp-4) 0 0; max-inline-size: var(--ds-measure); color: var(--ds-text); font-size: var(--ds-fs-16); line-height: var(--ds-lh-26); }

/* key facts (ds markup: ul.ds-hfacts) replace the four "Why guests love it" tiles */
.ds-hfacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ds-sp-4) var(--ds-sp-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ds-hfacts li { display: flex; align-items: flex-start; gap: var(--ds-sp-3); min-inline-size: 0; }
.ds-hfacts i { flex: none; display: inline-flex; align-items: center; justify-content: center; inline-size: var(--ds-icon-tile); block-size: var(--ds-icon-tile); border-radius: var(--ds-r-md); background: var(--ds-accent-soft); color: var(--ds-accent-fg); font-size: var(--ds-icon-md); }
.ds-hfacts b { display: block; font-size: var(--ds-fs-14); line-height: var(--ds-lh-20); font-weight: var(--ds-w-semibold); color: var(--ds-text-strong); }
.ds-hfacts span { display: block; font-size: var(--ds-fs-13); line-height: var(--ds-lh-18); color: var(--ds-text-muted); }
.ds-hfacts + .cfh-highlights { display: none; }
@media (min-width: 992px) { .ds-hfacts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.cfh-highlights { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--ds-kpi-min), 1fr)); gap: var(--ds-sp-3); }
.cfh-highlights div {
  display: flex;
  align-items: center;
  gap: var(--ds-sp-2);
  padding: var(--ds-sp-3);
  border: var(--ds-bw) solid var(--ds-border);
  border-radius: var(--ds-r-lg);
  color: var(--ds-text-strong);
  font-size: var(--ds-fs-14);
  font-weight: var(--ds-w-semibold);
}
.cfh-highlights i { color: var(--ds-accent-fg); font-size: var(--ds-icon-md); }

/* ---------------------------------------------------------------- Choose your room: dates row + room cards */
.cfh-dates {
  display: flex;
  flex-direction: column;
  gap: var(--ds-sp-3);
  margin: 0 0 var(--ds-sp-5);
}
@media (min-width: 768px) {
  .cfh-dates {
    flex-direction: row;
    align-items: flex-end;
    padding: var(--ds-sp-3);
    border: var(--ds-bw) solid var(--ds-border);
    border-radius: var(--ds-r-lg);
    background: var(--ds-sunken);
  }
  .cfh-dates > .cf-dates { flex: 1 1 auto; display: flex; flex-wrap: nowrap; align-items: flex-end; margin: 0; }
  .cfh-dates > .cf-dates > :is(.cf-dates-f, .ds-guests) { flex: 1 1 0; min-inline-size: 0; }
  .cfh-dates > .cf-dates > .cf-dates-n { flex: none; align-self: center; }
  .cfh-dates > .cf-dates > .cf-dates-x { flex: none; align-self: flex-end; }
  .cfh-dates > .ds-when { flex: 1 1 auto; }
  .cfh-dates > .cf-datebar-go { flex: none; }
}
.cfh-rooms { display: grid; gap: var(--ds-sp-3); }
.cfh-room {
  position: relative;
  display: grid;
  grid-template-columns: var(--hotel-icon-tile) minmax(0, 1fr);
  gap: var(--ds-sp-3) var(--ds-sp-4);
  padding: var(--ds-sp-4);
  border: var(--ds-bw) solid var(--ds-border-card);
  border-radius: var(--ds-card-r);
  background: var(--ds-surface);
}
.cfh-room::before {
  content: "\e0cc";   /* Phosphor bed (icons-site bridge glyph) — no room photos exist, none are invented */
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: var(--hotel-icon-tile);
  block-size: var(--hotel-icon-tile);
  border-radius: var(--ds-r-lg);
  background: var(--ds-accent-soft);
  color: var(--ds-accent-fg);
  font-family: "Phosphor-Bold";
  font-size: var(--ds-icon-lg);
  line-height: 1;
}
.cfh-room-info { min-inline-size: 0; }
.cfh-room h3 { margin: 0 0 var(--ds-sp-1); font-size: var(--ds-fs-18); line-height: var(--ds-lh-24); font-weight: var(--ds-w-semibold); color: var(--ds-text-strong); }
.cfh-room-info .cfh-ok {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-sp-1);
  margin-block-start: var(--ds-sp-2);
  padding: var(--ds-sp-05) var(--ds-sp-2);
  border-radius: var(--ds-r-full);
  background: var(--ds-highlight-soft);
  color: var(--ds-highlight-text);
}
.cfh-room-price {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--ds-sp-1) var(--ds-sp-2);
  min-inline-size: 0;
}
.cfh-room-price s { color: var(--ds-text-muted); font-size: var(--ds-fs-13); unicode-bidi: plaintext; }
.cfh-room-price b { font-size: var(--ds-type-price-card-fs); line-height: var(--ds-type-price-card-lh); font-weight: var(--ds-w-bold); color: var(--ds-text-strong); font-variant-numeric: tabular-nums; unicode-bidi: plaintext; }
.cfh-room-price > .cfh-btn-sm { flex-basis: 100%; }
.cfh-btn-sm {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: var(--ds-ctl-md);
  padding-inline: var(--ds-sp-5);
  margin-block-start: var(--ds-sp-2);
  border: var(--ds-bw) solid var(--ds-border-strong);
  border-radius: var(--ds-ctl-r);
  background: var(--ds-surface);
  color: var(--ds-text-strong);
  font-size: var(--ds-fs-15);
  font-weight: var(--ds-w-semibold);
  line-height: var(--ds-lh-20);
  text-decoration: none;
  white-space: nowrap;
}
.cfh-btn-sm[hidden] { display: none; }
@media (hover: hover) { a.cfh-btn-sm:hover { background: var(--ds-sunken); color: var(--ds-text-strong); } }

.cfh-room-stay { flex-basis: 100%; display: grid; gap: var(--ds-sp-2); margin-block-start: var(--ds-sp-2); }
.cfh-room-stay[hidden] { display: none; }
.cfh-stay-total b { font-size: var(--ds-fs-17); color: var(--ds-text-strong); font-variant-numeric: tabular-nums; unicode-bidi: plaintext; }
.cfh-stay-left {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: var(--ds-sp-1);
  padding: var(--ds-sp-05) var(--ds-sp-2);
  border: var(--ds-bw) solid var(--ds-warning-border);
  border-radius: var(--ds-r-full);
  background: var(--ds-warning-bg);
  color: var(--ds-warning-fg);
  font-size: var(--ds-fs-12);
  line-height: var(--ds-lh-16);
  font-weight: var(--ds-w-semibold);
}
.cfh-stay-left::before { content: "\e4e0"; font-family: "Phosphor-Bold"; }   /* warning glyph: never colour-only */
.cfh-stay-out { color: var(--ds-danger-fg); font-size: var(--ds-fs-13); font-weight: var(--ds-w-semibold); }
.cfh-stay-qty { display: inline-flex; align-items: center; gap: var(--ds-sp-2); margin: 0; font-size: var(--ds-fs-14); font-weight: var(--ds-w-semibold); color: var(--ds-text-2); }
.cfh-stay-qty select {
  min-block-size: var(--ds-ctl-md);
  min-inline-size: var(--ds-sp-20);
  padding-inline: var(--ds-sp-3) var(--ds-sp-8);
  border: var(--ds-bw) solid var(--ds-border-strong);
  border-radius: var(--ds-ctl-r);
  background: var(--ds-surface) var(--ds-chevron-down) no-repeat right var(--ds-sp-3) center / var(--ds-icon-sm);
  appearance: none;
  color: var(--ds-text-strong);
  font-size: var(--ds-fs-16);
  font-variant-numeric: tabular-nums;
}
[dir="rtl"] .cfh-stay-qty select { background-position: left var(--ds-sp-3) center; }
.cfh-room.is-soldout { opacity: .7; }
/* selected room: 2 px teal border, teal-25 fill, check badge */
.cfh-room:has([data-cf-qty] option:checked:not([value="0"])) { border-color: var(--ds-accent); box-shadow: inset 0 0 0 var(--ds-bw) var(--ds-accent); background: var(--ds-selected); }
.cfh-room:has([data-cf-qty] option:checked:not([value="0"]))::after {
  content: "\e182";
  position: absolute;
  inset-block-start: var(--ds-sp-3);
  inset-inline-end: var(--ds-sp-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: var(--ds-icon-lg);
  block-size: var(--ds-icon-lg);
  border-radius: var(--ds-r-full);
  background: var(--ds-accent);
  color: var(--ds-on-accent);
  font-family: "Phosphor-Bold";
  font-size: var(--ds-fs-12);
}
/* phones: a smaller bed tile, and price + Book use the full card width under a hairline (they were squeezed into the text column) */
@media (max-width: 767.98px) {
  .cfh-room { grid-template-columns: 40px minmax(0, 1fr); gap: var(--ds-sp-3); }
  .cfh-room::before { grid-row: auto; inline-size: 40px; block-size: 40px; border-radius: var(--ds-r-md); font-size: var(--ds-icon-md); }
  .cfh-room-price { grid-column: 1 / -1; padding-block-start: var(--ds-sp-3); border-block-start: var(--ds-bw) solid var(--ds-border); }
}
@media (min-width: 768px) {
  .cfh-room { grid-template-columns: var(--hotel-icon-tile) minmax(0, 1fr) var(--hotel-room-price-w); align-items: start; }
  .cfh-room::before { grid-row: auto; }
  .cfh-room-price { grid-column: 3; flex-direction: column; align-items: flex-end; text-align: end; gap: var(--ds-sp-05); }
  .cfh-room-price > .cfh-btn-sm { flex-basis: auto; }
  .cfh-room-stay { justify-items: end; text-align: end; }
  .cfh-stay-left { justify-self: end; }
}

/* Your stay (#cfhStay, JS-built, aria-live) */
.cfh-stay {
  margin-block-start: var(--ds-sp-5);
  padding: var(--ds-sp-5);
  border: var(--ds-bw) solid var(--ds-accent-border);
  border-radius: var(--ds-card-r);
  background: var(--ds-surface);
  box-shadow: var(--ds-sh-1);
}
.cfh-stay[hidden] { display: none; }
.cfh-stay.is-busy { opacity: .6; }
.cfh-stay-h { margin: 0 0 var(--ds-sp-1); font-size: var(--ds-fs-18); line-height: var(--ds-lh-24); font-weight: var(--ds-w-semibold); color: var(--ds-text-strong); }
.cfh-stay-lines { display: grid; gap: var(--ds-sp-2); margin: var(--ds-sp-3) 0 var(--ds-sp-2); padding: 0; list-style: none; }
.cfh-stay-lines li { display: flex; justify-content: space-between; gap: var(--ds-sp-3); font-size: var(--ds-fs-14); }
.cfh-stay-lines li > span { min-inline-size: 0; }
.cfh-stay-lines b { font-variant-numeric: tabular-nums; unicode-bidi: plaintext; white-space: nowrap; }
.cfh-stay-sum { display: flex; justify-content: space-between; align-items: baseline; gap: var(--ds-sp-3); padding-block-start: var(--ds-sp-3); border-block-start: var(--ds-bw) solid var(--ds-border); font-weight: var(--ds-w-semibold); }
.cfh-stay-sum b { font-size: var(--ds-fs-20); line-height: var(--ds-lh-28); font-weight: var(--ds-w-bold); color: var(--ds-text-strong); font-variant-numeric: tabular-nums; unicode-bidi: plaintext; }
.cfh-stay-note { margin-block-start: var(--ds-sp-2); }
.cfh-stay-err {
  margin: var(--ds-sp-3) 0 0;
  padding: var(--ds-sp-2h) var(--ds-sp-3);
  padding-inline-start: var(--ds-sp-8);
  border: var(--ds-bw) solid var(--ds-danger-border);
  border-radius: var(--ds-r-md);
  background: var(--ds-danger-bg);
  color: var(--ds-danger-fg);
  font-size: var(--ds-fs-14);
}

/* the big booking buttons (.cfh-btn-book = primary via components.css) */
.cfh-btn-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-sp-2);
  inline-size: 100%;
  min-block-size: var(--ds-ctl-lg);
  margin-block-start: var(--ds-sp-4);
  padding-inline: var(--ds-sp-5);
  border: var(--ds-bw) solid var(--b);
  border-radius: var(--ds-ctl-r);
  font-size: var(--ds-fs-16);
  font-weight: var(--ds-w-semibold);
  line-height: var(--ds-lh-20);
  text-decoration: none;
}
.cfh-stay .cfh-btn-book[disabled] { opacity: .55; cursor: not-allowed; }

.cfh-btn-closed,
.cfh-btn-closed:hover {
  --b: var(--ds-slate-200);
  --bb: var(--ds-slate-200);
  --bf: var(--ds-text-2);
  border-color: var(--ds-slate-200);
  background: var(--ds-slate-200);
  color: var(--ds-text-2);
  box-shadow: none;
  cursor: not-allowed;
}

/* ---------------------------------------------------------------- offers, amenities, reviews, location, policies, contact */
.hv2d-offers { display: grid; gap: var(--ds-sp-3); }
.hv2d-offer {
  display: flex;
  align-items: center;
  gap: var(--ds-sp-4);
  padding: var(--ds-sp-3) var(--ds-sp-4);
  border: var(--ds-bw) solid var(--ds-border);
  border-inline-start: var(--ds-bw-status) solid var(--ds-highlight);
  border-radius: var(--ds-r-md);
  background: var(--ds-surface);
}
.hv2d-offer-pct { flex: none; display: flex; flex-direction: column; align-items: center; font-size: var(--ds-fs-20); line-height: var(--ds-lh-24); font-weight: var(--ds-w-bold); color: var(--ds-highlight-text); font-variant-numeric: tabular-nums; }
.hv2d-offer-pct small { font-size: var(--ds-fs-12); line-height: var(--ds-lh-16); font-weight: var(--ds-w-semibold); }
.hv2d-offer-body { min-inline-size: 0; }
.hv2d-offer-title { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-sp-1) var(--ds-sp-2); font-size: var(--ds-fs-15); font-weight: var(--ds-w-semibold); color: var(--ds-text-strong); }
.hv2d-offer-sub { font-size: var(--ds-fs-13); color: var(--ds-text-muted); }
.hv2d-soon-pill,
.hv2d-ending-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-sp-1);
  padding: var(--ds-sp-05) var(--ds-sp-2);
  border: var(--ds-bw) solid var(--ds-warning-border);
  border-radius: var(--ds-r-full);
  background: var(--ds-warning-bg);
  color: var(--ds-warning-fg);
  font-size: var(--ds-fs-12);
  line-height: var(--ds-lh-16);
  font-weight: var(--ds-w-semibold);
}
.hv2d-soon-pill { border-color: var(--ds-info-border); background: var(--ds-info-bg); color: var(--ds-info-fg); }

.cfh-amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ds-sp-3) var(--ds-sp-4); font-size: var(--ds-fs-15); line-height: var(--ds-lh-22); color: var(--ds-text); }
.cfh-amenities > div { display: flex; align-items: flex-start; gap: var(--ds-sp-2); min-inline-size: 0; }
.cfh-amenities i { flex: none; inline-size: var(--ds-icon-lg); color: var(--ds-accent-fg); font-size: var(--ds-icon-md); text-align: center; }
@media (min-width: 992px) { .cfh-amenities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cfh-score { display: flex; align-items: center; gap: var(--ds-sp-3); margin-block-end: var(--ds-sp-4); }
.cfh-score-big {
  flex: none;
  display: grid;
  place-items: center;
  inline-size: var(--hotel-score);
  block-size: var(--hotel-score);
  border-radius: var(--ds-r-lg) var(--ds-r-lg) var(--ds-r-lg) var(--ds-r-xs);
  background: var(--ds-teal-700);
  color: var(--ds-on-accent);
  font-size: var(--ds-fs-20);
  font-weight: var(--ds-w-bold);
  font-variant-numeric: tabular-nums;
}
.cfh-score b { font-size: var(--ds-fs-18); color: var(--ds-text-strong); }
.cfh-dist { display: grid; gap: var(--ds-sp-1h); max-inline-size: var(--hotel-dist-max); margin-block-end: var(--ds-sp-4); }
.cfh-dist-row { display: grid; grid-template-columns: var(--hotel-dist-label) minmax(0, 1fr) var(--hotel-dist-count); align-items: center; gap: var(--ds-sp-2h); font-size: var(--ds-fs-13); font-weight: var(--ds-w-semibold); font-variant-numeric: tabular-nums; }
.cfh-dist-row i.fa-star { color: var(--ds-highlight); font-size: var(--ds-fs-12); }
.cfh-dist-row > .cfh-muted { text-align: end; }
.cfh-bar { position: relative; display: block; block-size: var(--ds-sp-2); overflow: hidden; border-radius: var(--ds-r-full); background: var(--ds-sand-200); }
.cfh-bar::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: var(--w); border-radius: var(--ds-r-full); background: var(--ds-accent); }
.cfh-review { padding-block: var(--ds-sp-4); border-block-start: var(--ds-bw) solid var(--ds-border); }
.cfh-review-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-sp-1) var(--ds-sp-2h); font-size: var(--ds-fs-14); }
.cfh-review-top b { color: var(--ds-text-strong); }
.cfh-review h3 { margin: var(--ds-sp-2) 0 var(--ds-sp-05); font-size: var(--ds-fs-15); line-height: var(--ds-lh-22); font-weight: var(--ds-w-semibold); color: var(--ds-text-strong); }
.cfh-review p {
  display: -webkit-box;
  margin: var(--ds-sp-1) 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  color: var(--ds-text);
  font-size: var(--ds-fs-15);
  line-height: var(--ds-lh-24);
}
.cfh-more-reviews > summary {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--ds-target);
  color: var(--ds-link);
  font-weight: var(--ds-w-semibold);
  cursor: pointer;
  list-style: none;
}
.cfh-more-reviews > summary::-webkit-details-marker { display: none; }

.cfh-map {
  z-index: 0;
  aspect-ratio: 16 / 9;
  margin-block-end: var(--ds-sp-3);
  border: var(--ds-bw) solid var(--ds-border);
  border-radius: var(--ds-r-lg);
  background: var(--ds-sunken);
}

@media (pointer: coarse) { .cfh .cfh-map .leaflet-bar a { width: var(--ds-target); height: var(--ds-target); line-height: var(--ds-target); } }
.cfh-addr { display: flex; gap: var(--ds-sp-2h); color: var(--ds-text); font-size: var(--ds-fs-15); line-height: var(--ds-lh-22); }
.cfh-addr > i { margin-block-start: var(--ds-sp-1); color: var(--ds-accent-fg); }
.cf-pin { border: 0; background: none; }
.cf-pin span {
  display: inline-block;
  padding: var(--ds-sp-1) var(--ds-sp-2h);
  border-radius: var(--ds-r-full);
  background: var(--ds-accent);
  color: var(--ds-on-accent);
  font-size: var(--ds-fs-13);
  font-weight: var(--ds-w-bold);
  white-space: nowrap;
  box-shadow: var(--ds-sh-2);
  translate: -50% -50%;
}
.cf-pin:is(:hover, :focus) span { background: var(--ds-highlight); color: var(--ds-on-highlight); }

.hv2d-policies { display: grid; gap: var(--ds-sp-2); }
.hv2d-policy { border: var(--ds-bw) solid var(--ds-border); border-radius: var(--ds-r-md); background: var(--ds-surface); }
.hv2d-policy summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-sp-3);
  min-block-size: var(--ds-target);
  padding-inline: var(--ds-sp-4);
  color: var(--ds-text-strong);
  font-weight: var(--ds-w-semibold);
  cursor: pointer;
  list-style: none;
}
.hv2d-policy summary::-webkit-details-marker { display: none; }
.hv2d-policy[open] summary i { rotate: 180deg; }
.hv2d-policy-body { padding: 0 var(--ds-sp-4) var(--ds-sp-3); color: var(--ds-text-2); font-size: var(--ds-fs-14); line-height: var(--ds-lh-22); }
.hv2d-policy-links,
.hv2d-contact-actions { display: flex; flex-wrap: wrap; gap: var(--ds-sp-2); }
.hv2d-chip-link {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-sp-1h);
  min-block-size: var(--ds-target);
  padding-inline: var(--ds-sp-3);
  border: var(--ds-bw) solid var(--ds-border-strong);
  border-radius: var(--ds-r-full);
  background: var(--ds-surface);
  color: var(--ds-text-strong);
  font-size: var(--ds-fs-14);
  font-weight: var(--ds-w-semibold);
  text-decoration: none;
}
@media (hover: hover) { .hv2d-chip-link:hover { background: var(--ds-sunken); color: var(--ds-text-strong); } }
.hv2d-chip-wa i { color: var(--ds-success-solid); }
.hv2d-contact { display: flex; align-items: center; gap: var(--ds-sp-4); }
.hv2d-contact-avatar {
  flex: none;
  display: grid;
  place-items: center;
  inline-size: var(--ds-avatar-lg);
  block-size: var(--ds-avatar-lg);
  border-radius: var(--ds-r-full);
  background: var(--ds-accent-soft);
  color: var(--ds-accent-fg);
  font-size: var(--ds-fs-18);
  font-weight: var(--ds-w-bold);
}
.hv2d-contact-name { margin-block-end: var(--ds-sp-2); font-weight: var(--ds-w-semibold); color: var(--ds-text-strong); }
@media (max-width: 767.98px) {
  /* policies collapse on phones (details); the link chips wrap */
  .hv2d-policy-links { gap: var(--ds-sp-2); }
}

/* ---------------------------------------------------------------- aside booking card */
.cfh-aside { position: relative; min-inline-size: 0; }
.cfh-book {
  padding: var(--ds-sp-5);
  border: var(--ds-bw) solid var(--ds-border-card);
  border-radius: var(--ds-r-xl);
  background: var(--ds-surface);
  box-shadow: var(--ds-sh-2);
}
@media (min-width: 992px) { .cfh-cols > .cfh-aside > .cfh-book { position: sticky; inset-block-start: var(--hotel-sticky-top); } }
.cfh-deal {
  display: inline-flex;
  align-items: center;
  margin-block-end: var(--ds-sp-3);
  padding: var(--ds-sp-1) var(--ds-sp-2h);
  border-radius: var(--ds-r-sm);
  background: var(--ds-teal-800);
  color: var(--ds-on-accent);
  font-size: var(--ds-fs-13);
  line-height: var(--ds-lh-18);
  font-weight: var(--ds-w-bold);
}
.cfh-book-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--ds-sp-1) var(--ds-sp-2); }
.cfh-book-price s { color: var(--ds-text-muted); font-size: var(--ds-fs-15); unicode-bidi: plaintext; }
.cfh-book-price b { font-size: var(--ds-type-price-page-fs); line-height: var(--ds-type-price-page-lh); font-weight: var(--ds-w-bold); color: var(--ds-text-strong); font-variant-numeric: tabular-nums; unicode-bidi: plaintext; }
.cfh-book .cfh-ok { display: flex; align-items: flex-start; gap: var(--ds-sp-1h); margin-block-start: var(--ds-sp-2); }
.cfh-book .cfh-ok::before { content: "\e68a"; font-family: "Phosphor-Bold"; }   /* wallet glyph next to the money-back line */
.cfh-book-note { margin-block-start: var(--ds-sp-1); font-size: var(--ds-fs-12); line-height: var(--ds-lh-16); }
.cfh-book-ends {
  display: flex;
  align-items: center;
  gap: var(--ds-sp-1h);
  margin-block-start: var(--ds-sp-3);
  padding: var(--ds-sp-2) var(--ds-sp-3);
  border-radius: var(--ds-r-md);
  background: var(--ds-highlight-soft);
  color: var(--ds-highlight-text);
  font-size: var(--ds-fs-13);
  font-weight: var(--ds-w-semibold);
}
.cfh-book-next { margin-block-start: var(--ds-sp-2); text-align: center; }
.cfh-book-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ds-sp-2); margin-block-start: var(--ds-sp-3); }
.cfh-book-actions .cfh-btn-o { min-block-size: var(--ds-ctl-md); }
@media (min-width: 992px) {
  .cfh-book-actions .hv2-act-share { display: none; }        /* Share appears once (the H1 row); the aside keeps Map */
  .cfh-book-actions { grid-template-columns: minmax(0, 1fr); }
}
/* one primary per flow: with a quote in #cfhStay the aside "Book now" drops to secondary and the helper shows */
.cfh:has(#cfhStay a.cfh-btn-book) .cfh-aside a.cfh-btn-book {
  --b: var(--ds-surface);
  --bb: var(--ds-border-strong);
  --bf: var(--ds-text-strong);
  --bh: var(--ds-sunken);
  --bbh: var(--ds-border-strong);
  --ba: var(--ds-hover);
  --bba: var(--ds-border-strong);
}
.ds-book-helper { display: none; margin: var(--ds-sp-2) 0 0; text-align: center; }
.cfh:has(#cfhStay a.cfh-btn-book) .ds-book-helper { display: block; }
.cfh:has(#cfhStay a.cfh-btn-book) .cfh-aside .cfh-book-next { display: none; }

/* ---------------------------------------------------------------- sticky booking bar: 3 states, no wrap at 360 */
.hv2d-sticky-cta { display: none; }
.hv2d-nw { white-space: nowrap; }
.hv2d-muted { color: var(--ds-text-muted); }
@media (max-width: 991.98px) {
  .ds-page-hotel body { padding-block-end: calc(var(--hotel-bar-h) + var(--ds-safe-bottom)); }
  .hv2d-sticky-cta {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: var(--ds-z-bottom);
    display: flex;
    align-items: center;
    gap: var(--ds-sp-3);
    min-block-size: calc(var(--hotel-bar-h) + var(--ds-safe-bottom));
    padding: var(--ds-sp-3) var(--ds-gutter) calc(var(--ds-sp-3) + var(--ds-safe-bottom));
    border-block-start: var(--ds-bw) solid var(--ds-border);
    background: var(--ds-surface);
    box-shadow: var(--ds-sh-up);
    transition: transform var(--ds-dur-2) var(--ds-ease-out), visibility var(--ds-dur-2);
  }
  .hv2d-sticky-cta > div:first-child { flex: 1 1 auto; min-inline-size: 0; }
  .hv2d-sticky-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: var(--ds-sp-1);
    font-size: var(--ds-type-price-sticky-fs);
    line-height: var(--ds-type-price-sticky-lh);
    font-weight: var(--ds-w-bold);
    color: var(--ds-text-strong);
    font-variant-numeric: tabular-nums;
    unicode-bidi: plaintext;
  }
  .hv2d-sticky-price small { font-size: var(--ds-fs-12); line-height: var(--ds-lh-16); font-weight: var(--ds-w-regular); color: var(--ds-text-muted); }
  .hv2d-sticky-sub {
    overflow: hidden;
    color: var(--ds-text-muted);
    font-size: var(--ds-fs-12);
    line-height: var(--ds-lh-16);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hv2d-sticky-cta .hv2d-btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-block-size: var(--ds-target);
    padding-inline: var(--ds-sp-3);
    border: var(--ds-bw) solid var(--b);
    border-radius: var(--ds-ctl-r);
    font-size: var(--ds-fs-15);
    font-weight: var(--ds-w-semibold);
    line-height: var(--ds-lh-20);
    text-decoration: none;
    white-space: nowrap;
  }
  .hv2d-sticky-cta.ds-cta-hidden { transform: translateY(100%); visibility: hidden; }
}
@media (min-width: 400px) and (max-width: 991.98px) { .hv2d-sticky-cta .hv2d-btn { padding-inline: var(--ds-sp-5); } }

/* ---------------------------------------------------------------- photo viewer: full-screen night */
.cfh-photos .modal-content { background: var(--ds-night); color: var(--ds-text-on-night); }
.cfh-photos .modal-header { gap: var(--ds-sp-3); border-block-end-color: var(--ds-border-night); }
.cfh-photos .modal-title { min-inline-size: 0; overflow: hidden; color: var(--ds-text-on-night); font-size: var(--ds-fs-16); text-overflow: ellipsis; white-space: nowrap; }
.cfh-photos .ds-ph-count { position: static; flex: none; margin-inline-start: auto; background: var(--ds-night-raised); }
.cfh-photos .btn-close { inline-size: var(--ds-target); block-size: var(--ds-target); margin: 0; }
.cfh-photos .modal-body { display: flex; align-items: center; justify-content: center; }
.cfh-photos #cfhCarousel { inline-size: 100%; max-inline-size: var(--ds-container-detail); }
.cfh-photos .carousel-item img { display: block; inline-size: 100%; max-block-size: calc(100dvh - var(--ds-sp-20) - var(--ds-sp-8)); object-fit: contain; }
.cfh-photos :is(.carousel-control-prev, .carousel-control-next) {
  inset-block-start: 50%;
  inset-block-end: auto;
  inline-size: var(--ds-target);
  block-size: var(--ds-target);
  margin-block-start: calc(var(--ds-target) / -2);
  margin-inline: var(--ds-sp-2);
  border-radius: var(--ds-r-full);
  background: var(--ds-night-raised);
  opacity: 1;
}
.cfh-photos :is(.carousel-control-prev-icon, .carousel-control-next-icon) { inline-size: var(--ds-icon-md); block-size: var(--ds-icon-md); }

/* ---------------------------------------------------------------- More hotels rail frame */
.ds-page-hotel .cf-more { margin-block: var(--ds-sp-4) var(--ds-sp-8); padding-block-start: var(--ds-sp-8); border-block-start: var(--ds-bw) solid var(--ds-border); }

/* steps (hotel page reached with dates = step 1) */
.ds-page-hotel .ds-steps-wrap { margin-block: var(--ds-sp-3) 0; }
