@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root{
  --primary: #63b4ff;
  --primary-dark: #318cf6;
  --primary-light: #eaf5ff;
  --bg: #f5faff;
  --card: #FFFFFF;
  --text: #16324f;
  --muted: #5e7a96;
  --border: #d9e8f5;
  --surface-soft: #f7fbff;
  --shadow-sm: 0 8px 24px rgba(22,50,79,0.06);
  --shadow-md: 0 20px 40px rgba(22,50,79,0.10);
  --shadow-lg: 0 28px 70px rgba(49,140,246,0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { max-width: 100%; overflow-x: hidden; }
body { font-family: 'Inter', 'Segoe UI', sans-serif; background: radial-gradient(circle at top, #ffffff 0%, #f4faff 45%, #eef7ff 100%); color: var(--text); font-size: 13px; line-height: 1.6; }

/* ── NAV ── */
nav, .site-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo { font-size: 17px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #333;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.nav-links span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.nav-links a {
  margin-left: 8px;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover { color: var(--primary); background: var(--primary-light); }

/* ── PROFILE DROPDOWN ── */
.nav-profile-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
}

.nav-profile-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--primary-light);
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.nav-profile-btn svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.nav-profile-btn:hover,
.nav-profile-btn:focus-visible {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.nav-profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(22,50,79,0.13);
  z-index: 200;
  padding: 6px;
  flex-direction: column;
  gap: 2px;
}

.nav-profile-dropdown.open { display: flex; }

.nav-profile-dropdown a {
  display: block;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  margin-left: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav-profile-dropdown a:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 64px 64px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  border-radius: 0 0 24px 24px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 14px;
}

.hero-accent { color: var(--primary); }

.hero-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 14px;
  color: var(--muted);
  opacity: 0.9;
  max-width: 480px;
}

.hero-search-bar {
  display: flex;
  gap: 8px;
  background: #F1F5F9;
  padding: 8px;
  border-radius: 14px;
  margin-bottom: 20px;
  max-width: 520px;
  border: none !important;
  box-shadow: none !important;
}

.hero-search-bar input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  font-size: 14px;
  padding: 8px 12px;
  outline: none;
  min-height: 40px;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

.hero-search-bar button {
  background: var(--primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  white-space: nowrap;
  min-height: 40px !important;
  width: auto !important;
}

.hero-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  width: auto !important;
}

.hero-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

.hero-image-wrap { position: relative; }

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  box-shadow: var(--shadow-lg);
}

.hero-live-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-live-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-live-title { font-size: 13px; font-weight: 600; color: var(--text); }
.hero-live-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ── TRUST BAR ── */
.trust-bar {
  background: #0F172A;
  padding: 40px 64px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item { text-align: center; }
.trust-num { font-size: 20px; font-weight: 800; color: #fff; }
.trust-label { font-size: 11px; color: #94A3B8; margin-top: 4px; }

/* ── FEATURED SECTION ── */
.featured-section { padding: 72px 64px 80px; background: var(--bg); }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 0 auto 36px;
  max-width: 1200px;
}

.section-label {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-heading h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; }

.section-link {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.section-link:hover { background: #DBEAFE; }

.featured-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.featured-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.featured-image-wrap {
  position: relative;
  overflow: hidden;
}

.featured-image-wrap img,
.featured-image-wrap .no-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.featured-image-wrap .no-image {
  background: linear-gradient(135deg, #DBEAFE, #EFF6FF);
  color: #93C5FD;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }

.featured-location {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.featured-card-body h3 { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--text); }
.featured-address { color: var(--muted); font-size: 11px; line-height: 1.5; }

.featured-card-footer {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.featured-price { font-size: 16px; font-weight: 800; color: var(--primary); }
.featured-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.featured-view-button { background: var(--primary); color: #fff; border-radius: 10px; padding: 9px 18px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; }
.featured-view-button:hover { background: var(--primary-dark); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  background: #25d366;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.04);
  white-space: nowrap;
}

.btn-whatsapp:hover {
  filter: brightness(0.95);
}

/* WhatsApp button sized to match the listing card's btn-details */
.btn-whatsapp--card {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 12px;
}

.featured-empty {
  grid-column: 1 / -1;
  padding: 32px;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

/* ── BUTTONS GLOBAL ── */
button {
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s, transform 0.15s;
}

button:hover { background: var(--primary-dark); transform: translateY(-1px); }

.browse-header { padding: 16px 20px 0; background: var(--bg); }
.nearby-results-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #edf7ff, #ffffff);
  border: 1px solid rgba(99, 180, 255, 0.28);
  box-shadow: var(--shadow-sm);
}
.nearby-results-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  color: var(--text);
}
.nearby-results-banner p {
  color: var(--muted);
  font-size: 14px;
}
.nearby-clear-button {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid rgba(99, 180, 255, 0.35);
}
.browse-search-row { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.browse-search-bar { position: relative; flex: 1; display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--border); border-radius: 24px; padding: 10px 16px; }
.browse-search-bar input { border: none; outline: none; font-size: 14px; color: var(--text); background: transparent; width: 100%; font-family: inherit; }
.filter-toggle-btn { width: 45px; height: 45px; border-radius: 14px; background: #e6f0ff; border: 1px solid rgba(74, 144, 226, 0.18); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; color: #4a90e2; box-shadow: 0 8px 18px rgba(74, 144, 226, 0.12); transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease; }
.filter-toggle-btn:hover { background: #dbe9ff; border-color: rgba(74, 144, 226, 0.32); box-shadow: 0 12px 24px rgba(74, 144, 226, 0.18); transform: translateY(-1px); }
.filter-toggle-btn:focus-visible { outline: 2px solid rgba(74, 144, 226, 0.28); outline-offset: 3px; }
.filter-toggle-btn.active { background: #d8e8ff; border-color: rgba(74, 144, 226, 0.34); color: #4a90e2; box-shadow: 0 10px 22px rgba(74, 144, 226, 0.16); }
.filter-toggle-icon { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.filter-toggle-icon span { display: block; height: 2.5px; border-radius: 999px; background: currentColor; }
.filter-toggle-icon span:first-child { width: 18px; }
.filter-toggle-icon span:last-child { width: 12px; margin-left: 6px; }
.location-autocomplete { position: absolute; top: 100%; left: 0; width: 100%; display: none; padding: 8px; background: #fff; border: 1px solid #d7e7ff; border-radius: 12px; box-shadow: 0 18px 36px rgba(35, 82, 140, 0.14); z-index: 1000; max-height: 340px; overflow-y: auto; }
.location-autocomplete.is-open { display: block; }
.location-suggestion { width: 100%; border: none; background: transparent; color: var(--text); text-align: left; font: inherit; padding: 12px 14px; border-radius: 12px; cursor: pointer; transition: background-color .16s ease, color .16s ease; }
.location-suggestion:hover,
.location-suggestion:focus-visible { background: #e6f0ff; color: #2b5f99; outline: none; }
.location-suggestion-match { color: #4a90e2; font-weight: 700; background: #e6f0ff; border-radius: 6px; padding: 0 2px; }

/* Dropdown container */
.location-autocomplete-header {
  padding: 8px 14px;
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
}

/* Suggestion item */
.premium-suggestion {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  width: 100%;
  border: none;
  background: white;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.premium-suggestion:hover {
  background: #f1f5f9;
  transform: scale(1.01);
}

/* Icon */
.suggestion-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* Content */
.suggestion-content {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.suggestion-title,
.suggestion-title * {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  word-break: break-word !important;
}

.suggestion-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.suggestion-sub {
  font-size: 12px;
  color: #6b7280;
}

/* Suggestion item — ensure flex does not clip text */
.premium-suggestion {
  min-width: 0 !important;
}

@media (max-width: 768px) {
  .premium-suggestion {
    display: flex !important;
    min-width: 0 !important;
  }
  .suggestion-content {
    flex: 1 !important;
    min-width: 0 !important;
  }
  .suggestion-title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word !important;
  }
  .location-suggestion-match {
    display: inline !important;
  }
}

/* Empty state */
.location-autocomplete-empty {
  padding: 16px;
  text-align: center;
}

.search-empty-title {
  font-weight: 600;
  color: #111827;
}

.search-empty-sub {
  font-size: 12px;
  color: #6b7280;
}

.browse-filters { display: none; padding-bottom: 12px; }
.browse-filters.open { display: block; }
.filter-group { margin-bottom: 10px; }
.filter-group-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 20px; border: 1.5px solid var(--border); background: #fff; color: var(--text); cursor: pointer; transition: all .15s; white-space: nowrap; }
.filter-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-chip:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

@media (min-width: 768px) {
  .browse-filters { display: block; }
  .filter-toggle-btn { display: none; }
  .browse-search-bar { border-radius: 12px; }
}

/* ── LISTINGS GRID ── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 32px 48px;
}

.listing-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.listing-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.2); }

.card-img-wrap { position: relative; width: 100%; height: 200px; overflow: hidden; background: #E2E8F0; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-img-wrap .no-image { width: 100%; height: 100%; background: linear-gradient(135deg, #DBEAFE, #EFF6FF); }
.card-image-fallback { display: flex; align-items: center; justify-content: center; color: #5B6B81; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.card-img-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; }
.img-badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; display: inline-block; }
.badge-green { background: #DCFCE7; color: #166534; }
.badge-teal  { background: #CCFBF1; color: #0f766e; }
.badge-gold  { background: #FEF9C3; color: #854d0e; }

.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-copy { display: flex; flex-direction: column; gap: 6px; min-height: 86px; }
.card-city-label { font-size: 11px; font-weight: 800; color: var(--primary); letter-spacing: 1px; line-height: 1.2; }
.card-title,
.card-body h3 { font-size: 13px; font-weight: 750; color: var(--text); line-height: 1.35; margin: 0; }
.card-address,
.card-body .meta { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta-stack { display: flex; flex-direction: column; gap: 8px; min-height: 54px; }
.card-distance {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
}
.card-rating { display: flex; align-items: center; gap: 6px; min-height: 20px; }
.card-rating--empty { color: var(--muted); font-size: 12px; font-weight: 600; }
.card-stars { color: #F59E0B; font-size: 12px; letter-spacing: 1px; }
.card-rating-val { font-size: 13px; font-weight: 700; color: var(--text); }
.card-rating-count { font-size: 12px; color: var(--muted); }
.card-footer { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.card-body .price { font-size: 15px; font-weight: 800; color: var(--primary); margin-top: 0; line-height: 1.1; white-space: nowrap; }
.card-actions { display: flex; gap: 8px; margin-top: 0; }
.btn-contact { flex: 1; background: var(--primary); color: #fff; border: none; border-radius: 10px; font-size: 13px; font-weight: 600; padding: 10px 8px; cursor: pointer; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.btn-contact:hover { background: var(--primary-dark); }
.btn-contact:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-details { flex: 1; background: #fff; color: var(--primary); border: 1.5px solid var(--primary); border-radius: 10px; font-size: 13px; font-weight: 600; padding: 10px 8px; cursor: pointer; transition: background 0.15s; }
.btn-details:hover { background: var(--primary-light); }

@media (max-width: 480px) {
  .card-img-wrap { height: 180px; }
  .card-body .price { font-size: 16px; }
  .wishlist-heart {
    width: 34px;
    height: 34px;
  }
  .wishlist-heart svg { width: 16px; height: 16px; }
  .wishlist-heart--card { top: 10px; right: 10px; }
}

/* ── OWNER ACTIONS ── */
.owner-listing-actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.detail-owner-actions { margin-top: 12px; margin-bottom: 4px; }

.owner-action-button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.owner-action-button.is-danger { background: #EF4444; border-color: #EF4444; color: #fff; }

.wishlist-actions { margin-top: 10px; }
.detail-wishlist-actions { margin-top: 8px; margin-bottom: 2px; }

.wishlist-heart,
.wishlist-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  touch-action: manipulation;
  user-select: none;
  outline: none;
}

.wishlist-heart:focus,
.wishlist-heart:active,
.wishlist-btn:focus,
.wishlist-btn:active {
  outline: none;
  background: rgba(255, 255, 255, 0.9);
}

/* keep the shadow alive on tap — only kill it on keyboard focus */ 
.wishlist-heart:focus:not(:focus-visible),
.wishlist-btn:focus:not(:focus-visible) {
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.wishlist-heart svg,
.wishlist-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #f472b6;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.18s ease, stroke 0.18s ease;
}

.wishlist-heart svg path,
.wishlist-btn svg path {
  fill: none;
  stroke: #f472b6;
  transition: fill 0.18s ease, stroke 0.18s ease;
}

.wishlist-heart svg,
.wishlist-heart svg path,
.wishlist-btn svg,
.wishlist-btn svg path {
  pointer-events: none;
}

.wishlist-heart.is-saved svg,
.wishlist-heart.is-saved svg path,
.wishlist-btn.is-saved svg,
.wishlist-btn.is-saved svg path {
  fill: #ec4899;
  stroke: #ec4899;
}

.wishlist-heart.active svg,
.wishlist-heart.active svg path,
.wishlist-btn.active svg,
.wishlist-btn.active svg path {
  fill: #ec4899;
  stroke: #ec4899;
}

.wishlist-btn.active {
  color: #ec4899;
}

.wishlist-heart:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.16);
  border-color: rgba(236, 72, 153, 0.45);
}

.wishlist-heart:active { transform: scale(0.92); }

.wishlist-heart:focus-visible {
  outline: 2px solid rgba(236, 72, 153, 0.5);
  outline-offset: 2px;
}

.wishlist-heart--card {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  padding: 0;
  transition: transform 0.15s ease;
}

.wishlist-heart--card:hover {
  transform: scale(1.1);
  background: #fff;
}

.wishlist-heart--card svg path {
  fill: none;
  stroke: #e11d48;
  transition: fill 0.15s ease;
}

.wishlist-heart--card.is-saved svg path,
.wishlist-heart--card.active svg path {
  fill: #e11d48;
  stroke: #e11d48;
}

.wishlist-heart--inline {
  position: relative;
}

/* ── FORMS ── */
.form-box {
  max-width: 440px;
  margin: 60px auto;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-box.wide { max-width: 620px; }
.form-box h2 { margin-bottom: 28px; font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }

.form-box input,
.form-box select,
.form-box textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  min-height: 46px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s;
}

.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus { border-color: var(--primary); }

.form-box textarea { height: 110px; resize: vertical; }

.checkbox-field { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: #444; font-size: 14px; }
.checkbox-field input { width: 18px; height: 18px; margin: 0; min-height: auto; }

.form-box button { width: 100%; padding: 14px; font-size: 16px; font-weight: 700; margin-top: 8px; border-radius: 12px; }
.form-box p { margin-top: 16px; text-align: center; font-size: 14px; color: var(--muted); }
.form-box a { color: var(--primary); text-decoration: none; font-weight: 600; }

.auth-lead {
  margin: -12px 0 20px;
  text-align: left !important;
  color: var(--muted);
}

.auth-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.auth-toggle--inner {
  margin-bottom: 14px;
}

body {
  margin: 0;
  font-family: sans-serif;
}

.login {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.nav h2 {
  color: #2563eb;
}

.nav-links a {
  margin-left: 15px;
  text-decoration: none;
  color: #64748b;
  font-size: 14px;
}

h1 {
  margin: 10px 0 5px;
}

p {
  color: #64748b;
  font-size: 14px;
}

/* Tabs */
.tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 12px;
  margin: 15px 0;
  overflow: hidden;
}

.tabs button {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.tabs .active {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: white;
}

/* Inputs */
input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
  outline: none;
}

input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
}

/* Password */
.password-field {
  position: relative;
  margin-bottom: 12px;
}

.password-field input {
  margin-bottom: 0;
}

.password-field span {
  position: absolute;
  right: 12px;
  top: 20px;
  transform: translateY(-50%);
  cursor: pointer;
}

.password-field .forgot-password-link {
  margin-top: 8px;
  margin-bottom: 0;
  text-align: right;
}

/* Role */
.role-toggle {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.role-toggle button {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: #e0ecff;
  cursor: pointer;
}

.role-toggle .active {
  background: #3b82f6;
  color: white;
}

/* Button */
.login-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: white;
  font-weight: 600;
  margin-top: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.login-btn:hover {
  transform: scale(1.03);
}

/* Signup */
.signup {
  text-align: center;
  margin-top: 15px;
}

.signup a {
  color: #2563eb;
  text-decoration: none;
}

.error { color: #DC2626; font-size: 13px; margin-top: 4px; overflow-wrap: anywhere; }

/* ── DASHBOARD ── */
.dashboard-page { max-width: 1120px; margin: 0 auto; padding: 48px 48px 80px; }

.dashboard-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.dashboard-header h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; }
.dashboard-copy { margin-top: 8px; color: var(--muted); line-height: 1.6; }
.dashboard-add-button { background: var(--primary); color: #fff; white-space: nowrap; border-radius: 10px; }

.dashboard-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 32px; }

.dashboard-summary-card { background: #fff; border-radius: 16px; padding: 24px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.dashboard-summary-card p { color: var(--muted); margin-bottom: 10px; font-size: 14px; }
.dashboard-summary-card h3 { font-size: 36px; font-weight: 800; color: var(--text); }

.dashboard-listings { display: grid; gap: 16px; }
.dashboard-enquiries-section { margin-top: 40px; }
.dashboard-subheader { margin-bottom: 20px; }

.dashboard-listing-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 16px;
}

.dashboard-listing-main { display: flex; justify-content: space-between; gap: 20px; }
.dashboard-listing-copy h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.dashboard-listing-copy p { color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }

.dashboard-listing-metrics { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }

.dashboard-chip {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dashboard-chip.is-active { background: #DCFCE7; color: #166534; }
.dashboard-chip.is-inactive { background: #FEE2E2; color: #991B1B; }
.dashboard-chip.is-featured { background: #FEF3C7; color: #92400E; }
.dashboard-chip.is-status-pending { background: #FEF3C7; color: #92400E; }
.dashboard-chip.is-status-approved { background: #DCFCE7; color: #166534; }
.dashboard-chip.is-status-rejected { background: #FEE2E2; color: #991B1B; }
.dashboard-chip.is-read { background: #F1F5F9; color: #475569; }
.dashboard-chip.is-unread { background: #FEE2E2; color: #991B1B; }

.dashboard-enquiries {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 99px;
  background: #F1F5F9;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.dashboard-listing-actions { display: flex; gap: 10px; justify-content: flex-end; }
.dashboard-action-button { background: #fff; color: var(--primary); border: 1px solid var(--border); border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 600; }
.dashboard-action-button.is-danger { color: #fff; background: #EF4444; border-color: #EF4444; }

.dashboard-empty { background: #fff; border-radius: 16px; padding: 32px; color: var(--muted); text-align: center; border: 1px solid var(--border); }
.dashboard-empty-button { margin-top: 16px; background: var(--primary); color: #fff; }

.dashboard-enquiries-list { display: grid; gap: 16px; }

.dashboard-enquiry-card { background: #fff; border-radius: 16px; padding: 22px 24px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.dashboard-enquiry-card.is-unread { border-color: #BFDBFE; }
.dashboard-enquiry-top { display: flex; justify-content: space-between; gap: 20px; }
.dashboard-enquiry-status-wrap { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.dashboard-enquiry-listing { margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); }
.dashboard-enquiry-meta, .dashboard-enquiry-location { color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.dashboard-enquiry-location { margin-top: 8px; }
.dashboard-enquiry-message { margin-top: 10px; line-height: 1.7; color: #344054; overflow-wrap: anywhere; }
.dashboard-status-note { margin-top: 10px; color: #B45309; line-height: 1.6; }

/* ── ADMIN ── */
.admin-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }

.admin-filter-button {
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: #fff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.admin-filter-button.is-active, .admin-approve-button { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── DETAIL PAGE ── */
#page-detail { padding: 40px; max-width: 1100px; margin: 0 auto; }
.page#page-detail { padding-bottom: 112px; }
.detail-photos { width: 100%; margin-bottom: 16px; }
.detail-photos img { width: 100%; object-fit: cover; border-radius: 16px; }
.detail-info { background: #fff; padding: 32px; border-radius: 16px; margin-top: 16px; border: 1px solid var(--border); }
.detail-info h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.detail-info .price { font-size: 32px; font-weight: 800; color: var(--primary); margin: 16px 0; }
.detail-info p { margin-bottom: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.detail-summary { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.detail-meta-list { display: flex; flex-direction: column; gap: 10px; }
.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7fbff;
  border: 1px solid rgba(191, 219, 254, 0.85);
}
.detail-meta-item-price {
  background: linear-gradient(135deg, #e8f4ff, #f4faff);
}
.detail-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(99, 180, 255, 0.14);
  color: #1f7de2;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.detail-meta-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.detail-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail-amenity-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f9ff;
  border: 1px solid #d8eaff;
}
.detail-amenity-icon {
  color: #1f7de2;
  font-size: 12px;
  font-weight: 800;
}
.detail-amenity-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #456684;
  font-size: 13px;
  font-weight: 600;
}
.sticky-listing-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(245, 250, 255, 0), rgba(245, 250, 255, 0.96) 28%, rgba(245, 250, 255, 1) 100%);
}
.sticky-listing-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(191, 219, 254, 0.9);
  box-shadow: 0 12px 28px rgba(22, 50, 79, 0.10);
  backdrop-filter: blur(14px);
}
.sticky-whatsapp-button,
.sticky-secondary-button {
  min-width: 0;
  min-height: 54px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
}
.sticky-whatsapp-button {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.22);
}
.sticky-whatsapp-button:hover { filter: brightness(0.97); }
.sticky-secondary-button {
  flex: 0 0 auto;
  padding: 14px 18px;
  background: #fff;
  color: #1f7de2;
  border: 1px solid rgba(37, 99, 235, 0.18);
}
.detail-no-image { height: 300px; background: linear-gradient(135deg, #DBEAFE, #EFF6FF); display: flex; align-items: center; justify-content: center; font-size: 32px; border-radius: 16px; color: #93C5FD; }

.contact-link { display: inline-block; margin-top: 8px; padding: 12px 24px; background: #25D366; color: white; border-radius: 10px; text-decoration: none; font-weight: 600; }
.back-button { margin-top: 20px; max-width: 200px; background: #fff; color: var(--primary); border: 1px solid var(--border); }

.distance-card { margin-top: 24px; padding: 24px; background: var(--card); border: 1.5px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); }
.distance-title { margin-bottom: 6px; font-weight: 700; font-size: 16px; color: var(--text); }
.distance-subtitle { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.distance-form { display: flex; gap: 8px; }
.distance-input { flex: 1; min-width: 0; min-height: 46px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 14px; font-family: 'Inter', sans-serif; background: var(--bg); transition: border-color 0.2s; }
.distance-input:focus { outline: none; border-color: var(--primary); }
.distance-button { white-space: nowrap; background: var(--primary); color: #fff; border-radius: 10px; font-weight: 600; font-size: 14px; padding: 0 18px; min-height: 46px; border: none; cursor: pointer; transition: background 0.2s; }
.distance-button:hover { background: var(--primary-dark); }
.distance-button:disabled { opacity: 0.6; cursor: not-allowed; }
.distance-result-card { margin-top: 16px; padding: 18px 20px; background: var(--primary-light); border: 1.5px solid #BFDBFE; border-radius: 12px; }
.distance-km { font-size: 26px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.distance-modes { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.distance-mode-pill { font-size: 13px; font-weight: 500; background: #fff; border: 1.5px solid #BFDBFE; border-radius: 20px; padding: 5px 14px; color: var(--text); }
.distance-maps-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--primary); background: #fff; border: 1.5px solid var(--primary); border-radius: 8px; padding: 7px 14px; text-decoration: none; cursor: pointer; transition: background 0.2s; }
.distance-maps-btn:hover { background: var(--primary-light); }

.map-section { margin-top: 24px; padding: 20px; background: #fff; border-radius: 16px; border: 1px solid var(--border); }
.map-section-header { margin-bottom: 16px; }
.map-section-header h2 { margin-bottom: 6px; font-size: 20px; font-weight: 700; }
.map-frame-wrap { overflow: hidden; border-radius: 14px; border: 1px solid var(--border); }
.listing-map-frame { width: 100%; height: 320px; border: 0; display: block; }

.enquiry-section { margin-top: 24px; padding: 20px; background: #fff; border-radius: 16px; border: 1px solid var(--border); }
.enquiry-section-header { margin-bottom: 16px; }
.enquiry-section-header h2 { margin-bottom: 6px; font-size: 20px; font-weight: 700; }
.enquiry-form-card { padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: #FAFAFA; }
.enquiry-textarea { min-height: 96px; }
.enquiry-submit { margin-top: 6px; }

/* ── REVIEWS ── */
.reviews-section { margin-top: 24px; padding: 20px; background: #fff; border-radius: 16px; border: 1px solid var(--border); }
.reviews-loading, .review-error-box, .empty-reviews { padding: 14px; border-radius: 12px; background: #F8FAFC; color: var(--muted); font-size: 14px; }

.reviews-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.reviews-header h2 { margin-bottom: 6px; font-size: 20px; font-weight: 700; }
.reviews-subtitle { color: var(--muted); margin: 0; font-size: 14px; }

.rating-summary { min-width: 160px; padding: 16px; border-radius: 14px; background: var(--primary-light); text-align: center; }
.rating-value { font-size: 28px; font-weight: 800; color: var(--primary); }
.rating-stars, .review-rating-stars { color: #F59E0B; letter-spacing: 1px; font-size: 16px; }
.rating-count { margin-top: 6px; color: var(--muted); font-size: 13px; }

.review-form-card { padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: #FAFAFA; }
.review-form-card h3 { margin-bottom: 12px; font-size: 15px; font-weight: 700; }
.review-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.review-form-field { margin-bottom: 12px; }
.review-form-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }

.review-input { width: 100%; padding: 8px 12px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 14px; outline: none; min-height: 38px; font-family: 'Inter', sans-serif; }
.review-textarea { min-height: 72px; resize: vertical; }

.review-stars { display: flex; gap: 6px; flex-wrap: nowrap; }

.star-button {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: #CBD5E1;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
  min-height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.star-button.active, .star-button:hover:not(:disabled) { color: #F59E0B; border-color: #F59E0B; background: #FFFBEB; }
.star-button:disabled, .review-input:disabled { cursor: not-allowed; background: #F1F5F9; color: #94A3B8; }

.review-submit { background: var(--primary); color: #fff; margin-top: 4px; min-height: 40px; padding: 8px 20px; font-size: 14px; font-weight: 600; }
.review-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.review-message { margin-top: 8px; font-size: 13px; color: var(--muted); }
.review-message-error { color: #DC2626; }
.review-message-success { color: #16A34A; }

.reviews-list { margin-top: 20px; display: grid; gap: 14px; }
.review-card { padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.review-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 10px; }
.review-card h4 { margin-bottom: 3px; font-size: 15px; font-weight: 700; }
.review-date { margin: 0; font-size: 12px; color: var(--muted); }
.review-rating { display: flex; align-items: center; gap: 6px; font-weight: 700; color: #555; font-size: 13px; }
.review-comment { color: #444; line-height: 1.6; overflow-wrap: anywhere; font-size: 14px; }
.review-delete { margin-top: 10px; padding: 6px 12px; border: 1px solid #FCA5A5; border-radius: 8px; background: #fff; color: #DC2626; min-height: 36px; font-size: 13px; }

/* ── RESPONSIVE 768px ── */
@media (max-width: 768px) {
  nav, .site-nav { padding: 12px 16px; }

  .nav-links { gap: 2px; flex-wrap: nowrap; }
  .nav-links > a { padding: 6px 10px; font-size: 13px; margin-left: 0; }
  .nav-links > span#nav-auth > a { padding: 6px 10px; font-size: 13px; margin-left: 0; }
  .nav-profile-btn { margin-left: 2px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 48px 20px 40px;
    gap: 0;
  }

  .hero { display: none; }

  .hero-image-wrap { display: none; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 13px; }

  .hero-search-bar {
    flex-direction: column;
    max-width: 100%;
    background: #F1F5F9;
    padding: 8px;
    gap: 8px;
  }

  .hero-search-bar input { width: 100%; background: #fff; border-radius: 8px; }
  .hero-search-bar button { width: 100% !important; }
  .hero-cta { width: 100%; justify-content: center; }

  .trust-bar { padding: 32px 20px; gap: 28px; }

  .featured-section { padding: 48px 20px 64px; }

  .section-heading, .dashboard-header, .dashboard-listing-main,
  .dashboard-enquiry-top, .featured-card-footer, .dashboard-listing-actions,
  .reviews-header, .review-card-top, .distance-form, .nearby-results-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .section-link, .dashboard-add-button, .dashboard-action-button, .featured-view-button { width: 100%; text-align: center; }

  .dashboard-page { padding: 28px 20px 64px; }
  .dashboard-summary-grid { grid-template-columns: 1fr; }
  .dashboard-listing-metrics { justify-content: flex-start; }
  .dashboard-enquiry-status-wrap { justify-content: flex-start; }

  .admin-filter-button { width: 100%; border-radius: 10px; }

  .filters { padding: 16px 20px; flex-direction: column; align-items: stretch; }
  .filters input, .filters select, .filters button { width: 100%; flex: 0 0 auto; }

  .listings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px; }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .form-box, .form-box.wide { max-width: 100%; margin: 24px 16px; padding: 24px 20px; }

  #page-detail { padding: 16px; }
  .detail-info { padding: 20px 16px; }
  .detail-info h1 { font-size: 24px; }
  .detail-info .price { font-size: 26px; }
  .sticky-listing-cta-inner { padding: 8px; }
  .back-button, .distance-button { width: 100%; max-width: none; }
  .distance-button { width: 100%; }
  .distance-input { width: 100%; }

  .rating-summary { width: 100%; }
  .owner-listing-actions, .detail-owner-actions { flex-direction: column; }
  .owner-action-button, .wishlist-button { width: 100%; }
}

/* ── RESPONSIVE 480px ── */
@media (max-width: 480px) {
  nav, .site-nav { padding: 12px 16px; }
  .logo { font-size: 15px; }

  .hero { padding: 40px 16px 32px; }
  .hero h1 { font-size: 24px; }
  .hero-sub { font-size: 12px; }
  .hero-tag { font-size: 11px; }

  .trust-bar { padding: 28px 16px; }
  .trust-num { font-size: 16px; }

  .featured-section { padding: 40px 16px 56px; }
  .section-heading h2 { font-size: 18px; }

  .dashboard-page { padding: 20px 16px 52px; }
  .dashboard-header h2 { font-size: 26px; }
  .dashboard-summary-card h3 { font-size: 30px; }

  .filters, .listings-grid { padding-left: 16px; padding-right: 16px; }
  .listings-grid { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .featured-grid { grid-template-columns: 1fr; }

  .card-body .price { font-size: 18px; }

  .form-box, .form-box.wide { margin: 16px; padding: 20px 16px; border-radius: 16px; }

  #page-detail { padding: 12px; }
  .detail-info { padding: 16px; }
  .detail-info h1 { font-size: 22px; }
  .detail-info .price { font-size: 22px; }
  .sticky-listing-cta { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .sticky-listing-cta-inner { gap: 8px; }
  .sticky-whatsapp-button,
  .sticky-secondary-button {
    min-height: 50px;
    font-size: 14px;
  }
  .sticky-whatsapp-button { width: 100%; }

  .reviews-section, .enquiry-section, .map-section,
  .review-form-card, .enquiry-form-card, .review-card,
  .distance-card, .featured-card-body { padding: 14px; }

  .featured-image-wrap img, .featured-image-wrap .no-image { height: 200px; }
  .featured-price { font-size: 14px; }
  .review-stars { gap: 4px; flex-wrap: nowrap; }
  .star-button { width: 38px; height: 38px; }
  .rating-value { font-size: 26px; }
  .listing-map-frame { height: 240px; }
}

/* ── LISTING CARD NEW STYLES ─────────────────────────────────────────────── */
.card-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  background: #E2E8F0;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.card-img-wrap img,
.card-img-wrap .no-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-img-wrap .no-image {
  background: linear-gradient(135deg, #CBD5E1, #94A3B8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #93C5FD;
}

.card-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  display: inline-block;
  pointer-events: auto;
}

.badge-green {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.badge-blue {
  background: #DBEAFE;
  color: #1e40af;
  border: 1px solid #BFDBFE;
}

.badge-gold {
  background: #FEF9C3;
  color: #854d0e;
  border: 1px solid #FDE68A;
}

/* ── PAGINATION ─────────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 24px 16px 32px;
  flex-wrap: wrap;
}
.pagination-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.pagination-btn:hover:not(:disabled) { background: #EFF6FF; border-color: var(--primary); color: var(--primary); }
.pagination-btn--active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination-btn:disabled { opacity: .4; cursor: default; }

/* ── PHOTO CAROUSEL ─────────────────────────────────────────────── */
.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #f1f7ff, #e8f2ff);
  outline: none;
  user-select: none;
  box-shadow: 0 18px 38px rgba(49, 140, 246, 0.14);
}
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.carousel-slide.is-active { opacity: 1; pointer-events: auto; }
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.interactive-main-image:focus-visible {
  outline: 3px solid rgba(0, 123, 255, 0.9);
  outline-offset: -3px;
}

/* arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.85);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: background .15s;
  z-index: 2;
}
.carousel-arrow:hover { background: #fff; }
.carousel-arrow--prev { left: 12px; }
.carousel-arrow--next { right: 12px; }

/* dots */
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(10px);
  z-index: 2;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 0;
  transition: background .15s, transform .15s;
}
.carousel-dot.is-active { background: #fff; transform: scale(1.2); }

/* thumbnail strip */
.carousel-thumbs,
.thumbnail-container {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.carousel-thumb,
.thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity .15s, border-color .15s;
}

.carousel-thumb.is-active,
.thumbnail.active {
  border-color: #007bff;
  opacity: 1;
}

.carousel-thumb:hover,
.thumbnail:hover {
  opacity: 1;
}

.carousel-modal,
.image-modal,
.image-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(8px);
  z-index: 9999;
}

.carousel-modal.is-open,
.image-viewer.is-open {
  display: flex;
  flex-direction: column;
}

.carousel-modal-stage,
.image-viewer .carousel-modal-stage {
  position: relative;
  width: min(1200px, 100%);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-modal-image,
.viewer-img {
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.35);
  transform: scale(calc(var(--modal-zoom, 1) * var(--modal-hover-scale, 1)));
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.carousel-modal-image:hover,
.viewer-img:hover {
  --modal-hover-scale: 1.4;
}

.carousel-modal-close,
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  z-index: 2;
}

.close-btn {
  right: 30px;
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  font-size: 40px;
  color: #fff;
}

.carousel-modal-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.carousel-modal-counter {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.carousel-modal-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.carousel-modal-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.38);
  padding: 0;
  transition: transform .2s ease, background .2s ease;
}

.carousel-modal-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

.carousel-modal-arrow {
  background: rgba(255,255,255,.18);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.carousel-modal-arrow:hover {
  background: rgba(255,255,255,.28);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .carousel {
    border-radius: 18px;
  }
  .carousel-arrow { width: 32px; height: 32px; font-size: 15px; }
  .carousel-dots { bottom: 10px; padding: 6px 10px; }
  .carousel-modal { padding: 16px; }
  .carousel-modal-stage { width: 100%; }
  .carousel-modal-close { top: 14px; right: 14px; }
  .pagination-btn { min-width: 32px; height: 32px; font-size: 13px; }
}

/* Premium home page overrides */
.logo,
.hero h1,
.section-heading h2,
.hero-mini-card h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.site-nav {
  padding: 18px 48px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px rgba(22, 50, 79, 0.05);
}

.logo {
  color: #1f7de2;
  letter-spacing: -0.04em;
}

.nav-links a:hover {
  color: #1f7de2;
  background: var(--primary-light);
}

#page-home {
  display: block;
}

.hero-shell {
  padding: 32px 32px 0;
}

.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px;
  border: 1px solid rgba(217, 232, 245, 0.85);
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(99, 180, 255, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.94));
  box-shadow: var(--shadow-lg);
  align-items: stretch;
  animation: fadeUp 0.7s ease both;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tag {
  margin-bottom: 20px;
  color: #1f7de2;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(99, 180, 255, 0.3);
  font-size: 13px;
  padding: 8px 16px;
}

.hero h1 {
  font-size: clamp(3.1rem, 5.5vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: 20px;
  letter-spacing: -0.06em;
  max-width: 11ch;
}

.hero-sub {
  max-width: 580px;
  font-size: 19px;
  color: var(--muted);
}

.hero-search-panel {
  max-width: 640px;
  margin: 14px 0 32px;
}

.hero-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(170px, 0.8fr) auto;
  gap: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 232, 245, 0.9);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 18px 35px rgba(49, 140, 246, 0.10);
  max-width: none;
}

.hero-search-field {
  padding: 12px 18px;
  min-width: 0;
}

.hero-search-field-location {
  position: relative;
}

.hero-search-field + .hero-search-field {
  border-left: 1px solid rgba(217, 232, 245, 0.95);
}

.hero-search-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-search-field input {
  padding: 0;
  min-height: auto;
  font-size: 17px;
  color: var(--text);
}

.hero-search-button {
  min-width: 150px;
  border-radius: 20px;
  margin-left: 8px;
  background: linear-gradient(135deg, #60b4ff, #318cf6) !important;
  box-shadow: 0 18px 30px rgba(49, 140, 246, 0.24);
  font-size: 16px !important;
}

.hero-search-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.hero-near-me {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #1f7de2;
  border: 1px solid rgba(99, 180, 255, 0.35);
  font-size: 15px;
}

.hero-near-me:hover {
  background: #ffffff;
}

.hero-near-me-icon {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #60b4ff, #318cf6);
  box-shadow: 0 0 0 6px rgba(99, 180, 255, 0.15);
}

.hero-search-note {
  color: var(--muted);
  font-size: 14px;
}

.hero-search-note.is-error {
  color: #c2410c;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(217, 232, 245, 0.9);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.hero-pill::before {
  content: '✓';
  color: #3b82f6;
  font-weight: 700;
  font-size: 12px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.hero-visual-card-primary {
  position: absolute;
  inset: 0 36px 48px 0;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(217, 232, 245, 0.72);
  box-shadow: var(--shadow-lg);
  background: #ddebfb;
}

.hero-img {
  height: 100%;
}

.hero-live-badge {
  bottom: 24px;
  left: 24px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.hero-mini-card {
  position: absolute;
  right: 0;
  max-width: 240px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 232, 245, 0.92);
  box-shadow: var(--shadow-md);
}

.hero-mini-card-top {
  top: 36px;
}

.hero-mini-card-bottom {
  bottom: 0;
}

.hero-mini-label,
.hero-mini-rating {
  display: inline-flex;
  margin-bottom: 10px;
  color: #1f7de2;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-mini-card h3 {
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-mini-card p {
  color: var(--muted);
  line-height: 1.7;
}

.home-section {
  max-width: 1280px;
  margin: 0 auto;
  animation: fadeUp 0.8s ease both;
}

.featured-section,
.locations-section,
.reviews-section-home {
  padding: 80px 32px 0;
  background: transparent;
}

.section-heading {
  max-width: none;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.section-link {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
}

.featured-grid {
  max-width: none;
}

.featured-card {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.featured-image-wrap {
  position: relative;
}

.featured-card-badge-row {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
}

.featured-card-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #1f7de2;
  font-size: 12px;
  font-weight: 700;
}

.featured-card-body {
  gap: 12px;
  padding: 26px;
}

.featured-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.featured-location {
  color: #1f7de2;
}

.featured-rating-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary-light);
  color: #1f7de2;
  font-size: 12px;
  font-weight: 700;
}

.featured-card-body h3 {
  font-size: 24px;
  line-height: 1.25;
}

.featured-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.featured-amenities span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.featured-view-button {
  border-radius: 999px;
  min-width: 132px;
}

.featured-address {
  font-size: 15px;
}

.featured-price {
  font-size: 28px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.location-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 28px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: #d4e8fb;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.location-card img,
.location-card-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.location-card img {
  object-fit: cover;
}

.location-card-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(18, 50, 79, 0.82) 100%);
}

.location-card-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.location-card-city {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}

.location-card-name {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.location-card-count {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.82;
}

.home-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 88px;
}

.home-review-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(217, 232, 245, 0.9);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-review-stars {
  margin-bottom: 18px;
  color: #f59e0b;
  letter-spacing: 0.24em;
}

.home-review-quote {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}

.home-review-author {
  margin-top: 22px;
  font-weight: 700;
  color: var(--text);
}

.home-review-meta {
  margin-top: 4px;
  color: var(--muted);
}

.home-reviews-placeholder {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px 0;
  text-align: center;
  color: #6b7280;
  font-size: 1rem;
}

/* Hero refresh: compact premium layout */
.hero-shell {
  padding: 18px 16px 8px;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(99, 180, 255, 0.2) 0%, rgba(99, 180, 255, 0.04) 55%, rgba(99, 180, 255, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(234, 245, 255, 0.55) 100%);
}

.hero {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 24px 18px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-content {
  width: 100%;
  max-width: 700px;
  text-align: center;
}

.hero-tag {
  margin-bottom: 12px;
  padding: 7px 14px;
  font-size: 11px;
  letter-spacing: 0.09em;
  color: #1f7de2;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(99, 180, 255, 0.28);
}

.hero h1 {
  max-width: 16ch;
  margin: 0 auto 8px;
  font-size: clamp(2.05rem, 3.9vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero-sub {
  max-width: 62ch;
  margin: 0 auto 14px;
  font-size: 15px;
  line-height: 1.65;
}

.hero-search-bar {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(206, 225, 244, 0.95);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(49, 140, 246, 0.14);
}

.search-field-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 120px;
}

.search-bar {
  display: flex;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.hero-search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.hero-search-bar input {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  font-size: 15px;
}

.search-bar input {
  flex: 1;
  border: 0;
  padding: 14px;
  font-size: 14px;
  outline: none;
  min-width: 0;
}

.hero-search-bar input::placeholder {
  color: #8ba2b9;
}

.hero-search-button {
  min-width: 118px;
  min-height: 44px;
  margin: 0;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #63b4ff, #318cf6);
  box-shadow: 0 10px 24px rgba(49, 140, 246, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.search-bar button {
  padding: 0 18px;
  border: 0;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.search-bar button:hover {
  transform: scale(1.03);
  filter: brightness(1.04);
  box-shadow: 0 14px 30px rgba(49, 140, 246, 0.34);
}

.hero-search-button:hover {
  transform: scale(1.03);
  filter: brightness(1.04);
  box-shadow: 0 14px 30px rgba(49, 140, 246, 0.34);
}

.hero-stats {
  justify-content: center;
  gap: 10px;
  margin: 12px 0 0;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid rgba(217, 232, 245, 0.92);
  background: rgba(255, 255, 255, 0.86);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(49, 140, 246, 0.14);
}

.hero-pill svg {
  width: 13px;
  height: 13px;
  stroke: #318cf6;
  stroke-width: 2.2;
  fill: none;
  flex-shrink: 0;
}

.hero-pill::before {
  display: none;
}

@media (max-width: 768px) {
  .hero-shell {
    padding: 12px 12px 2px;
  }

  .hero {
    display: flex;
    padding: 16px 10px 14px;
  }

  .hero h1 {
    max-width: 18ch;
    font-size: clamp(1.6rem, 8vw, 2.15rem);
    margin-bottom: 8px;
  }

  .hero-sub {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .hero-search-bar {
    flex-direction: row;
    padding: 6px;
    gap: 6px;
  }

  .search-bar {
    flex-direction: row;
    padding: 6px;
    gap: 6px;
  }

  .hero-search-bar input {
    min-height: 40px;
    font-size: 14px;
    padding: 0 10px;
  }

  .search-bar input {
    min-height: 40px;
    font-size: 14px;
    padding: 0 10px;
  }

  .hero-search-button {
    min-width: 94px;
    min-height: 40px;
    font-size: 13px;
    padding: 0 14px;
  }

  .search-bar button {
    min-width: 94px;
    min-height: 40px;
    font-size: 13px;
    padding: 0 14px;
  }

  .hero-stats {
    gap: 8px;
  }

  .hero-pill {
    font-size: 11px;
    padding: 6px 10px;
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }

  .hero h1 {
    max-width: none;
  }

  .home-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-mini-card-bottom {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-nav {
    padding: 16px 20px;
  }

  .hero-shell,
  .featured-section,
  .locations-section,
  .reviews-section-home {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    display: grid;
    padding: 24px;
    border-radius: 28px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-search-bar {
    grid-template-columns: 1fr;
    gap: 8px;
    border-radius: 22px;
  }

  .hero-search-field + .hero-search-field {
    border-left: none;
    border-top: 1px solid rgba(217, 232, 245, 0.95);
  }

  .hero-search-button {
    width: 100%;
    margin-left: 0;
  }

  .home-reviews-grid {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px !important;
    padding-bottom: 8px;
  }

  .featured-grid .listing-card,
  .featured-grid .featured-card {
    flex-shrink: 0 !important;
    width: 260px !important;
    scroll-snap-align: start;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual-card-primary {
    inset: 0 0 56px 0;
  }

  .hero-mini-card {
    display: none;
  }

  .featured-card-footer,
  .featured-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  a[data-page-link="home"] {
    display: inline-flex !important;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 22px;
  }

  .search-bar {
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .hero-shell,
  .featured-section,
  .locations-section,
  .reviews-section-home {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding: 18px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-search-actions {
    align-items: flex-start;
  }

  .hero-near-me {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    min-height: 280px;
  }

  .location-card {
    min-height: 280px;
  }

  .home-review-card {
    padding: 22px;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Listing card premium refresh */
.listings-grid {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.card,
.listing-card {
  height: 100%;
  min-height: 468px;
  padding: 12px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(191, 219, 254, 0.9);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  gap: 0;
}

.card:hover,
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(49, 140, 246, 0.16);
  border-color: rgba(96, 180, 255, 0.75);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  overflow: hidden;
}

.card-img-wrap img,
.card-img-wrap .no-image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
}

.card img,
.card img,
.card-img-wrap img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.card-img-wrap .no-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(219, 234, 254, 0.96), rgba(239, 246, 255, 0.98)),
    radial-gradient(circle at top, rgba(99, 180, 255, 0.22), transparent 60%);
  color: #5a7b9c;
  text-align: center;
}

.card-image-fallback-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 72px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(147, 197, 253, 0.55);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 22px rgba(49, 140, 246, 0.12);
}

.card-image-fallback-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.card-img-badges {
  top: 14px;
  left: 14px;
  gap: 8px;
}

.img-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px rgba(22, 50, 79, 0.08);
}

.card-body {
  flex: 1;
  min-height: 0;
  padding: 18px 6px 4px;
  gap: 14px;
}

.card-copy {
  width: 100%;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
}

.card-city-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #318cf6;
  letter-spacing: 0.12em;
}

.card-title {
  display: -webkit-box;
  max-height: 38px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  word-break: break-word;
}

.card-location {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

.card-meta-stack {
  width: 100%;
  min-height: 96px;
  gap: 10px;
  overflow: hidden;
}

.card-distance {
  max-width: fit-content;
  background: #eaf5ff;
  color: #2c6cb8;
}

.card-rating {
  min-height: 20px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.card-rating-count,
.card-rating-val,
.card-rating--empty,
.card-rating-compact {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-rating-compact {
  display: inline-block;
  max-width: 100%;
  color: #375f8a;
  font-size: 13px;
  font-weight: 700;
}

.listing-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  min-height: 32px;
  max-height: 72px;
  overflow: hidden;
}

.listing-tag-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f9ff;
  border: 1px solid #d8eaff;
  color: #52708d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-tag-pill.is-muted {
  color: #7290aa;
  background: #f8fbff;
}

.card-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .card-footer {
    flex-direction: row;
    align-items: center;
  }

  /* ===================================================
     DETAIL PAGE — FULL REDESIGN
     =================================================== */

  .detail-container {
    max-width: 1140px;
    margin: 24px auto 80px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* BREADCRUMB */
  .detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    flex-wrap: wrap;
  }
  .detail-back-link {
    background: none;
    border: none;
    color: #2563eb;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
  }
  .detail-breadcrumb-sep { color: #cbd5e1; }
  .detail-breadcrumb-title { color: #1e293b; font-weight: 600; }

  /* GALLERY */
  .detail-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    border-radius: 16px;
    overflow: hidden;
  }
  .main-image {
    height: 340px;
    background: #dbeafe;
    border-radius: 12px;
    overflow: hidden;
  }
  .side-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .side-image-card {
    height: 165px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: #bfdbfe;
    cursor: pointer;
  }
  .side-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .side-image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.06), rgba(15,23,42,0.32));
  }
  .side-image-card--empty {
    cursor: default;
    color: #1e3a5f;
    font-weight: 600;
  }
  .side-image-card--empty::after { display: none; }
  .side-image-card--empty span { position: relative; z-index: 1; }
  .side-image-more {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15,23,42,0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
  }

  /* TWO-COLUMN BODY */
  .detail-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
  }

  /* LEFT COLUMN */
  .detail-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  /* TITLE ROW */
  .detail-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
  }
  .detail-title-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .detail-title-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .detail-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
  }
  .detail-verified-badge {
    background: #dcfce7;
    color: #16a34a;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
  }
  .detail-location-line {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #64748b;
  }
  .detail-rating-line {
    font-size: 14px;
    color: #f59e0b;
    font-weight: 600;
  }

  /* INFO GRID */
  .detail-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .info-card {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
  }
  .info-card p {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 0 0 4px;
  }
  .info-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
  }
  .green { color: #16a34a; }
  .yellow { color: #a16207; }

  /* CARDS */
  .detail-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
  }
  .detail-card h2 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #1e293b;
  }

  /* AMENITIES */
  .amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .amenities span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
  }

  /* BUTTONS */
  .detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .btn-primary {
    background: #2563eb;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
  }
  .btn-outline {
    border: 1px solid #cbd5f5;
    padding: 10px 16px;
    border-radius: 8px;
    background: white;
    cursor: pointer;
  }

  /* DISTANCE */
  .distance-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .distance-box input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    box-sizing: border-box;
  }
  .distance-box button {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 11px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
  }

  /* RIGHT PANEL */
  .detail-right {
    position: sticky;
    top: 80px;
  }
  .detail-info-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  }
  .detail-panel-price {
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
  }
  .detail-panel-price-label {
    font-size: 14px;
    font-weight: 400;
    color: #64748b;
  }
  .detail-panel-deposit {
    font-size: 13px;
    color: #64748b;
    margin: -8px 0 0;
  }
  .detail-panel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
  }
  .detail-panel-amenity-tag {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 12px;
  }
  .detail-panel-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .detail-panel-actions .btn-whatsapp,
  .detail-panel-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
  }
  .btn-whatsapp {
    background: #25d366;
    color: #fff !important;
  }
  .detail-panel-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .detail-panel-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #475569;
  }
  .detail-panel-meta-row .font-semibold { font-weight: 600; }

  /* ===========================
     MOBILE  (≤ 768px)
     =========================== */
  @media (max-width: 768px) {

    .detail-container {
      padding: 12px;
      gap: 14px;
      margin-top: 12px;
    }

    /* Stack gallery */
    .detail-gallery {
      grid-template-columns: 1fr;
    }
    .main-image {
      height: 220px;
    }
    .side-images {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .side-image-card {
      height: 100px;
    }

    /* Stack body columns */
    .detail-body {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    /* Hide right panel on mobile (sticky CTA replaces it) */
    .detail-right {
      display: none;
    }

    /* Title */
    .detail-title { font-size: 18px; }
    .detail-title-row { flex-direction: row; }

    /* Info grid 2-col on mobile */
    .detail-info-grid {
      grid-template-columns: 1fr 1fr;
    }
    .info-card { padding: 12px; }

    /* Actions */
    .detail-actions { flex-direction: column; }
    .btn-primary, .btn-outline { width: 100%; }

    /* Reviews */
    textarea { font-size: 14px; }

  }

  /* TABLET (769px – 1024px) */
  @media (min-width: 769px) and (max-width: 1024px) {
    .detail-body {
      grid-template-columns: 1fr 280px;
      gap: 20px;
    }
    .detail-info-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}

.card-actions {
  margin-top: auto;
  display: flex;
  width: 100%;
  align-items: stretch;
  overflow: hidden;
}

.btn-contact,
.btn-details {
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-contact {
  background: linear-gradient(135deg, #63b4ff, #318cf6);
  box-shadow: 0 10px 22px rgba(49, 140, 246, 0.18);
}

.btn-details {
  border-color: #c9e2fb;
  color: #2b5f99;
  background: rgba(255, 255, 255, 0.92);
}

.btn-details:hover {
  background: #edf6ff;
}

@media (max-width: 768px) {
  .listing-card {
    min-height: 320px;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(49, 140, 246, 0.10);
  }

  .card-img-wrap {
    max-height: 120px;
    border-radius: 12px;
  }

  .card-body {
    padding: 10px 2px 2px;
    gap: 8px;
  }

  .card-copy {
    gap: 4px;
  }

  .card-city-label {
    font-size: 10px;
  }

  .card-title {
    height: 42px;
    font-size: 14px;
    line-height: 1.35;
  }

  .card-location {
    font-size: 12px;
  }

  .card-meta-stack {
    min-height: 58px;
    gap: 6px;
  }

  .card-distance {
    padding: 4px 8px;
    font-size: 11px;
  }

  .card-rating-compact,
  .card-rating--empty {
    font-size: 12px;
  }

  .listing-tag-row {
    flex-wrap: nowrap;
    gap: 6px;
    min-height: 26px;
    max-height: 26px;
  }

  .listing-tag-pill {
    min-height: 24px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .card-footer {
    gap: 8px;
  }

  .card .price,
  .card-body .price {
    width: 100%;
    justify-content: flex-start;
    padding: 8px 10px;
    font-size: 16px;
    border-radius: 10px;
  }

  .card-actions {
    gap: 6px;
  }

  .btn-contact,
  .btn-details,
  .btn-whatsapp--card {
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
    flex: 1 1 0;
  }
}

@media (max-width: 480px) {
  .listing-card {
    min-height: 296px;
  }

  .btn-contact,
  .btn-details {
    width: auto;
  }
}

.carousel-open-viewer {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(9, 21, 38, 0.72);
  color: #fff;
  backdrop-filter: blur(10px);
}

.carousel-open-viewer:hover {
  background: rgba(9, 21, 38, 0.84);
}
@media (max-width: 768px) {
  .carousel-open-viewer {
    right: 12px;
    bottom: 12px;
    min-height: 42px;
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* Premium Minimal Refresh: Home + Browse */
:root {
  --premium-bg: #F9FAFB;
  --premium-card: #FFFFFF;
  --premium-text: #0F172A;
  --premium-muted: #64748B;
  --premium-border: #E5E7EB;
  --premium-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  --premium-shadow-hover: 0 14px 30px rgba(15, 23, 42, 0.12);
}

/* Premium Trust Layout: Detail Page */
#page-detail {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px 40px;
}

.detail-hero-media {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 16px;
  background: #0f172a;
}

.detail-hero-media .detail-photos,
.detail-hero-media .detail-carousel,
.detail-hero-media .detail-no-image {
  margin: 0;
  border-radius: 0;
}

.detail-hero-media img,
.detail-hero-media .carousel-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.detail-info.detail-trust-layout {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  padding: 24px;
}

.detail-headline-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.detail-headline-row h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}

.detail-headline-price {
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.detail-location-rating {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-location-pill,
.detail-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #F8FAFC;
  color: #334155;
  font-weight: 600;
  font-size: 14px;
}

.detail-key-info {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.detail-key-info-card {
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.detail-key-info-card p {
  margin: 0;
  font-size: 12px;
  color: #64748B;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-key-info-card strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  color: #0f172a;
}

.detail-amenities {
  margin-top: 16px;
}

.detail-owner-trust {
  margin-top: 16px;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.detail-owner-trust-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-owner-trust-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.detail-verified-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #ECFDF3;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.detail-owner-name {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.detail-owner-contact {
  margin: 4px 0 0;
  font-size: 14px;
  color: #475569;
}

.detail-side-actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sticky-listing-cta-inner {
  justify-content: center;
}

.sticky-whatsapp-button {
  flex: 1 1 100%;
  max-width: 560px;
}

.sticky-secondary-button {
  display: none;
}

@media (max-width: 900px) {
  .detail-key-info {
    grid-template-columns: 1fr;
  }

  .detail-headline-row {
    flex-direction: column;
    gap: 8px;
  }

  .detail-headline-price {
    font-size: 30px;
  }
}

body,
#page-home,
#page-browse {
  background: var(--premium-bg);
  color: var(--premium-text);
}

.home-section,
.browse-header,
.listings-grid,
.featured-grid {
  background: transparent;
}

.featured-grid,
.listings-grid {
  gap: 24px;
}

.featured-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.listings-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  padding-top: 24px;
  padding-bottom: 24px;
}

.featured-card,
.listing-card {
  background: var(--premium-card);
  border: 1px solid var(--premium-border);
  border-radius: 16px;
  box-shadow: var(--premium-shadow);
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.featured-card:hover,
.listing-card:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: var(--premium-shadow-hover);
  border-color: #D1D5DB;
}

.featured-card:active,
.listing-card:active {
  transform: scale(0.995);
}

.featured-image-wrap,
.card-img-wrap {
  position: relative;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: #E5E7EB;
}

.featured-image-wrap {
  min-height: 188px;
}

.featured-image-wrap img,
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-card-body,
.card-body {
  padding: 16px;
  gap: 8px;
}

.featured-card-body {
  padding: 14px;
  gap: 6px;
}

.featured-card-body h3,
.card-body h3,
.card-title {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--premium-text);
}

.featured-card-body h3 {
  font-size: 16px;
  line-height: 1.3;
}

.featured-location,
.featured-address,
.card-location,
.card-body .meta,
.card-rating,
.card-rating-count,
.card-rating-compact,
.card-distance {
  color: var(--premium-muted);
}

.featured-price,
.card .price,
.card-body .price {
  font-weight: 800;
  font-size: 24px;
  line-height: 1.1;
  color: var(--premium-text);
  letter-spacing: -0.02em;
}

.featured-price {
  font-size: 20px;
}

.featured-address,
.featured-location,
.featured-rating-pill,
.featured-amenities span {
  font-size: 12px;
}

.featured-card-footer {
  margin-top: 6px;
}

.featured-card-footer,
.card-footer {
  margin-top: 8px;
  gap: 8px;
}

.wishlist-heart,
.wishlist-btn,
.wishlist-heart--card {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.wishlist-heart,
.wishlist-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #E5E7EB;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.wishlist-heart:hover,
.wishlist-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.16);
}

.wishlist-heart:active,
.wishlist-btn:active {
  transform: scale(0.96);
}

@media (max-width: 768px) {
  .featured-grid,
  .listings-grid {
    gap: 16px;
  }

  .featured-card-body,
  .card-body {
    padding: 12px;
  }

  .featured-price,
  .card .price,
  .card-body .price {
    font-size: 20px;
  }

  .wishlist-heart,
  .wishlist-btn {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 24px 16px;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1,
  .hero-title {
    font-size: 2rem;
  }

  .hero-search-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-search-field {
    width: 100%;
  }

  .hero-search-field + .hero-search-field {
    border-top: 1px solid rgba(217, 232, 245, 0.95);
    border-left: none;
  }

  .hero-search-bar input,
  .hero-search-button,
  .hero-search-bar button {
    width: 100% !important;
  }

  .hero-search-button {
    margin-left: 0;
  }

  .hero-visual,
  .hero-image-container,
  .hero-visual-card-primary,
  .hero-live-badge,
  .hero-img {
    display: none !important;
  }

  .location-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px !important;
    padding-bottom: 8px;
  }

  .location-card {
    flex-shrink: 0 !important;
    width: 200px !important;
    min-height: 220px !important;
    scroll-snap-align: start;
  }


}

.featured-card--hero {
  max-height: 240px;
  border-radius: 14px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.featured-card--hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  border-color: rgba(37, 99, 235, 0.25);
}

.featured-card--hero .featured-image-wrap {
  min-height: 140px;
  height: 140px;
  border-radius: 14px 14px 0 0;
}

.featured-card--hero .featured-image-wrap img,
.featured-card--hero .featured-image-wrap .no-image {
  height: 140px;
  object-fit: cover;
}

.featured-card--hero .featured-card-badge-row {
  top: 10px;
  left: 10px;
}

.featured-card--hero .featured-card-badge {
  padding: 6px 10px;
  font-size: 11px;
}

.featured-card--hero .wishlist-heart,
.featured-card--hero .wishlist-btn,
.featured-card--hero .wishlist-heart--card {
  top: 10px;
  right: 10px;
}

.featured-card--hero .featured-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100px;
  height: 100px;
  padding: 10px 12px 12px;
  gap: 4px;
}

.featured-card--hero .featured-meta-row {
  gap: 8px;
}

.featured-card--hero .featured-location,
.featured-card--hero .featured-rating-pill {
  font-size: 11px;
}

.featured-card--hero .featured-title,
.featured-card--hero .featured-card-body h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.featured-card--hero .featured-description,
.featured-card--hero .featured-address {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.25;
}

.featured-card--hero .featured-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.featured-card--hero .featured-price {
  flex: unset;
  min-width: 0;
  font-size: 15px;
  white-space: nowrap;
  text-align: right;
  order: 1;
}

.featured-card--hero .featured-card-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  order: -1;
}

.featured-card--hero .btn-whatsapp {
  padding: 8px 10px;
  font-size: 12px;
  border-radius: 8px;
}

.featured-card--hero .featured-view-button {
  min-width: 0;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1;
}

.featured-card--hero .featured-view-button:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.featured-card--hero .details-btn {
  padding: 6px 12px;
  margin: 0;
  display: inline-block;
}

@media (max-width: 600px) {
  .featured-card--hero .featured-card-footer {
    flex-direction: row;
    align-items: center;
  }

  .featured-card--hero .featured-view-button {
    font-size: 12px;
    padding: 6px 10px;
  }

  .featured-card--hero .details-btn {
    padding: 5px 10px;
    font-size: 12px;
    margin: 0;
    display: inline-block;
  }

  .featured-card--hero .featured-price {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  #featured-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(104px, calc((100vw - 64px) / 3.2));
    grid-template-columns: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  #featured-grid .featured-card--hero {
    scroll-snap-align: start;
  }

  #featured-grid::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 480px) {
  #featured-grid {
    grid-auto-columns: minmax(100px, calc((100vw - 48px) / 3.15));
    gap: 12px;
  }

  .featured-card--hero .featured-card-body {
    padding: 10px;
  }

  .featured-card--hero .featured-price {
    font-size: 14px;
  }

  .featured-card--hero .featured-view-button {
    padding: 7px 10px;
    font-size: 11px;
  }
}

.card-img-wrap img,
.card-img-wrap .no-image,
.featured-image-wrap img,
.featured-image-wrap .no-image,
.card-img-badges,
.featured-card-badge-row,
.featured-card-badge,
.card-badges,
.img-badge,
.badge {
  pointer-events: none;
}

.card-img-wrap .wishlist-heart--card,
.card-img-wrap .wishlist-btn,
.featured-image-wrap .wishlist-heart--card,
.featured-image-wrap .wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  pointer-events: auto;
}

.wishlist-heart,
.wishlist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  background: transparent;
  border: none;
}

.heart-btn,
button.wishlist {
  outline: none;
  -webkit-tap-highlight-color: transparent;
  background: transparent;
  border: none;
}

.wishlist-btn:focus,
.wishlist-btn:active,
.heart-btn:focus,
.heart-btn:active,
button.wishlist:focus,
button.wishlist:active {
  outline: none;
  box-shadow: none;
  background: transparent;
}

.wishlist-heart:hover,
.wishlist-heart:active,
.wishlist-btn:hover,
.wishlist-btn:active,
.heart-btn:hover,
.heart-btn:active,
button.wishlist:hover,
button.wishlist:active {
  background-color: transparent !important;
  border-radius: 50%;
}

.wishlist-heart-icon {
  display: block;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
  color: #ff4d6d;
}

.wishlist-btn svg,
.wishlist-btn i {
  color: #ff4d6d;
  stroke: #ff4d6d;
  fill: none;
}

/* ===== DETAIL PAGE ===== */
.detail-container {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* GALLERY */
.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}

.main-image {
  height: 260px;
  background: #dbeafe;
  border-radius: 12px;
  overflow: hidden;
}

.side-images {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-image-card {
  height: 125px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: #bfdbfe;
  cursor: pointer;
}

.side-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.side-image-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.32));
}

.side-image-card--empty {
  cursor: default;
  color: #1e3a5f;
  font-weight: 600;
}

.side-image-card--empty::after {
  display: none;
}

.side-image-card--empty span {
  position: relative;
  z-index: 1;
}

.side-image-more {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* HEADER */
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-title {
  font-size: 22px;
  font-weight: 700;
}

.detail-tags span {
  background: #f1f5f9;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 6px;
}

.detail-price {
  font-size: 22px;
  font-weight: bold;
}

/* INFO GRID */
.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.info-card {
  background: #f8fafc;
  padding: 15px;
  border-radius: 10px;
}

.info-card p {
  font-size: 12px;
  color: #64748b;
}

.green {
  color: green;
}

.yellow {
  color: #a16207;
}

/* BUTTONS */
.detail-actions {
  display: flex;
  gap: 10px;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.btn-outline {
  border: 1px solid #cbd5f5;
  padding: 10px 16px;
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

/* CARDS */
.detail-card {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

/* AMENITIES */
.amenities span {
  display: inline-block;
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 20px;
  margin: 5px;
}

/* DISTANCE */
.distance-box {
  display: flex;
  gap: 10px;
}

.map-preview {
  height: 150px;
  background: #f1f5f9;
  margin-top: 10px;
  border-radius: 10px;
}

/* REVIEWS */
.review-header {
  display: flex;
  justify-content: space-between;
}

textarea {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
}

.wishlist-btn.active svg,
.wishlist-btn.is-saved svg {
  fill: #ff4d6d;
}

.wishlist-btn.active .wishlist-heart-icon,
.wishlist-btn.is-saved .wishlist-heart-icon {
  color: #ff4d6d;
}

.wishlist-heart.is-saved,
.wishlist-btn.is-saved,
.wishlist-heart.active,
.wishlist-btn.active {
  border-color: rgba(236, 72, 153, 0.4);
  background: rgba(255, 255, 255, 0.98);
}

.listing-card--compact {
  max-height: 240px;
  min-height: 240px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-rows: 140px minmax(0, 100px);
  overflow: hidden;
}

.listing-card--compact:hover {
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.listing-card--compact .card-img-wrap {
  width: 100%;
  height: 140px;
  min-height: 140px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
}

.listing-card--compact .card-img-wrap img,
.listing-card--compact .card-img-wrap .no-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.listing-card--compact .card-body {
  min-height: 100px;
  max-height: 100px;
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.listing-card--compact .card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.listing-card--compact .card-title {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

.listing-card--compact .card-location {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-card--compact .card-quick-tag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 20px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef6ff;
  color: #2563eb;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.listing-card--compact .card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 0;
}

.listing-card--compact .price {
  min-width: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.listing-card--compact .card-actions {
  margin-top: 0;
  width: auto;
  flex-shrink: 0;
}

.listing-card--compact .btn-details {
  min-height: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1;
  border: 1px solid #cfe2f5;
  background: #ffffff;
  color: #2563eb;
}

.listing-card--compact .btn-contact,
.listing-card--compact .card-img-badges,
.listing-card--compact .card-distance,
.listing-card--compact .card-rating,
.listing-card--compact .listing-tag-row,
.listing-card--compact .card-city-label,
.listing-card--compact .owner-listing-actions {
  display: none;
}

.listing-card--compact .wishlist-heart--card,
.listing-card--compact .wishlist-btn {
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  z-index: 2;
}

.listing-card--compact .wishlist-heart-icon {
  font-size: 16px;
}

@media (max-width: 768px) {
  #listings-grid {
    display: grid !important;
    grid-auto-flow: row !important;
    grid-auto-columns: unset !important;
    grid-template-columns: 1fr 1fr !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    scroll-snap-type: none !important;
    padding: 12px !important;
    gap: 12px !important;
  }

  #listings-grid .listing-card--compact {
    scroll-snap-align: start;
  }

  #listings-grid::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 480px) {
  #listings-grid {
    grid-auto-columns: minmax(100px, calc((100vw - 44px) / 3.1));
  }

  .listing-card--compact .card-body {
    padding: 10px;
  }

  .listing-card--compact .price {
    font-size: 14px;
  }

  .listing-card--compact .btn-details {
    padding: 0 8px;
    font-size: 10px;
  }
}

:root {
  --listing-premium-bg: #ffffff;
  --listing-premium-text: #111827;
  --listing-premium-muted: #6b7280;
  --listing-premium-border: #e5e7eb;
  --listing-premium-border-hover: #cfd4dc;
  --listing-premium-tag-bg: #f3f4f6;
  --listing-premium-tag-text: #4b5563;
  --listing-premium-pill-bg: #eff6ff;
  --listing-premium-pill-text: #2563eb;
  --listing-premium-verified-text: #15803d;
  --listing-premium-verified-dot: #22c55e;
  --listing-premium-button-bg: #2563eb;
  --listing-premium-button-text: #ffffff;
  --listing-premium-divider: #e5e7eb;
  --listing-premium-heart: #ff4d6d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --listing-premium-bg: #111827;
    --listing-premium-text: #f9fafb;
    --listing-premium-muted: #9ca3af;
    --listing-premium-border: #374151;
    --listing-premium-border-hover: #4b5563;
    --listing-premium-tag-bg: #1f2937;
    --listing-premium-tag-text: #d1d5db;
    --listing-premium-pill-bg: #1e3a8a;
    --listing-premium-pill-text: #bfdbfe;
    --listing-premium-verified-text: #86efac;
    --listing-premium-verified-dot: #4ade80;
    --listing-premium-button-bg: #f9fafb;
    --listing-premium-button-text: #111827;
    --listing-premium-divider: #374151;
  }
}

#listings-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  padding: 20px 24px 40px;
}

.listing-card--premium {
  width: 100%;
  min-width: 0;
  background: var(--listing-premium-bg);
  color: var(--listing-premium-text);
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 2px 10px rgba(0,0,0,0.04);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.listing-card--premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  border-color: rgba(37,99,235,0.25);
}

.listing-card--premium:active {
  transform: none;
}

.listing-card--premium .card-img-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  min-height: 160px;
  background: #d1d5db;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

.listing-card--premium .card-img-wrap img,
.listing-card--premium .card-img-wrap .no-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px 14px 0 0;
}

.listing-card--premium .card-img-wrap .no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #e5e7eb;
  color: var(--listing-premium-muted);
  text-align: center;
}

.listing-card--premium .card-image-fallback-icon,
.listing-card--premium .card-image-fallback-text {
  background: transparent;
  box-shadow: none;
  border: none;
  color: inherit;
}

.listing-card--premium .listing-verified-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--listing-premium-verified-text);
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
}

.listing-card--premium .listing-verified-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--listing-premium-verified-dot);
  flex-shrink: 0;
}

.listing-card--premium .wishlist-heart--card,
.listing-card--premium .wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 0.5px solid rgba(229, 231, 235, 0.95);
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.listing-card--premium .wishlist-heart--card:hover,
.listing-card--premium .wishlist-heart--card:active,
.listing-card--premium .wishlist-btn:hover,
.listing-card--premium .wishlist-btn:active {
  background: #ffffff !important;
  border-radius: 50%;
}

.listing-card--premium .wishlist-heart-icon {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
}

.listing-card--premium .wishlist-heart-icon path {
  fill: none;
  stroke: var(--listing-premium-heart);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.listing-card--premium .wishlist-btn.active .wishlist-heart-icon path,
.listing-card--premium .wishlist-btn.is-saved .wishlist-heart-icon path {
  fill: var(--listing-premium-heart);
  stroke: var(--listing-premium-heart);
}

.listing-card--premium .card-body {
  padding: 14px;
  display: grid;
  gap: 10px;
  background: var(--listing-premium-bg);
}

.listing-card--premium .card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.listing-card--premium .card-city-label {
  margin: 0;
  color: var(--listing-premium-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-card--premium .card-quick-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--listing-premium-pill-bg);
  color: var(--listing-premium-pill-text);
  font-size: 11px;
  font-weight: 600;
}

.card-tag-share-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.card-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(99, 140, 200, 0.28);
  border-radius: 50%;
  background: transparent;
  color: #5a7fa8;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}

.card-share-btn:hover,
.card-share-btn:focus-visible {
  background: #e6f0ff;
  color: #1f6feb;
  border-color: #a8c4e8;
  outline: none;
}

.listing-card--premium .card-title {
  margin: 0;
  color: var(--listing-premium-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-card--premium .listing-amenity-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-card--premium .listing-amenity-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--listing-premium-tag-bg);
  color: var(--listing-premium-tag-text);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.listing-card--premium .listing-card-divider {
  width: 100%;
  height: 1px;
  background: var(--listing-premium-divider);
}

.listing-card--premium .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.listing-card--premium .card-actions { order: -1; }
.listing-card--premium .listing-price-block { order: 1; text-align: right; }

.listing-card--premium .listing-price-block {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.listing-card--premium .listing-price-label {
  color: var(--listing-premium-muted);
  font-size: 11px;
  font-weight: 500;
}

.listing-card--premium .price {
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--listing-premium-text);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.listing-card--premium .card-actions {
  width: auto;
  margin-top: 0;
  overflow: visible;
  flex-wrap: wrap;
  gap: 6px;
}

.listing-card--premium .btn-details {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1.5px solid var(--listing-premium-button-bg);
  background: var(--listing-premium-button-bg);
  color: var(--listing-premium-button-text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.listing-card--premium .btn-details:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.listing-card--premium .btn-contact,
.listing-card--premium .card-location,
.listing-card--premium .card-distance,
.listing-card--premium .card-rating,
.listing-card--premium .listing-tag-row,
.listing-card--premium .card-img-badges,
.listing-card--premium .owner-listing-actions {
  display: none;
}

@media (max-width: 768px) {
  #listings-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(100vw - 32px);
    grid-template-columns: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  #listings-grid .listing-card--premium {
    width: 100%;
    min-width: 0;
    scroll-snap-align: start;
  }

  #listings-grid::-webkit-scrollbar {
    display: none;
  }
}

/* ── SCROLL RAIL HIDING ── */
.location-grid::-webkit-scrollbar,
.featured-grid::-webkit-scrollbar {
  display: none;
}

/* ── LOCATION CARD h3 MOBILE ── */
@media (max-width: 900px) {
  .location-card-name {
    font-size: 20px;
  }
}

/* ===== DETAIL PAGE - ID SCOPED ===== */
#page-detail .detail-container,
.detail-container { max-width: 1100px; }

#page-detail .detail-header,
.detail-header { display: flex; justify-content: space-between; align-items: center; }

#page-detail .info-card,
.info-card { background: #f8fafc; padding: 15px; border-radius: 10px; }

/*  MOBILE FIX */
@media (max-width: 768px) {

  /* CONTAINER */
  .detail-container {
    padding: 12px;
    gap: 14px;
  }

  /* GALLERY */
  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .main-image {
    height: 200px;
  }

  .side-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .side-images div {
    height: 90px;
  }

  /* HEADER */
  .detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .detail-title {
    font-size: 18px;
  }

  .detail-price {
    font-size: 18px;
  }

  /* TAGS WRAP */
  .detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  /* INFO GRID */
  .detail-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-card {
    padding: 12px;
  }

  /* BUTTONS */
  .detail-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  /* DISTANCE */
  .distance-box {
    flex-direction: column;
  }

  .distance-box button {
    width: 100%;
  }

  /* REVIEWS */
  textarea {
    font-size: 14px;
  }

}


/* ===================================================
   FOOTER — PREMIUM STYLE
   =================================================== */

.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #fff;
  padding: 0;
  margin-top: 40px;
}

/* DESKTOP: 3-col grid, no toggle needed */
.footer-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 32px 32px;
  border-bottom: 1px solid #e5e7eb;
}

.footer-group-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: default;
  text-align: left;
  min-height: auto;
  transform: none !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-group-toggle:hover {
  background: none;
  transform: none !important;
}

.footer-chevron {
  display: none;
}

.footer-group-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-group-links a {
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-group-links a:hover {
  color: #111827;
}

/* BOTTOM ROW */
.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  color: #374151;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.footer-social a:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 13px;
  color: #9ca3af;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-sep { color: #e5e7eb; }

.footer-feedback {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-feedback:hover { color: #374151; }

/* ── MOBILE FOOTER ── */
@media (max-width: 768px) {
  .site-footer {
    margin-top: 24px;
  }

  .footer-sections {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }

  .footer-group {
    border-bottom: 1px solid #f3f4f6;
  }

  /* On mobile, toggle becomes tappable */
  .footer-group-toggle {
    padding: 16px 20px;
    cursor: pointer;
    text-transform: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    color: #111827;
  }

  .footer-chevron {
    display: block;
    font-size: 20px;
    color: #9ca3af;
    transition: transform 0.25s ease;
    line-height: 1;
  }

  /* Links hidden by default on mobile */
  .footer-group-links {
    display: none;
    padding: 4px 20px 18px;
    gap: 16px;
  }

  .footer-group-links a {
    font-size: 15px;
    color: #374151;
  }

  /* Open state */
  .footer-group.is-open .footer-group-links {
    display: flex;
  }

  .footer-group.is-open .footer-chevron {
    transform: rotate(180deg);
    color: #374151;
  }

  .footer-group.is-open .footer-group-toggle {
    color: #111827;
  }

  /* Bottom row stacked */
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px 32px;
    gap: 18px;
  }

  .footer-social a {
    width: 44px;
    height: 44px;
  }

  .footer-copy {
    justify-content: center;
    font-size: 12px;
  }
}

/* ===================================================
   HOME PAGE — INFO SECTIONS (how it works / about / support)
   =================================================== */

.info-section {
  padding: 48px 24px;
  border-top: 1px solid #f1f5f9;
}

.section-copy {
  font-size: 14px;
  color: #64748b;
  margin-top: 4px;
}

/* HOW IT WORKS */
.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.how-step-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
}
.how-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #16a34a;
  color: #16a34a;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.how-step-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1e293b;
}
.how-step-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

/* ABOUT + LIST TWO-COL */
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-text-col h2,
.about-list-col h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 6px 0 10px;
  color: #1e293b;
}
.about-checklist {
  list-style: none;
  padding: 0;
  margin: 14px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1e293b;
}
.about-checklist li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.about-mission-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
}
.about-mission-box strong {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.about-mission-box p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}
.list-steps {
  padding-left: 18px;
  margin: 14px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.list-steps li {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}
.list-steps li strong {
  color: #1e293b;
}
.list-pg-btn {
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}
.list-pg-btn:hover {
  background: #15803d;
}

/* SUPPORT */
.support-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}
.support-contact-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.support-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.support-contact-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}
.support-contact-card p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* FAQ */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}
.faq-list h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1e293b;
}
.faq-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  font-size: 14px;
  color: #1e293b;
}
.faq-item:hover { color: #16a34a; }
.faq-item.faq-active { color: #16a34a; }
.faq-chevron {
  font-size: 18px;
  color: #94a3b8;
  transition: transform 0.2s;
}
.faq-item.faq-active .faq-chevron {
  transform: rotate(180deg);
  color: #16a34a;
}
.faq-answer {
  display: none;
  padding: 10px 0 14px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
}
.faq-answer.faq-open { display: block; }

/* MOBILE */
@media (max-width: 768px) {
  .info-section { padding: 32px 16px; }
  .how-steps-grid { grid-template-columns: 1fr 1fr; }
  .about-two-col { grid-template-columns: 1fr; gap: 32px; }
  .support-contact-grid { grid-template-columns: 1fr; }
}

.carousel-zoom-controls {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  background: rgba(0,0,0,0.4);
  padding: 6px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.wishlist-heart svg path {
  fill: transparent;
  stroke: #f472b6;
}

.wishlist-heart.active svg path {
  fill: #ec4899;
  stroke: #ec4899;
}

.wishlist-heart {
  position: relative;
  overflow: visible;
}

.wishlist-label {
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.wishlist-heart:hover .wishlist-label,
.wishlist-heart:focus-visible .wishlist-label,
.wishlist-heart.active .wishlist-label {
  opacity: 1;
}

.wishlist-heart.active {
  transform: scale(1.1);
}

.wishlist-heart.active svg {
  animation: pop 0.3s ease;
}

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.28);
}


/*  FLOATING FILTER CARD  */
.browse-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--border);
  padding: 10px 16px;
  border-radius: 14px;
  margin: 0 20px;
}

.browse-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  background: transparent;
  color: var(--text);
}

.filter-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-light);
  border: 1px solid rgba(99,180,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  color: var(--primary);
}

.filter-toggle-btn .filter-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-toggle-btn .filter-toggle-icon span {
  display: block;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.filter-toggle-btn .filter-toggle-icon span:first-child { width: 18px; }
.filter-toggle-btn .filter-toggle-icon span:last-child  { width: 12px; }

.browse-filters { display: none; padding: 0 20px 12px; }
.browse-filters.open { display: block; }

.filter-floating-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 8px 32px rgba(22,50,79,0.10);
  margin-top: 10px;
}

.filter-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
}

.filter-section { flex: 1; min-width: 0; }

.filter-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.filter-chip {
  padding: 8px 18px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  min-height: unset;
}

.filter-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.filter-chip:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-range {
  width: 100%;
  margin-top: 6px;
  accent-color: var(--primary);
}

.filter-range-label {
  font-size: 12px;
  color: var(--muted);
}

.filter-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  outline: none;
  cursor: pointer;
  appearance: auto;
}

.filter-actions {
  display: flex;
  gap: 12px;
  padding-top: 4px;
}

.filter-reset-btn {
  flex: 1;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.filter-apply-btn {
  flex: 2;
  height: 48px;
  border-radius: 12px;
  border: none;
  background: #0f172a;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}

.filter-apply-btn:hover { opacity: 0.88; transform: none; }
.filter-reset-btn:hover { background: var(--primary-light); transform: none; }

@media (max-width: 600px) {
  .filter-row-2col { grid-template-columns: 1fr; }
  .filter-floating-card { padding: 18px; gap: 18px; }
}

#featured-grid,
.featured-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  overflow-x: visible !important;
}

#featured-grid .featured-card--hero,
.featured-grid .featured-card--hero {
  width: 260px !important;
  min-width: 260px !important;
  max-width: 260px !important;
  flex: 0 0 260px !important;
}

@media (max-width: 768px) {
  #featured-grid,
  .featured-grid {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 4px 20px 20px !important;
    margin: 0 -20px !important;
    scroll-padding-left: 20px !important;
  }

  #featured-grid > *,
  .featured-grid > * {
    flex: 0 0 75vw !important;
    width: 75vw !important;
    min-width: 0 !important;
    max-width: 75vw !important;
    scroll-snap-align: start !important;
    border-radius: 16px !important;
  }

  /* Fix See Details button */
  .featured-card--hero .featured-view-button {
    border-radius: 10px !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    min-height: 34px !important;
    height: 34px !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Hide address dots */
  .featured-card--hero .featured-address,
  .featured-card--hero .featured-description {
    display: none !important;
  }
}

.tabs button:not(.active) {
  color: #64748b !important;
  background: #e2e8f0 !important;
}
@media (max-width: 420px) {}
  .listing-card-premium {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;

  height: auto;
  min-height: 280px;
}
@media (max-width: 480px) {

  /* Make whole card slightly smaller */
  .listing-card {
    transform: scale(0.95);
  }

  /* Reduce image height */
  .listing-card .card-img-wrap {
    height: 150px !important;
    min-height: 150px !important;
  }

}

/* Auth v2 - step based mobile-first OTP flow */
.login {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem;
  min-height: 100vh;
  box-sizing: border-box;
  width: 100%;
  background:
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.14), transparent 42%),
    radial-gradient(circle at 85% 80%, rgba(16, 185, 129, 0.12), transparent 36%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

#auth-root {
  width: 100%;
  max-width: 380px;
}

.auth-v2-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
  width: 100%;
  box-sizing: border-box;
  max-width: 400px;
  backdrop-filter: blur(6px);
  animation: authFadeUp 260ms ease;
}

.auth-v2-card h1 {
  margin: 0;
  color: #0f172a;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.auth-v2-card p {
  margin: 8px 0 18px;
  color: #475569;
  font-size: 0.96rem;
}

.auth-v2-phone-input {
  width: 100%;
  height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 1rem;
  color: #0f172a;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.auth-v2-phone-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.auth-v2-role-toggle {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.auth-v2-role-toggle button {
  height: 44px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
}

.auth-v2-role-toggle button.is-active {
  border-color: #0f766e;
  color: #0f766e;
  background: #ecfeff;
}

.auth-v2-primary {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 12px;
  margin-top: 16px;
  background: linear-gradient(135deg, #0f766e 0%, #2563eb 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.auth-v2-primary:disabled {
  opacity: 0.7;
}

.auth-v2-otp-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 2px;
}

.auth-v2-otp-box {
  height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  outline: none;
}

.auth-v2-otp-box:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.auth-v2-links {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.auth-v2-links button {
  border: none;
  background: transparent;
  color: #2563eb;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0;
}

.auth-v2-error {
  margin-top: 12px;
  color: #dc2626;
  font-size: 0.9rem;
}

.auth-v2-success {
  text-align: center;
}

.auth-v2-label {
  display: block;
  font-size: 13px;
  color: #475569;
  margin-bottom: 6px;
}

.auth-v2-pw-wrap {
  position: relative;
  width: 100%;
}

.auth-v2-pw-wrap .auth-v2-phone-input {
  width: 100%;
  box-sizing: border-box;
  padding-right: 44px;
}

.auth-v2-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.auth-v2-text-link {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.auth-v2-hint {
  font-size: 12px;
  color: #94a3b8;
  margin: 4px 0 0;
}

.auth-v2-error-box {
  background: #fef2f2;
  color: #dc2626;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-v2-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 12px;
  color: #94a3b8;
  font-size: 13px;
}

.auth-v2-divider::before,
.auth-v2-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.auth-v2-switch {
  text-align: center;
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.auth-v2-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes authFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── MOBILE LAYOUT FIX: Hero horizontal scroll + Browse vertical stack ── */
@media (max-width: 768px) {

  /* ── HERO / FEATURED SECTION: horizontal scroll (peek-a-boo) ── */
  #featured-grid,
  .featured-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;          /* override the wrap that kills scrolling */
    overflow-x: auto !important;           /* enable horizontal scroll */
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 4px 20px 20px !important;     /* left pad + bottom for shadow depth */
    margin: 0 -20px !important;            /* bleed to full width */
  }

  /* hide scrollbar but keep scroll (premium look) */
  #featured-grid::-webkit-scrollbar,
  .featured-grid::-webkit-scrollbar {
    display: none !important;
  }

  /* each card: ~78vw so the next card peeks — signals scrollability */
  #featured-grid > *,
  .featured-grid > * {
    flex: 0 0 78vw !important;
    width: 78vw !important;
    min-width: 0 !important;
    max-width: 78vw !important;
    scroll-snap-align: start !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 28px rgba(22, 50, 79, 0.12) !important;
  }

  /* first / last card get flush-to-edge padding via scroll-padding */
  #featured-grid,
  .featured-grid {
    scroll-padding-left: 20px !important;
  }

  /* ── BROWSE PAGE: vertical 1-per-row stack ── */
  #listings-grid {
    display: grid !important;
    grid-auto-flow: row !important;
    grid-template-columns: 1fr !important;
    grid-auto-columns: unset !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    scroll-snap-type: none !important;
    padding: 16px 16px 32px !important;
    gap: 16px !important;
  }

  /* reset any card-level size overrides so they fill the column */
  #listings-grid .listing-card,
  #listings-grid .listing-card--premium,
  #listings-grid .listing-card--compact {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: none !important;
    scroll-snap-align: none !important;
    transform: none !important;           /* remove any scale(0.95) on mobile */
  }
}
/* ===== SITE FOOTER ===== */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}

.site-footer__copy {
  color: #6b7280;
}

.site-footer__sep {
  color: #c4c9d1;
  user-select: none;
}

.site-footer__feedback,
.feedback-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: color 0.18s ease;
}

.site-footer__feedback:hover,
.site-footer__feedback:focus-visible,
.feedback-link:hover,
.feedback-link:focus-visible {
  color: #374151;
  text-decoration: none;
  outline: none;
}
.footer p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;   /* THIS fixes spacing perfectly */
}

.footer span {
  color: #ccc;
}

.feedback-link {
  color: #999;
  text-decoration: none;
  font-weight: 500;
}

.feedback-link:hover {
  color: #000;
}
/* ── FEATURED CARD MOBILE FIXES ── */
@media (max-width: 768px) {

  /* Fix 1: See Details button - kill the pill shape */
  .featured-card--hero .featured-view-button {
    border-radius: 10px !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    min-height: 34px !important;
    height: 34px !important;
    line-height: 1 !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Fix 2: Hide the address text entirely on mobile cards - it causes the dots */
  .featured-card--hero .featured-address,
  .featured-card--hero .featured-description {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .suggestion-title,
  .suggestion-title * {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word !important;
  }

  .suggestion-title .location-suggestion-match {
    background: none !important;
    color: inherit !important;
  }
}
@media (max-width: 768px) {
  .about-two-col {
    display: block;
  }

  .about-text-col,
  .about-list-col {
    width: 100%;
    margin-bottom: 16px;
  }
}
/* Collapsible sections */
.collapsible-heading {
  cursor: pointer;
  user-select: none;
  position: relative;
}

.collapsible-heading .section-chevron {
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #94a3b8;
  transition: transform 0.25s ease;
  line-height: 1;
}

.collapsible-heading.is-open .section-chevron {
  transform: translateY(-50%) rotate(180deg);
  color: #16a34a;
}

.collapsible-body {
  display: none;
}

.collapsible-body.is-open {
  display: block;
}
/* ── SECTION HEADING SIZE FIX ── */
.section-heading h2,
.info-section h2 {
  font-size: 18px !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-label {
  font-size: 11px;
}

.section-copy {
  font-size: 13px;
}

/* ── FOOTER MOBILE LEFT ALIGN ── */
@media (max-width: 768px) {
  .footer-group-toggle {
    padding: 16px 20px;
    text-align: left;
    justify-content: space-between;
  }

  .footer-group-links {
    padding: 4px 20px 18px;
    align-items: flex-start;
  }

  .footer-group-links a {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 24px 20px 32px;
  }

  .footer-copy {
    justify-content: flex-start;
  }

  .footer-social {
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  /* Left-align footer groups */
  .footer-group-toggle {
    padding: 16px 20px;
    text-align: left;
    justify-content: space-between;
  }

  .footer-group-links {
    padding: 4px 20px 18px;
    align-items: flex-start;  /* was stretch/center */
  }

  .footer-group-links a {
    text-align: left;
  }

  /* Fix bottom row — left align on mobile */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;  /* was center */
    text-align: left;
    padding: 24px 20px 32px;
  }

  .footer-copy {
    justify-content: flex-start;  /* was center */
  }

  .footer-social {
    justify-content: flex-start;
  }
}
/* ── FIX: remove white space when section is collapsed ── */
.collapsible-body {
  display: none;
}
.collapsible-body.is-open {
  display: block;
}
.info-section {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
/* ── COLLAPSIBLE WHITE SPACE NUCLEAR FIX ── */
.collapsible-body {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.collapsible-body.is-open {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
}

.info-section {
  padding: 24px !important;
  margin: 0 !important;
  min-height: 0 !important;
}

/* Remove gap between collapsed sections */
#section-how,
#section-about,
#section-support {
  padding: 20px 24px !important;
  margin: 0 !important;
  border-top: 1px solid #f1f5f9;
}
/* ── POPULAR SEARCH CHIPS ── */
.popular-searches {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.popular-searches-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.popular-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.popular-chip {
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(217,232,245,0.9);
  border-radius: 999px;
  padding: 5px 12px;
  min-height: auto;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
  white-space: nowrap;
}

.popular-chip:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;
  transform: translateY(-1px);
}

.popular-chip:active {
  transform: scale(0.97);
}

@media (max-width: 480px) {
  .popular-searches {
    gap: 6px;
  }
  .popular-chip {
    font-size: 11px;
    padding: 4px 10px;
  }
}
.popular-chip--active {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #2563eb !important;
}
/* ── PREMIUM HERO FULL UPGRADE ── */
.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(99,180,255,0.3);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(1.7rem, 5vw, 2.8rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.04em !important;
  color: #0f172a !important;
  margin-bottom: 10px !important;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 14px !important;
  color: #64748b !important;
  line-height: 1.6 !important;
  margin-bottom: 18px !important;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.search-field-wrap {
  max-width: 480px !important;
  margin: 0 auto 10px !important;
}

.search-bar {
  display: flex !important;
  background: #fff !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(37,99,235,0.15) !important;
  border: 1.5px solid rgba(99,180,255,0.3) !important;
  padding: 4px !important;
}

.search-bar input {
  flex: 1 !important;
  border: none !important;
  background: transparent !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  outline: none !important;
  min-height: 44px !important;
}

.search-bar input::placeholder {
  color: #94a3b8 !important;
}

.search-bar button {
  background: #0f172a !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0 22px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  min-height: 44px !important;
  white-space: nowrap !important;
  transition: background 0.15s !important;
  transform: none !important;
}

.search-bar button:hover {
  background: #1e293b !important;
  transform: none !important;
}

/* POPULAR CHIPS */
.popular-searches {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px auto 0;
  flex-wrap: wrap;
  max-width: 480px;
  justify-content: center;
}

.popular-searches-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.popular-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.popular-chip {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  background: rgba(255,255,255,0.86) !important;
  border: 1px solid rgba(217,232,245,0.9) !important;
  border-radius: 999px !important;
  padding: 5px 14px !important;
  min-height: auto !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
  white-space: nowrap !important;
}

.popular-chip:hover {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #2563eb !important;
  transform: translateY(-1px) !important;
}

.popular-chip--active {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #2563eb !important;
}

/* TRUST STATS BAR */
.trust-stats-bar {
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 24px;
  flex-wrap: wrap;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 28px;
  gap: 3px;
}

.trust-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.04em;
}

.trust-stat-plus {
  font-size: 18px;
  font-weight: 800;
  color: #2563eb;
  line-height: 1;
  display: inline;
  margin-left: 1px;
}

.trust-stat-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.trust-stat-zero {
  color: #4ade80 !important;
}

.trust-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .trust-stats-bar {
    gap: 0;
    padding: 16px 8px;
  }
  .trust-stat {
    padding: 6px 14px;
  }
  .trust-stat-num {
    font-size: 20px;
  }
  .trust-stat-divider {
    height: 28px;
  }
  .popular-chip {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }
}
/* ── NEW NAV STYLES ── */
.site-nav {
  padding: 14px 40px;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #4f46e5;
  text-decoration: none;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.logo svg { color: #4f46e5; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-links > a {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  margin-left: 0;
  white-space: nowrap;
}

.nav-links > a:hover {
  color: #4f46e5;
  background: #eef2ff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-login-btn {
  padding: 8px 18px !important;
  border: 1.5px solid #d1d5db !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #374151 !important;
  background: #fff !important;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s !important;
  margin-left: 0 !important;
  min-height: unset !important;
}

.nav-login-btn:hover {
  border-color: #4f46e5 !important;
  color: #4f46e5 !important;
  background: #fff !important;
}

.nav-list-btn {
  padding: 8px 18px !important;
  background: #4f46e5 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none;
  white-space: nowrap;
  border: none !important;
  transition: background 0.15s !important;
  margin-left: 0 !important;
  min-height: unset !important;
}

.nav-list-btn:hover {
  background: #4338ca !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  .site-nav { padding: 14px 20px; }
  .nav-links > a:not(.nav-login-btn):not(.nav-list-btn) { display: none; }
  .nav-right { gap: 8px; }
  .nav-list-btn { font-size: 12px !important; padding: 8px 12px !important; }
}
/* ══════════════════════════════════
   PART 2 — HERO + TWO COL LAYOUT
══════════════════════════════════ */

/* Two-column page layout */
.home-two-col {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0 40px 0;
}

/* ── HERO LEFT ── */
.hero-new {
  padding: 40px 48px 36px;
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 60%);
  min-height: 520px;
  position: relative;
  overflow: hidden;
}

.hero-new::before {
  content: '';
  position: absolute;
  right: -20px;
  top: 0;
  width: 55%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1555854877-bab0e564b8d5?w=700&q=80') center/cover no-repeat;
  opacity: 0.18;
  border-radius: 0 0 0 40px;
  pointer-events: none;
}

/* Trust badge */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 99px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.trust-avatars {
  display: flex;
  gap: -4px;
}

.ta {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e0e7ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 2px solid #fff;
  margin-right: -4px;
}

.trust-text {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

.trust-text strong { color: #374151; }

/* Headline */
.hero-headline {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: #111827;
  margin-bottom: 12px;
}

.hero-accent { color: #4f46e5; }

.hero-sub-new {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Feature pills row */
.hero-feature-pills {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-feat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  flex: 1;
  min-width: 140px;
}

.feat-pill-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-pill-title {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.feat-pill-sub {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.3;
}

/* 3-field search bar */
.hero-search-new {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 6px 8px 6px 16px;
  gap: 0;
  margin-bottom: 28px;
  max-width: 680px;
  position: relative;
}

.hero-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 6px 12px;
  position: relative;
}

.hero-search-field-inner {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}

.hero-search-field-inner label {
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-search-field-inner input,
.hero-search-field-inner select {
  border: none !important;
  outline: none !important;
  font-size: 13px;
  color: #374151;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  font-weight: 500;
  height: auto !important;
  min-height: unset !important;
  width: 100%;
  -webkit-appearance: none;
}

.hero-search-field-inner input::placeholder { color: #d1d5db; }

.hero-search-divider {
  width: 1px;
  height: 32px;
  background: #e5e7eb;
  flex-shrink: 0;
}

.hero-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #4f46e5 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  width: auto !important;
  min-height: unset !important;
  transition: background 0.15s;
}

.hero-search-btn:hover { background: #4338ca !important; }

/* Stats row */
.hero-stats-row {
  display: flex;
  gap: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  max-width: 680px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  flex: 1;
  border-right: 1px solid #f3f4f6;
}

.hero-stat:last-child { border-right: none; }

.hero-stat-icon { font-size: 18px; }

.hero-stat-num {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  line-height: 1.3;
}

.hero-stat-sub {
  font-size: 10px;
  color: #9ca3af;
  line-height: 1.3;
}

/* ── RIGHT PANEL ── */
.owner-panel {
  background: #fff;
  border-left: 1px solid #e5e7eb;
  min-height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 60px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

.owner-panel-top-tag {
  font-size: 11px;
  color: #10b981;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.owner-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.owner-panel-title {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 6px;
}

.owner-panel-sub {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.6;
}

.owner-panel-house { font-size: 40px; }

.owner-panel-features {
  display: flex;
  gap: 12px;
}

.owner-pf {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.owner-pf span { font-size: 18px; margin-top: 2px; }

.owner-pf-title {
  font-size: 11px;
  font-weight: 700;
  color: #111827;
}

.owner-pf-sub {
  font-size: 10px;
  color: #9ca3af;
}

/* Owner Form */
.owner-form-section { display: flex; flex-direction: column; gap: 14px; }

.owner-form-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  padding-bottom: 10px;
  border-bottom: 1px solid #f3f4f6;
}

.owner-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.owner-form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.owner-form-field label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
}

.owner-form-field input,
.owner-form-field select {
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  font-size: 12px !important;
  color: #374151 !important;
  background: #fff !important;
  outline: none;
  width: 100%;
  box-shadow: none !important;
  height: auto !important;
  min-height: unset !important;
  margin: 0 !important;
  transition: border-color 0.15s;
}

.owner-form-field input:focus,
.owner-form-field select:focus {
  border-color: #4f46e5 !important;
}

.owner-form-amenities-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  display: block;
  margin-bottom: 6px;
}

.amenity-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.amenity-checkboxes label {
  font-size: 12px;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.owner-photo-upload {
  border: 1.5px dashed #d1d5db;
  border-radius: 10px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: #fafafa;
}

.owner-photo-upload:hover {
  border-color: #4f46e5;
  background: #f5f3ff;
}

.owner-photo-upload-text {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.owner-photo-upload-sub {
  font-size: 11px;
  color: #9ca3af;
  text-align: center;
  line-height: 1.5;
}

.owner-submit-btn {
  width: 100%;
  background: #4f46e5 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s;
  min-height: unset !important;
}

.owner-submit-btn:hover { background: #4338ca !important; }

.owner-submit-note {
  text-align: center;
  font-size: 11px;
  color: #9ca3af;
  margin-top: -6px;
}

/* Why Owners card */
.why-owners-card {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  border-radius: 16px;
  padding: 20px;
  color: #fff;
}

.why-owners-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.why-owners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.why-owners-item { display: flex; flex-direction: column; gap: 4px; }

.why-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.why-label {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.why-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

/* ── TOP PGs SECTION ── */
.toppgs-section {
  padding: 32px 48px;
  max-width: 900px;
}

.toppgs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.toppgs-title {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}

.toppgs-viewall {
  font-size: 13px;
  font-weight: 600;
  color: #4f46e5;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.toppgs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

/* 4 Feature pills */
.feature-4pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px;
}

.f4pill {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.f4pill-title {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.f4pill-sub {
  font-size: 11px;
  color: #9ca3af;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .home-two-col { grid-template-columns: 1fr; }
  .owner-panel {
    position: static;
    max-height: none;
    border-left: none;
    border-top: 1px solid #e5e7eb;
  }
  .toppgs-section { padding: 24px 20px; }
  .toppgs-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-4pills { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero-new { padding: 28px 20px; }
  .hero-headline { font-size: 26px; }
  .hero-feature-pills { flex-direction: column; }
  .hero-search-new { flex-direction: column; padding: 12px; gap: 8px; border-radius: 14px; }
  .hero-search-divider { width: 100%; height: 1px; }
  .hero-search-btn { width: 100% !important; justify-content: center; }
  .hero-stats-row { flex-wrap: wrap; }
  .hero-stat { flex: 1 1 45%; }
  .toppgs-grid { grid-template-columns: 1fr 1fr; }
  .owner-form-grid { grid-template-columns: 1fr; }
  .feature-4pills { grid-template-columns: 1fr 1fr; }
}
/* ══════════════════════════════════
   PART 2 — HERO NEW STYLES
══════════════════════════════════ */
.hero-new {
  padding: 40px 48px 36px;
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 60%);
  position: relative;
  overflow: hidden;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 99px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.trust-avatars { display: flex; }

.ta {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #e0e7ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border: 2px solid #fff;
  margin-right: -4px;
}

.trust-text { font-size: 12px; color: #6b7280; font-weight: 500; }
.trust-text strong { color: #374151; }

.hero-headline {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: #111827;
  margin-bottom: 12px;
}

.hero-accent { color: #4f46e5; }

.hero-sub-new {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-feature-pills {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-feat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  flex: 1;
  min-width: 130px;
}

.feat-pill-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-pill-title { font-size: 12px; font-weight: 700; color: #111827; }
.feat-pill-sub { font-size: 11px; color: #9ca3af; }

/* 3-field search bar */
.hero-search-new {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 6px 8px 6px 16px;
  margin-bottom: 20px;
  max-width: 700px;
  position: relative;
}

.hero-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 6px 10px;
  position: relative;
}

.hero-search-field-inner {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}

.hero-search-field-inner label {
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-search-field-inner input,
.hero-search-field-inner select {
  border: none !important;
  outline: none !important;
  font-size: 13px;
  color: #374151;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  font-weight: 500;
  height: auto !important;
  min-height: unset !important;
  width: 100%;
  -webkit-appearance: none;
}

.hero-search-field-inner input::placeholder { color: #d1d5db; }

.hero-search-divider {
  width: 1px;
  height: 32px;
  background: #e5e7eb;
  flex-shrink: 0;
}

.hero-search-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  background: #4f46e5 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  width: auto !important;
  min-height: unset !important;
  transition: background 0.15s;
}

.hero-search-btn:hover { background: #4338ca !important; }

/* Stats row */
.hero-stats-row {
  display: flex;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  max-width: 700px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  flex: 1;
  border-right: 1px solid #f3f4f6;
}

.hero-stat:last-child { border-right: none; }
.hero-stat-icon { font-size: 18px; }
.hero-stat-num { font-size: 16px; font-weight: 800; color: #111827; line-height: 1.1; }
.hero-stat-label { font-size: 11px; font-weight: 600; color: #374151; }
.hero-stat-sub { font-size: 10px; color: #9ca3af; }

/* Top PGs section */
.toppgs-section {
  padding: 32px 48px;
}

.toppgs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.toppgs-title { font-size: 20px; font-weight: 800; color: #111827; }

.toppgs-viewall {
  font-size: 13px;
  font-weight: 600;
  color: #4f46e5;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.toppgs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

/* 4 feature pills */
.feature-4pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px;
}

.f4pill { display: flex; align-items: flex-start; gap: 12px; }
.f4pill-title { font-size: 12px; font-weight: 700; color: #111827; }
.f4pill-sub { font-size: 11px; color: #9ca3af; }

/* ══════════════════════════════════
   POST PAGE 2-COL LAYOUT
══════════════════════════════════ */
.post-page-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  min-height: 100vh;
  align-items: start;
}

.post-page-left {
  background: #fff;
  border-right: 1px solid #e5e7eb;
  padding: 32px 28px;
  position: sticky;
  top: 60px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-page-right {
  padding: 32px 36px;
  background: #fafafa;
}

/* Owner panel shared styles */
.owner-panel-top-tag { font-size: 11px; color: #10b981; font-weight: 600; }

.owner-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.owner-panel-title { font-size: 22px; font-weight: 800; color: #111827; line-height: 1.2; margin-bottom: 6px; }
.owner-panel-sub { font-size: 12px; color: #6b7280; line-height: 1.6; }
.owner-panel-house { font-size: 40px; }

.owner-panel-features { display: flex; flex-direction: column; gap: 12px; }

.owner-pf { display: flex; align-items: flex-start; gap: 10px; }
.owner-pf span { font-size: 18px; margin-top: 2px; }
.owner-pf-title { font-size: 12px; font-weight: 700; color: #111827; }
.owner-pf-sub { font-size: 11px; color: #9ca3af; }

.owner-form-section { display: flex; flex-direction: column; gap: 14px; }

.owner-form-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.owner-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.owner-form-field { display: flex; flex-direction: column; gap: 4px; }

.owner-form-field label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
}

.owner-form-field input,
.owner-form-field select {
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 9px 12px !important;
  font-size: 13px !important;
  color: #374151 !important;
  background: #fff !important;
  outline: none;
  width: 100%;
  box-shadow: none !important;
  height: auto !important;
  min-height: unset !important;
  margin: 0 !important;
  transition: border-color 0.15s;
}
.owner-form-field input:focus,
.owner-form-field select:focus { border-color: #4f46e5 !important; }

.owner-form-amenities-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  display: block;
  margin-bottom: 8px;
}

.amenity-checkboxes { display: flex; flex-wrap: wrap; gap: 10px; }

.amenity-checkboxes label {
  font-size: 12px;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.owner-photo-upload {
  border: 1.5px dashed #d1d5db;
  border-radius: 10px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: #fafafa;
  transition: border-color 0.15s, background 0.15s;
}

.owner-photo-upload:hover { border-color: #4f46e5; background: #f5f3ff; }
.owner-photo-upload-text { font-size: 13px; font-weight: 600; color: #374151; }
.owner-photo-upload-sub { font-size: 11px; color: #9ca3af; text-align: center; line-height: 1.5; }

.owner-submit-btn {
  width: 100%;
  background: #4f46e5 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s;
  min-height: unset !important;
}

.owner-submit-btn:hover { background: #4338ca !important; }
.owner-submit-note { text-align: center; font-size: 11px; color: #9ca3af; margin-top: -4px; }

.why-owners-card {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  border-radius: 16px;
  padding: 20px;
  color: #fff;
}

.why-owners-title { font-size: 14px; font-weight: 700; margin-bottom: 14px; }

.why-owners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.why-owners-item { display: flex; flex-direction: column; gap: 3px; }
.why-icon { font-size: 18px; margin-bottom: 3px; }
.why-label { font-size: 12px; font-weight: 700; color: #fff; }
.why-sub { font-size: 11px; color: rgba(255,255,255,0.75); line-height: 1.4; }

/* Responsive */
@media (max-width: 900px) {
  .post-page-layout { grid-template-columns: 1fr; }
  .post-page-left { position: static; max-height: none; border-right: none; border-bottom: 1px solid #e5e7eb; }
  .toppgs-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-4pills { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero-new { padding: 24px 20px; }
  .hero-headline { font-size: 26px; }
  .hero-feature-pills { flex-direction: column; }
  .hero-search-new { flex-direction: column; padding: 12px; gap: 8px; }
  .hero-search-divider { width: 100%; height: 1px; }
  .hero-search-btn { width: 100% !important; justify-content: center; }
  .hero-stats-row { flex-wrap: wrap; }
  .hero-stat { flex: 1 1 45%; }
  .toppgs-section { padding: 24px 20px; }
  .owner-form-grid { grid-template-columns: 1fr; }
  .feature-4pills { grid-template-columns: 1fr 1fr; }
  .post-page-right { padding: 24px 16px; }
}
/* ══════════════════════════════════
   PART 3 — NEW LISTING CARDS
══════════════════════════════════ */

.nc-listing-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
}

.nc-listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(79,70,229,0.13);
}

/* Image wrap */
.nc-card-img-wrap {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
}

.nc-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Verified badge — top left green pill */
.nc-verified-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #16a34a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 3;
  letter-spacing: 0.02em;
}

/* Price tag — bottom left on image */
.nc-price-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #4f46e5;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 8px;
  z-index: 3;
  line-height: 1.2;
}

.nc-price-mo {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.85;
}

/* Card body */
.nc-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.nc-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nc-card-location {
  font-size: 12px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Amenity tags row */
.nc-amenity-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.nc-amenity-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #6b7280;
  background: #f9fafb;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  padding: 3px 8px;
  font-weight: 500;
}

/* Bottom row: rating + contact btn */
.nc-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f3f4f6;
  gap: 8px;
  flex-wrap: wrap;
}

.nc-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nc-star {
  color: #f59e0b;
  font-size: 13px;
  line-height: 1;
}

.nc-rating-val {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
}

.nc-review-count {
  font-size: 11px;
  color: #9ca3af;
}

.nc-cheaper-tag {
  font-size: 10px;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 600;
  white-space: nowrap;
}

/* Contact Owner button */
.nc-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff !important;
  color: #374151 !important;
  border: 1.5px solid #d1d5db !important;
  border-radius: 8px !important;
  padding: 7px 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  min-height: unset !important;
  width: auto !important;
  flex-shrink: 0;
}

.nc-contact-btn:hover {
  border-color: #4f46e5 !important;
  color: #4f46e5 !important;
  background: #eef2ff !important;
}

/* Browse page grid (listings page) */
#listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 20px 20px 40px;
}

/* Responsive grids */
@media (max-width: 1100px) {
  .toppgs-grid { grid-template-columns: repeat(2, 1fr); }
  #listings-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .toppgs-grid { grid-template-columns: repeat(2, 1fr); }
  .nc-card-img-wrap { height: 140px; }
  .nc-cheaper-tag { display: none; }
  #listings-grid { grid-template-columns: 1fr; padding: 12px 12px 32px; }
}
/* ══════════════════════════════════
   PART 4 — NEW FOOTER
══════════════════════════════════ */

.new-footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  margin-top: 48px;
}

.new-footer-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 48px 32px;
  display: grid;
  grid-template-columns: 240px repeat(5, 1fr);
  gap: 32px;
  align-items: start;
}

/* Brand column */
.nf-brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nf-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  color: #4f46e5;
  letter-spacing: -0.5px;
}

.nf-brand-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.7;
}

.nf-social-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.nf-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.nf-social-icon:hover {
  border-color: #4f46e5;
  color: #4f46e5;
  background: #eef2ff;
}

/* Link columns */
.nf-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nf-col-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.nf-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.nf-col-links li a {
  font-size: 12px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1.5;
}

.nf-col-links li a:hover {
  color: #4f46e5;
}

/* Newsletter */
.nf-newsletter-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 4px;
}

.nf-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nf-newsletter-input {
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 9px 12px !important;
  font-size: 12px !important;
  color: #374151 !important;
  background: #fff !important;
  outline: none !important;
  box-shadow: none !important;
  width: 100% !important;
  margin: 0 !important;
  height: auto !important;
  min-height: unset !important;
  transition: border-color 0.15s;
}

.nf-newsletter-input:focus {
  border-color: #4f46e5 !important;
}

.nf-newsletter-btn {
  background: #4f46e5 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 9px 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer;
  width: 100% !important;
  min-height: unset !important;
  transition: background 0.15s;
}

.nf-newsletter-btn:hover {
  background: #4338ca !important;
}

/* Bottom bar */
.new-footer-bottom {
  border-top: 1px solid #f3f4f6;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 1400px;
  margin: 0 auto;
}

.nf-copy {
  font-size: 12px;
  color: #9ca3af;
}

/* Responsive footer */
@media (max-width: 1100px) {
  .new-footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 36px 32px 24px;
  }
  .nf-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .new-footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 28px 20px 20px;
    gap: 24px;
  }
  .nf-brand-col { grid-column: 1 / -1; }
  .new-footer-bottom { padding: 14px 20px; justify-content: center; }
}

/* Refactor polish: shared actions, browse, login, and page transitions */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%) !important;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(0.97);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

.page {
  animation: pageFade 180ms ease;
}

.page-slide-enter-right {
  transform: translateX(24px);
  opacity: 0;
}

.page-slide-enter-left {
  transform: translateX(-24px);
  opacity: 0;
}

.page-slide-active {
  transform: translateX(0);
  opacity: 1;
  transition: transform 220ms ease, opacity 220ms ease;
}

@keyframes pageFade {
  from { opacity: 0.92; }
  to { opacity: 1; }
}

.browse-hero {
  padding: 44px 48px 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(79, 70, 229, 0.10), transparent 34%),
    linear-gradient(135deg, #f8f9ff 0%, #ffffff 62%);
}

.browse-hero h1 {
  margin: 0;
  color: #111827;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.browse-hero p:last-child {
  max-width: 620px;
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 15px;
}

#page-browse .browse-header {
  padding: 8px 28px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

#page-browse .browse-search-bar,
#page-browse .filter-floating-card,
#page-browse .nc-listing-card,
#page-browse .listing-card {
  border-color: #e5e7eb;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

#page-browse #listings-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  padding: 24px 48px 48px;
  background: #f8fbff;
}

.browse-loading,
.browse-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #fff;
  color: #64748b;
  text-align: center;
}

#page-login .login {
  min-height: calc(100vh - 78px);
  align-items: center;
  padding: 48px 20px;
  background:
    radial-gradient(circle at 18% 18%, rgba(79, 70, 229, 0.12), transparent 34%),
    linear-gradient(135deg, #f8f9ff 0%, #ffffff 58%, #eef6ff 100%);
}

#page-login #auth-root {
  max-width: 420px;
}

#page-login .auth-v2-card {
  border-radius: 16px;
  padding: 28px;
  border-color: #e5e7eb;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12);
}

#page-login .auth-v2-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
}

.nav-links a.is-active {
  color: #4f46e5;
  background: #eef2ff;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > a:not(.nav-login-btn):not(.nav-list-btn) {
    display: inline-flex;
  }

  .nav-right {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
  }

  .browse-hero {
    padding: 30px 20px 12px;
  }

  .browse-hero h1 {
    font-size: 28px;
  }

  #page-browse .browse-header {
    padding: 6px 12px 0;
  }

  #page-browse #listings-grid {
    grid-template-columns: 1fr;
    padding: 16px 14px 36px;
  }

  #page-login .login {
    align-items: flex-start;
    padding: 28px 16px;
  }
}
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 20px 20px 40px;
  min-height: 200px;
}
.browse-hero {
  padding: 32px 48px 16px;
  background: #f8f9ff;
  border-bottom: 1px solid #e5e7eb;
}

.browse-hero h1 {
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  margin: 4px 0 8px;
}

.browse-hero p {
  font-size: 14px;
  color: #6b7280;
}

@media (max-width: 640px) {
  .browse-hero { padding: 20px; }
  .browse-hero h1 { font-size: 20px; }
  .listings-grid {
    grid-template-columns: 1fr !important;
    padding: 12px !important;
  }
}
/* ===== OWNER PANEL PREMIUM ===== */

#page-post {
  padding: 24px 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.owner-panel {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: fadeUp 0.5s ease;
}

/* Top Tag */
.owner-panel-top-tag {
  display: inline-block;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Header */
.owner-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.owner-panel-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
}

.owner-panel-sub {
  font-size: 14px;
  color: #64748b;
  margin-top: 6px;
}

.owner-panel-house {
  font-size: 32px;
}

/* Feature Cards */
.owner-panel-features {
  display: flex;
  gap: 12px;
  margin: 18px 0 26px;
}

.owner-pf {
  flex: 1;
  display: flex;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
  transition: 0.3s;
}

.owner-pf:hover {
  transform: translateY(-3px);
  background: #eef2ff;
}

.owner-pf span {
  font-size: 18px;
}

.owner-pf-title {
  font-weight: 600;
  font-size: 13px;
}

.owner-pf-sub {
  font-size: 12px;
  color: #64748b;
}

/* Form Section */
.owner-form-section {
  margin-top: 10px;
}

.owner-form-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Grid */
.owner-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Inputs */
.owner-form-field label {
  font-size: 12px;
  color: #475569;
  margin-bottom: 4px;
  display: block;
}

.owner-form-field input,
.owner-form-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f9fafb;
  font-size: 14px;
  transition: 0.2s;
}

.owner-form-field input:focus,
.owner-form-field select:focus {
  border-color: #6366f1;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

/* Amenities */
.owner-form-amenities {
  margin-top: 18px;
}

.owner-form-amenities-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.amenity-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.amenity-checkboxes label {
  background: #f1f5f9;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}

.amenity-checkboxes input {
  margin-right: 6px;
}

.amenity-checkboxes label:hover {
  background: #e0e7ff;
}

/* Submit Button */
.owner-submit-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  cursor: pointer;
  transition: 0.3s;
}

.owner-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(99,102,241,0.3);
}

/* Note */
.owner-submit-note {
  text-align: center;
  font-size: 12px;
  margin-top: 8px;
  color: #64748b;
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .owner-form-grid {
    grid-template-columns: 1fr;
  }

  .owner-panel-features {
    flex-direction: column;
  }

  .owner-panel-title {
    font-size: 22px;
  }
}
.logo-icon {
  width: 26px;
  height: 26px;
  margin-right: 8px;
  vertical-align: middle;
}
.detail-tabs {
  display: flex;
  border-bottom: 0.5px solid #e2e8f0;
  margin: 0 0 20px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

.detail-tab-btn {
  flex: 1;
  padding: 14px 8px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s;
}

.detail-tab-btn.tab-btn--active {
  color: #4f46e5;
  border-bottom: 2px solid #4f46e5;
}

#detail-tab-content {
  min-height: 400px;
}
#reviews-section {
  padding: 0;
}

#reviews-section p {
  margin: 0;
}

#reviews-section textarea {
  font-family: inherit;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

#reviews-section svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

#reviews-section button:disabled {
  opacity: 0.6;
  cursor: default;
}

.reviews-loading {
  padding: 20px;
  font-size: 14px;
  color: var(--color-text-secondary, #94a3b8);
  text-align: center;
}
/* ── SKELETON LOADING ── */
@keyframes shimmer {
  0% { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 8px;
}

/* Listing card skeleton */
.skeleton-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.skeleton-card-img {
  width: 100%;
  height: 160px;
}

.skeleton-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-card-title {
  height: 16px;
  width: 75%;
}

.skeleton-card-sub {
  height: 12px;
  width: 50%;
}

.skeleton-card-tags {
  display: flex;
  gap: 6px;
}

.skeleton-card-tag {
  height: 22px;
  width: 56px;
  border-radius: 99px;
}

.skeleton-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.skeleton-card-price {
  height: 18px;
  width: 90px;
}

.skeleton-card-btn {
  height: 34px;
  width: 80px;
  border-radius: 10px;
}

/* Featured card skeleton */
.skeleton-featured-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  width: 260px;
  min-width: 260px;
  flex-shrink: 0;
}

.skeleton-featured-img {
  width: 100%;
  height: 140px;
}

.skeleton-featured-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-featured-title {
  height: 14px;
  width: 80%;
}

.skeleton-featured-sub {
  height: 12px;
  width: 55%;
}

.skeleton-featured-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.skeleton-featured-price {
  height: 16px;
  width: 80px;
}

.skeleton-featured-btn {
  height: 28px;
  width: 72px;
  border-radius: 8px;
}

/* Detail page skeleton */
.skeleton-detail {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skeleton-detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  height: 260px;
}

.skeleton-detail-main-img {
  border-radius: 12px;
  height: 100%;
}

.skeleton-detail-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-detail-side-img {
  flex: 1;
  border-radius: 12px;
}

.skeleton-detail-title {
  height: 24px;
  width: 60%;
}

.skeleton-detail-sub {
  height: 14px;
  width: 40%;
}

.skeleton-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.skeleton-detail-info-card {
  height: 70px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .skeleton-detail-gallery {
    grid-template-columns: 1fr;
    height: auto;
  }
  .skeleton-detail-main-img {
    height: 200px;
  }
  .skeleton-detail-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .skeleton-detail-side-img {
    height: 90px;
  }
  .skeleton-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ── RECENT SEARCHES DROPDOWN ── */
.recent-searches-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  z-index: 1000;
  padding: 8px;
  margin-top: 4px;
}

.recent-searches-dropdown.is-open {
  display: block;
}

.recent-searches-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}

.recent-clear-all {
  background: none;
  border: none;
  color: #4f46e5;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  min-height: unset;
  width: auto;
  transform: none !important;
}

.recent-clear-all:hover {
  background: none;
  text-decoration: underline;
  transform: none !important;
}

.recent-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  padding: 2px 4px;
  transition: background 0.15s;
}

.recent-search-item:hover {
  background: #f9fafb;
}

.recent-search-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 9px 8px;
  font-size: 13px;
  color: #374151;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  min-height: unset;
  width: auto;
  transform: none !important;
  border-radius: 8px;
}

.recent-search-btn:hover {
  background: none;
  color: #4f46e5;
  transform: none !important;
}

.recent-search-remove {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: none;
  color: #9ca3af;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: unset;
  flex-shrink: 0;
  transform: none !important;
}

.recent-search-remove:hover {
  background: #f3f4f6;
  color: #374151;
  transform: none !important;
}
.location-autocomplete {
  z-index: 1001;
}

.recent-searches-dropdown {
  z-index: 1000;
}
.location-autocomplete {
  z-index: 1002;
  top: calc(100% + 6px);
}

.recent-searches-dropdown {
  z-index: 1001;
  top: calc(100% + 6px);
}

.listing-actions-card {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  background: #fff;
}

.section-title {
  font-size: 15px;
  font-weight: 600;
}

.section-sub {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 10px;
}

.input-box {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border-radius: 10px;
  border: 1px solid #CBD5F5;
}

.primary-btn {
  width: 100%;
  margin-top: 10px;
  background: #2563EB;
  color: #fff;
  padding: 11px;
  border-radius: 10px;
  border: none;
}

.secondary-btn {
  width: 100%;
  margin-top: 10px;
  background: #10B981;
  color: #fff;
  padding: 11px;
  border-radius: 10px;
  border: none;
}

.danger-btn {
  width: 100%;
  margin-top: 10px;
  background: #EF4444;
  color: #fff;
  padding: 11px;
  border-radius: 10px;
  border: none;
}

.admin-card {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background: #fff;
}

.admin-card h4 {
  margin: 0 0 8px;
}

.admin-card p {
  margin: 6px 0;
}

.admin-card button {
  margin-right: 8px;
  margin-top: 8px;
}

.action-toggle-bar {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 10px;
}

.action-link {
  cursor: pointer;
  color: #2563EB;
}

.action-link:hover {
  text-decoration: underline;
}

.action-box {
  margin-top: 10px;
}
/* ── ADMIN PANEL IMPROVEMENTS ── */
.admin-filter-bar input[type="text"] {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: border-color 0.15s;
}

.admin-filter-bar input[type="text"]:focus {
  outline: none;
  border-color: var(--primary);
}

#admin-bulk-bar .dashboard-action-button {
  min-height: unset;
  padding: 4px 12px;
  font-size: 12px;
}

.dashboard-listing-card .admin-bulk-check {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--primary);
  flex-shrink: 0;
}

#admin-listings .dashboard-listing-card {
  transition: box-shadow 0.15s, border-color 0.15s;
}

#admin-listings .dashboard-listing-card:hover {
  border-color: rgba(99,180,255,0.4);
  box-shadow: 0 4px 16px rgba(22,50,79,0.08);
}

.admin-approve-button {
  background: #d1fae5;
  color: #065f46;
  border-color: #6ee7b7;
}

.admin-approve-button:hover {
  background: #a7f3d0;
  border-color: #34d399;
  transform: none;
}

.dashboard-action-button.is-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
  transform: none;
}

@media (max-width: 768px) {
  .admin-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-filter-bar input[type="text"] {
    width: 100% !important;
    margin-left: 0 !important;
  }

  #admin-bulk-bar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .dashboard-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}