/* /land-for-sale/ — full-screen listings map + text below (land-for-sale.php). */

.lfs-map-section {
  position: relative;
  /* Below the fixed 76px navbar; a 52px "peek" strip stays visible so a
     phone can scroll past the map (the map itself takes the drag). */
  margin-top: calc(76px + env(safe-area-inset-top));
  height: calc(100vh - 76px - env(safe-area-inset-top));
  height: calc(100svh - 76px - env(safe-area-inset-top));
  min-height: 420px;
  display: flex; flex-direction: column;
  background: #1d2a1d;
}
.lfs-map { flex: 1; min-height: 0; z-index: 1; }
.lfs-map .leaflet-control-attribution { font-size: 10px; }

/* Price tag on the map, like the app's ("₹35 K/sq yd"). */
.lfs-tag-icon { background: none; border: 0; }
.lfs-tag {
  height: 28px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 4px;
  padding: 0 9px; border-radius: 999px; white-space: nowrap; cursor: pointer;
  background: #fff; border: 2px solid var(--forest, #2e7d32); color: var(--forest-deeper, #14361d);
  font: 700 12.5px/1 var(--font-sans, system-ui, sans-serif); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.lfs-tag svg { width: 13px; height: 13px; flex: none; color: var(--forest, #2e7d32); }
.lfs-tag:hover { background: var(--forest, #2e7d32); color: #fff; }
.lfs-tag:hover svg { color: #fff; }

.lfs-top {
  position: absolute; z-index: 5; top: 14px; left: 14px; right: 14px;
  display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; pointer-events: none;
}
.lfs-top > * { pointer-events: auto; }
.lfs-chip {
  background: rgba(255, 255, 255, 0.95); border-radius: 14px; padding: 10px 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); max-width: 60%;
}
.lfs-chip strong { display: block; font-size: 15px; color: var(--forest-deeper, #14361d); line-height: 1.25; }
.lfs-chip span { display: block; font-size: 12.5px; color: var(--muted, #5a6b5c); margin-top: 2px; }

.lfs-list-btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--forest, #2e7d32); color: #fff; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3); transition: transform 0.15s, filter 0.15s;
}
.lfs-list-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.lfs-list-btn svg { width: 18px; height: 18px; }
.lfs-list-btn.lfs-inline { box-shadow: none; margin-top: 4px; }

.lfs-empty {
  position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(360px, calc(100% - 40px)); text-align: center;
  background: rgba(255, 255, 255, 0.96); border-radius: 18px; padding: 22px 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.lfs-empty strong { display: block; font-size: 18px; color: var(--forest-deeper, #14361d); }
.lfs-empty span { display: block; margin: 6px 0 14px; color: var(--muted, #5a6b5c); font-size: 14.5px; }
.lfs-empty .lfs-list-btn { box-shadow: none; }

.lfs-peek {
  flex: 0 0 52px; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--forest-deeper, #14361d); color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none;
}
.lfs-peek span { font-size: 18px; }

.lfs-content { padding-top: 28px; padding-bottom: 20px; max-width: 860px; scroll-margin-top: calc(76px + env(safe-area-inset-top)); }
.lfs-content h1 { font-family: var(--font-display, inherit); font-size: clamp(26px, 4vw, 38px); line-height: 1.15; color: var(--forest-deeper, #14361d); margin: 10px 0 14px; }
.lfs-content h2 { font-family: var(--font-display, inherit); font-size: clamp(20px, 3vw, 26px); color: var(--forest-deeper, #14361d); margin: 34px 0 12px; }
.lfs-content p, .lfs-content li { font-size: 16px; line-height: 1.65; color: var(--body-text, #2d3a2e); }
.lfs-lead { font-size: 17px; }

.lfs-districts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lfs-districts button {
  font: inherit; font-size: 14.5px; cursor: pointer; border: 1px solid var(--divider, #dfe6df);
  background: #fff; color: var(--forest-deeper, #14361d); border-radius: 999px; padding: 7px 14px;
}
.lfs-districts button span { font-weight: 700; color: var(--forest, #2e7d32); margin-left: 4px; }
.lfs-districts button:hover { border-color: var(--forest, #2e7d32); }

.lfs-steps { padding-left: 22px; list-style: decimal; }
.lfs-steps li { margin-bottom: 10px; }
.lfs-docs { padding-left: 22px; list-style: disc; }

.lfs-faq details { border: 1px solid var(--divider, #dfe6df); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; background: #fff; }
.lfs-faq summary { cursor: pointer; font-weight: 600; color: var(--forest-deeper, #14361d); }
.lfs-faq details p { margin: 10px 0 2px; }

/* "Get the app" popup */
.lfs-modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 20, 12, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.lfs-modal[hidden] { display: none; }
.lfs-modal-card {
  position: relative; background: #fff; border-radius: 22px; padding: 28px 24px 22px; width: min(400px, 100%);
  text-align: center; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.lfs-modal-icon { border-radius: 16px; }
.lfs-modal-card h2 { font-family: var(--font-display, inherit); font-size: 22px; color: var(--forest-deeper, #14361d); margin: 12px 0 8px; }
.lfs-modal-card p { color: var(--muted, #5a6b5c); font-size: 15px; line-height: 1.55; margin: 0 0 18px; }
.lfs-modal-x {
  position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; font-size: 26px; line-height: 1; color: var(--muted, #5a6b5c); cursor: pointer;
}
.lfs-modal-x:hover { background: rgba(0, 0, 0, 0.06); }
.lfs-modal-btns { display: flex; flex-direction: column; gap: 10px; }
.lfs-store {
  display: block; padding: 13px 16px; border-radius: 12px; font-weight: 700; text-decoration: none;
  background: var(--forest, #2e7d32); color: #fff;
}
.lfs-store-alt { background: #111; }
.lfs-soon { font-weight: 600; }
body.lfs-modal-open { overflow: hidden; }

@media (max-width: 600px) {
  .lfs-top { flex-direction: column; align-items: stretch; }
  .lfs-chip { max-width: none; }
  .lfs-top .lfs-list-btn { align-self: flex-start; }
}
