/* =========================
   DESIGN TOKENS
========================= */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  --bg: #ffffff;
  --text: #1f1f1f;
  --muted: #4a4a4a;
  --soft: #6b6b6b;
  --border: #e8e8e8;
  --primary: #2f6f5e;
  --primary-dark: #24584b;
  --card-bg: #ffffff;
}

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

body {
  background: #f7f7f7;
  color: var(--text);
  line-height: 1.6;
}

/* =========================
   LAYOUT
========================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================
   NAV
========================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: white;
  z-index: 200;
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
}

.nav-logo img {
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

.signin {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: 0.15s ease;
}

.signin:hover {
  border-color: #aaa;
}

/* =========================
   HERO (HOME)
========================= */
.hero {
  height: 75vh;
  background: url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&w=1800&q=80')
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 620px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.15;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 28px;
  opacity: 0.9;
}

/* =========================
   EXPERIENCE HERO
========================= */
.hero-experience {
  position: relative;
  width: calc(100% - 32px);
  height: clamp(280px, 50vh, 520px);
  margin: 16px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

.hero-experience img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0.2) 50%,
    rgba(0,0,0,0.05) 100%
  );
}

.hero-experience .hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  text-align: left;
  color: white;
}

.hero-experience .hero-content h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 6px;
  text-align: left;
}

.hero-experience .hero-content p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 0;
  text-align: left;
}

/* =========================
   EXPERIENCE PAGE LAYOUT
========================= */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  padding: 24px 20px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.left-panel h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

/* Sticky map */
#map {
  overflow: hidden;
}
/* =========================
   GRID SYSTEM
========================= */
.grid {
  display: grid;
  gap: 20px;
}

.grid.home {
  grid-template-columns: repeat(3, 1fr);
}

.grid.cards {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1100px) {
  .page-layout {
    grid-template-columns: 1fr;
  }


}

@media (max-width: 900px) {
  .grid.home,
  .grid.cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid.home,
  .grid.cards {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CARDS
========================= */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #e8e8e8;
}

.card p {
  padding: 12px 14px 4px;
  font-weight: 600;
  font-size: 15px;
}

.card small {
  padding: 0 14px 14px;
  display: block;
  color: #888;
  font-size: 13px;
}

/* =========================
   CAMPSITE PAGE
========================= */
.campsite-header {
  padding: 28px 0 16px;
}

.campsite-header h1 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 6px;
}

.campsite-header p {
  color: var(--soft);
  font-size: 15px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  height: 480px;
  margin-bottom: 32px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  cursor: pointer;
}

.gallery-img:hover { opacity: 0.95; }

.gallery-all-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: white;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-family: inherit;
  color: #1a1a1a;
}
.gallery-all-btn:hover { background: #f5f5f5; }
/* Content layout */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
  padding-bottom: 60px;
}

.content-main .section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.content-main .section:last-child {
  border-bottom: none;
}

.content-main h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.content-main p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.content-main p + p {
  margin-top: 10px;
}

/* Highlights list */
.highlights {
  list-style: none;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.highlights li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
}

/* Sidebar */
.content-side {
  
  top: 88px;
}

.content-side .section {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.content-side h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.content-side .pill {
  display: block;
  background: none;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 0;
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.content-side .pill:last-child {
  border-bottom: none;
}

.content-side a.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
  border: none;
  transition: background 0.15s ease;
}

.content-side a.pill:hover {
  background: var(--primary-dark);
}

@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .content-side {
    position: relative;
    top: 0;
  }

  .gallery {
    grid-template-columns: 1fr;
    height: 280px;
  }

  .gallery-thumbs {
    display: none;
  }
}

/* =========================
   CAMPSITE MAP
========================= */
.content-main #map {
  position: relative;
  top: 0;
  height: 340px;
  max-height: 340px;
  border-radius: 14px;
  overflow: hidden;
}

/* =========================
   SEARCH BOX
========================= */
.search-box {
  position: relative;
  margin-top: 16px;
}

.search-box input {
  width: 100%;
  padding: 14px 140px 14px 18px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 15px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.search-box button {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  border: none;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--primary);
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease;
}

.search-box button:hover {
  background: var(--primary-dark);
}

.suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.14);
  z-index: 9999;
  display: none;
  max-height: 260px;
  overflow-y: auto;
}

.suggestion-item {
  padding: 12px 16px;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--text);
}

.suggestion-item:hover {
  background: rgba(0,0,0,0.04);
}

/* =========================
   TRIP GRID (HOME)
========================= */
.section {
  padding: 32px 0;
}

.section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.trip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.trip-grid a {
  position: relative;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  display: block;
}

.trip-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trip-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent 60%);
}

.trip-grid p {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  margin: 0;
  font-weight: 600;
  font-size: 15px;
}

.trip-grid a:hover img {
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .trip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .trip-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* =========================
   PILLS
========================= */
.hidden { display: none; }

.pill {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f0f2f0;
  font-size: 13px;
  margin: 4px 6px 4px 0;
  color: var(--muted);
  font-weight: 500;
}

/* =========================
   LIGHTBOX
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox.hidden {
  display: none;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: white;
  font-size: 28px;
  cursor: pointer;
  opacity: 0.8;
  line-height: 1;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 32px;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav.left { left: 20px; }
.lightbox-nav.right { right: 20px; }

/* =========================
   FOOTER
========================= */
.footer {
  margin-top: 60px;
  background: #111;
  color: white;
  padding: 48px 20px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer strong {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: white;
}

.footer a {
  display: block;
  color: #999;
  text-decoration: none;
  margin-top: 7px;
  font-size: 13px;
  transition: color 0.15s ease;
}

.footer a:hover { color: white; }

.footer-bottom {
  text-align: center;
  margin-top: 36px;
  font-size: 12px;
  color: #555;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================
   BROWSE LAYOUT (FILTERS + RESULTS)
========================= */
.browse-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
  padding-top: 28px;
  padding-bottom: 40px;
}

/* =========================
   FILTER SIDEBAR
========================= */
.filter-sidebar {
  
  top: 80px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.filter-header h3 {
  font-size: 16px;
  font-weight: 700;
}

.filter-clear {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 13px;
  cursor: pointer;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.filter-clear:hover {
  background: #f0f2f0;
}

.filter-group {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--soft);
  margin-bottom: 10px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  font-size: 13.5px;
  color: var(--text);
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.1s ease;
  user-select: none;
}

.filter-check:hover {
  background: #f5f5f5;
}

.filter-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

/* =========================
   RESULTS HEADER
========================= */
.results-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.results-header h2 {
  font-size: 20px;
  font-weight: 700;
}

.results-count {
  font-size: 13px;
  color: var(--soft);
  font-weight: 400;
}

.no-results {
  padding: 40px 20px;
  text-align: center;
  color: var(--soft);
  font-size: 15px;
  background: white;
  border-radius: 14px;
  border: 1px dashed var(--border);
}

/* Responsive — collapse sidebar on mobile */
@media (max-width: 860px) {
  .browse-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: relative;
    top: 0;
    max-height: none;
  }
}

/* =========================
   SEARCH SUGGESTIONS (RICH)
========================= */
.suggestion-heading {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--soft);
  pointer-events: none;
  padding: 10px 16px 6px;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  color: var(--text);
}

.suggestion-item:last-child { border-bottom: none; }

.suggestion-item:hover { background: rgba(0,0,0,0.04); }

.suggestion-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.suggestion-label {
  display: block;
  font-weight: 500;
  font-size: 14px;
}

.suggestion-sub {
  display: block;
  font-size: 12px;
  color: var(--soft);
  margin-top: 1px;
}

/* =========================
   BROWSE LAYOUT (NEW)
========================= */
.section-heading {
  padding: 28px 0 16px;
  font-size: 22px;
  font-weight: 700;
}

.browse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 20px;
}

.browse-header-left {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.browse-header-left h2 {
  font-size: 22px;
  font-weight: 700;
}

.filter-toggle-btn {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.15s ease;
  display: none; /* shown on mobile only */
}

.filter-toggle-btn:hover {
  border-color: #aaa;
}

.browse-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 60px;
}

/* =========================
   FILTER SIDEBAR (UPDATED)
========================= */
.filter-sidebar {
  
  top: 80px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.filter-header h3 {
  font-size: 15px;
  font-weight: 700;
}

.filter-clear {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 12px;
  cursor: pointer;
  font-weight: 500;
}

.filter-group {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--soft);
  margin-bottom: 8px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.1s ease;
  user-select: none;
}

.filter-check:hover { background: #f5f5f5; }

.filter-check input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

/* =========================
   BROWSE RIGHT (CARDS + MAP)
========================= */
.browse-right {
  min-width: 0;
}

.browse-right #map {
  margin-top: 32px;
  height: 380px;
  max-height: 380px;
  border-radius: 16px;
  overflow: hidden;
  clear: both;
}

/* =========================
   RESULTS
========================= */
.results-count {
  font-size: 13px;
  color: var(--soft);
}

.no-results {
  padding: 40px 20px;
  text-align: center;
  color: var(--soft);
  font-size: 15px;
  background: white;
  border-radius: 14px;
  border: 1px dashed var(--border);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 860px) {
  .browse-body {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    display: none;
    position: relative;
    top: 0;
    max-height: none;
  }

  .filter-sidebar.open {
    display: block;
  }

  .filter-toggle-btn {
    display: block;
  }
}

/* =========================
   FILTER BAR (DROPDOWN PILLS)
========================= */
.filter-bar-wrap {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 50;
}

.filter-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill-group {
  position: relative;
}

.filter-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.15s ease;
  color: var(--text);
}

.filter-pill:hover {
  border-color: #999;
}

.filter-pill.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pill-arrow {
  font-size: 10px;
  opacity: 0.6;
}

.filter-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  z-index: 200;
  min-width: 200px;
}

.filter-dropdown.open {
  display: block;
}

.filter-dropdown .filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.1s;
  color: var(--text);
  user-select: none;
}

.filter-dropdown .filter-check:hover {
  background: #f5f5f5;
}

.filter-dropdown .filter-check input {
  accent-color: var(--primary);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.filter-clear-all {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}

.filter-clear-all:hover {
  background: #f0f4f2;
}

/* =========================
   SPLIT VIEW
========================= */
.split-view {
  display: flex;
  height: calc(100vh - 130px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

.split-left {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  min-width: 0;
}

.split-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.results-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

/* Cards in split view - 2 columns */
.cards-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cards-split .card img {
  height: 160px;
}

.split-right {
  width: 420px;
  flex-shrink: 0;
  position: relative;
}

.split-right #map {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.no-results {
  padding: 40px 20px;
  text-align: center;
  color: var(--soft);
  font-size: 15px;
  background: white;
  border-radius: 14px;
  border: 1px dashed var(--border);
}

/* =========================
   RESPONSIVE SPLIT
========================= */
@media (max-width: 900px) {
  .split-view {
    flex-direction: column;
    height: auto;
  }

  .split-right {
    width: 100%;
    height: 300px;
  }

  .split-right #map {
    height: 300px;
  }

  .cards-split {
    grid-template-columns: 1fr;
  }
}

/* =========================
   ROUTE BUILDER
========================= */
.route-builder-panel {
  background: white;
}

.route-intro {
  font-size: 13px;
  color: var(--soft);
  margin-bottom: 14px;
}

.route-input-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.route-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  outline: none;
  transition: border 0.15s;
}

.route-input:focus {
  border-color: var(--primary);
}

.route-btn {
  padding: 10px 18px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.route-btn:hover { background: var(--primary-dark); }
.route-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.route-error {
  background: #fff3f3;
  border: 1px solid #ffcdd2;
  color: #c62828;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 10px;
}

.route-loading {
  font-size: 13px;
  color: var(--soft);
  padding: 8px 0;
}

.route-result {
  margin-top: 4px;
}

.route-summary {
  display: flex;
  gap: 16px;
  background: #f0f4f2;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.route-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.route-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.route-stat-label {
  font-size: 11px;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.route-links-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--soft);
  margin-bottom: 8px;
}

.route-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  transition: 0.15s ease;
}

.route-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f0f4f2;
}

.route-clear {
  background: none;
  border: none;
  color: var(--soft);
  font-size: 12px;
  cursor: pointer;
  padding: 6px 0;
  margin-top: 4px;
  text-decoration: underline;
}

.route-clear:hover { color: var(--text); }

.route-marker-start {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* =========================
   ROME2RIO WIDGET
========================= */
.rome2rio-section p.route-intro {
  margin-bottom: 12px;
}

.r2r-widget-wrap iframe {
  display: block;
  width: 100%;
  min-height: 400px;
  border-radius: 12px;
}

.r2r-note {
  font-size: 11px;
  color: var(--soft);
  margin-top: 8px;
  text-align: center;
}

.r2r-note a {
  color: var(--primary);
  text-decoration: none;
}

/* =========================
   TRANSPORT DEEP-LINK BUTTONS
========================= */
.transport-info-row {
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid #f5f5f5;
  line-height: 1.5;
}

.transport-info-row:last-child {
  border-bottom: none;
  margin-bottom: 12px;
}

.transport-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.transport-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: 0.15s ease;
}

.transport-btn:hover {
  border-color: var(--primary);
  background: #f0f4f2;
  transform: translateX(2px);
}

.transport-btn-icon {
  font-size: 22px;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.transport-btn-text {
  flex: 1;
  min-width: 0;
}

.transport-btn-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.transport-btn-text small {
  display: block;
  font-size: 12px;
  color: var(--soft);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transport-btn-arrow {
  color: var(--soft);
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.15s;
}

.transport-btn:hover .transport-btn-arrow {
  transform: translateX(3px);
  color: var(--primary);
}

/* =========================
   CAMPSITE HEADER ACTIONS
========================= */
.campsite-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 16px;
}

.campsite-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-top: 4px;
}

.compare-save-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 2px solid var(--primary);
  border-radius: 999px;
  background: white;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s ease;
  white-space: nowrap;
}

.compare-save-btn:hover {
  background: var(--primary);
  color: white;
}

.compare-save-btn.saved {
  background: var(--primary);
  color: white;
}

.compare-view-btn {
  padding: 10px 18px;
  border-radius: 999px;
  background: #f0f4f2;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.15s ease;
  white-space: nowrap;
}

.compare-view-btn:hover {
  background: var(--primary);
  color: white;
}

/* =========================
   COMPARE PAGE
========================= */
.compare-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 0 24px;
}

.compare-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.compare-subtitle {
  color: var(--soft);
  font-size: 15px;
}

.compare-clear-all {
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: 0.15s ease;
}

.compare-clear-all:hover {
  border-color: #e53935;
  color: #e53935;
}

.compare-empty {
  text-align: center;
  padding: 80px 20px;
}

.compare-empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.compare-empty h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.compare-empty p {
  color: var(--soft);
  font-size: 15px;
}

/* Compare table */
.compare-table-wrap {
  overflow-x: auto;
  padding-bottom: 60px;
}

.compare-table {
  display: flex;
  min-width: 600px;
}

.compare-labels {
  flex-shrink: 0;
  width: 200px;
  border-right: 1px solid var(--border);
}

.compare-cols {
  display: flex;
  flex: 1;
  overflow-x: auto;
}

.compare-col {
  flex: 1;
  min-width: 220px;
  border-right: 1px solid var(--border);
}

.compare-col:last-child {
  border-right: none;
}

.compare-label-cell {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid #f5f5f5;
  min-height: 48px;
  font-weight: 500;
}

.compare-label-cell.label-highlight {
  background: #f8faf9;
  font-weight: 700;
  color: var(--primary);
}

.compare-label-cell.header-spacer,
.compare-label-cell.hero-spacer {
  min-height: 48px;
}

.compare-label-cell.hero-spacer {
  min-height: 160px;
}

.compare-section-header {
  padding: 10px 14px 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--soft);
  background: #f8f8f8;
  border-bottom: 1px solid var(--border);
}

.compare-cell {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid #f5f5f5;
  min-height: 48px;
  display: flex;
  align-items: center;
  line-height: 1.4;
}

.compare-hero {
  padding: 0;
  min-height: 160px;
}

.compare-hero img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.compare-name {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.compare-name a {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}

.compare-name a:hover { color: var(--primary); }

.compare-name small {
  font-size: 12px;
  color: var(--soft);
}

.compare-remove {
  justify-content: flex-end;
  min-height: 40px;
  border-bottom: none;
}

.compare-remove-btn {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--soft);
  cursor: pointer;
  padding: 4px 8px;
}

.compare-remove-btn:hover { color: #e53935; }

.compare-route-cell {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-height: 80px;
  background: #f8faf9;
}

.compare-route-input-wrap {
  display: flex;
  gap: 6px;
}

.compare-route-input {
  flex: 1;
  padding: 7px 10px;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  outline: none;
}

.compare-route-btn {
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: white;
  cursor: pointer;
  font-weight: 600;
}

.compare-route-result {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
}

.compare-route-result .route-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

.compare-nearby {
  flex-wrap: wrap;
  gap: 4px;
  min-height: 60px;
  align-items: flex-start;
  padding-top: 8px;
}

.compare-book {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-height: 80px;
  padding: 8px 14px;
}

.compare-book .transport-btn {
  padding: 8px 10px;
}


/* =========================
   EXPERIENCE PAGE LAYOUT
========================= */
.exp-body {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
  align-items: start;
  padding-top: 24px;
  padding-bottom: 60px;
}

.exp-cards {
  min-width: 0;
}

.exp-cards-header {
  margin-bottom: 16px;
}

.exp-cards .grid.cards {
  grid-template-columns: repeat(3, 1fr);
}

.exp-map {
  position: sticky;
  top: 80px;
}

.exp-map #map {
  width: 100%;
  height: 520px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

@media (max-width: 1100px) {
  .exp-cards .grid.cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .exp-body {
    grid-template-columns: 1fr;
  }

  .exp-map {
    position: relative;
    top: 0;
  }

  .exp-map #map {
    height: 300px;
  }

  .exp-cards .grid.cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .exp-cards .grid.cards {
    grid-template-columns: 1fr;
  }
}

/* =========================
   COMPARE PAGE REDESIGN
========================= */
.cmp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 0 24px;
}

.cmp-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cmp-subtitle {
  color: var(--soft);
  font-size: 15px;
}

.cmp-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 60px;
}

/* PRIORITIES PANEL */
.cmp-priorities {
  position: sticky;
  top: 80px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.cmp-priorities h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cmp-priorities-sub {
  font-size: 12px;
  color: var(--soft);
  margin-bottom: 16px;
  line-height: 1.5;
}

.cmp-priority-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cmp-priority-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  transition: background 0.1s;
  user-select: none;
}

.cmp-priority-item:hover { background: #f5f5f5; }

.cmp-priority-item input[type="checkbox"] {
  accent-color: var(--primary);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.cmp-priority-count {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
}

/* CAMPSITE CARDS */
.cmp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}

.cmp-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s ease;
}

.cmp-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.cmp-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 12px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.cmp-remove:hover { background: #e53935; }

.cmp-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.cmp-card-body {
  padding: 16px;
}

.cmp-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.cmp-card-title:hover { color: var(--primary); }

.cmp-card-location {
  font-size: 12px;
  color: var(--soft);
  margin-bottom: 14px;
}

/* SCORE */
.cmp-score {
  background: #f8faf9;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}

.cmp-score-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cmp-score-label {
  font-size: 13px;
  font-weight: 700;
}

.cmp-score-pct {
  font-size: 13px;
  font-weight: 700;
}

.cmp-score-bar {
  height: 6px;
  background: #e0e0e0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.cmp-score-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s ease;
}

.cmp-match-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cmp-match-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 500;
}

.cmp-match-tag.hit {
  background: #e8f5e9;
  color: #2e7d32;
}

.cmp-match-tag.miss {
  background: #fce4ec;
  color: #c62828;
}

/* CARD SECTIONS */
.cmp-card-section {
  margin-bottom: 12px;
}

.cmp-card-section h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--soft);
  margin-bottom: 6px;
}

.cmp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cmp-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #f0f2f0;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}

.cmp-transport {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cmp-transport-row {
  font-size: 12px;
  color: var(--muted);
}

.cmp-card-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.cmp-card-links .transport-btn {
  padding: 8px 12px;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .cmp-layout {
    grid-template-columns: 1fr;
  }

  .cmp-priorities {
    position: relative;
    top: 0;
    max-height: none;
  }

  .cmp-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .cmp-cards {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CASTRAAI BANNER
========================= */
.castra-ai-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 32px 0;
  padding: 32px 36px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}

.castra-ai-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #2f6f5e, #7fffd4);
  border-radius: 4px 0 0 4px;
}

.castra-ai-left {
  flex: 1;
  min-width: 240px;
}

.castra-ai-badge {
  display: inline-block;
  background: #f0f9f6;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  border: 1px solid #d0ece6;
}

.castra-ai-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.castra-ai-desc {
  font-size: 14px;
  color: var(--soft);
  line-height: 1.6;
  max-width: 460px;
}

.castra-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 14px;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.castra-ai-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .castra-ai-banner {
    padding: 24px 20px;
  }
  .castra-ai-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================
   NEARBY ATTRACTIONS
========================= */
.attraction-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
}

.attraction-row:last-child {
  border-bottom: none;
}

.attraction-icon {
  font-size: 18px;
  width: 26px;
  text-align: center;
  flex-shrink: 0;
}

.attraction-name {
  flex: 1;
  color: var(--text);
  font-weight: 500;
}

.attraction-distance {
  font-size: 12px;
  color: var(--soft);
  background: #f0f2f0;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Attraction image cards */
.attraction-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.attraction-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
  background: white;
}

.attraction-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.attraction-card-img {
  position: relative;
  height: 130px;
  overflow: hidden;
}

.attraction-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.attraction-card:hover .attraction-card-img img {
  transform: scale(1.05);
}

.attraction-card-type {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: capitalize;
}

.attraction-card-body {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.attraction-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

.attraction-card-desc {
  font-size: 11px;
  color: #666;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.attraction-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.attraction-card-dist {
  font-size: 11px;
  color: var(--soft);
  background: #f0f2f0;
  padding: 2px 7px;
  border-radius: 999px;
}

.attraction-card-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 768px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Nav full width on mobile */
  .nav {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
  }

  /* Container */
  .container {
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  /* Transport button text wraps */
  .transport-btn-text small {
    white-space: normal;
  }

  /* Transport info rows wrap */
  .transport-info-row {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Attraction cards single column */
  .attraction-cards {
    grid-template-columns: 1fr !important;
  }

  /* All text wraps */
  p, li, h1, h2, h3 {
    max-width: 100%;
    overflow-wrap: break-word;
  }
}

/* =========================
   MAP PINS
========================= */
.map-pin {
  background: white;
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  border: 2px solid var(--primary);
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  line-height: 1.4;
}

.map-pin.active {
  background: var(--primary);
  color: white;
}