/* =================================================================
   Shared "listing results" page — sidebar filters + result cards.
   Same layout/UX as the Hotels results page (hotel-search.css's
   "Results page" section), reused by Tours/Visas/Sightseeing/Cruise/
   Destinations since each is a small static catalog rendered fully
   server-side (no fetch/skeleton loading needed).
   ================================================================= */

.lst-hero {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(155deg, var(--brand-navy-dark) 0%, var(--brand-navy) 55%, var(--brand-navy-light) 100%);
  color: #fff;
  padding: 2.25rem 0;
  margin-bottom: 2rem;
}

.lst-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lst-hero-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 1.7rem;
  margin: 0;
}

.lst-hero-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0.2rem 0 0;
}

.lst-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.85;
}

.lst-hero-back:hover {
  opacity: 1;
  color: var(--brand-gold-bright);
}

.lst-hero-back .icon {
  width: 15px;
  height: 15px;
}

.lst-page {
  padding-bottom: 4rem;
}

.lst-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

.lst-filters {
  position: sticky;
  top: 1rem;
  border: 1px solid #eef1f6;
  border-radius: 1rem;
  padding: 1.25rem;
}

.lst-fhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.lst-fhead b {
  color: var(--brand-navy);
  font-size: 0.95rem;
}

.lst-fhead button {
  background: none;
  border: none;
  color: var(--brand-gold);
  font-weight: 600;
  font-size: 0.78rem;
}

.lst-fsec {
  padding: 1rem 0;
  border-top: 1px solid #eef1f6;
}

.lst-fsec:first-of-type {
  border-top: none;
  padding-top: 0;
}

.lst-fsec h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.7rem;
}

.lst-price-val {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 0.4rem;
}

.lst-price-val span:first-child {
  color: #8b95a5;
  font-weight: 500;
}

.lst-price-range {
  width: 100%;
  accent-color: var(--brand-navy);
}

.lst-chk {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  cursor: pointer;
  font-size: 0.85rem;
  color: #4b5565;
}

.lst-chk input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.lst-chk-box {
  width: 18px;
  height: 18px;
  border-radius: 0.3rem;
  border: 1.5px solid #cdd4de;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.lst-chk-box svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.lst-chk input:checked + .lst-chk-box {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}

.lst-chk input:checked + .lst-chk-box svg {
  opacity: 1;
}

.lst-chk-count {
  margin-left: auto;
  font-size: 0.72rem;
  color: #9aa4b2;
}

.lst-sortbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.lst-rescount {
  font-size: 0.88rem;
  color: #6b7789;
}

.lst-rescount b {
  color: var(--brand-navy);
  font-size: 1.05rem;
}

.lst-sorttabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lst-stab {
  border: 1px solid #dde3ec;
  border-radius: 2rem;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7789;
  background: #fff;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lst-stab.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
}

.lst-results-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lst-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed #dde3ec;
  border-radius: 1rem;
}

.lst-empty h3 {
  color: var(--brand-navy);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.lst-empty p {
  color: #6b7789;
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto 0.75rem;
}

.lst-empty button {
  border: 1px solid var(--brand-navy);
  color: var(--brand-navy);
  background: #fff;
  border-radius: 0.6rem;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}

.lst-empty button:hover {
  background: var(--brand-navy);
  color: #fff;
}

.lst-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  border: 1px solid #eef1f6;
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  color: inherit;
  text-decoration: none;
}

.lst-card,
.lst-card * {
  text-decoration: none;
}

.lst-card:hover {
  box-shadow: 0 14px 32px rgba(11, 31, 58, 0.1);
  color: inherit;
}

.lst-card:hover .lst-card-name {
  color: var(--brand-gold-bright, var(--brand-gold));
}

.lst-card-image {
  background-size: cover;
  background-position: center;
  min-height: 100%;
}

.lst-card-body {
  padding: 1.1rem 1.25rem;
}

.lst-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.lst-card-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  color: var(--brand-navy);
}

.lst-card-tagline {
  font-size: 0.85rem;
  color: #6b7789;
  margin-bottom: 0.65rem;
}

.lst-card-price {
  text-align: right;
  flex-shrink: 0;
}

.lst-card-price-label {
  display: block;
  font-size: 0.7rem;
  color: #8b95a5;
  text-transform: uppercase;
}

.lst-card-price-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.lst-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.lst-card-tag {
  font-size: 0.72rem;
  color: #4b5565;
  background: #f4f6fa;
  padding: 0.25rem 0.6rem;
  border-radius: 1rem;
}

.lst-card-tag.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #8a6d1a;
  background: var(--brand-gold-soft);
}

.lst-card-tag.rating svg {
  width: 11px;
  height: 11px;
}

.lst-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 0.85rem;
}

.lst-card-cta svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 991.98px) {
  .lst-layout {
    grid-template-columns: 1fr;
  }

  .lst-filters {
    position: static;
  }

  .lst-card {
    grid-template-columns: 1fr;
  }

  .lst-card-image {
    height: 180px;
  }
}

@media (max-width: 575.98px) {
  .lst-card-head {
    flex-direction: column;
  }

  .lst-card-price {
    text-align: left;
  }

  .lst-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
