/* Self-inventory hotels: landing extras, listing and hotel details.
   Builds on tours-landing.css (tl- tokens, buttons, sections). Prefix: hi- */

/* Search bar on the landing page: destination + 2 dates + guests + button. */
.hi-search-form { grid-template-columns: 1.5fr 1fr 1fr 0.9fr auto !important; }

.hi-count {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 12.5px;
  font-weight: 700;
}

/* ---------- Hotel card (grid) ---------- */
.hi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hi-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--tl-line);
  border-radius: var(--tl-radius);
  background: #fff;
  box-shadow: var(--tl-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hi-card:hover { transform: translateY(-8px); box-shadow: var(--tl-shadow-lg); }
.hi-card-photo { position: relative; display: block; height: 220px; overflow: hidden; background: var(--tl-sky); }
.hi-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.hi-card:hover .hi-card-photo img { transform: scale(1.08); }
.hi-card-type {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--tl-ink);
  font-size: 12px;
  font-weight: 700;
}
.hi-card-stars {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 10px;
  border-radius: 10px;
  background: rgba(12, 45, 94, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffc24b;
  font-size: 13px;
  letter-spacing: 2px;
}
.hi-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.hi-card-body h3 { margin: 0 0 6px; font-size: 1.18rem; font-weight: 800; line-height: 1.3; }
.hi-card-body h3 a,
.hi-row-main h2 a { color: inherit; text-decoration: none; }
.hi-card-body h3 a:hover,
.hi-row-main h2 a:hover { color: var(--tl-blue); }
.hi-card-loc { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; color: var(--tl-muted); font-size: 13.5px; }
.hi-card-loc svg { flex-shrink: 0; width: 15px; height: 15px; fill: none; stroke: var(--tl-orange); stroke-width: 2; }
.hi-card-desc {
  margin: 0 0 12px;
  color: var(--tl-text);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hi-amen { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.hi-amen li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--tl-sky-2);
  border: 1px solid var(--tl-line);
  color: var(--tl-text);
  font-size: 12.5px;
  font-weight: 600;
}
.hi-amen-more { color: var(--tl-blue) !important; }
.hi-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--tl-line); }
.hi-card-foot .tl-btn { height: 40px; padding: 0 16px; }
.hi-rooms { display: block; margin-top: 2px; color: var(--tl-muted); font-size: 12px; }

.hi-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 56px 24px;
  border: 1.5px dashed #cfdcf0;
  border-radius: var(--tl-radius);
  background: var(--tl-sky-2);
  text-align: center;
}
.hi-empty > svg { width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: #fff; color: var(--tl-blue); fill: none; stroke: currentColor; stroke-width: 1.8; box-shadow: var(--tl-shadow); }
.hi-empty strong { color: var(--tl-ink); font-size: 1.2rem; }
.hi-empty p { max-width: 460px; margin: 0 0 6px; color: var(--tl-muted); }

/* ---------- Listing / detail header band ---------- */
.hi-band {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: calc(var(--nav-h) + 28px) 0 36px;
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(59, 156, 240, 0.45), transparent 60%),
    radial-gradient(50% 120% at 100% 100%, rgba(242, 106, 27, 0.25), transparent 60%),
    linear-gradient(135deg, var(--tl-blue-deep), var(--tl-blue));
  color: #fff;
}
body:has(.hi-band) { padding-top: 0; }
.hi-band h1 { margin: 6px 0 6px; color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }
.hi-band > .tl-wrap > p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.hi-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, 0.75); }
.hi-crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.hi-crumbs a:hover { color: #fff; text-decoration: underline; }
.hi-crumbs b { color: #fff; font-weight: 600; }

.hi-modify {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.9fr auto;
  gap: 10px;
  margin-top: 24px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hi-modify-field { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 9px 14px; border-radius: 14px; background: #fff; }
.hi-modify-field span { color: var(--tl-muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.hi-modify-field input,
.hi-modify-field select { padding: 0; border: 0; outline: 0; background: transparent; color: var(--tl-ink); font: inherit; font-size: 15px; font-weight: 600; }
.hi-modify .tl-btn { height: auto; min-height: 54px; }
.hi-modify .tl-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; }

/* ---------- Listing layout ---------- */
.hi-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding-top: 32px; padding-bottom: 20px; align-items: start; }
.hi-filters {
  position: sticky;
  top: calc(var(--site-header-h) + 16px);
  padding: 20px;
  border: 1px solid var(--tl-line);
  border-radius: var(--tl-radius);
  background: #fff;
  box-shadow: var(--tl-shadow);
}
.hi-filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.hi-filters-head strong { color: var(--tl-ink); font-size: 1.05rem; }
.hi-filters-head a { color: var(--tl-orange); font-size: 13px; font-weight: 700; text-decoration: none; }
.hi-fsec { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--tl-line); }
.hi-fsec-title { margin-bottom: 4px; color: var(--tl-muted); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hi-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--tl-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.hi-opt em { color: var(--tl-muted); font-size: 12.5px; font-style: normal; }
.hi-opt:hover { background: var(--tl-sky-2); color: var(--tl-blue); }
.hi-opt.is-on { background: var(--tl-sky); color: var(--tl-blue); }
.hi-opt.is-on em { color: var(--tl-blue); }
.hi-opt-stars { color: #f5a623; letter-spacing: 1px; }
.hi-filters-help { display: flex; gap: 12px; align-items: center; margin-top: 8px; padding: 14px; border-radius: 14px; background: var(--tl-sky-2); }
.hi-filters-help svg { flex-shrink: 0; width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--tl-blue); color: #fff; fill: none; stroke: currentColor; stroke-width: 2; }
.hi-filters-help strong { display: block; color: var(--tl-ink); font-size: 13.5px; }
.hi-filters-help a { color: var(--tl-orange); font-size: 13.5px; font-weight: 700; }

.hi-results { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hi-sortbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  border: 1px solid var(--tl-line);
  border-radius: 16px;
  background: #fff;
}
.hi-sortbar > span { color: var(--tl-text); font-size: 14.5px; }
.hi-sortbar b { color: var(--tl-ink); }
.hi-sorts { display: flex; flex-wrap: wrap; gap: 6px; }
.hi-sort { padding: 8px 14px; border-radius: 10px; color: var(--tl-text); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.hi-sort:hover { background: var(--tl-sky-2); color: var(--tl-blue); }
.hi-sort.is-on { background: var(--tl-blue); color: #fff; }

.hi-row {
  display: grid;
  grid-template-columns: 280px 1fr 210px;
  overflow: hidden;
  border: 1px solid var(--tl-line);
  border-radius: var(--tl-radius);
  background: #fff;
  box-shadow: var(--tl-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hi-row:hover { transform: translateY(-4px); box-shadow: var(--tl-shadow-lg); }
.hi-row-photo { position: relative; display: block; min-height: 230px; overflow: hidden; background: var(--tl-sky); }
.hi-row-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.hi-row:hover .hi-row-photo img { transform: scale(1.06); }
.hi-row-main { padding: 20px 22px; min-width: 0; }
.hi-row-stars { color: #f5a623; font-size: 14px; letter-spacing: 2px; }
.hi-row-main h2 { margin: 4px 0 6px; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.hi-row-perks { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: #15803d; font-weight: 600; }
.hi-row-perks li { display: flex; align-items: center; gap: 6px; }
.hi-row-perks svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.hi-row-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px;
  border-left: 1px dashed var(--tl-line);
  background: linear-gradient(180deg, #fff, var(--tl-sky-2));
  text-align: right;
}
.hi-row-side .tl-pkg-price { align-items: flex-end; margin-bottom: auto; }
.hi-row-side .tl-btn { width: 100%; }

.hi-help-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 36px 40px;
  border-radius: 26px;
  background:
    radial-gradient(50% 120% at 100% 0%, rgba(242, 106, 27, 0.3), transparent 60%),
    linear-gradient(135deg, var(--tl-blue-deep), var(--tl-blue));
  color: #fff;
  box-shadow: var(--tl-shadow-lg);
}
.hi-help-banner h2 { margin: 0 0 6px; color: #fff; font-size: 1.7rem; font-weight: 800; }
.hi-help-banner p { margin: 0; color: rgba(255, 255, 255, 0.85); }

.hi-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1060;
  transform: translateX(-50%);
  padding: 14px 22px;
  border-radius: 14px;
  background: #15803d;
  color: #fff;
  font-weight: 600;
  box-shadow: var(--tl-shadow-lg);
  animation: hi-toast 6s ease forwards;
}
@keyframes hi-toast { 0%, 85% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

/* ---------- Detail ---------- */
.hi-band-detail { padding-bottom: 30px; }
.hi-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-top: 10px; }
.hi-title-tags { display: flex; align-items: center; gap: 10px; }
.hi-tag { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); font-size: 12.5px; font-weight: 700; }
.hi-band .hi-row-stars { color: #ffc24b; }
.hi-address { display: flex; align-items: flex-start; gap: 6px; margin: 0; color: inherit; opacity: 0.9; }
.hi-address svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 2; }
.hi-band .hi-address svg { stroke: #ffb27a; }
.hi-title-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hi-title-price small { opacity: 0.8; }
.hi-title-price strong { font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.hi-title-price span { margin-bottom: 10px; font-size: 12.5px; opacity: 0.8; }

.hi-gallery {
  display: grid;
  gap: 10px;
  height: 460px;
  margin-top: 26px;
  overflow: hidden;
  border-radius: 24px;
}
.hi-gallery-1 { grid-template-columns: 1fr; }
.hi-gallery-2 { grid-template-columns: 2fr 1fr; }
.hi-gallery-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.hi-gallery-3 .hi-gallery-item:first-child { grid-row: span 2; }
.hi-gallery-4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.hi-gallery-4 .hi-gallery-item:first-child { grid-row: span 2; }
.hi-gallery-4 .hi-gallery-item:last-child { grid-column: span 2; }
.hi-gallery-5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.hi-gallery-5 .hi-gallery-item:first-child { grid-row: span 2; }
.hi-gallery-item { position: relative; padding: 0; border: 0; overflow: hidden; background: var(--tl-sky); cursor: zoom-in; }
.hi-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.3s ease; }
.hi-gallery-item:hover img { transform: scale(1.05); filter: brightness(0.92); }
.hi-gallery-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 45, 94, 0.55);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}
.hi-nogallery {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 22px;
  border: 1.5px dashed #cfdcf0;
  border-radius: 18px;
  background: var(--tl-sky-2);
  color: var(--tl-text);
}
.hi-nogallery svg { flex-shrink: 0; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fff; color: var(--tl-blue); fill: none; stroke: currentColor; stroke-width: 1.8; }

.hi-lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(6, 18, 40, 0.92); }
.hi-lightbox[hidden] { display: none; }
.hi-lightbox img { max-width: min(1200px, 88vw); max-height: 82vh; border-radius: 14px; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.hi-lb-close { position: absolute; top: 18px; right: 22px; border: 0; background: none; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }
.hi-lb-nav { position: absolute; top: 50%; display: inline-flex; width: 52px; height: 52px; margin-top: -26px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.15); color: #fff; cursor: pointer; }
.hi-lb-nav:hover { background: rgba(255, 255, 255, 0.3); }
.hi-lb-nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.hi-lb-prev { left: 22px; }
.hi-lb-next { right: 22px; }
.hi-lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.85); font-weight: 600; }

.hi-subnav {
  position: sticky;
  top: calc(var(--site-header-h) + 8px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 22px 0 6px;
  padding: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--tl-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(18, 63, 128, 0.08);
}
.hi-subnav::-webkit-scrollbar { display: none; }
.hi-subnav a { padding: 10px 16px; border-radius: 10px; color: var(--tl-text); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hi-subnav a:hover { background: var(--tl-sky-2); color: var(--tl-blue); }
.hi-subnav a.is-on { background: var(--tl-sky); color: var(--tl-blue); }
.hi-subnav .hi-subnav-cta { margin-left: auto; background: var(--tl-orange); color: #fff; }
.hi-subnav .hi-subnav-cta:hover { background: var(--tl-orange-dark); color: #fff; }

.hi-detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; padding-bottom: 40px; }
.hi-main { min-width: 0; }
.hi-block { padding: 30px 0; border-bottom: 1px solid var(--tl-line); scroll-margin-top: calc(var(--site-header-h) + 80px); }
.hi-block:last-child { border-bottom: 0; }
.hi-block h2 { margin: 0 0 14px; font-size: 1.55rem; font-weight: 800; }
.hi-block-sub { margin: -6px 0 18px; color: var(--tl-muted); }
.hi-tagline { margin: 0 0 10px; color: var(--tl-blue); font-size: 1.1rem; font-weight: 700; }
.hi-lead { margin: 0 0 14px; color: var(--tl-text); font-size: 1.04rem; line-height: 1.75; }
.hi-prose { color: var(--tl-text); line-height: 1.8; }
.hi-prose ul { padding-left: 1.2rem; }
.hi-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 20px; }
.hi-fact { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--tl-line); border-radius: 16px; background: var(--tl-sky-2); }
.hi-fact-ico { display: inline-flex; flex-shrink: 0; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(135deg, var(--tl-blue), #3b9cf0); color: #fff; }
.hi-fact-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.hi-fact small { display: block; color: var(--tl-muted); font-size: 12px; }
.hi-fact strong { color: var(--tl-ink); font-size: 15px; }

.hi-room-list { display: grid; gap: 18px; }
.hi-room {
  display: grid;
  grid-template-columns: 220px 1fr 190px;
  overflow: hidden;
  border: 1px solid var(--tl-line);
  border-radius: 20px;
  background: #fff;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.hi-room:hover { border-color: transparent; box-shadow: var(--tl-shadow-lg); }
.hi-room-photo { position: relative; min-height: 200px; background: var(--tl-sky); }
.hi-room-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hi-room-imgs { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; background: rgba(12, 45, 94, 0.75); color: #fff; font-size: 12px; font-weight: 700; }
.hi-room-imgs svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.hi-room-body { padding: 18px 20px; min-width: 0; }
.hi-room-body h3 { margin: 0 0 10px; font-size: 1.15rem; font-weight: 800; }
.hi-room-specs { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 10px; padding: 0; list-style: none; color: var(--tl-text); font-size: 13.5px; }
.hi-room-specs li { display: inline-flex; align-items: center; gap: 6px; }
.hi-room-specs svg { width: 15px; height: 15px; fill: none; stroke: var(--tl-blue); stroke-width: 2; }
.hi-room-desc { margin: 0 0 12px; color: var(--tl-muted); font-size: 14px; line-height: 1.6; }
.hi-rates { display: grid; gap: 6px; margin-top: 4px; }
.hi-rates-title { color: var(--tl-muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hi-rate { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; background: var(--tl-sky-2); font-size: 13.5px; }
.hi-rate b { color: var(--tl-ink); }
.hi-rate em { color: #15803d; font-size: 12.5px; font-style: normal; font-weight: 700; }
.hi-rate.is-sold { opacity: 0.6; }
.hi-rate.is-sold em { color: #b91c1c; }
.hi-room-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 2px;
  padding: 18px;
  border-left: 1px dashed var(--tl-line);
  background: linear-gradient(180deg, #fff, var(--tl-sky-2));
  text-align: right;
}
.hi-room-side small { color: var(--tl-muted); font-size: 12px; }
.hi-room-side strong { color: var(--tl-ink); font-size: 1.45rem; font-weight: 800; line-height: 1.1; }
.hi-room-side span { margin-bottom: 12px; color: var(--tl-muted); font-size: 12px; }
.hi-room-side .tl-btn { width: 100%; height: 42px; padding: 0 12px; font-size: 13.5px; }

.hi-amen-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.hi-amen-group { padding: 18px; border: 1px solid var(--tl-line); border-radius: 18px; background: #fff; }
.hi-amen-group h3 { margin: 0 0 10px; color: var(--tl-ink); font-size: 1rem; font-weight: 800; }
.hi-amen-group ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--tl-text); font-size: 14px; }
.hi-amen-group li { display: flex; align-items: center; gap: 10px; }
.hi-amen-ico { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 8px; background: var(--tl-sky-2); font-size: 15px; }

.hi-map { overflow: hidden; margin-top: 14px; border-radius: 20px; border: 1px solid var(--tl-line); }
.hi-map iframe { display: block; width: 100%; height: 340px; border: 0; }

.hi-side { position: sticky; top: calc(var(--site-header-h) + 76px); margin-top: 30px; scroll-margin-top: calc(var(--site-header-h) + 80px); }
.hi-side-card { overflow: hidden; border: 1px solid var(--tl-line); border-radius: 24px; background: #fff; box-shadow: var(--tl-shadow-lg); }
.hi-side-head { padding: 22px 24px 18px; background: linear-gradient(135deg, var(--tl-blue-deep), var(--tl-blue)); color: #fff; }
.hi-side-head small { opacity: 0.8; }
.hi-side-head strong { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1.15; }
.hi-side-head strong span { font-size: 0.9rem; font-weight: 600; opacity: 0.8; }
.hi-side-head p { margin: 6px 0 0; font-size: 13px; opacity: 0.85; }
.hi-form { padding: 20px 22px 6px; gap: 12px !important; }
.hi-form input,
.hi-form select,
.hi-form textarea { padding: 10px 12px !important; font-size: 14px !important; }
.hi-form .tl-btn { height: 50px; }
.hi-side-card .tl-enquire-done { padding: 26px 20px; }
.hi-side-call { display: flex; align-items: center; gap: 10px; margin: 6px 22px 20px; padding: 12px 14px; border-radius: 14px; background: var(--tl-sky-2); color: var(--tl-text); font-size: 13.5px; text-decoration: none; }
.hi-side-call:hover { background: var(--tl-sky); color: var(--tl-blue); }
.hi-side-call svg { flex-shrink: 0; width: 18px; height: 18px; fill: none; stroke: var(--tl-orange); stroke-width: 2; }
.hi-side-trust { display: grid; gap: 10px; margin: 18px 4px 0; padding: 0; list-style: none; color: var(--tl-text); font-size: 13.5px; font-weight: 600; }
.hi-side-trust li { display: flex; align-items: center; gap: 10px; }
.hi-side-trust svg { width: 18px; height: 18px; fill: none; stroke: var(--tl-blue); stroke-width: 2; }

.hi-mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .hi-row { grid-template-columns: 240px 1fr 190px; }
  .hi-detail-layout { grid-template-columns: 1fr 340px; }
  .hi-room { grid-template-columns: 190px 1fr 170px; }
}

@media (max-width: 991.98px) {
  .hi-search-form { grid-template-columns: 1fr 1fr !important; }
  .hi-grid { grid-template-columns: repeat(2, 1fr); }
  .hi-modify { grid-template-columns: 1fr 1fr; }
  .hi-modify-wide { grid-column: 1 / -1; }
  .hi-modify .tl-btn { grid-column: 1 / -1; min-height: 50px; }
  .hi-layout { grid-template-columns: 1fr; }
  .hi-filters { position: static; }
  .hi-detail-layout { grid-template-columns: 1fr; }
  .hi-side { position: static; }
  .hi-gallery { height: 360px; }
  .hi-room { grid-template-columns: 180px 1fr; }
  .hi-room-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; border-left: 0; border-top: 1px dashed var(--tl-line); }
  .hi-room-side span { margin: 0; }
  .hi-room-side .tl-btn { width: auto; }
  .hi-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid var(--tl-line);
    box-shadow: 0 -10px 30px rgba(18, 63, 128, 0.12);
  }
  .hi-mobile-bar small { display: block; color: var(--tl-muted); font-size: 12px; }
  .hi-mobile-bar strong { color: var(--tl-ink); font-size: 1.2rem; }
  body:has(.hi-mobile-bar) { padding-bottom: 76px; }
}

@media (max-width: 767.98px) {
  .hi-row { grid-template-columns: 1fr; }
  .hi-row-photo { min-height: 210px; }
  .hi-row-side { border-left: 0; border-top: 1px dashed var(--tl-line); text-align: left; }
  .hi-row-side .tl-pkg-price { align-items: flex-start; }
  .hi-title-price { align-items: flex-start; width: 100%; }
  .hi-gallery { height: 280px; grid-template-columns: 1fr !important; grid-template-rows: 1fr !important; }
  .hi-gallery .hi-gallery-item:not(:first-child) { display: none; }
}

@media (max-width: 575.98px) {
  .hi-search-form,
  .hi-modify { grid-template-columns: 1fr !important; }
  .hi-grid { grid-template-columns: 1fr; }
  .hi-room { grid-template-columns: 1fr; }
  .hi-room-photo { min-height: 190px; }
  .hi-card-foot { flex-direction: column; align-items: stretch; }
  .hi-card-foot .tl-pkg-actions .tl-btn { flex: 1; }
  .hi-rate { grid-template-columns: 1fr auto; }
  .hi-rate em { grid-column: 1 / -1; }
}
