/* =====================================================
   Sea Sky Samui Villas — villas listing page
   Hero + filterable villa grid, Oliver's Travels style.
   Shares tokens/nav/footer with home.css.
   ===================================================== */

/* ---------- hero ---------- */

.vl-hero {
  position: relative;
  min-height: 62vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 6vw;
}

.vl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 30, 42, 0.35) 0%, rgba(10, 30, 42, 0.18) 50%, rgba(10, 30, 42, 0.45) 100%);
}

.vl-hero > * { position: relative; }

.vl-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #f0ece2;
  margin: 0 0 18px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.vl-crumb a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.8);
  padding-bottom: 2px;
}

.vl-hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  font-weight: 500;
  max-width: 900px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.vl-hero-sub {
  color: #f0ece2;
  font-size: clamp(0.98rem, 1.4vw, 1.15rem);
  margin: 16px 0 0;
  max-width: 560px;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}

/* ---------- filter chips bar ---------- */

.vl-chipbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 26px 4vw 6px;
}

.vl-chipbar-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-right: 6px;
}

.vl-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vl-chip:hover { border-color: var(--navy-soft); }

.vl-chip.active {
  background: #1d9e55;
  border-color: #1d9e55;
  color: #fff;
}

.vl-chip.active::before {
  content: "\2713";
  font-size: 0.85rem;
}

.vl-count {
  margin-left: auto;
  font-size: 0.88rem;
  color: var(--navy-soft);
  font-weight: 600;
}

.vl-count--lead {
  margin-left: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- layout: sidebar + grid ---------- */

.vl-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 36px;
  padding: 24px 4vw 80px;
  align-items: start;
}

/* sidebar */

.vl-side {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 22px;
}

.vl-facet {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.vl-facet:last-child { border-bottom: none; }

.vl-facet h3 {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 14px;
}

.vl-facet select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fdfcf9;
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  padding: 10px 12px;
  cursor: pointer;
}

.vl-facet label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--navy-soft);
  font-weight: 600;
  padding: 6px 0;
  cursor: pointer;
}

.vl-facet input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #1d9e55;
  cursor: pointer;
}

.vl-clear {
  display: inline-block;
  margin: 16px 0 10px;
  background: none;
  border: none;
  font-family: "Manrope", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--coral);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* grid + cards */

.vl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.vl-card {
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.vl-card-media {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.vl-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vl-card:hover .vl-card-media img { transform: scale(1.04); }

.vl-card-body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.vl-card-area {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
  margin: 0;
}

.vl-card-body h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  margin: 0;
  color: var(--navy);
}

.vl-card-tags {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vl-card-tags span {
  background: rgba(255, 255, 255, 0.92);
  color: #17753f;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 5px 12px;
  backdrop-filter: blur(2px);
}

.vl-card-meta {
  margin: 4px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-soft);
}

/* feature card — dominant editorial row spanning the full grid */
.vl-card--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}

.vl-card--feature .vl-card-media {
  height: 100%;
  min-height: 400px;
}

.vl-card--feature .vl-card-body {
  justify-content: center;
  padding: 40px 44px;
  gap: 10px;
}

.vl-card--feature h2 {
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.05;
}

.vl-card-blurb {
  margin: 2px 0 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--navy-soft);
  max-width: 42ch;
}

.vl-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  color: var(--navy-soft);
}

.vl-empty h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--navy); }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .vl-layout { grid-template-columns: 1fr; }
  .vl-side { position: static; }
  .vl-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .vl-hero { min-height: 48vh; padding: 60px 6vw; }
  .vl-grid { grid-template-columns: 1fr; }
  .vl-count { margin-left: 0; width: 100%; }
  .vl-card--feature { grid-template-columns: 1fr; }
  .vl-card--feature .vl-card-media { min-height: 260px; }
  .vl-card--feature .vl-card-body { padding: 22px; }
}
