/* Garnet Hotels — fx layout components (extracted from testdesign/hotels-search) */

.fx-page { background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }

.fx-band { background: var(--surface); border-bottom: 1px solid var(--line); padding: 1.5rem 1.25rem 2.5rem; position: relative; z-index: 10; }
.fx-band__inner { max-width: 76rem; margin: 0 auto; text-align: left; }
.fx-band__eyebrow { font-size: 0.72rem; font-weight: 700; color: var(--muted-2); letter-spacing: 0.12em; text-transform: uppercase; }
.fx-band__title { margin: 0.2rem 0 0.5rem; font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
.fx-band__lede { margin: 0; font-size: 0.95rem; color: var(--ink-soft); max-width: 32rem; line-height: 1.4; }

.fx-search { display: grid; gap: 0.65rem; background: #fff; padding: 0.55rem; border-radius: 14px; box-shadow: 0 6px 16px rgba(0,0,0,0.06); border: 1px solid var(--line); max-width: 76rem; margin: 1.5rem auto 0; grid-template-columns: 1fr 1fr 1fr 1fr auto; align-items: end; }
.fx-search__field { padding: 0.45rem 0.65rem; background: var(--surface); border-radius: 8px; border: 1px solid transparent; transition: border-color 0.15s; }
.fx-search__field:focus-within { border-color: var(--garnet-red); background: #fff; }
.fx-search__label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.2rem; }
.fx-search__ctl { width: 100%; border: 0; outline: 0; font: inherit; color: var(--ink); font-size: 0.92rem; font-weight: 600; background: transparent; }
.fx-search__submit { background: var(--ink); color: #fff; border: 0; border-radius: 10px; padding: 0 1.5rem; height: 42px; font: inherit; font-weight: 700; font-size: 0.92rem; cursor: pointer; transition: background 0.18s; white-space: nowrap; }
.fx-search__submit:hover { background: #000; }
@media (max-width: 900px) { .fx-search { grid-template-columns: 1fr 1fr; } .fx-search__submit { grid-column: 1 / -1; height: 48px; } }

.fx-wrap { max-width: 76rem; margin: 0 auto; padding: 1.25rem 1.25rem 3rem; display: grid; gap: 1.1rem; grid-template-columns: 17rem 1fr; align-items: start; width: 100%; }

[hidden] { display: none !important; }

.fx-filters { background: var(--paper, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 0.95rem 1rem 1.1rem; }
.fx-filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
.fx-filters__head h2 { font-size: 0.82rem; margin: 0; letter-spacing: 0.04em; color: var(--ink); }
.fx-filters__reset { background: none; border: 0; color: var(--garnet-red); font: inherit; font-size: 0.74rem; font-weight: 700; cursor: pointer; padding: 0; }
.fx-grp { padding: 0.7rem 0; border-top: 1px solid var(--surface-2); }
.fx-grp:first-of-type { border-top: 0; padding-top: 0; }
.fx-grp h3 { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.55rem; font-weight: 700; }

.fx-check { display: flex; align-items: flex-start; gap: 0.55rem; padding: 0.3rem 0; cursor: pointer; font-size: 0.8rem; font-weight: 500; color: var(--ink-soft); user-select: none; }
.fx-check input { width: 16px; height: 16px; margin-top: 0.1rem; accent-color: var(--garnet-red); cursor: pointer; }
.fx-check span.lbl { flex: 1; line-height: 1.3; }
.fx-check .count { color: var(--muted-2); font-size: 0.75rem; margin-left: auto; }
.fx-check:hover span.lbl { color: var(--ink); }

/* Collapsible filter lists: first N visible; rest revealed via .is-revealed */
.fx-check.fx-filter-hidden:not(.is-revealed) {
  display: none !important;
}
.fx-show-more-btn {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.35rem 0.5rem;
  background: none;
  border: 0;
  color: var(--garnet-red);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.fx-show-more-btn:hover {
  text-decoration: underline;
}

.fx-slider { display: grid; gap: 0.45rem; }
.fx-slider__readout { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; font-weight: 700; color: var(--ink); }
.fx-slider__readout small { color: var(--muted); font-weight: 500; font-size: 0.68rem; }
.fx-slider__track { position: relative; height: 26px; }
.fx-slider__track input[type=range] { position: absolute; width: 100%; -webkit-appearance: none; appearance: none; background: transparent; height: 100%; margin: 0; outline: none; z-index: 2; pointer-events: none; }
.fx-slider__track input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--garnet-red); box-shadow: 0 2px 4px rgba(0,0,0,0.15); cursor: pointer; margin-top: -6px; pointer-events: auto; }
.fx-slider__track input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--garnet-red); box-shadow: 0 2px 4px rgba(0,0,0,0.15); cursor: pointer; pointer-events: auto; }
.fx-slider__track input[type=range]::-moz-range-track { background: transparent; border: 0; }
.fx-slider__track .fill-bg { position: absolute; left:0; right:0; top: 11px; height: 4px; background: var(--surface-2); border-radius: 2px; }
/* Dual-thumb: lower input under upper so both thumbs stay draggable when close */
.fx-slider__track.fx-range-dual input[type=range]:first-of-type { z-index: 3; }
.fx-slider__track.fx-range-dual input[type=range]:last-of-type { z-index: 4; }

/* Horizontal Hotel Cards */
.hx-list { display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 0; list-style: none; }

.hx-card { display: flex; background: #fff; border: 1px solid transparent; border-radius: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; text-align: left; padding: 1.1rem; gap: 1.25rem; outline: none; text-decoration: none; color: inherit; width: 100%; min-height: 190px; align-items: stretch; animation: fxFadeIn 0.3s ease-out; }
@keyframes fxFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.hx-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }

/* Garnet recommended — framed card (Agoda “preferred” style, brand red) */
.hx-card.hx-card--garnet-recommended {
  border: 2px solid var(--garnet-red);
  box-shadow: 0 4px 20px rgba(169, 30, 34, 0.14);
}
.hx-card.hx-card--garnet-recommended:hover {
  border-color: var(--garnet-red);
  box-shadow: 0 14px 32px rgba(169, 30, 34, 0.2);
}

.hx-card__img { width: 220px; flex-shrink: 0; position: relative; background: #e8e9e7; border-radius: 16px; overflow: hidden; }
.hx-card__img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.hx-card__body { flex: 1 1 auto; padding: 0.25rem 0; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.hx-card__head { display: flex; flex-direction: column; gap: 0.15rem; }
.hx-card__title { margin: 0; font-size: 1.18rem; font-weight: 700; color: var(--ink); line-height: 1.25; word-wrap: break-word; }
.hx-card__stars { color: #f5b041; margin-top: 0.2rem; display: flex; }
.hx-card__meta { font-size: 0.82rem; color: var(--muted); margin-top: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hx-card__amenities { margin-top: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.4rem; overflow: hidden; max-height: 52px; }
.hx-card__amenity { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.72rem; color: var(--ink-soft); background: var(--surface); padding: 0.2rem 0.5rem; border-radius: 4px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }

.hx-card__pricing { width: 165px; flex-shrink: 0; border-left: 2px dashed var(--line); padding: 0.25rem 0 0.25rem 1.5rem; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; text-align: right; background: transparent; position: relative; }
.hx-card__badge { transform: translateY(-0.15rem); display: inline-block; background: #e8f5e9; color: #2e7d32; font-size: 0.65rem; font-weight: 700; padding: 0.25rem 0.5rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.hx-card__badge--green { background: #e8f5e9; color: #2e7d32; }
.hx-card__badge--red { background: #fef2f2; color: var(--garnet-red); }
.hx-card__badge--garnet { background: var(--garnet-red); color: #fff; text-transform: none; letter-spacing: 0.02em; border: 0; }
.hx-card__board { display: inline-block; background: #eff6ff; color: #1d4ed8; font-size: 0.65rem; font-weight: 700; padding: 0.25rem 0.5rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; margin-left: 0.35rem; }
.hx-card__dates { font-size: 0.75rem; color: var(--ink-soft); margin-top: 0.25rem; font-weight: 600; }
.hx-card__pp { font-size: 0.72rem; color: var(--garnet-red); font-weight: 700; margin-bottom: 0.3rem; }
.hx-card__flight-info { font-size: 0.72rem; color: #1d4ed8; font-weight: 600; margin-top: 0.3rem; }
.hx-card__price-lbl { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-bottom: 0.15rem; }
.hx-card__price { font-size: 1.45rem; font-weight: 800; color: var(--ink); margin: 0 0 0.6rem; line-height: 1; }
.hx-card__btn { background: var(--garnet-red); color: #fff; border: 0; border-radius: 6px; padding: 0.5rem 0.5rem; font-size: 0.82rem; font-weight: 700; font-family: inherit; width: 100%; cursor: pointer; transition: background 0.15s; }
.hx-card:hover .hx-card__btn { background: #b01b2e; }

/* Sidebar map teaser (hotels search) */
.fx-map-teaser {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 0.85rem;
}
.fx-map-teaser__map { height: 132px; width: 100%; }
.fx-map-teaser__btn {
  display: block;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: var(--garnet-red);
  color: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  transition: background 0.15s;
}
.fx-map-teaser__btn:hover { background: var(--garnet-red-deep, #7a1518); }

/* Hotels map page */
.hm-page {
  max-width: 92rem;
  margin: 0 auto;
  padding: 1.1rem 1.25rem 2.5rem;
  background: var(--bg);
}

/* Top “Back to search” bar */
.hm-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
  margin-bottom: 0.9rem;
}
.hm-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--garnet-red);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: opacity 0.15s, transform 0.15s;
}
.hm-back:hover { opacity: 0.78; transform: translateX(-2px); }
.hm-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.35rem 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.hm-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Toolbar: count · map search · sort · search-this-area */
.hm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.hm-toolbar__count {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-right: auto;
  padding-right: 0.25rem;
}
.hm-toolbar__count::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--garnet-red);
  margin-right: 0.55rem;
  vertical-align: 0.12em;
  box-shadow: 0 0 0 3px rgba(169, 30, 34, 0.15);
}
.hm-toolbar__search {
  position: relative;
  display: flex;
  align-items: center;
  height: 2.5rem;
  flex: 1 1 16rem;
  min-width: 12rem;
  max-width: 24rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.hm-toolbar__search:focus-within {
  border-color: var(--garnet-red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(169, 30, 34, 0.10);
}
.hm-toolbar__search::before {
  content: '';
  position: absolute;
  left: 0.85rem;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6c70' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
  pointer-events: none;
  opacity: 0.85;
}
.hm-toolbar__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 0.85rem 0 2.35rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  outline: 0;
}
.hm-toolbar__input::placeholder { color: var(--muted-2); font-weight: 500; }
.hm-toolbar__iconbtn {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin-right: 0.25rem;
  border-radius: 999px;
  border: 0;
  background: var(--garnet-red);
  color: #fff;
  font-size: 0;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  transition: background-color 0.15s, transform 0.15s;
}
.hm-toolbar__iconbtn:hover { background-color: var(--garnet-red-deep, #7a1518); transform: scale(1.05); }
.hm-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.hm-toolbar__sort,
select.hm-toolbar__sort {
  appearance: none;
  -webkit-appearance: none;
  height: 2.5rem;
  min-width: 12rem;
  padding: 0 2.2rem 0 0.9rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 13px;
}
.hm-toolbar__sort:hover { border-color: var(--ink-soft); }
.hm-toolbar__sort:focus { outline: none; border-color: var(--garnet-red); box-shadow: 0 0 0 3px rgba(169, 30, 34, 0.10); }
.hm-toolbar__area {
  height: 2.5rem;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 0 1.25rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}
.hm-toolbar__area:hover { background: #000; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,0.14); }
.hm-toolbar__area:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }

/* Filters sidebar */
.hm-filters {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.05rem 0.5rem;
  background: #fff;
  max-height: min(78vh, 920px);
  overflow-y: auto;
  min-height: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  scrollbar-width: thin;
}
.hm-filters::-webkit-scrollbar { width: 6px; }
.hm-filters::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

/* Hotels-search filter aside shares classes (.fx-filters, .fx-grp, .fx-check, .fx-slider).
   The map filter pane sits inside .hm-filters which only adds scroll + tighter card. */
.hm-filters .fx-filters__head { padding-bottom: 0.8rem; border-bottom: 1px solid var(--surface-2); }
.hm-filters .fx-filters__head h2 { font-size: 0.92rem; font-weight: 800; letter-spacing: -0.005em; }
.hm-filters #f_hotel_name:focus {
  border-color: var(--garnet-red) !important;
  box-shadow: 0 0 0 3px rgba(169, 30, 34, 0.10);
}

/* 3-column layout */
.hm-layout {
  display: grid;
  grid-template-columns: minmax(280px, 36%) 1fr;
  gap: 1rem;
  align-items: stretch;
  min-height: 70vh;
}
.hm-layout--3 {
  grid-template-columns: minmax(240px, 280px) minmax(290px, 400px) minmax(320px, 1.4fr);
}
@media (max-width: 1200px) {
  .hm-layout--3 {
    grid-template-columns: minmax(220px, 250px) minmax(260px, 1fr) minmax(280px, 1fr);
  }
}

/* List column */
.hm-list-col { min-height: 0; display: flex; flex-direction: column; }
.hm-count {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-left: 0.2rem;
}
.hm-list {
  list-style: none;
  margin: 0;
  padding: 0.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
  overflow-y: auto;
  max-height: min(78vh, 920px);
  scrollbar-width: thin;
}
.hm-list::-webkit-scrollbar { width: 6px; }
.hm-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

.hm-item {
  position: relative;
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.6rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s, background 0.18s;
  animation: fxFadeIn 0.25s ease-out;
}
.hm-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 3px;
  background: var(--garnet-red);
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s, transform 0.18s;
}
.hm-item:hover {
  border-color: var(--ink-soft);
  box-shadow: 0 8px 22px rgba(0,0,0,0.07);
  transform: translateY(-1px);
}
.hm-item--garnet {
  border-color: var(--garnet-red);
  box-shadow: 0 4px 18px rgba(169, 30, 34, 0.10);
}
.hm-item--garnet:hover {
  border-color: var(--garnet-red);
  box-shadow: 0 10px 26px rgba(169, 30, 34, 0.16);
}
.hm-item--active {
  border-color: var(--garnet-red);
  background: #fff;
  box-shadow: 0 10px 28px rgba(169, 30, 34, 0.18);
}
.hm-item--active::before { opacity: 1; transform: translateX(0); }

.hm-item__img {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}
.hm-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.hm-item:hover .hm-item__img img { transform: scale(1.04); }
.hm-item__ph { font-size: 0.62rem; font-weight: 700; color: var(--muted); display: grid; place-items: center; height: 100%; text-align: center; padding: 0.25rem; }
.hm-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.1rem 0;
}
.hm-item__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.005em;
}
.hm-item__stars {
  color: #f5b041;
  font-size: 0.72rem;
  letter-spacing: -0.04em;
  margin-top: 0.05rem;
  line-height: 1;
}
.hm-item__meta {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.hm-item__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.45rem;
  flex-shrink: 0;
  padding: 0.1rem 0;
  min-width: 4.5rem;
}
.hm-item__price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  text-align: right;
  letter-spacing: -0.01em;
}
.hm-item__go {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--garnet-red);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.hm-item__go:hover {
  background: var(--garnet-red);
  color: #fff;
  border-color: var(--garnet-red);
  transform: translateY(-1px);
}

/* Map column */
.hm-map-col { min-height: 0; position: relative; }
.hm-map {
  width: 100%;
  height: min(78vh, 920px);
  min-height: 360px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 6px 22px rgba(0,0,0,0.07), inset 0 0 0 1px rgba(255,255,255,0.6);
  overflow: hidden;
  z-index: 1;
}

/* Empty state */
.hm-empty {
  text-align: center;
  padding: 3rem 1.25rem;
  color: var(--ink-soft);
  max-width: 32rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.hm-empty p { margin: 0 0 0.5rem; font-size: 0.92rem; line-height: 1.5; }
.hm-empty__btn {
  display: inline-block;
  margin-top: 0.9rem;
  background: var(--garnet-red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.hm-empty__btn:hover {
  background: var(--garnet-red-deep, #7a1518);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(169, 30, 34, 0.22);
}

/* Price pins on the map */
.hm-pin-wrap { background: none !important; border: none !important; }
.hm-pin {
  position: relative;
  background: #fff;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.05);
  border: 1.5px solid var(--garnet-red);
  text-align: center;
  letter-spacing: -0.01em;
  transition: box-shadow 0.18s, transform 0.18s, background 0.18s, color 0.18s, border-color 0.18s;
}
.hm-pin::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: inherit;
  border-right: 1.5px solid var(--garnet-red);
  border-bottom: 1.5px solid var(--garnet-red);
  border-radius: 0 0 2px 0;
}
.hm-pin-wrap:hover .hm-pin {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
  z-index: 10;
}
.hm-pin--active {
  background: var(--garnet-red);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 0 0 3px var(--garnet-red), 0 8px 22px rgba(169, 30, 34, 0.45);
  z-index: 15;
}
.hm-pin--active::after { border-color: #fff; }

/* Leaflet overrides for design parity */
.leaflet-container { font-family: inherit; background: var(--surface); }
.leaflet-popup-content-wrapper {
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  border: 1px solid var(--line);
  padding: 0.25rem;
}
.leaflet-popup-content {
  margin: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--ink);
  line-height: 1.4;
}
.leaflet-popup-content strong { font-size: 0.92rem; font-weight: 800; letter-spacing: -0.01em; }
.leaflet-popup-tip { box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.leaflet-popup-close-button { color: var(--muted) !important; font-size: 1.1rem !important; padding: 6px 8px !important; }
.leaflet-popup-close-button:hover { color: var(--ink) !important; }

button.hm-popup-focus {
  margin-top: 0.6rem;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 0;
  background: var(--garnet-red);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
button.hm-popup-focus:hover {
  background: var(--garnet-red-deep, #7a1518);
  transform: translateY(-1px);
}

/* Leaflet zoom controls */
.leaflet-bar { border: 1px solid var(--line) !important; box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important; border-radius: 10px !important; overflow: hidden; }
.leaflet-bar a { background: #fff !important; color: var(--ink) !important; border-bottom: 1px solid var(--surface-2) !important; transition: background 0.15s; }
.leaflet-bar a:last-child { border-bottom: 0 !important; }
.leaflet-bar a:hover { background: var(--surface) !important; color: var(--garnet-red) !important; }

@media (max-width: 900px) {
  .hm-layout,
  .hm-layout--3 { grid-template-columns: 1fr; }
  .hm-map-col { order: -1; }
  .hm-filters { max-height: none; }
  .hm-map { height: 46vh; min-height: 280px; }
  .hm-list { max-height: none; }
  .hm-toolbar__count { flex: 1 0 100%; margin-right: 0; }
  .hm-toolbar__search { max-width: none; }
  .hm-toolbar__sort { flex: 1; min-width: 0; }
  .hm-toolbar__area { flex: 1; }
}

/* Desktop Sorter */
.fx-sort-wrap { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.fx-sort-sel { padding: 0.45rem 1rem 0.45rem 0.6rem; font-size: 0.85rem; font-family: inherit; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); cursor: pointer; outline: none; transition: border-color 0.15s; display: inline-block; }
.fx-sort-sel:hover { border-color: var(--ink-soft); }

/* Mobile Utilities */
.hx-mobile-strip { display: none; }

/* Package price toggle */
.pk-ptoggle { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 0.7rem; }
.pk-ptoggle__btn { flex: 1; border: 0; background: transparent; padding: 0.45rem 0.5rem; font: inherit; font-size: 0.72rem; font-weight: 700; cursor: pointer; color: var(--muted); transition: all 0.15s; text-align: center; }
.pk-ptoggle__btn.is-on { background: var(--garnet-red); color: #fff; }

@media (max-width: 1024px) {
  .fx-wrap { grid-template-columns: 1fr; }

  .hx-mobile-strip { display: flex; align-items: center; gap: 0.6rem; overflow-x: auto; padding: 0.7rem 1.25rem; white-space: nowrap; -webkit-overflow-scrolling: touch; border-bottom: 1px solid var(--line); background: var(--bg); }
  .hx-mobile-strip::-webkit-scrollbar { display: none; }
  .hx-m-pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.85rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: all 0.15s; }
  .hx-m-pill:hover { border-color: var(--ink-soft); }
  .hx-m-pill.is-active { background: var(--garnet-red-soft, rgba(163,42,42,0.08)); border-color: var(--garnet-red); color: var(--garnet-red); }

  .fx-filters { display: none; margin-bottom: 0.5rem; border: 1px solid var(--garnet-red); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
  .fx-filters.is-open { display: block; animation: fxSlideDown 0.25s ease-out; }
  @keyframes fxSlideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

  #dSorter { display: none; }
}

@media (max-width: 1100px) {
  .hx-card { flex-direction: column; }
  .hx-card__img { width: 100%; height: 180px; }
  .hx-card__pricing { width: 100%; border-left: 0; border-top: 2px dashed var(--line); padding: 1.25rem 0 0 0; align-items: flex-start; text-align: left; flex-direction: row; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
  .hx-card__badge { margin-bottom: 0; }
  .hx-card__btn { width: auto; align-self: flex-end; padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* Loading state */
.flow-loading { text-align: center; padding: 3rem 1rem; color: var(--muted); font-size: 1rem; }
.flow-err { color: var(--garnet-red); padding: 1rem; border: 1px solid var(--garnet-red); border-radius: 8px; background: rgba(163,42,42,0.05); }

/* Skeleton loading */
.fx-skel { background: #e8e9ec; border-radius: 4px; animation: fxSkelPulse 1.5s ease-in-out infinite; }
.fx-skel-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.1rem; margin-bottom: 1rem; display: grid; grid-template-columns: 220px 1fr 165px; gap: 1.25rem; min-height: 190px; animation: fxSkelPulse 1.5s ease-in-out infinite; }
.fx-skel-card::before { content: ''; background: #e8e9ec; border-radius: 16px; }
.fx-skel-card::after { content: ''; background: #e8e9ec; border-radius: 8px; opacity: 0.5; }
@keyframes fxSkelPulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
@media (max-width: 1100px) { .fx-skel-card { grid-template-columns: 1fr; min-height: 280px; } }

/* Compact search summary bar */
.fx-searchbar { display: flex; align-items: center; gap: 0.6rem; background: var(--garnet-red); color: #fff; border-radius: 999px; padding: 0.55rem 1.2rem 0.55rem 0.7rem; box-shadow: 0 6px 18px rgba(143,20,28,0.22); max-width: 76rem; margin: 1.5rem auto 0; cursor: pointer; transition: box-shadow 0.2s; }
.fx-searchbar:hover { box-shadow: 0 8px 24px rgba(143,20,28,0.32); }
.fx-searchbar__main { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; background: transparent; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0.3rem 0.5rem; border-radius: 999px; transition: background 0.15s; }
.fx-searchbar__main:hover { background: rgba(255,255,255,0.12); }
.fx-searchbar__icon { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--garnet-red); display: grid; place-items: center; flex-shrink: 0; }
.fx-searchbar__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; text-align: left; }
.fx-searchbar__route { font-size: 0.95rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-searchbar__sub { font-size: 0.72rem; color: rgba(255,255,255,0.8); font-weight: 500; }
.fx-searchbar__dates { font-size: 0.82rem; font-weight: 700; white-space: nowrap; background: rgba(255,255,255,0.15); padding: 0.4rem 0.8rem; border-radius: 999px; }
@media (max-width: 600px) { .fx-searchbar { border-radius: 14px; padding: 0.65rem; } .fx-searchbar__dates { display: none; } }

/* ═══════════════════════════════════════════════
   Hotel Single Page
   ═══════════════════════════════════════════════ */

.fx-tabs-wrap { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.fx-tabs { display: flex; gap: 0; padding: 0 1.25rem; max-width: 1300px; margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fx-tabs__link { padding: 1rem 1.25rem; font-weight: 700; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; transition: color 0.15s, border-color 0.15s; font-size: 0.88rem; }
.fx-tabs__link:hover { color: var(--ink); }
.fx-tabs__link.is-active { color: var(--garnet-red); border-color: var(--garnet-red); }

.fx-grid { max-width: 1300px; margin: 0 auto; padding: 2.5rem 1.25rem 5rem; display: grid; gap: 3rem; grid-template-columns: 1fr 340px; align-items: start; width: 100%; }
.fx-sec { scroll-margin-top: 80px; padding: 2rem 0; border-top: 1px solid var(--line); }
.fx-sec:first-child { border-top: 0; padding-top: 0; }
.fx-sec h2 { font-size: 1.5rem; font-weight: 800; color: var(--ink); margin: 0 0 1.2rem; }

.det-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; height: 420px; border-radius: 16px; overflow: hidden; margin-bottom: 2rem; position: relative; cursor: pointer; }
.det-gallery__img { width: 100%; height: 100%; object-fit: cover; background: var(--surface-2); transition: opacity 0.2s; }
.det-gallery__img:hover { opacity: 0.92; }
.det-gallery > :first-child { grid-row: span 2; }
.det-gallery__more { position: absolute; bottom: 12px; right: 12px; background: #fff; color: var(--ink); font-weight: 700; font-size: 0.82rem; padding: 0.5rem 1rem; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0,0,0,0.1); cursor: pointer; z-index: 2; }

.hl-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.hl-item { display: flex; gap: 0.75rem; align-items: center; }
.hl-item__ico { width: 40px; height: 40px; border-radius: 10px; background: #fef2f2; color: var(--garnet-red); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.hl-item__title { font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.hl-item__sub { font-size: 0.78rem; color: var(--muted); }

.gtk-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem; }
.gtk-card dt { color: var(--muted); font-size: 0.78rem; }
.gtk-card dd { font-weight: 600; font-size: 0.82rem; color: var(--ink); text-align: right; }

.room-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 1rem; transition: border-color 0.15s, box-shadow 0.15s; }
.room-card:hover { border-color: var(--garnet-red); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.room-card__grid { display: grid; grid-template-columns: 260px 1fr; }
.room-card__img-wrap { position: relative; background: var(--surface-2); min-height: 200px; padding: 0.75rem; }
.room-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.room-card__photo-count { position: absolute; bottom: 1.1rem; left: 1.1rem; background: rgba(0,0,0,0.7); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.room-card__body { padding: 1.25rem 1.5rem; }
.room-card__title { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin: 0 0 0.4rem; }
.room-card__specs { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.78rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 0.5rem; }
.room-card__facs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.room-card__fac { background: #fef2f2; color: var(--garnet-red); font-size: 0.65rem; font-weight: 700; padding: 0.3rem 0.5rem; border-radius: 4px; text-transform: uppercase; }

.rate-row { display: flex; gap: 1rem; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 0.85rem 1rem; margin-bottom: 0.5rem; background: var(--surface); transition: border-color 0.15s, background 0.15s; }
.rate-row:hover { border-color: var(--garnet-red); background: #fff; }
.rate-row.is-best { border-color: #16a34a; background: #f0fdf4; }
.rate-row__best { display: none; background: #16a34a; color: #fff; font-size: 0.6rem; font-weight: 800; padding: 2px 6px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.08em; margin-left: 6px; }
.rate-row.is-best .rate-row__best { display: inline-flex; }
.rate-row__details { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 0.72rem; font-weight: 600; color: var(--ink-soft); margin-top: 0.3rem; }
.rate-row__note { font-size: 0.7rem; color: var(--muted); margin-top: 0.2rem; }
.rate-row__price { font-size: 1.25rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.rate-row__pn { font-size: 0.65rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.rate-row__btn { background: var(--garnet-red); color: #fff; border: 0; border-radius: 8px; padding: 0.55rem 1rem; font-weight: 700; font-size: 0.82rem; cursor: pointer; white-space: nowrap; transition: background 0.15s; margin-top: 0.35rem; }

.fac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.6rem; }
.fac-pill { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.fac-pill__dot { width: 18px; height: 18px; border-radius: 50%; background: #f0fdf4; color: #16a34a; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.rev-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px 10px 10px 0; color: #fff; font-weight: 800; font-size: 1rem; }
.rev-badge--super { background: #065f46; } .rev-badge--great { background: #16a34a; } .rev-badge--good { background: #22c55e; } .rev-badge--ok { background: #f59e0b; } .rev-badge--bad { background: #ef4444; }
.rev-bar { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.rev-bar__fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #16a34a, #22c55e); }
.rev-quote { border: 1px solid var(--line); border-radius: 10px; padding: 0.85rem 1rem; margin-bottom: 0.6rem; }
.rev-quote__avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.82rem; color: var(--ink-soft); flex-shrink: 0; }

.pol-item h4 { font-weight: 700; color: var(--ink); margin: 0 0 0.3rem; font-size: 0.95rem; }
.pol-item p { color: var(--ink-soft); line-height: 1.6; font-size: 0.88rem; margin: 0 0 1rem; }

.fx-grid__aside { position: sticky; top: 80px; align-self: start; }
.sticky-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.sticky-card__price { font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1; margin: 0.25rem 0; }
.sticky-card__pn { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.sticky-card__btn { width: 100%; background: var(--garnet-red); color: #fff; height: 50px; border-radius: 10px; font-weight: 800; font-size: 1rem; border: 0; cursor: pointer; transition: background 0.15s; margin-top: 1rem; }
.sticky-card__btn:hover { background: #b01b2e; }
.sticky-card__row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 500; color: var(--ink-soft); margin-top: 0.5rem; }
.sticky-card__row svg { color: #16a34a; flex-shrink: 0; }
.sticky-card__breakdown { font-size: 0.78rem; color: var(--ink-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0.75rem 0; margin: 1rem 0; }
.sticky-card__breakdown div { display: flex; justify-content: space-between; margin-bottom: 0.2rem; }
.sticky-card__breakdown .total-row { font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); padding-top: 0.4rem; margin-top: 0.4rem; }

.nearby-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.6rem; border-radius: 8px; transition: background 0.1s; }
.nearby-item:hover { background: var(--surface); }
.nearby-item__dist { font-size: 0.78rem; font-weight: 700; color: var(--muted); margin-left: auto; }

.truncate-3 { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.92); display: none; flex-direction: column; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox__close { position: absolute; top: 1.25rem; right: 1.25rem; background: rgba(255,255,255,0.15); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; display: grid; place-items: center; transition: background 0.15s; z-index: 2; }
.lightbox__close:hover { background: rgba(255,255,255,0.3); }
.lightbox__counter { position: absolute; top: 1.5rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-weight: 700; font-size: 0.85rem; z-index: 2; }
.lightbox__main { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; padding: 3rem 4.5rem 1rem; min-height: 0; }
.lightbox__img { max-width: min(92vw, 1920px); max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 8px; user-select: none; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; display: grid; place-items: center; transition: background 0.15s; z-index: 2; }
.lightbox__nav:hover { background: rgba(255,255,255,0.35); }
.lightbox__nav--prev { left: 1.25rem; }
.lightbox__nav--next { right: 1.25rem; }
.lightbox__thumbs { display: flex; gap: 6px; padding: 1rem 1.25rem 1.5rem; overflow-x: auto; max-width: 100%; justify-content: center; -webkit-overflow-scrolling: touch; }
.lightbox__thumb { width: 56px; height: 40px; border-radius: 6px; object-fit: cover; cursor: pointer; border: 2px solid transparent; opacity: 0.5; transition: opacity 0.15s, border-color 0.15s; flex-shrink: 0; }
.lightbox__thumb:hover { opacity: 0.8; }
.lightbox__thumb.is-active { opacity: 1; border-color: var(--garnet-red); }

@media (max-width: 1024px) {
  .fx-grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 6rem; }
  .fx-grid__aside { position: fixed !important; bottom: calc(var(--tabbar-h, 74px) + var(--safe-bottom, 0px)) !important; top: auto !important; left: 0; right: 0; z-index: 100; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,0.08); padding: 0.75rem 1.25rem; }
  .sticky-card { border: none; box-shadow: none; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .sticky-card__breakdown, .sticky-card__row, .sticky-card > div:first-child, .sticky-card__pn { display: none !important; }
  .sticky-card__price { font-size: 1.4rem; margin: 0; }
  .sticky-card__btn { margin: 0; height: 46px; width: auto; flex: 0 1 180px; }
}
@media (max-width: 768px) {
  .room-card__grid { grid-template-columns: 1fr; }
  .room-card__img-wrap { height: 200px; }
  .rate-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .det-gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 260px; }
  .det-gallery > :not(:first-child) { display: none; }
  .lightbox__main { padding: 3rem 0.5rem; }
  .lightbox__nav { width: 36px; height: 36px; font-size: 1.1rem; }
}

/* Hotel Single — Change Dates Bar */
.hs-dates-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1.25rem; margin-bottom: 1.25rem; }
.hs-dates-bar__info { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.hs-dates-bar__btn { background: none; border: 1.5px solid var(--garnet-red); color: var(--garnet-red); font: inherit; font-weight: 700; font-size: 0.82rem; padding: 0.5rem 1rem; border-radius: 8px; cursor: pointer; transition: background 0.15s, color 0.15s; white-space: nowrap; }
.hs-dates-bar__btn:hover { background: var(--garnet-red); color: #fff; }

.hs-dates-form { background: #fff; border: 2px solid var(--garnet-red); border-radius: 14px; padding: 1.25rem; margin-bottom: 1.25rem; animation: fxFadeIn 0.2s ease-out; }
.hs-dates-form__fields { display: flex; align-items: flex-end; gap: 0.75rem; flex-wrap: wrap; }
.hs-dates-form__field { display: flex; flex-direction: column; gap: 0.25rem; }
.hs-dates-form__field label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.hs-dates-form__field input { border: 1px solid var(--line); border-radius: 8px; padding: 0.55rem 0.75rem; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--ink); outline: none; transition: border-color 0.15s; min-width: 130px; }
.hs-dates-form__field input:focus { border-color: var(--garnet-red); }
.hs-dates-form__apply { background: var(--garnet-red); color: #fff; border: 0; border-radius: 8px; padding: 0.6rem 1.25rem; font: inherit; font-weight: 700; font-size: 0.88rem; cursor: pointer; white-space: nowrap; transition: background 0.15s; }
.hs-dates-form__apply:hover { background: #b01b2e; }
.hs-dates-form__cancel { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; font-size: 0.82rem; cursor: pointer; padding: 0.5rem; }
.hs-dates-form__cancel:hover { color: var(--ink); }
@media (max-width: 600px) { .hs-dates-form__fields { flex-direction: column; align-items: stretch; } .hs-dates-form__field input { width: 100%; } }

.sticky-card__dates-row { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--line); }

/* ═══════════════════════════════════════════════
   Guest Details Form Overlay
   ═══════════════════════════════════════════════ */

.gf-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9998; display: none; align-items: center; justify-content: center; padding: 2rem; overflow-y: auto; }
.gf-overlay.is-open { display: flex; }
.gf-modal { background: #fff; width: 100%; max-width: 720px; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 48px rgba(0,0,0,0.2); animation: fmSlideUp 0.3s cubic-bezier(0.16,1,0.3,1); max-height: 95vh; display: flex; flex-direction: column; }
.gf-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 1.5rem 1.75rem; background: #fff; border-bottom: 1px solid var(--line); }
.gf-head h2 { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.gf-head__sub { margin: 0.25rem 0 0; font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.gf-close { background: var(--surface); border: 0; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1.25rem; color: var(--ink); display: grid; place-items: center; transition: background 0.15s; flex-shrink: 0; }
.gf-close:hover { background: var(--surface-2); }
.gf-body { padding: 1.5rem 1.75rem 2rem; overflow-y: auto; flex: 1; }

.gf-summary { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; display: flex; gap: 1rem; align-items: center; }
.gf-summary__img { width: 80px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--surface-2); }
.gf-summary__info { flex: 1; min-width: 0; }
.gf-summary__hotel { font-weight: 700; font-size: 0.95rem; color: var(--ink); margin: 0 0 0.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-summary__room { font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; }
.gf-summary__dates { font-size: 0.75rem; color: var(--muted); margin-top: 0.15rem; }
.gf-summary__price { font-size: 1.15rem; font-weight: 800; color: var(--ink); white-space: nowrap; flex-shrink: 0; }

.gf-form__section-title { font-size: 0.88rem; font-weight: 800; color: var(--ink); margin: 0 0 0.75rem; }
.gf-form__row { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.gf-form__field { display: flex; flex-direction: column; gap: 0.25rem; }
.gf-form__field--grow { flex: 1; min-width: 160px; }
.gf-form__field label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.gf-form__field input, .gf-form__field select, .gf-form__field textarea { border: 1px solid var(--line); border-radius: 8px; padding: 0.6rem 0.75rem; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--ink); outline: none; transition: border-color 0.15s; width: 100%; }
.gf-form__field input:focus, .gf-form__field select:focus, .gf-form__field textarea:focus { border-color: var(--garnet-red); }
.gf-form__field input.is-invalid, .gf-form__field select.is-invalid { border-color: var(--garnet-red); background: #fef2f2; }
.gf-form__field textarea { resize: vertical; min-height: 70px; }

.gf-form__agree { margin: 1.25rem 0; padding: 1rem; background: var(--surface); border-radius: 10px; border: 1px solid var(--line); }
.gf-form__actions { text-align: center; }
.gf-form__submit { background: var(--garnet-red); color: #fff; border: 0; border-radius: 10px; padding: 0.85rem 2.5rem; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; transition: background 0.15s; min-width: 220px; }
.gf-form__submit:hover { background: #b01b2e; }
.gf-form__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.gf-form__note { font-size: 0.75rem; color: var(--muted); margin: 0.75rem 0 0; font-weight: 500; }
.gf-form__error { color: var(--garnet-red); font-weight: 600; font-size: 0.85rem; margin-top: 1rem; padding: 0.75rem 1rem; background: #fef2f2; border-radius: 8px; border: 1px solid #fca5a5; }

@media (max-width: 600px) {
  .gf-overlay { padding: 0; align-items: flex-end; }
  .gf-modal { border-radius: 24px 24px 0 0; max-height: 95vh; }
  .gf-form__row { flex-direction: column; }
  .gf-summary { flex-direction: column; align-items: flex-start; }
}

/* Package hold — full page (not modal) */
.ph-hold-root { max-width: 720px; margin: 0 auto; padding: 1.25rem 1.25rem 3rem; }
.ph-hold__back { margin-bottom: 0.75rem; }
.ph-hold__back-link { color: var(--garnet-red); font-weight: 700; font-size: 0.88rem; text-decoration: none; }
.ph-hold__back-link:hover { text-decoration: underline; }
.ph-hold__intro { margin-bottom: 1rem; }
.ph-hold__intro .gf-head h2 { font-size: 1.5rem; }
.ph-hold__err { text-align: center; color: var(--muted); font-weight: 600; padding: 2rem 0; }
.ph-hold-root .gf-form { margin-top: 0; }

/* Hold request pages — same pricing + flight context as detail sticky card */
.hold-summary-wrap { display: block; background: transparent; border: 0; padding: 0; margin-bottom: 1.5rem; }
.hold-summary-card { margin-bottom: 0; }
.hold-summary-card__head { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 0.75rem; }
.hold-summary-card__img { width: 80px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--surface-2); }
.hold-summary-card__img--ph { display: block; }
.hold-summary-card__main { flex: 1; min-width: 12rem; }
.hold-summary-card__title { font-weight: 800; font-size: 1.05rem; margin: 0 0 0.25rem; color: var(--ink); line-height: 1.2; }
.hold-summary-card__sub { font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; margin: 0 0 0.2rem; }
.hold-summary-card__dates { font-size: 0.78rem; color: var(--muted); margin: 0 0 0.15rem; }
.hold-summary-card__guests { font-size: 0.75rem; color: var(--muted); font-weight: 600; margin: 0; }
.hold-summary-card__price { text-align: right; flex-shrink: 0; min-width: 7rem; }
.hold-summary-card__flight { margin-top: 0.75rem; }
.hold-summary-card__flight .ps-fly { margin: 0; padding: 1rem 0 0; border: 0; border-radius: 0; border-top: 1px dashed var(--line); }
.hold-summary-card__flight .ps-fly__head { font-size: 0.88rem; margin-bottom: 0.65rem; }
@media (max-width: 600px) {
  .hold-summary-card__head { flex-direction: column; }
  .hold-summary-card__price { text-align: left; width: 100%; }
}

/* ═══════════════════════════════════════════════
   Hold Confirmation Page
   ═══════════════════════════════════════════════ */

.hc-wrap { max-width: 580px; margin: 0 auto; padding: 3rem 1.5rem; text-align: center; }
.hc-check { color: #16a34a; margin-bottom: 1.5rem; animation: hcPop 0.5s cubic-bezier(0.16,1,0.3,1); }
@keyframes hcPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hc-title { font-size: 2rem; font-weight: 800; color: var(--ink); margin: 0 0 0.5rem; letter-spacing: -0.02em; }
.hc-sub { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.5; margin: 0 0 2rem; }

.hc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem 1.5rem; text-align: left; margin-bottom: 1.5rem; }
.hc-card__row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.hc-card__row:last-child { border-bottom: 0; }
.hc-card__row span { color: var(--muted); font-weight: 500; }
.hc-card__row strong { color: var(--ink); font-weight: 700; text-align: right; }
.hc-card__row--total { border-top: 2px solid var(--line); padding-top: 0.75rem; margin-top: 0.25rem; }
.hc-card__row--total strong { font-size: 1.15rem; color: var(--garnet-red); }

.hc-ref { margin-bottom: 2rem; font-size: 0.85rem; color: var(--muted); }
.hc-ref strong { color: var(--ink); font-size: 1rem; margin-left: 0.35rem; letter-spacing: 0.02em; }

.hc-next { text-align: left; margin-bottom: 2.5rem; }
.hc-next h3 { font-size: 1rem; font-weight: 800; color: var(--ink); margin: 0 0 1rem; }
.hc-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.hc-steps li { display: flex; gap: 0.85rem; align-items: flex-start; }
.hc-steps__num { width: 28px; height: 28px; border-radius: 50%; background: var(--garnet-red); color: #fff; font-weight: 800; font-size: 0.78rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hc-steps li strong { font-size: 0.88rem; color: var(--ink); display: block; margin-bottom: 0.15rem; }
.hc-steps li p { margin: 0; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.4; }

.hc-actions { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.hc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 2rem; border-radius: 10px; font: inherit; font-weight: 700; font-size: 0.95rem; text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.1s; min-width: 260px; }
.hc-btn--wa { background: #25d366; color: #fff; border: 0; }
.hc-btn--wa:hover { background: #1fb855; transform: translateY(-1px); }
.hc-btn--home { background: none; border: 1.5px solid var(--line); color: var(--ink); }
.hc-btn--home:hover { border-color: var(--ink); }

/* ═══════════════════════════════════════════════
   Package Single — Flight Card & Modal
   ═══════════════════════════════════════════════ */

.ps-fly { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; }
.ps-fly__head { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin: 0 0 0.15rem; }
.ps-fly__sub { font-size: 0.85rem; color: var(--muted); margin: 0 0 1rem; }
.ps-fly__legs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ps-fly__leg { padding: 0.75rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.ps-fly__leg-times { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin-bottom: 0.15rem; }
.ps-fly__leg-next { font-size: 0.75rem; color: #d97706; font-weight: 700; margin-left: 4px; }
.ps-fly__leg-airline { font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; margin-top: 0.2rem; }
.ps-fly__leg-route { font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; }
.ps-fly__leg-meta { font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; }
.ps-fly__return-note { font-size: 0.8rem; line-height: 1.45; color: var(--muted); margin: 0.75rem 0 0; padding: 0.65rem 0.85rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.ps-fly__footer { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 1rem; }
.ps-fly__bags { font-size: 0.82rem; color: var(--ink-soft); display: flex; align-items: center; gap: 0.4rem; font-weight: 600; }
.ps-fly__details-link { font-size: 0.85rem; font-weight: 700; color: var(--garnet-red); text-decoration: none; white-space: nowrap; }
.ps-fly__details-link:hover { text-decoration: underline; }
.ps-fly__actions { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.ps-fly__change-note { font-size: 0.78rem; line-height: 1.5; color: var(--muted); margin: 0 0 0.65rem; text-align: center; max-width: 42rem; margin-left: auto; margin-right: auto; }
.ps-fly__change-note strong { color: var(--ink-soft); font-weight: 800; }
.ps-fly__change { width: 100%; text-align: center; padding: 0.65rem 1rem; border: 1.5px solid var(--garnet-red); border-radius: 10px; background: none; color: var(--garnet-red); font: inherit; font-weight: 700; font-size: 0.88rem; cursor: pointer; transition: background 0.15s, color 0.15s; margin-top: 0; }
.ps-fly__change:hover { background: var(--garnet-red); color: #fff; }

.ps-ptoggle { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; font-size: 0.7rem; font-weight: 700; margin: 0.5rem 0 1rem; }
.ps-ptoggle__btn { flex: 1; padding: 0.35rem 0.65rem; background: #fff; border: 0; cursor: pointer; color: var(--muted); font: inherit; font-weight: 700; transition: all 0.15s; }
.ps-ptoggle__btn.is-on { background: var(--garnet-red); color: #fff; }

/* Flight Change Modal */
.fm-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 2rem; }
.fm-overlay.is-open { display: flex; }
.fm-modal { background: #f8f9fa; width: 100%; max-width: 1100px; height: 90vh; border-radius: 24px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 48px rgba(0,0,0,0.2); animation: fmSlideUp 0.3s cubic-bezier(0.16,1,0.3,1); }
@keyframes fmSlideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.fm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.5rem; background: #fff; border-bottom: 1px solid var(--line); }
.fm-head h2 { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.fm-head__titles { flex: 1; min-width: 0; }
.fm-sub { margin: 0.35rem 0 0; font-size: 0.82rem; color: var(--muted); font-weight: 600; line-height: 1.4; max-width: 36rem; }
.fm-close { flex-shrink: 0; align-self: flex-start; background: var(--surface); border: 0; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1.25rem; color: var(--ink); display: grid; place-items: center; transition: background 0.15s; }
.fm-close:hover { background: var(--surface-2); }

.fm-body { flex: 1; display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem; padding: 1.5rem; overflow-y: auto; }
.fm-sidebar { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; }
.fm-list { display: flex; flex-direction: column; gap: 1rem; }

.fm-fcard { background: #fff; border: 2px solid transparent; border-radius: 12px; padding: 1.25rem; display: flex; gap: 1.5rem; align-items: center; box-shadow: 0 4px 12px rgba(0,0,0,0.04); transition: border-color 0.15s; }
.fm-fcard.is-active { border-color: var(--garnet-red); }
.fm-fcard__legs { flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.fm-fcard__leg { display: flex; gap: 1.5rem; align-items: center; }
.fm-fcard__times { width: 110px; font-size: 1rem; font-weight: 800; color: var(--ink); }
.fm-fcard__route { flex: 1; font-size: 0.85rem; color: var(--ink-soft); }
.fm-fcard__dur { width: 140px; font-size: 0.8rem; color: var(--muted); }
.fm-fcard__airline { width: 120px; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); text-align: right; }

.fm-fcard__act { border-left: 1px dashed var(--line); padding-left: 1.5rem; text-align: right; width: 160px; flex-shrink: 0; }
.fm-fcard__diff { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-bottom: 0.25rem; }
.fm-fcard__diff.is-up { color: var(--garnet-red); }
.fm-fcard__btn { background: var(--garnet-red); color: #fff; border: 0; border-radius: 8px; padding: 0.6rem 1rem; width: 100%; font: inherit; font-weight: 800; font-size: 0.9rem; cursor: pointer; }
.fm-fcard.is-active .fm-fcard__btn { background: var(--ink); cursor: default; }

.fm-filter-group { margin-bottom: 1.25rem; }
.fm-filter-group h4 { margin: 0 0 0.5rem; font-size: 0.82rem; font-weight: 800; color: var(--ink); }
.fm-check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 0.4rem; cursor: pointer; user-select: none; }
.fm-check input[type=checkbox] { accent-color: var(--garnet-red); width: 16px; height: 16px; }

@media (max-width: 1024px) {
  .fm-body { grid-template-columns: 1fr; padding: 1rem; }
  .fm-sidebar { display: none; }
  .fm-overlay { padding: 0; }
  .fm-modal { height: 100vh; border-radius: 0; }
  .fm-fcard { flex-direction: column; align-items: stretch; }
  .fm-fcard__leg { flex-direction: column; gap: 0.25rem; align-items: flex-start; }
  .fm-fcard__airline { text-align: left; }
  .fm-fcard__act { border-left: 0; border-top: 1px dashed var(--line); padding-left: 0; padding-top: 1rem; margin-top: 0.5rem; text-align: left; width: auto; display: flex; align-items: center; justify-content: space-between; }
  .fm-fcard__btn { width: auto; }
  .ps-fly__legs { grid-template-columns: 1fr; }
}
