/* ════════════════════════════════════════════════
   Traveronto — hotel-list.css
   ════════════════════════════════════════════════ */

/* ─── Destination input wrapper ─── */
.hl-dest-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.hl-dest-icon {
  position: absolute;
  left: 12px;
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  pointer-events: none;
  z-index: 1;
}
.hdr-dest-inp {
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 10px;
  padding: 11px 13px 11px 34px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  min-height: 46px;
  width: 100%;
}
.hdr-dest-inp::placeholder { color: rgba(255,255,255,0.55) !important; }
.hdr-dest-inp:focus { outline: none; border-color: var(--primary); }
/* Beat .hdr-field input (0,1,1) specificity so icon gap is preserved */
.hdr-field .hdr-dest-inp { padding-left: 34px; }

/* Merged Check-in — Check-out date-range field */
.hdr-dates-field { position: relative; }
.hdr-dates-inp-wrap {
  position: relative; display: flex; align-items: center;
  border: 1.5px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.1);
  border-radius: 10px; min-height: 46px; transition: border-color .18s;
  width: 100%;
}
.hdr-dates-inp-wrap:focus-within { border-color: var(--primary); }
.hdr-dates-icon {
  color: var(--primary); font-size: 14px; flex-shrink: 0; margin-left: 13px; pointer-events: none;
  display: flex; align-items: center;
}
.hdr-dates-inp-wrap .hdr-dates-inp,
.hdr-field .hdr-dates-inp-wrap input.hdr-dates-inp {
  border: none !important; background: transparent !important;
  box-shadow: none !important;
  color: #fff; outline: none;
  font-size: 14px; font-weight: 600; font-family: inherit;
  min-height: 46px; width: 100%; padding: 11px 13px 11px 10px; cursor: pointer;
}
.hdr-dates-inp::placeholder { color: rgba(255,255,255,0.45); font-weight: 600; }

/* AJAX autocomplete dropdown (appended by JS) */
.tr-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
  margin: 0;
  padding: 4px 0;
  list-style: none;
  max-height: 260px;
  overflow-y: auto;
  display: none;
}
.tr-autocomplete-dropdown li {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #1A1A2E;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #f5f5f5;
}
.tr-autocomplete-dropdown li:last-child { border-bottom: none; }
.tr-autocomplete-dropdown li:hover { background: #fff5f3; color: #E74E35; }

/* Nationality dropdown */
.hl-nat-drop {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(26,26,46,0.18);
  border: 1px solid #e7e7ec;
  z-index: 9999;
  display: none;
}
.hl-nat-drop.open { display: block; }
.hl-nat-list { max-height: 240px; overflow-y: auto; }
.hl-nat-opt {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #1A1A2E;
  border-bottom: 1px solid #f3f3f7;
  transition: background .15s, color .15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hl-nat-opt:last-child { border-bottom: none; }
.hl-nat-opt:hover, .hl-nat-opt.active { background: rgba(231,78,53,0.07); color: #E74E35; font-weight: 600; }

/* Field error messages — floating popover (Priceline-style), matches
   homepage .tr-field-error. Anchored to .hdr-field (position:relative)
   so it overlays below the input without affecting layout. */
.hdr-field { position: relative; }
.hl-field-err {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto;
  max-width: 100%;
  background: #E74E35;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(231,78,53,0.28);
  white-space: normal;
  box-sizing: border-box;
}
.hl-field-err::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 18px;
  width: 10px;
  height: 10px;
  background: #E74E35;
  transform: rotate(45deg);
  border-radius: 2px;
}
.hl-field-err.d-none { display: none !important; }
/* Stack a second popover (checkout) below the first when both are visible */
#validate_checkin:not(.d-none) ~ #validate_checkout:not(.d-none) {
  top: calc(100% + 44px);
}

/* ─────────────────── PAGE HEADER ─────────────────── */
.hl-page-header {
  background: linear-gradient(135deg, #16213e 0%, #0f3460 45%, #C93D26 100%);
  padding: 44px 0 36px;
}
.hl-page-header h1 {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.hl-page-header .hl-sub {
  color: rgba(255,255,255,0.65);
  font-size: clamp(14px,2vw,16px);
  margin-bottom: 24px;
}

/* Search bar */
.hdr-search {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.hdr-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 160px;
  min-width: 0;
}
.hdr-field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.55);
}
.hdr-field input {
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  min-height: 46px;
  width: 100%;
}
.hdr-field input::placeholder { color: rgba(255,255,255,0.45); }
.hdr-field input:focus { outline: none; border-color: var(--primary); }

/* Destination trigger button */
.hl-dest-btn {
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  min-height: 46px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color .18s;
  text-align: left;
}
.hl-dest-btn:focus, .hl-dest-btn[aria-expanded="true"] { border-color: var(--primary); outline: none; }
.hl-dest-btn .hl-gcv { font-size: 11px; margin-left: auto; transition: transform .2s; opacity: .7; }
.hl-dest-btn[aria-expanded="true"] .hl-gcv { transform: rotate(180deg); }

/* Destination dropdown */
.hl-dest-drop {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(26,26,46,0.18);
  border: 1px solid #e7e7ec;
  z-index: 9999;
  display: none;
}
.hl-dest-drop.open { display: block; }
.hl-dest-search-row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-bottom: 1px solid #f0f0f5;
  position: sticky; top: 0; background: #fff;
  border-radius: 12px 12px 0 0;
}
.hl-dest-search-row i { color: #bbb; font-size: 14px; flex-shrink: 0; }
.hl-dest-inp {
  border: none !important; outline: none !important;
  width: 100%; font-size: 14px; font-family: inherit;
  background: transparent !important; color: #1A1A2E !important;
  min-height: auto !important; padding: 0 !important;
  -webkit-appearance: none; appearance: none;
}
.hl-dest-inp::placeholder { color: #ccc; }
/* type="search" reset (used by the nationality search field) — suppresses
   the browser's native address autofill suggestions, which otherwise
   visually cover our own dropdown list */
.hl-dest-inp::-webkit-search-decoration,
.hl-dest-inp::-webkit-search-cancel-button,
.hl-dest-inp::-webkit-search-results-button,
.hl-dest-inp::-webkit-search-results-decoration { display: none; }
.hl-dest-list { max-height: 240px; overflow-y: auto; }
.hl-dest-opt {
  padding: 10px 14px; cursor: pointer; font-size: 14px;
  font-weight: 500; color: #1A1A2E; border-bottom: 1px solid #f3f3f7;
  transition: background .15s, color .15s;
  display: flex; align-items: center; gap: 7px;
}
.hl-dest-opt:last-child { border-bottom: none; }
.hl-dest-opt:hover, .hl-dest-opt.sel { background: rgba(231,78,53,0.07); color: #E74E35; font-weight: 600; }

/* Guest trigger button */
.hl-guests-btn {
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  min-height: 46px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color .18s;
  text-align: left;
}
.hl-guests-btn:focus, .hl-guests-btn[aria-expanded="true"] { border-color: var(--primary); outline: none; }
.hl-guests-btn .gcv { font-size: 11px; margin-left: auto; transition: transform .2s; opacity: .7; }
.hl-guests-btn[aria-expanded="true"] .gcv { transform: rotate(180deg); }

/* Guest counter popup */
.hl-cpop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
  border: 1px solid #e7e7ec;
  padding: 14px 16px;
  z-index: 9999;
  display: none;
  color: #1A1A2E;
}
.hl-cpop.open { display: block; }
.hl-crow {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid #f0f0f5;
}
.hl-crow:last-of-type { border-bottom: none; }
.hl-clbl { display: flex; flex-direction: column; gap: 2px; }
.hl-clbl strong { font-size: 14px; font-weight: 700; color: #1A1A2E; }
.hl-clbl span { font-size: 11px; color: #999; }
.hl-cstep { display: flex; align-items: center; gap: 10px; }
.hl-cstep button {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--primary); background: #fff;
  color: var(--primary); font-size: 18px; font-weight: 700;
  cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; line-height: 1; transition: all .18s;
  flex-shrink: 0; padding: 0; font-family: inherit;
}
.hl-cstep button:hover { background: var(--primary); color: #fff; }
.hl-cstep button:disabled { border-color: #ddd; color: #ddd; cursor: not-allowed; background: #fff; }
.hl-cstep span { font-size: 16px; font-weight: 800; min-width: 22px; text-align: center; color: #1A1A2E; }
.hl-cdone {
  display: block; width: 100%; background: var(--primary);
  color: #fff; border: none; border-radius: 8px;
  padding: 10px; font-size: 14px; font-weight: 700;
  cursor: pointer; margin-top: 12px; transition: background .18s; font-family: inherit;
}
.hl-cdone:hover { background: var(--primary-dark); }

.hdr-search-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  min-height: 46px;
  white-space: nowrap;
  transition: background .18s, transform .15s;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.hdr-search-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

@media (max-width: 767px) {
  .hdr-field { flex: 1 1 100% !important; }
  .hdr-field.hdr-half { flex: 1 1 calc(50% - 5px) !important; min-width: 0; }
  .hdr-search-btn { width: 100%; justify-content: center; }
  .hdr-search { padding: 14px 12px; gap: 10px; }
}

/* ─────────────── LAYOUT WRAPPER ─────────────────── */
.hl-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 16px 80px;
}

/* ─────────────────── FILTERS PANEL ─────────────────── */
.filter-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  padding: 20px;
  position: sticky;
  top: 84px;
}
.fp-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 18px;
}
.fp-title { font-size: 16px; font-weight: 800; color: var(--dark); }
.fp-clear {
  font-size: 13px; font-weight: 700; color: var(--primary);
  cursor: pointer; background: none; border: none; padding: 0;
}
.fp-clear:hover { opacity: .75; }
.filter-divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.filter-group-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: #999; margin-bottom: 12px; display: block;
}
.price-range-label {
  display: flex; justify-content: space-between;
  font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 10px;
}
input[type="range"].tr-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: linear-gradient(to right, var(--primary) 0%, var(--primary) 70%, #e2e2ea 70%);
  border-radius: 999px; outline: none; cursor: pointer; margin: 8px 0;
}
input[type="range"].tr-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px;
  border-radius: 50%; background: var(--primary);
  border: 3px solid #fff; box-shadow: 0 1px 6px rgba(231,78,53,0.4);
  cursor: pointer; transition: transform .15s;
}
input[type="range"].tr-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"].tr-range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary); border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(231,78,53,0.4); cursor: pointer;
}
.star-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px; cursor: pointer;
  transition: background .15s; margin-bottom: 4px;
}
.star-row:hover { background: #FFF5F3; }
.star-row.active { background: #FFF5F3; }
.star-row .stars-ico { color: var(--gold); font-size: 13px; }
.star-row .star-lbl { font-size: 14px; font-weight: 600; color: var(--dark); flex: 1; }
.star-row .star-cnt { font-size: 12px; color: #bbb; font-weight: 600; }
.name-search-wrap { position: relative; }
.name-search-inp {
  width: 100%; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 9px 12px 9px 34px;
  font-size: 14px; font-family: inherit; color: var(--dark);
  background: #fff; transition: border-color .18s;
}
.name-search-inp:focus { outline: none; border-color: var(--primary); }
.name-search-ico {
  position: absolute; left: 10px; top: 50%;
  transform: translateY(-50%); color: #bbb; font-size: 14px; pointer-events: none;
}
.sort-price-wrap { display: flex; flex-direction: column; gap: 8px; }
.sort-price-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 8px;
  border: 1.5px solid var(--border); background: #fff;
  color: var(--text-muted); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .15s; font-family: inherit;
  text-align: left; width: 100%;
}
.sort-price-btn:hover { border-color: var(--primary); color: var(--primary); }
.sort-price-btn.active { border-color: var(--primary); background: #FFF5F3; color: var(--primary); }
.chip-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 20px; border: 1.5px solid #ddd;
  font-size: 12px; font-weight: 600; color: var(--text-muted); background: #fff;
  cursor: pointer; transition: all .15s;
}
.chip i { font-size: 14px; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { border-color: var(--primary); background: #FFF5F3; color: var(--primary); }
.btn-apply {
  display: block; width: 100%; padding: 12px;
  background: var(--primary); color: #fff; font-weight: 700;
  font-size: 14px; border: none; border-radius: 8px; cursor: pointer;
  margin-top: 18px; transition: background .18s, transform .15s;
}
.btn-apply:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ─────── Mobile filter drawer (custom — no BS5 offcanvas) ─────── */
.hl-filter-drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 320px; max-width: 90vw;
  background: #fff; z-index: 1060;
  overflow-y: auto; transform: translateX(-100%);
  transition: transform .3s ease; box-shadow: 4px 0 24px rgba(0,0,0,0.15);
}
.hl-filter-drawer.open { transform: translateX(0); }
.hl-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: #fff; z-index: 1;
}
.hl-drawer-header h5 { margin: 0; font-size: 16px; font-weight: 800; color: var(--dark); }
.hl-drawer-close {
  background: none; border: none; font-size: 22px; cursor: pointer;
  color: var(--dark); padding: 2px 6px; line-height: 1;
}
.hl-drawer-body { padding: 14px 16px 80px; }
.hl-drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 1059; display: none;
}
.hl-drawer-overlay.open { display: block; }

/* ──────────────── RESULTS TOP BAR ──────────────────── */
.results-topbar {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 18px;
}
.results-count { font-size: clamp(13px,2vw,15px); font-weight: 700; color: var(--dark); }
.results-count span { color: var(--text-muted); font-weight: 500; }
.sort-select {
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 9px 12px; font-size: 14px; font-weight: 600;
  color: var(--dark); background: #fff; font-family: inherit; cursor: pointer;
}

/* ──────────────────── HOTEL CARD ────────────────────── */
.hotel-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  overflow: hidden;
  margin-bottom: 14px;
  transition: box-shadow .2s, transform .2s;
}
.hotel-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
  transform: translateY(-2px);
}
.hotel-card .card-img {
  width: 200px; min-width: 200px; position: relative;
  flex-shrink: 0; min-height: 160px;
  border-radius: 12px 0 0 12px; overflow: hidden;
}
.hotel-card .card-body {
  flex: 1; padding: 14px 16px;
  display: flex; flex-direction: column;
  justify-content: space-between; min-width: 0;
}
.hotel-card .card-row1 {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 8px; margin-bottom: 6px;
}
.hotel-card .card-name {
  font-size: clamp(15px,2vw,17px); font-weight: 700;
  color: var(--dark); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 55%;
}
.hotel-card .card-stars { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.hotel-card .card-stars .star-icons { color: var(--gold); font-size: 17px; letter-spacing: 1px; }
.hotel-card .card-row2 { margin-bottom: 8px; }
.hotel-card .card-loc {
  font-size: 13px; color: #666; font-weight: 500;
  display: flex; align-items: center; gap: 4px;
}
.hotel-card .card-loc i { color: var(--primary); font-size: 13px; }
.hotel-card .card-row3 { margin-bottom: 10px; }
.hotel-card .card-amens {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.hotel-card .card-amens span {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 12px; color: #999; font-weight: 500;
}
.hotel-card .card-amens span i { font-size: 14px; }
.hotel-card .card-row4 {
  display: flex; align-items: center;
  justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-top: auto;
}
.save-badge-body {
  display: inline-flex; align-items: center; gap: 4px;
  background: #e8f9ef; color: #1A9D57;
  font-size: 12px; font-weight: 700;
  padding: 3px 9px; border-radius: 6px; white-space: nowrap;
}
.hotel-card .price-section {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hotel-card .price-block { text-align: right; }
.hotel-card .price-amt {
  font-size: clamp(1rem,2vw,1.2rem);
  font-weight: 900; color: var(--primary); line-height: 1;
}
.hotel-card .btn-deal {
  background: var(--primary); color: #fff;
  border: none; border-radius: 8px;
  padding: 8px 18px; font-size: 13px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: background .18s, transform .15s;
  min-height: 36px; display: inline-block; text-decoration: none;
}
.hotel-card .btn-deal:hover { background: var(--primary-dark); transform: translateY(-1px); color: #fff; }

@media (min-width: 768px) {
  .hotel-card { display: flex; height: 170px; min-height: 170px; max-height: 170px; overflow: hidden; }
  .hotel-card .card-img { height: 170px; min-height: 170px; max-height: 170px; flex-shrink: 0; }
  .hotel-card .card-body { overflow: hidden; height: 170px; }
  .hotel-card .card-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hotel-card .card-amens { flex-wrap: nowrap; overflow: hidden; }
  .hotel-card .card-amens span { white-space: nowrap; flex-shrink: 0; }
  .hotel-card .card-row3 { overflow: hidden; height: 24px; }
  .hotel-card .card-row4 { flex-wrap: nowrap; }
}
@media (max-width: 767px) {
  .hotel-card { display: flex; }
  .hotel-card .card-img { width: 120px; min-width: 120px; flex-shrink: 0; }
  .hotel-card .card-body { padding: 10px 12px; }
  .hotel-card .card-name { font-size: 14px; max-width: 100%; white-space: normal; line-height: 1.3; }
  .hotel-card .card-stars .star-icons { font-size: 13px; }
  .hotel-card .card-row3 { display: none; }
  .hotel-card .card-row4 { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 6px; }
  .hotel-card .price-section { width: 100%; justify-content: space-between; }
  .hotel-card .btn-deal { padding: 7px 14px; font-size: 12px; }
}

/* ─────────── IMAGE CAROUSEL ─────────── */
.card-carousel {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: 12px 0 0 12px;
}
.cs-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.35s ease;
}
.cs-slide.active { opacity: 1; }
.cs-slide i { font-size: 38px; color: rgba(255,255,255,0.3); }
.cs-prev, .cs-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.92); border: none; border-radius: 50%;
  width: 26px; height: 26px; display: flex; align-items: center;
  justify-content: center; cursor: pointer; z-index: 10;
  opacity: 0; transition: opacity 0.2s; font-size: 12px; color: #1a1a2e;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.cs-prev { left: 6px; }
.cs-next { right: 6px; }
.card-carousel:hover .cs-prev,
.card-carousel:hover .cs-next { opacity: 1; }
.cs-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; z-index: 10;
}
.cs-dot {
  width: 6px; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.5); border: none;
  cursor: pointer; padding: 0; transition: all 0.2s;
}
.cs-dot.active { background: #fff; width: 16px; }

/* ─────────── SKELETON LOADER ─────────── */
.skeleton-card {
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  margin-bottom: 14px; padding: 20px; overflow: hidden;
}
.sk {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 400% 100%; animation: sk-anim 1.4s ease infinite;
  border-radius: 8px;
}
@keyframes sk-anim { 0%{background-position:100% 50%} 100%{background-position:0 50%} }
.sk-line { height: 14px; margin-bottom: 10px; }

/* ─────────── LOAD MORE ─────────── */
.btn-load {
  display: block; margin: 24px auto 0; background: #fff;
  border: 1.5px solid var(--border); color: var(--dark);
  border-radius: 10px; padding: 12px 32px; font-size: 14px;
  font-weight: 700; cursor: pointer; transition: all .18s;
}
.btn-load:hover { border-color: var(--primary); color: var(--primary); }

/* ─────────── FLOATING FILTER BTN ─────────── */
.filter-fab {
  position: fixed; bottom: 24px; right: 20px; z-index: 999;
  background: var(--primary); color: #fff;
  border: none; border-radius: 50px; padding: 12px 22px;
  font-size: 14px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 20px rgba(231,78,53,0.4);
  display: none; align-items: center; gap: 8px;
  transition: background .18s, transform .15s;
}
.filter-fab:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ─────────── EMPTY STATE ─────────── */
.hl-empty-state {
  text-align: center; padding: 70px 20px 80px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  margin-top: 28px;
  margin-bottom: 28px;
}
.hl-empty-state .hl-es-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(231,78,53,0.08);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 34px; color: var(--primary);
}
.hl-empty-state h3 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.hl-empty-state p { color: var(--text-muted); font-size: 15px; max-width: 420px; margin: 0 auto; }

/* No-results state */
.no-results-state {
  text-align: center; padding: 50px 20px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.no-results-state i { font-size: 44px; color: #ddd; }
.no-results-state h3 { margin: 14px 0 7px; color: var(--dark); }
.no-results-state p { color: var(--text-muted); }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 991px) {
  .filter-fab { display: inline-flex; }
}
@media (max-width: 575px) {
  .results-topbar { flex-direction: column; align-items: flex-start; }
  .sort-select { width: 100%; }
}

/* ── Flatpickr brand ── */
.flatpickr-calendar { font-family: inherit !important; border-radius: 14px !important; box-shadow: 0 16px 48px rgba(26,26,46,0.18) !important; border: 1px solid #e7e7ec !important; }
.flatpickr-day.selected, .flatpickr-day.selected:hover,
.flatpickr-day.startRange, .flatpickr-day.endRange { background: #E74E35 !important; border-color: #E74E35 !important; color: #fff !important; }
.flatpickr-day:hover:not(.selected):not(.startRange):not(.endRange) { background: rgba(231,78,53,0.1) !important; color: #E74E35 !important; }
.flatpickr-day.today { border-color: #E74E35 !important; font-weight: 700; }

/* ── Flatpickr mobile safeguard ──────────────────────────────────────
   flatpickr's multi-month layout uses fixed pixel widths per month
   (~307px each), so a 2-month range calendar is ~620px+ wide. If JS
   sets showMonths based on window.innerWidth at init time but the
   page is later resized without reload (e.g. DevTools device
   toolbar), or on any viewport <768px, force the calendar back to a
   single-month, 100%-width layout so it never overflows the screen. */
@media (max-width: 767px) {
  .flatpickr-calendar {
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
  }
  .flatpickr-calendar.multiMonth .flatpickr-months .flatpickr-month,
  .flatpickr-calendar .flatpickr-months .flatpickr-month {
    width: 100% !important;
  }
  .flatpickr-calendar.multiMonth .flatpickr-innerContainer,
  .flatpickr-calendar.multiMonth .flatpickr-rContainer,
  .flatpickr-calendar.multiMonth .dayContainer,
  .flatpickr-innerContainer,
  .flatpickr-rContainer,
  .dayContainer {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .flatpickr-calendar.multiMonth .flatpickr-months .flatpickr-month ~ .flatpickr-month,
  .flatpickr-calendar .flatpickr-days > .dayContainer ~ .dayContainer {
    display: none !important;
  }
  .flatpickr-calendar.multiMonth .flatpickr-days {
    width: 100% !important;
  }
}


/* ════════════════════════════════════════════════
   SEARCH RESULTS PAGE (search.blade.php)
   ════════════════════════════════════════════════ */

/* ─── SRP header ─── */
.tr-srp-hdr {
  padding: 28px 0 24px;
}
.tr-srp-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.tr-srp-location-wrap { flex: 1; min-width: 0; }
.tr-srp-title {
  color: #fff;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.tr-srp-title .bi { font-size: 0.85em; margin-right: 6px; opacity: .85; }

.tr-srp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tr-srp-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.tr-srp-chip .bi { font-size: 12px; opacity: .8; }

/* Modify / Close buttons */
.tr-srp-modify-group { flex-shrink: 0; display: flex; gap: 8px; align-items: center; }
.tr-srp-modify-btn {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
  transition: background .18s, border-color .18s;
  white-space: nowrap;
}
.tr-srp-modify-btn:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.55); color: #fff; }

/* Body spacing */
.tr-srp-body {
    padding-top: 0;
    background: #f7f8fc;
    min-height: 60vh;
}

/* ─── Layout row ─── */
.tr-srp-layout {
    align-items: flex-start;
    padding: 28px 0 40px;
}

/* ─── Filter column: sidebar (desktop) / drawer (mobile) ─── */
/* Mobile default: off-screen to the left */
#tr-srp-filter-col {
  position: fixed;
  top: 0;
  left: -110%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  z-index: 1055;
  overflow-y: auto;
  background: #fff;
  transition: left .26s cubic-bezier(.4,0,.2,1);
  box-shadow: 4px 0 24px rgba(15,23,42,0.2);
  display: flex;
  flex-direction: column;
  padding-bottom: 32px;
}
#tr-srp-filter-col.is-open {
  left: 0;
}

/* Desktop: become a normal column */
@media (min-width: 992px) {
  #tr-srp-filter-col {
    position: static !important;
    left: auto !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    z-index: auto !important;
    box-shadow: none !important;
    overflow: visible !important;
    transition: none !important;
    display: block !important;
    padding-bottom: 0 !important;
  }
}

/* Mobile backdrop */
.tr-filter-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.45);
  z-index: 1050;
  display: none;
}
.tr-filter-backdrop.is-open { display: block; }

/* Drawer header (mobile only) */
.tr-filter-drawer-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 14px;
  border-bottom: 1px solid #eef0f5;
  flex-shrink: 0;
}
.tr-filter-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 0;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  background: #f8f9fb;
}
.tr-filter-close-btn:hover { background: #E74E35; color: #fff; border-color: #E74E35; }

/* ─── Filter panel card ─── */
.tr-filter-panel {
  background: #fff;
  border: 1px solid #eef0f6;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.05),
    0 8px 28px rgba(15, 23, 42, 0.07);
  transition: box-shadow .25s ease;
}
.tr-filter-panel:hover {
  box-shadow:
    0 4px 16px rgba(15, 23, 42, 0.07),
    0 16px 48px rgba(15, 23, 42, 0.10);
}
@media (max-width: 991px) {
  .tr-filter-panel {
    border: none;
    border-radius: 0;
    flex: 1;
    box-shadow: none !important;
  }
}
.tr-filter-panel-hdr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid #eef0f5;
  font-size: 15px;
  font-weight: 700;
  color: #1A1A2E;
}
.tr-filter-panel-hdr .fa { color: #E74E35; font-size: 14px; }
.tr-filter-panel-body { padding: 0; }

/* ─── Override filter-search.blade.php's own CSS ─── */
/* Kill its mobile fixed-panel behaviour — we handle it at #tr-srp-filter-col level */
.bravo_filter {
  position: static !important;
  right: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  box-shadow: none !important;
  padding: 0 !important;
  z-index: auto !important;
  transition: none !important;
  display: block !important;
}
/* Hide the mobile toggle elements that filter-search.blade.php adds */
.mobile-filter-btn,
.mobile-close-btn,
.mobile-overlay,
.bravo_filter .mobile-filter-btn,
.bravo_filter .mobile-close-btn {
  display: none !important;
}

/* Restyle the filter sidenav to match Traveronto */
.bravo_filter .sidenav {
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
.bravo_filter .accordion.rounded-0 {
  border-radius: 0 !important;
}
.bravo_filter .btn-link {
  color: #1A1A2E !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 12px 16px !important;
  text-decoration: none !important;
}
.bravo_filter .btn-link:hover { color: #E74E35 !important; }
.bravo_filter .card-body { padding: 8px 16px 14px !important; }
.bravo_filter .card-btn-arrow { color: #9ca3af; }
.bravo_filter .custom-control-label { font-size: 13px; font-weight: 500; color: #374151; cursor: pointer; }
.bravo_filter .custom-control-input:checked ~ .custom-control-label { color: #E74E35; font-weight: 600; }
.bravo_filter .fa-star { color: #f59e0b !important; }

/* Price range inputs */
.bravo_filter .form-control { border-radius: 8px; border-color: #e5e7eb; font-size: 13px; }
.bravo_filter .btn-primary {
  background: #E74E35 !important;
  border-color: #E74E35 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.bravo_filter .btn-light {
  background: #f3f4f6 !important;
  border-color: #e5e7eb !important;
  border-radius: 8px !important;
  font-size: 13px !important;
}
.bravo_filter .selected_filters {
  font-size: 11px;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  margin: 2px !important;
  color: #374151;
}

/* ─── Results topbar ─── */
.tr-srp-results-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.tr-mobile-filter-btn {
  background: #fff;
  border: 1.5px solid #E74E35;
  color: #E74E35;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.tr-mobile-filter-btn:hover { background: #E74E35; color: #fff; }

/* ─── Results panel: hotel count + loading states ─── */
#hotel_list_load .has_more_loading {
  background: rgba(231,78,53,0.06);
  border: 1px solid rgba(231,78,53,0.25) !important;
  border-radius: 10px;
  color: #E74E35;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
#hotel_list_load .font-size-18.font-weight-bold {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1A1A2E;
  margin-bottom: 16px;
  display: block;
}

/* Hotel cards spacing */
#hotel_list_load .hotel-search-card {
  margin-bottom: 14px !important;
}

/* Pagination override */
#hotel_list_load .pagination .page-link {
  border-radius: 8px !important;
  margin: 0 2px;
  color: #E74E35;
  border-color: #e5e7eb;
  font-weight: 600;
  font-size: 14px;
}
#hotel_list_load .pagination .page-item.active .page-link {
  background: #E74E35 !important;
  border-color: #E74E35 !important;
  color: #fff !important;
}

/* ─── Hidden engine panels ─── */
.tr-detail-panel,
.tr-map-panel {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 20px;
}

/* ─── Responsive tweaks for SRP ─── */
@media (max-width: 991px) {
  .tr-srp-top-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tr-srp-modify-group { width: 100%; }
  .tr-srp-modify-btn { width: 100%; justify-content: center; }
  .tr-srp-layout { padding-top: 20px !important; }
}
@media (max-width: 575px) {
  .tr-srp-title { font-size: 1.25rem; }
  .tr-srp-chip { font-size: 12px; padding: 4px 10px; }
}


/* ══════════════════════════════════════════════════════════
   NEW_THEME — Filter Panel  (.tr-fp-*)
   ══════════════════════════════════════════════════════════ */

/* Override old bravo_filter mobile positioning that inline <style> uses */
.bravo_filter,
.bravo_filter.mobile-open { position: static !important; right: auto !important; }

.tr-fp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    border-bottom: 1px solid #f0f0f5;
}
.tr-fp-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
}
.tr-fp-clear {
    font-size: 12px;
    font-weight: 600;
    color: #E74E35;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.tr-fp-clear:hover { color: #c43a24; }

.tr-fp-divider {
    border: none;
    border-top: 1px solid #f0f0f5;
    margin: 0;
}

.tr-fp-section {
    padding: 14px 16px;
}
.tr-fp-section-title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 10px;
}

/* ── Price range ── */
.tr-price-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

/* HTML5 range slider — NEW_THEME style */
.tr-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, #E74E35 0%, #E74E35 100%, #e2e2ea 100%);
    outline: none;
    cursor: pointer;
}
.tr-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #E74E35;
    border: 2.5px solid #fff;
    box-shadow: 0 1px 6px rgba(231,78,53,.35);
    cursor: pointer;
}
.tr-range::-moz-range-thumb {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #E74E35;
    border: 2.5px solid #fff;
    box-shadow: 0 1px 6px rgba(231,78,53,.35);
    cursor: pointer;
}

.tr-price-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.tr-price-inp-grp { flex: 1; }
.tr-price-inp-lbl {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.tr-price-inp {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    background: #fff;
    transition: border-color .18s;
}
.tr-price-inp:focus { border-color: #E74E35; outline: none; }

.tr-price-apply-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.tr-fp-btn-reset,
.tr-fp-btn-apply {
    flex: 1;
    border: none;
    border-radius: 8px;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s, color .18s;
}
.tr-fp-btn-reset {
    background: #f3f4f6;
    color: #6b7280;
}
.tr-fp-btn-reset:hover { background: #e5e7eb; color: #374151; }
.tr-fp-btn-apply {
    background: #E74E35;
    color: #fff;
}
.tr-fp-btn-apply:hover { background: #c43a24; }

/* ── Star rows ── */
.tr-star-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s;
    margin-bottom: 4px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
}
.tr-star-row:hover { background: #fef2f0; border-color: #E74E35; }
.tr-star-row.active {
    background: #fff5f3;
    border-color: #E74E35;
}
.tr-stars-ico {
    color: #f59e0b;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 1px;
}
.tr-star-lbl {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

/* ── Name search ── */
.tr-name-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.tr-name-ico {
    position: absolute;
    left: 11px;
    color: #9ca3af;
    font-size: 14px;
    pointer-events: none;
}
.tr-name-inp {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 9px 12px 9px 34px;
    font-size: 13px;
    color: #1f2937;
    background: #fff;
    transition: border-color .18s;
}
.tr-name-inp::placeholder { color: #9ca3af; }
.tr-name-inp:focus { border-color: #E74E35; outline: none; }

/* ── Sort buttons ── */
.tr-sort-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tr-sort-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
    text-align: left;
    width: 100%;
}
.tr-sort-btn:hover { background: #fef2f0; border-color: #E74E35; }
.tr-sort-btn.active {
    background: #fff5f3;
    border-color: #E74E35;
    color: #E74E35;
    font-weight: 600;
}

/* ── Apply Filters (main CTA) ── */
.tr-fp-apply-main {
    display: block;
    width: calc(100% - 32px);
    margin: 8px 16px 16px;
    padding: 11px 0;
    background: #E74E35;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s;
    letter-spacing: .02em;
}
.tr-fp-apply-main:hover { background: #c43a24; }


/* ══════════════════════════════════════════════════════════
   NEW_THEME — Hotel Cards  (.tr-hotel-card, .tr-hc-*)
   ══════════════════════════════════════════════════════════ */

.tr-ajax-wrap { width: 100%; }

.tr-loading-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff8f6;
    border: 1px solid #E74E35;
    border-radius: 8px;
    font-size: 14px;
    color: #E74E35;
    font-weight: 500;
    margin-bottom: 12px;
}

.tr-supplier-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    padding: 0 4px;
}
.tr-sup-chip {
    font-size: 12px;
    background: #f3f4f6;
    border-radius: 4px;
    padding: 2px 8px;
    color: #4b5563;
}

/* Card */
.tr-hotel-card {
    display: flex;
    background: #fff;
    border: 1px solid #eef0f6;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
    cursor: pointer;
    list-style: none;
    box-shadow:
        0 2px 6px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.07);
    position: relative;
    height: 255px;
    max-height: 255px;
}

.tr-hotel-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 2px solid transparent;
    pointer-events: none;
    transition: border-color .25s;
    z-index: 1;
}
.tr-hotel-card:hover {
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow:
        0 6px 20px rgba(231, 78, 53, 0.10),
        0 20px 56px rgba(15, 23, 42, 0.13);
}
.tr-hotel-card:hover::before { border-color: #E74E35; }

/* Image */
/* ── Carousel container ── */
.tr-hc-carousel {
    position: relative;
    flex-shrink: 0;
    width: 270px;
    min-width: 270px;
    align-self: stretch;
    min-height: 200px;
    overflow: hidden;
    background: #e5e7eb;
}

/* Slides track — flex row, NO width constraint so slides sit side-by-side */
.tr-hc-slides {
    display: flex;
    flex-direction: row;
    height: 100%;
    transition: transform .38s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

/* Each slide = exactly the carousel width (set by JS via data-width) */
.tr-hc-slide {
    flex: none;
    width: 270px;
    height: 100%;
    overflow: hidden;
}
.tr-hc-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .38s ease;
    height: 255px;
}
.tr-hotel-card:hover .tr-hc-slide img { transform: scale(1.04); }

/* Prev / Next arrows
   NOTE: markup uses class "tr-cs-btn" (not "tr-cs-arrow") — keep this
   selector in sync with search_ajax_hotel.blade.php, otherwise these
   buttons fall back to unstyled default <button> rendering. */
.tr-cs-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.88);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    font-size: 11px;
    color: #1f2937;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    opacity: 0;
    transition: opacity .2s, background .2s, transform .2s;
    padding: 0;
    line-height: 1;
}
.tr-cs-prev { left: 7px; }
.tr-cs-next { right: 7px; }
.tr-hc-carousel:hover .tr-cs-btn { opacity: 1; }
.tr-cs-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

/* Dots */
.tr-cs-dots {
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 5;
}
.tr-cs-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    transition: background .2s, transform .2s;
    border: none;
    padding: 0;
    display: inline-block;
}
.tr-cs-dot.active {
    background: #fff;
    transform: scale(1.3);
}
.tr-cs-dot:hover { background: rgba(255,255,255,.85); }

/* Body */
.tr-hc-body {
    flex: 1;
    min-width: 0;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tr-hc-top {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 4px;
}

.tr-hc-name {
    font-size: 19px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.2px;
}

.tr-hc-loc {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: #6b7280;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tr-hc-loc i { color: #E74E35; font-size: 11px; flex-shrink: 0; }

.tr-hc-stars { font-size: 13px; display: flex; align-items: center; gap: 2px; }
.tr-star-on  { color: #f59e0b; }
.tr-star-off { color: #d1d5db; }

/* Amenities */
.tr-hc-amens {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}
.tr-hc-amen {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #4b5563;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 4px 9px 4px 6px;
    white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s;
    letter-spacing: 0.1px;
}
.tr-hc-amen:hover {
    background: #fff4f2;
    border-color: #fca99a;
    color: #c43a24;
}
.tr-hc-amen-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    flex-shrink: 0;
}
.tr-hc-amen-ico .fa { font-size: 10px; }

/* Footer: price + CTA */
.tr-hc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed #eef0f6;
    gap: 12px;
}

.tr-hc-price-block {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}
.tr-hc-from {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.tr-hc-night {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}
.tr-hc-price-amt {
    font-size: 26px;
    font-weight: 800;
    color: #E74E35;
    line-height: 1;
    letter-spacing: -0.5px;
}

.tr-hc-deal-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    background: linear-gradient(135deg, #E74E35 0%, #c43a24 100%);
    color: #fff !important;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity .18s, transform .15s, box-shadow .18s;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(231,78,53,.35);
    letter-spacing: 0.2px;
}
.tr-hc-deal-btn:hover {
    opacity: .92;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231,78,53,.45);
}

/* Empty state */
.tr-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 56px 24px 48px;
    min-height: 300px;
}
.tr-es-icon {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: #fef2f0;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.tr-es-icon .fa { font-size: 26px; color: #E74E35; }
.tr-es-title { font-size: 19px; font-weight: 700; color: #1f2937; margin-bottom: 8px; }
.tr-es-desc  { font-size: 14px; color: #6b7280; max-width: 340px; line-height: 1.6; margin: 0; }

/* ── SRP topbar count ── */
.tr-srp-count {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    background: #fff;
    border: 1px solid #eef0f6;
    border-radius: 10px;
    padding: 7px 14px;
    box-shadow: 0 1px 4px rgba(15,23,42,.05);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .tr-hotel-card { flex-direction: column; }
    .tr-hc-carousel { width: 100%; min-width: unset; border-radius: 16px 16px 0 0; min-height: 200px; } .tr-hc-slide { width: 100%; }
    .tr-cs-btn { opacity: 1; } /* always visible on touch */
    .tr-hc-body { padding: 12px 14px; }
    .tr-hc-name { font-size: 15px; }
    .tr-hc-amens { display: none; } /* hide amenities on tiny screens */
    .tr-hc-price-amt { font-size: 18px; }
    .tr-hc-deal-btn { padding: 7px 14px; font-size: 12px; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .tr-hc-carousel { width: 190px; min-width: 190px; } .tr-hc-slide { width: 190px; }
    .tr-hc-name { font-size: 16px; }
}

/* ══════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE — search results
   ══════════════════════════════════════════════ */

/* ── SRP Header ── */
@media (max-width: 575.98px) {
    .tr-srp-hdr { padding: 16px 0 12px; }
    .tr-srp-top-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .tr-srp-title { font-size: 18px; }
    .tr-srp-chips { flex-wrap: wrap; gap: 6px; }
    .tr-srp-chip { font-size: 11px; padding: 4px 9px; }
    .tr-srp-modify-group { width: 100%; display: flex; gap: 8px; }
    .tr-srp-modify-btn { flex: 1; justify-content: center; font-size: 13px; padding: 8px 12px; }
    .tr-srp-modify-form { margin-top: 12px !important; }
}

/* ── Filter panel full-width on small screens ── */
@media (max-width: 767.98px) {
    .tr-filter-panel {
        margin-bottom: 16px;
        box-shadow: 0 2px 8px rgba(15,23,42,.07) !important;
    }
    /* Make filter collapsible hint more obvious */
    .tr-fp-header { cursor: pointer; }
}

/* ── Modify-search form fields stack on mobile ── */
@media (max-width: 767.98px) {
    .hdr-search {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 14px !important;
    }
    .hdr-field,
    .hdr-field.hdr-dest-field,
    .hdr-field.hdr-half {
        flex: 1 1 100% !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    .hdr-search-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 0;
    }
}

/* ── Hotel cards fully stacked on mobile ── */
@media (max-width: 575.98px) {
    .tr-hotel-card {
        flex-direction: column;
        border-radius: 14px;
        margin-bottom: 14px;
    }
    .tr-hc-carousel {
        width: 100% !important;
        min-width: 0 !important;
        border-radius: 14px 14px 0 0;
        min-height: 210px;
        align-self: auto;
    }
    .tr-hc-slides {
        border-radius: 14px 14px 0 0;
    }
    .tr-hc-slide {
        width: 100% !important;
        border-radius: 14px 14px 0 0;
    }
    .tr-hc-slide img {
        border-radius: 14px 14px 0 0;
    }
    .tr-cs-btn {
        opacity: 1 !important; /* Always show arrows on touch */
        width: 30px; height: 30px;
        font-size: 11px;
    }
    .tr-hc-body {
        padding: 12px 14px 14px;
    }
    .tr-hc-name {
        font-size: 15px;
        margin-bottom: 4px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    .tr-hc-loc {
        font-size: 12px;
    }
    .tr-hc-stars .fa {
        font-size: 12px;
    }
    /* Show amenities but wrap them compactly */
    .tr-hc-amens {
        display: flex !important;
        flex-wrap: wrap;
        gap: 5px;
        margin: 8px 0;
    }
    .tr-hc-amen {
        font-size: 10px;
        padding: 3px 7px;
        gap: 4px;
    }
    .tr-hc-amen-ico {
        width: 18px; height: 18px;
        font-size: 9px;
    }
    .tr-hc-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 10px;
        border-top: 1px solid #f1f5f9;
        margin-top: 6px;
    }
    .tr-hc-price-block {
        align-items: baseline;
        gap: 4px;
    }
    .tr-hc-price-amt {
        font-size: 20px;
    }
    .tr-hc-deal-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 10px;
    }
}

/* ── Tablet (576–767) — narrow card, still horizontal ── */
@media (min-width: 576px) and (max-width: 767.98px) {
    .tr-hotel-card {
        flex-direction: row;
    }
    .tr-hc-carousel {
        width: 180px !important;
        min-width: 180px !important;
        border-radius: 16px 0 0 16px;
        min-height: 180px;
        align-self: stretch;
    }
    .tr-hc-slide {
        width: 180px !important;
    }
    .tr-cs-btn { opacity: 1 !important; }
    .tr-hc-amens {
        display: flex !important;
    }
    .tr-hc-amen {
        font-size: 10px;
        padding: 3px 7px;
    }
    .tr-hc-footer {
        gap: 8px;
    }
}

/* ══════════════════════════════════════════════════════════
   HOTEL SEARCH RESULT CARD — consistent sizing on ALL screens
   NOTE: uses min-height (not a clipped fixed height) so that
   variable-length content — e.g. amenities/facilities lists —
   is never cut off on desktop while showing in full on mobile.
   ══════════════════════════════════════════════════════════ */
.tr-hotel-list-card {
  min-height: 200px !important;
}
.tr-hotel-list-card .product-item__outer,
.tr-hotel-list-card .row {
  height: 100% !important;
}

/* Image column */
.tr-hotel-list-card .tr-hc-img-col {
  height: 200px !important;
  overflow: hidden !important;
  flex-shrink: 0;
}
.tr-hotel-list-card .tr-hc-img-col .product-item__header,
.tr-hotel-list-card .tr-hc-img-col > div,
.tr-hotel-list-card .tr-hc-img-col a {
  height: 100% !important;
  display: block;
}
.tr-hotel-list-card .tr-hc-photo {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  display: block !important;
}

/* Content / body column — min-height for alignment, but never clip
   amenity/facility lists or longer hotel names */
.tr-hotel-list-card .tr-hc-body-col {
  min-height: 200px !important;
  overflow: visible !important;
}

/* Price column */
.tr-hotel-list-card .tr-hc-price-col {
  min-height: 200px !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
}

/* On small screens stack vertically — keep full image height */
@media (max-width: 767.98px) {
  .tr-hotel-list-card {
    min-height: unset !important;
  }
  .tr-hotel-list-card .tr-hc-img-col {
    height: 180px !important;
  }
  .tr-hotel-list-card .tr-hc-photo {
    height: 180px !important;
  }
  .tr-hotel-list-card .tr-hc-body-col,
  .tr-hotel-list-card .tr-hc-price-col {
    height: auto !important;
    min-height: unset !important;
  }
}

/* ── Admin Supplier Panel ─────────────────────────── */
.tr-admin-badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: #E74E35;
    color: #fff;
    border-radius: 4px;
    padding: 1px 5px;
    margin-left: 6px;
    vertical-align: middle;
}
.tr-supplier-panel { }
.tr-supplier-grid { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.tr-supplier-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    user-select: none;
}
.tr-supplier-row:hover  { background: #fef2f0; border-color: #E74E35; }
.tr-supplier-row.active { background: #fff5f4; border-color: #E74E35; }
.tr-supplier-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    cursor: pointer;
}
.tr-supplier-name { font-size: .85rem; font-weight: 500; color: #374151; }
.tr-supplier-count {
    font-size: .78rem;
    font-weight: 700;
    color: #E74E35;
    background: #fde8e4;
    border-radius: 12px;
    padding: 1px 8px;
    min-width: 28px;
    text-align: center;
}
.tr-fp-empty-hint { font-size: .8rem; color: #9ca3af; }
