/* ---------- Hotels: search form, start page rows, results, map ---------- */

/* Search form: destination · check-in / nights / check-out · rooms & guests · Search */
.hs__row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.7fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}
.hs__dates {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
/* Sits on the top edge between the two date boxes, so it never covers the dates. */
.hs__nights {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.hs__row .qbox input::placeholder {
  color: #b5b5b5;
  font-weight: 500;
}
.hs__nat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}
.hs__nat .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.hs-rooms {
  width: 340px;
  max-height: min(70vh, 560px);
  overflow-y: auto;
}
.hs-room {
  padding-bottom: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.hs-room__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.hs-room__head strong {
  font-family: Poppins, Inter, sans-serif;
  font-size: 14px;
}
.hs-room__head .link {
  font-size: 13px;
}
.hs-ages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 4px 0 10px;
}
.hs-ages .select {
  height: 36px;
  font-size: 13px;
}
.hs-rooms > .btn--ghost {
  margin-bottom: 12px;
}

/* Stars, used in cards, filters and map popups */
.h-stars {
  display: inline-flex;
  gap: 1px;
  color: #f2a900;
}
.h-stars .icon {
  width: 13px;
  height: 13px;
  fill: currentColor;
  stroke: none;
}

/* Start page: hotel photo instead of an airline logo */
.fl-row:has(> .h-thumb) {
  grid-template-columns: 56px minmax(0, 1fr) auto;
}
.h-thumb {
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
}
.h-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Results: sort tabs, toolbar */
.hsort {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hsort em {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.htools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hcount {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.htools .sort__view {
  padding: 0;
  border: 0;
}
.hview button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hview .icon {
  width: 15px;
  height: 15px;
}

/* Filters extras */
.hname {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.3s var(--ease);
}
.hname:focus-within {
  border-color: var(--primary);
}
.hname .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.hname input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  font-size: 13px;
}
.hpills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hpills button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.hpills button:hover {
  border-color: var(--ink);
}
.hpills button[aria-pressed='true'] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.fopt__name .h-stars {
  margin-right: 2px;
}

/* Hotel card (Booking.com / Agoda layout: photo · details · price) */
.skel--hotel {
  height: 230px;
}
.hcard {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 210px;
  overflow: hidden;
  animation: rise 0.7s var(--ease) backwards;
  transition:
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.hcard:hover {
  border-color: #d6d6d6;
  box-shadow: 0 12px 30px rgba(16, 16, 16, 0.07);
}
.hcard__photo {
  position: relative;
  display: block;
  min-height: 220px;
  overflow: hidden;
  background: var(--surface);
}
.hcard__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.hcard:hover .hcard__photo img {
  transform: scale(1.04);
}
.hcard__type {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.hcard__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
}
.hcard__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.hcard__head h3 {
  font-family: Poppins, Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.hcard__head h3 a {
  transition: color 0.3s var(--ease);
}
.hcard__head h3 a:hover {
  color: var(--primary);
}
.hcard__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}
.hscore {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  text-align: right;
}
.hscore b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.hscore span {
  color: var(--muted);
  font-size: 12px;
}
.hscore strong {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px 10px 10px 2px;
  background: var(--ink);
  color: #fff;
  font: 600 15px 'Poppins', sans-serif;
}
.hcard__dist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-size: 13px;
}
.hcard__dist .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.hcard__dist.is-umrah .icon {
  color: var(--ink);
}
.hcard__dist b {
  color: var(--ink);
  font-weight: 600;
}
.hcard__dist .link {
  margin-left: 4px;
  font-size: 13px;
}
.hcard__room {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--page);
  font-size: 13px;
}
.hcard__room .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.hcard__room b {
  font-weight: 600;
}
.hcard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.hcard__fac {
  display: flex;
  gap: 12px;
  margin-top: auto;
  color: var(--muted);
}
.hcard__fac .icon {
  width: 16px;
  height: 16px;
}
/* Right column: review score on top, price and button at the bottom (Booking.com). */
.hcard__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-left: 1px solid var(--line);
  text-align: right;
}
.hcard__amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.hcard__amount strong {
  font: 600 24px/1.15 'Poppins', sans-serif;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hcard__amount .per {
  color: var(--muted);
  font-size: 12px;
}
.hcard__amount .earn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 12px;
  font-weight: 600;
}
.hcard__amount .earn .icon {
  width: 12px;
  height: 12px;
}
.hcard__amount .btn {
  margin-top: 12px;
}

/* Map view */
.hmap {
  height: min(72vh, 680px);
  overflow: hidden;
}
#hmap-canvas {
  width: 100%;
  height: 100%;
}
.hpin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(16, 16, 16, 0.12);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(16, 16, 16, 0.16);
  color: var(--ink);
  font: 600 12px Inter, sans-serif;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}
.hpin:hover {
  background: var(--ink);
  color: #fff;
}
.hpin--land {
  background: var(--ink);
  color: #fff;
}
.hpin .icon {
  width: 14px;
  height: 14px;
}
.hpop {
  margin: -13px -19px -13px -20px;
}
.hpop img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}
.hpop__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 14px;
  font: 13px Inter, sans-serif;
}
.hpop__body b {
  font: 600 15px Poppins, sans-serif;
}
.hpop__body span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.hpop__body .h-stars {
  color: #f2a900;
}
.hpop__body strong {
  margin-top: 4px;
  font: 600 18px Poppins, sans-serif;
}
.hpop__body .btn {
  margin-top: 6px;
  color: #fff;
}
.leaflet-popup-content-wrapper {
  overflow: hidden;
  border-radius: 14px;
}

/* Responsive */
@media (max-width: 1280px) {
  .hs__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  /* Same height as the fields next to it (66px), like the Flights search */
  .hs__row .qs__go {
    min-height: 66px;
  }
  .hcard {
    grid-template-columns: 210px minmax(0, 1fr) 190px;
  }
}
@media (max-width: 1100px) {
  /* One column that never grows wider than the screen. */
  body[data-page='hotelSearch'] .res-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  body[data-page='hotelSearch'] .stream__text {
    white-space: normal;
  }
  .htools__ctl .sort__view {
    flex-wrap: wrap;
  }
  .hsort {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hsort > button:nth-child(3) {
    border-left: 0;
  }
  .hsort > button:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .hcard {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .hcard__price {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 12px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .hcard__price {
    justify-content: space-between;
  }
  .hcard__amount .btn {
    margin-top: 8px;
  }
}
@media (max-width: 640px) {
  .hs__row {
    grid-template-columns: minmax(0, 1fr);
  }
  /* The flight form makes Search span two columns on phones; here it is one column. */
  .hs__row > * {
    grid-column: auto;
  }
  .hs-rooms {
    left: 0;
    width: auto;
  }
  .hcard {
    grid-template-columns: 1fr;
  }
  .hcard__photo {
    min-height: 180px;
  }
  .hcard__body {
    padding: 16px;
  }
  .hscore {
    flex-direction: row-reverse;
    text-align: left;
  }
  .hcard__price {
    align-items: flex-end;
    padding: 14px 16px;
  }
}

/* ---------- Hotel page (Booking.com layout) ---------- */
body[data-page='hotel'] #content > .res-back {
  margin-bottom: 4px;
}
/* Name and address on the left, score, price and "See rooms" on the right. */
.hp-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px 24px;
}
.hp-head__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hp-type {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}
.hp-head h1 {
  margin-top: 4px;
  font-size: 28px;
  line-height: 1.25;
}
.hp-addr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
}
.hp-addr > .icon {
  width: 16px;
  height: 16px;
  margin-right: -8px;
  color: var(--muted);
}
.hp-dist {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
}
.hp-dist.is-umrah {
  background: var(--ink);
  color: #fff;
}
.hp-dist .icon {
  width: 15px;
  height: 15px;
}
.hp-head__side {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hp-from {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--muted);
  font-size: 12px;
}
.hp-from strong {
  color: var(--ink);
  font: 600 22px/1.2 'Poppins', sans-serif;
}
.hp-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 8px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: var(--radius);
}
.hp-gallery__ph {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.hp-gallery__ph.is-main {
  grid-row: span 2;
}
.hp-gallery__ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.hp-gallery__ph:hover img {
  transform: scale(1.04);
}
.hp-gallery__more {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.hp-gallery__more .icon {
  width: 15px;
  height: 15px;
}
.hp-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 4px;
  margin-top: 20px;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  scrollbar-width: none;
}
.hp-tabs a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease);
}
.hp-tabs a:hover {
  background: var(--page);
  color: var(--ink);
}
.hp-sec {
  margin-top: 32px;
  scroll-margin-top: 80px;
}
.hp-sec h2 {
  margin-bottom: 12px;
  font-size: 20px;
}
.hp-sec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.hp-sec__head h2 {
  margin-bottom: 2px;
}
.hp-sec__head p {
  color: var(--muted);
  font-size: 13px;
}
.hp-sec__head .link {
  margin-left: 6px;
  font-size: 13px;
}
.hp-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.hp-overview p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}
.hp-overview p + p {
  margin-top: 10px;
}
.hp-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hp-highlights > div {
  display: flex;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.hp-highlights .icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--ink);
}
.hp-highlights span {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 12px;
}
.hp-highlights b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

/* Room table */
.hp-rooms-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}
.hp-table-card {
  overflow-x: auto;
}
.hp-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}
.hp-table th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--page);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.hp-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.hp-table tr.is-first td {
  border-top: 2px solid var(--line);
}
.hp-table tbody tr:first-child td {
  border-top: 0;
}
.hp-table .num {
  text-align: right;
}
.hp-room {
  width: 30%;
  border-right: 1px solid var(--line);
  background: #fcfcfb;
}
.hp-room b {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font: 600 15px 'Poppins', sans-serif;
}
.hp-room span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--ink-2);
}
.hp-room .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.hp-room .hp-room__am {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.hp-sleeps {
  color: var(--ink-2);
  white-space: nowrap;
}
.hp-sleeps .icon {
  width: 15px;
  height: 15px;
}
.hp-choice span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
}
.hp-choice span + span {
  margin-top: 6px;
}
.hp-choice .icon {
  width: 15px;
  height: 15px;
  flex: none;
}
.hp-choice .is-ok {
  color: var(--ok);
  font-weight: 600;
}
.hp-choice .is-muted {
  color: var(--muted);
}
.hp-choice .is-warn {
  color: var(--bad);
  font-weight: 600;
}
.hp-price strong {
  display: block;
  font: 600 18px/1.2 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
}
.hp-price span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.hp-price em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
.hp-price em .icon {
  width: 12px;
  height: 12px;
}
.hp-qty {
  width: 168px;
  height: 38px;
  font-size: 13px;
}
.hp-sum {
  position: sticky;
  top: 76px;
  padding: 20px;
}
.hp-sum h3 {
  font: 600 16px 'Poppins', sans-serif;
}
.hp-sum ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
  padding: 12px 0;
  border-block: 1px solid var(--line);
  list-style: none;
}
.hp-sum li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.hp-sum li span:last-child {
  color: var(--muted);
}
.hp-sum__total {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}
.hp-sum__total span {
  color: var(--muted);
  font-size: 12px;
}
.hp-sum__total strong {
  font: 600 26px/1.15 'Poppins', sans-serif;
}
.hp-sum__total em {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ok);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
.hp-sum__total em.is-plain {
  color: var(--muted);
  font-weight: 500;
}
.hp-sum__total em .icon {
  width: 12px;
  height: 12px;
}
.hp-sum__warn {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--warn-soft);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
}
.hp-sum__warn .icon {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--warn);
}
.hp-sum .btn + .btn {
  margin-top: 8px;
}
.hp-sum__note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}
.hp-sum__note .icon {
  width: 14px;
  height: 14px;
}
.hp-sum__empty {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.hp-sum__steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.hp-sum__steps span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 13px;
}
.hp-sum__steps .icon {
  width: 15px;
  height: 15px;
  color: var(--ok);
}

/* Facilities, policies, location */
.hp-fac {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 20px;
}
.hp-fac span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 14px;
}
.hp-fac .icon {
  width: 18px;
  height: 18px;
  color: var(--ink);
}
.hp-pol {
  margin: 0;
}
.hp-pol > div {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}
.hp-pol > div:first-child {
  border-top: 0;
}
.hp-pol dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.hp-pol dt .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.hp-pol dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}
.hp-loc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  margin-bottom: 20px;
}
.hp-map {
  height: 360px;
  overflow: hidden;
}
#hp-map {
  width: 100%;
  height: 100%;
}
.hp-near {
  align-self: start;
  margin: 0;
  padding: 6px 18px;
  list-style: none;
}
.hp-near li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.hp-near li:first-child {
  border-top: 0;
}
.hp-near .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.hp-near b {
  font-weight: 600;
  white-space: nowrap;
}
.hpin--hotel {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

@media (max-width: 1280px) {
  .hp-rooms-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .hp-sum {
    position: static;
  }
  .hp-fac {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .hp-overview,
  .hp-loc {
    grid-template-columns: minmax(0, 1fr);
  }
  .hp-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 120px;
  }
  .hp-gallery__ph.is-main {
    grid-column: span 2;
    grid-row: auto;
  }
  .hp-gallery__ph:nth-child(n + 4) {
    display: none;
  }
  .hp-fac {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hp-pol > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}
@media (max-width: 900px) {
  .hp-head {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .hp-head h1 {
    font-size: 23px;
  }
  .hp-head__side {
    width: 100%;
    justify-content: space-between;
  }
  .hp-highlights,
  .hp-fac {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Room cards replace the table on phones. */
.hp-cards {
  display: none;
}
.hp-card + .hp-card {
  border-top: 8px solid var(--page);
}
.hp-card__head {
  padding: 14px 16px;
  background: #fcfcfb;
  border-bottom: 1px solid var(--line);
}
.hp-card__head b {
  display: block;
  color: var(--primary);
  font: 600 16px 'Poppins', sans-serif;
}
.hp-card__head span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 13px;
}
.hp-card__head .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.hp-card__rate {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  font-size: 13px;
}
.hp-card__rate + .hp-card__rate {
  border-top: 1px dashed var(--line);
}
.hp-card__buy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 760px) {
  .hp-table {
    display: none;
  }
  .hp-cards {
    display: block;
  }
  .hp-table-card {
    overflow: hidden;
  }
}

/* ---------- Hotel booking: summary panel and special requests ---------- */
.hb-sum {
  overflow: hidden;
  padding: 0;
}
.hb-sum__photo {
  height: 150px;
  overflow: hidden;
  background: var(--surface);
}
.hb-sum__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hb-sum__name strong {
  display: block;
  margin-top: 4px;
  font: 600 17px/1.3 'Poppins', sans-serif;
}
.hb-sum__name > span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.hb-sum__dates {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: var(--page);
}
.hb-sum__dates > div:last-child {
  text-align: right;
}
.hb-sum__dates span,
.hb-sum__dates em {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}
.hb-sum__dates b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.hb-sum__n {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.hb-sum__rooms {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.hb-sum__rooms b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.hb-sum__rooms span {
  color: var(--muted);
  font-size: 12px;
}
.hb-reqs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hb-reqs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.hb-reqs button:hover {
  border-color: var(--ink);
}
.hb-reqs button[aria-pressed='true'] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.hb-reqs .icon {
  width: 14px;
  height: 14px;
}

/* ---------- Hotel voucher ---------- */
.hv-hotel {
  display: flex;
  gap: 16px;
  align-items: center;
}
.hv-hotel img {
  width: 120px;
  height: 90px;
  flex: none;
  border-radius: 12px;
  object-fit: cover;
}
.et-sec .hv-hotel__name {
  margin: 0 0 2px;
  color: var(--ink);
  font: 600 18px 'Poppins', sans-serif;
  text-transform: none;
  letter-spacing: 0;
}
.hv-hotel p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 13px;
}
.hv-stay {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.hv-stay > div:last-child {
  text-align: right;
}
.hv-stay span,
.hv-stay em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}
.hv-stay b {
  display: block;
  margin: 2px 0;
  font-size: 15px;
  font-weight: 600;
}
.hv-stay__n {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.hv-req {
  color: var(--ink-2);
  font-size: 13px;
}
.hv-req--muted {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 640px) {
  .hv-hotel {
    flex-direction: column;
    align-items: flex-start;
  }
  .hv-hotel img {
    width: 100%;
    height: 140px;
  }
  .hv-stay {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hv-stay > div:last-child {
    text-align: left;
  }
  .hv-stay__n {
    justify-self: start;
  }
}
/* Names are typed in capitals; the hint text stays normal. */
body[data-page='hotelBook'] .pax-card input::placeholder {
  text-transform: none;
}
@media (max-width: 640px) {
  body[data-page='hotelBook'] .stepper-bar .timer {
    display: none;
  }
}
/* Phones: the Search button matches the Flights one (52px, full width) */
@media (max-width: 720px) {
  .hs__row .qs__go {
    min-height: 52px;
  }
}

/* Staff picks and notes (set in the admin) */
.hcard__pick {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
}
.hcard__pick .icon {
  width: 11px;
  height: 11px;
  fill: #f4c979;
  stroke: #f4c979;
}
.hp-staff-note {
  margin-bottom: 12px;
}
@media (max-width: 640px) {
  .hp-head__side {
    flex-wrap: wrap;
    gap: 12px;
  }
  .hp-head__side .btn {
    width: 100%;
    justify-content: center;
  }
}
