/* ============================================================
   Rentalvetrina — redesign (Immobiliare.it / SeLoger style)
   ============================================================ */

/* ── Reset for rv-page ── */
.rv-page {
  background: #f5f5f7;
  min-height: 100vh;
}

/* ── Main layout ── */
.rv-main {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  min-height: 0;
}

/* ── Search Hero ── */
.rv-search-hero {
  background: #06090f;
  padding: 28px 24px 20px;
  flex-shrink: 0;
}
.rv-search-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}
.rv-search-title {
  text-align: center;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.rv-search-em {
  background: linear-gradient(135deg, #007AFF, #5ac8fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

/* ── Search bar ── */
.rv-search-bar {
  position: relative;
  max-width: 640px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  overflow: visible;
}
.rv-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 15px 16px 15px 44px;
  font-size: 0.95rem;
  color: #1d1d1f;
  background: transparent;
  border-radius: 12px 0 0 12px;
}
.rv-search-icon {
  position: absolute;
  left: 14px;
  color: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  pointer-events: none;
}
.rv-search-btn {
  background: #007AFF;
  color: #fff;
  border: none;
  padding: 0 24px;
  height: 52px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 0 12px 12px 0;
  transition: background 0.2s;
  flex-shrink: 0;
}
.rv-search-btn:hover { background: #0062cc; }

/* ── Suggestions dropdown ── */
.rv-search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 1200;
  max-height: 260px;
  overflow-y: auto;
}
.rv-sugg-item {
  padding: 11px 16px;
  font-size: 0.88rem;
  color: #1d1d1f;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rv-sugg-item:hover { background: #f5f5f7; }
.rv-sugg-item:last-child { border-bottom: none; }
.rv-sugg-item::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #007AFF;
  flex-shrink: 0;
}

/* ── Quick filters ── */
.rv-quick-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 640px;
  margin: 0 auto;
}
.rv-qf-select {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  cursor: pointer;
  appearance: auto;
}
.rv-qf-select option { color: #1d1d1f; background: #fff; }
.rv-qf-map-btn {
  background: rgba(0,122,255,0.15);
  border: 1px solid rgba(0,122,255,0.3);
  color: #5ac8fa;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.2s;
}
.rv-qf-map-btn:hover { background: rgba(0,122,255,0.25); }

/* ── Split layout ── */
.rv-split {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;          /* critical: lets sidebar/list scroll inside flex parent */
  overflow: hidden;
}

/* ── Sidebar ── */
.rv-sidebar {
  width: 42%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  background: #f5f5f7;
  border-right: 1px solid #e5e5ea;
  overflow: hidden;
  min-height: 0;          /* allow inner .rv-list to take only available space */
}
.rv-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid #e5e5ea;
  flex-shrink: 0;
}
.rv-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1d1d1f;
}
.rv-sort-select {
  /* base styles overridden by liquid-glass block below */
  cursor: pointer;
}

.rv-breadcrumb {
  padding: 8px 14px;
  background: rgba(0,122,255,0.06);
  border-bottom: 1px solid rgba(0,122,255,0.12);
  font-size: 0.78rem;
  color: #007AFF;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-weight: 600;
}

.rv-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Card ── */
.rv-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  border: 1.5px solid transparent;
  text-decoration: none;
  color: inherit;
}
.rv-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}
.rv-card.rv-card--active {
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0,122,255,0.12);
}

.rv-card-img {
  position: relative;
  width: 150px;
  flex-shrink: 0;
  overflow: hidden;
}
.rv-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rv-card-type {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 3px 7px;
  border-radius: 5px;
  backdrop-filter: blur(4px);
}

.rv-card-body {
  padding: 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.rv-card-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #007AFF;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.rv-card-price span {
  font-size: 0.72rem;
  font-weight: 500;
  color: #6e6e73;
}
.rv-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rv-card-addr {
  font-size: 0.72rem;
  color: #6e6e73;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rv-card-specs {
  font-size: 0.72rem;
  color: #6e6e73;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}
.rv-energy {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  color: #fff;
  letter-spacing: 0.04em;
}

/* ── Empty state ── */
.rv-empty {
  text-align: center;
  padding: 48px 24px;
  color: #6e6e73;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.rv-empty[hidden] { display: none !important; }
.rv-btn-reset {
  background: none;
  border: 1.5px solid #007AFF;
  color: #007AFF;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.rv-btn-reset:hover { background: #007AFF; color: #fff; }

/* ── Map ── */
.rv-map-wrap {
  flex: 1;
  position: relative;
  min-width: 0;
}
.rv-map {
  width: 100%;
  height: 100%;
}

/* ── Geo panel button (on map) ── */
.rv-geo-panel-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 400;
  background: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1d1d1f;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: box-shadow 0.2s;
}
.rv-geo-panel-btn:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.22); }

/* ── Geo panel overlay ── */
.rv-geo-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 32px rgba(0,0,0,0.15);
  z-index: 1200;
  display: flex;
  flex-direction: column;
}
.rv-geo-panel[hidden] { display: none !important; }
.rv-geo-panel-inner { display: flex; flex-direction: column; height: 100%; }
.rv-geo-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #e5e5ea;
  flex-shrink: 0;
}
.rv-geo-panel-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
}
.rv-geo-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6e6e73;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  line-height: 1;
  transition: background 0.15s;
}
.rv-geo-close:hover { background: #f5f5f7; }

.rv-geo-tabs {
  display: flex;
  border-bottom: 1px solid #e5e5ea;
  flex-shrink: 0;
}
.rv-geo-tab {
  flex: 1;
  padding: 11px 6px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6e6e73;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.rv-geo-tab.active { color: #007AFF; border-bottom-color: #007AFF; }

.rv-geo-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
}

.rv-geo-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6e6e73;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.rv-geo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.86rem;
  color: #1d1d1f;
  margin-bottom: 3px;
  transition: background 0.15s;
}
.rv-geo-item:hover { background: #f5f5f7; }
.rv-geo-item.active { background: rgba(0,122,255,0.08); color: #007AFF; font-weight: 600; }
.rv-geo-item-count {
  font-size: 0.7rem;
  color: #6e6e73;
  background: #f0f0f5;
  padding: 2px 8px;
  border-radius: 100px;
  flex-shrink: 0;
}

/* Neighborhood checkboxes */
.rv-geo-nh-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  cursor: pointer;
  margin-bottom: 3px;
  transition: background 0.15s;
}
.rv-geo-nh-item:hover { background: #f5f5f7; }
.rv-geo-nh-item input[type=checkbox] {
  width: 15px;
  height: 15px;
  accent-color: #007AFF;
  flex-shrink: 0;
}
.rv-geo-nh-label { font-size: 0.84rem; color: #1d1d1f; }

.rv-geo-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #007AFF;
  cursor: pointer;
  margin-bottom: 12px;
  font-weight: 600;
  padding: 4px 0;
}
.rv-geo-back:hover { text-decoration: underline; }

.rv-geo-footer {
  display: flex;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid #e5e5ea;
  flex-shrink: 0;
}
.rv-btn-ghost {
  background: none;
  border: 1.5px solid #d1d1d6;
  color: #1d1d1f;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}
.rv-btn-ghost:hover { border-color: #007AFF; color: #007AFF; }
.rv-btn-primary {
  background: #007AFF;
  border: none;
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  flex: 1;
}
.rv-btn-primary:hover { background: #0062cc; }

/* ── Map popup ── */
.rv-map-popup { font-family: system-ui, -apple-system, sans-serif; min-width: 170px; }
.rv-map-popup img { width: 100%; height: 90px; object-fit: cover; border-radius: 7px; margin-bottom: 8px; display: block; }
.rv-map-popup-price { font-size: 0.95rem; font-weight: 800; color: #007AFF; }
.rv-map-popup-info { font-size: 0.75rem; color: #6e6e73; margin-top: 4px; line-height: 1.4; }

/* ── Leaflet marker override ── */
.rv-map-marker { background: transparent !important; border: none !important; }

/* ── Loading skeleton ── */
.rv-skeleton {
  background: linear-gradient(90deg, #e8e8eb 25%, #f5f5f7 50%, #e8e8eb 75%);
  background-size: 200% 100%;
  animation: rv-shimmer 1.4s infinite;
  border-radius: 10px;
  height: 90px;
}
@keyframes rv-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .rv-main { height: auto; overflow: visible; }
  .rv-split { flex-direction: column; height: auto; }
  .rv-sidebar {
    width: 100%;
    height: 60vh;
    border-right: none;
    border-bottom: 1px solid #e5e5ea;
  }
  .rv-map-wrap { height: 45vh; }
  .rv-card-img { width: 120px; }
  .rv-geo-panel { width: 100%; }
  .rv-search-hero {
    padding: 28px 16px 16px;
    /* Respect the iOS Safari notch/safe area + the site's mobile header */
    padding-top: max(60px, env(safe-area-inset-top, 0px) + 56px);
  }
  .rv-search-title {
    font-size: 1.35rem;
    margin: 0 0 14px;
  }
  .rv-quick-filters { gap: 6px; }
  .rv-qf-select, .rv-qf-map-btn { font-size: 0.78rem; padding: 7px 10px; }
}
@media (max-width: 480px) {
  .rv-card-img { width: 100px; }
  .rv-card-body { padding: 10px 10px; }
  .rv-card-price { font-size: 0.95rem; }
}


/* ════════════════════════════════════════════════════════════════
   BELGIUM CHOROPLETH MAP (Phase 1)
   ════════════════════════════════════════════════════════════════ */

/* Custom tooltip for Belgium provinces — matches home dark theme */
.leaflet-tooltip.be-tooltip {
  background: rgba(5, 7, 13, 0.92);
  border: 1px solid rgba(140, 245, 208, 0.4);
  border-radius: 10px;
  padding: 10px 14px;
  color: #f0f4ff;
  font-size: 0.85rem;
  font-family: inherit;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(140,245,208,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.leaflet-tooltip.be-tooltip::before {
  border-top-color: rgba(140, 245, 208, 0.4);
}
.leaflet-tooltip.be-tooltip strong {
  color: #8cf5d0;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 2px;
}
.leaflet-tooltip.be-tooltip .be-tip {
  line-height: 1.35;
}

/* Map container: glow effect at edges for hero look */
.rv-map-wrap {
  position: relative;
}
.rv-map {
  background: #05070d;
}
.rv-map-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.4);
  border-radius: 0;
}

/* Dark Carto tiles look better with subtle saturation tweak */
.leaflet-tile {
  filter: saturate(0.7) brightness(1.15) contrast(1.05);
}

/* Override zoom control style for dark theme */
.leaflet-control-zoom a {
  background: rgba(5, 7, 13, 0.85) !important;
  color: #f0f4ff !important;
  border: 1px solid rgba(140, 245, 208, 0.3) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.leaflet-control-zoom a:hover {
  background: rgba(140, 245, 208, 0.15) !important;
  border-color: rgba(140, 245, 208, 0.6) !important;
}

/* Attribution to dark */
.leaflet-control-attribution {
  background: rgba(5, 7, 13, 0.7) !important;
  color: rgba(240, 244, 255, 0.55) !important;
  backdrop-filter: blur(6px);
}
.leaflet-control-attribution a {
  color: rgba(140, 245, 208, 0.85) !important;
}


/* ════════════════════════════════════════════════════════════════
   HERO REDESIGN — match home.css premium dark aesthetic
   ════════════════════════════════════════════════════════════════ */

.rv-page {
  background: #05070d;
}

/* Hero with atmospheric depth */
.rv-search-hero {
  background: linear-gradient(180deg, #06090f 0%, #0a0f1c 100%);
  padding: 96px 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.rv-search-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,122,255,0.12), transparent 60%);
  pointer-events: none;
}
.rv-search-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

/* Larger gradient title matching home h2 scale */
.rv-search-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 20px;
  color: #f0f4ff;
  text-align: center;
}
.rv-search-em {
  background: linear-gradient(135deg, #007AFF 0%, #5ac8fa 60%, #63e6be 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass search bar with gradient border */
.rv-search-bar {
  max-width: 720px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,122,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 18px;
  overflow: visible;
}
.rv-search-input {
  color: #f0f4ff;
  font-size: 1rem;
  padding: 18px 18px 18px 50px;
  background: transparent;
}
.rv-search-input::placeholder {
  color: rgba(240,244,255,0.4);
}
.rv-search-icon {
  left: 18px;
  color: rgba(140,245,208,0.6);
}
.rv-search-btn {
  background: linear-gradient(135deg, #007AFF, #5ac8fa);
  height: 56px;
  padding: 0 28px;
  font-weight: 800;
  border-radius: 0 16px 16px 0;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(0,122,255,0.4);
}
.rv-search-btn:hover {
  background: linear-gradient(135deg, #0062cc, #007AFF);
  transform: translateY(-1px);
}

/* Dark dropdown suggestions */
.rv-search-suggestions {
  background: rgba(10,15,28,0.96);
  border: 1px solid rgba(140,245,208,0.25);
  box-shadow: 0 12px 48px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.rv-sugg-item {
  color: #f0f4ff;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}
.rv-sugg-item:hover {
  background: rgba(0,122,255,0.12);
}
.rv-sugg-item::before {
  background: #8cf5d0;
}

/* Quick filter pills — pill shape, glass, gradient hover */
.rv-quick-filters {
  max-width: 720px;
  gap: 10px;
  margin-bottom: 0;
}
.rv-qf-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: #f0f4ff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238cf5d0' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.rv-qf-select:hover {
  background-color: rgba(0,122,255,0.12);
  border-color: rgba(140,245,208,0.4);
}
.rv-qf-select option {
  background: #0a0f1c;
  color: #f0f4ff;
}
.rv-qf-map-btn {
  background: linear-gradient(135deg, rgba(140,245,208,0.18), rgba(0,122,255,0.18));
  border: 1px solid rgba(140,245,208,0.4);
  color: #8cf5d0;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rv-qf-map-btn:hover {
  background: linear-gradient(135deg, rgba(140,245,208,0.32), rgba(0,122,255,0.28));
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(140,245,208,0.2);
}

/* Sidebar: keep functional light cards on dark background */
.rv-sidebar {
  background: #0a0f1c;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.rv-sidebar-head {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 16px;
}
.rv-count {
  color: #f0f4ff;
  font-weight: 700;
}
.rv-sort-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 36px 0 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #f0f4ff;
  cursor: pointer;
  border-radius: 999px;
  /* Liquid-glass: layered translucent gradient + subtle ring */
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.08) 100%),
    rgba(8, 12, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 8px 20px rgba(0, 0, 0, 0.35);
  /* Custom chevron */
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(240, 244, 255, 0.85) 50%),
    linear-gradient(135deg, rgba(240, 244, 255, 0.85) 50%, transparent 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.08) 100%),
    rgba(8, 12, 22, 0.55);
  background-position:
    calc(100% - 18px) 49%,
    calc(100% - 13px) 49%,
    0 0,
    0 0;
  background-size: 5px 5px, 5px 5px, 100% 100%, 100% 100%;
  background-repeat: no-repeat;
  margin-right: 12px; /* spacing from neighboring view-toggle */
  transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease, background .2s ease;
}
.rv-sort-select:hover {
  border-color: rgba(140, 245, 208, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 10px 24px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(140, 245, 208, 0.08);
}
.rv-sort-select:focus-visible {
  outline: none;
  border-color: rgba(140, 245, 208, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 0 0 3px rgba(140, 245, 208, 0.25);
}
.rv-sort-select:active { transform: translateY(0.5px); }
/* Options inherit dark theme on platforms that respect it */
.rv-sort-select option {
  background: #0a1424;
  color: #f0f4ff;
}

.rv-breadcrumb {
  background: rgba(0,122,255,0.1);
  border-bottom: 1px solid rgba(0,122,255,0.25);
  color: #5ac8fa;
  padding: 10px 16px;
}

/* Cards on dark theme */
.rv-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  transition: all 0.25s ease;
  color: #f0f4ff;
}
.rv-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(0,122,255,0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,122,255,0.15);
}
.rv-card.rv-card--active {
  border-color: #5ac8fa;
  box-shadow: 0 0 0 2px rgba(90,200,250,0.3), 0 8px 32px rgba(0,122,255,0.25);
}


/* ════════════════════════════════════════════════════════════════
   BE DRILL-DOWN BREADCRUMB
   ════════════════════════════════════════════════════════════════ */
.rv-breadcrumb .be-bc-link {
  color: #5ac8fa;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}
.rv-breadcrumb .be-bc-link:hover {
  color: #8cf5d0;
}
.rv-breadcrumb .be-bc-sep {
  color: rgba(240,244,255,0.35);
  margin: 0 6px;
  font-weight: 400;
}
.rv-breadcrumb strong {
  color: #8cf5d0;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.rv-breadcrumb .be-bc-reset {
  margin-left: auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(240,244,255,0.7);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.rv-breadcrumb .be-bc-reset:hover {
  background: rgba(255,100,100,0.15);
  border-color: rgba(255,100,100,0.4);
  color: #ff8c8c;
}


/* ════════════════════════════════════════════════════════════════
   BE major-city labels on the map
   ════════════════════════════════════════════════════════════════ */
.be-city-label {
  background: transparent !important;
  border: none !important;
  pointer-events: none;
}
.be-city-label-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  background: rgba(5, 7, 13, 0.78);
  border: 1px solid rgba(140, 245, 208, 0.35);
  border-radius: 999px;
  color: #f0f4ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
}
.be-city-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8cf5d0;
  box-shadow: 0 0 6px rgba(140, 245, 208, 0.8);
  flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════════════
   BE drill-up button (visible on map for going back up a level)
   ════════════════════════════════════════════════════════════════ */
.rv-be-up-btn {
  position: absolute;
  top: 12px;
  left: 50px;
  z-index: 500;
  background: rgba(5, 7, 13, 0.92);
  border: 1px solid rgba(140, 245, 208, 0.45);
  color: #8cf5d0;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  transition: all 0.15s ease;
}
.rv-be-up-btn:hover {
  background: rgba(140, 245, 208, 0.15);
  border-color: #8cf5d0;
  transform: translateY(-1px);
}
.rv-be-up-btn[hidden] { display: none; }
.rv-be-up-btn::before {
  content: '←';
  font-size: 1.1em;
  font-weight: 900;
  line-height: 1;
}

/* UX hint near search */
.rv-multi-hint {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(240,244,255,0.5);
  margin-top: 8px;
}
.rv-multi-hint kbd {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.7rem;
  color: #f0f4ff;
  font-family: inherit;
}

/* ════════════════════════════════════════════════════════════════
   BE map control panel (tile-mode toggle + transit toggle)
   ════════════════════════════════════════════════════════════════ */
.rv-map-controls {
  position: absolute;
  top: 12px;
  right: 56px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(5, 7, 13, 0.86);
  border: 1px solid rgba(140, 245, 208, 0.32);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.45);
}
.rv-mc-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  color: #d4fff0;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.rv-mc-btn:hover {
  background: rgba(140, 245, 208, 0.12);
  border-color: rgba(140, 245, 208, 0.35);
}
.rv-mc-btn.is-active {
  background: rgba(140, 245, 208, 0.22);
  border-color: rgba(140, 245, 208, 0.6);
  color: #8cf5d0;
  transform: scale(1.05);
}
.rv-mc-sep {
  width: 1px;
  height: 22px;
  background: rgba(140, 245, 208, 0.25);
  margin: 0 2px;
}

/* ════════════════════════════════════════════════════════════════
   BE city-label tier variants (smaller as tier grows)
   ════════════════════════════════════════════════════════════════ */
.be-city-label--t2 .be-city-label-inner {
  font-size: 0.66rem;
  padding: 3px 8px 3px 5px;
  background: rgba(5, 7, 13, 0.7);
  border-color: rgba(140, 245, 208, 0.25);
  font-weight: 600;
}
.be-city-label--t2 .be-city-label-dot {
  width: 5px; height: 5px;
  background: #b8f5d8;
  box-shadow: 0 0 4px rgba(140, 245, 208, 0.6);
}
.be-city-label--t3 .be-city-label-inner {
  font-size: 0.6rem;
  padding: 2px 7px 2px 5px;
  background: rgba(5, 7, 13, 0.6);
  border-color: rgba(140, 245, 208, 0.2);
  font-weight: 500;
  color: #cfe5ff;
}
.be-city-label--t3 .be-city-label-dot {
  width: 4px; height: 4px;
  background: #cfe5ff;
  box-shadow: 0 0 3px rgba(207, 229, 255, 0.5);
}
/* In smooth (Voyager) base, the base already shows street labels — fade ours */
body[data-rv-tile="smooth"] .be-city-label-inner {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(0, 60, 90, 0.35);
  color: #112233;
  text-shadow: none;
}
body[data-rv-tile="smooth"] .be-city-label-dot {
  background: #0a6eb8;
  box-shadow: 0 0 4px rgba(10, 110, 184, 0.7);
}

/* ════════════════════════════════════════════════════════════════
   BE map persistent hint + tooltip "hint" line
   ════════════════════════════════════════════════════════════════ */
.rv-map-hint {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 8px;
  background: rgba(5, 7, 13, 0.78);
  border: 1px solid rgba(140, 245, 208, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.rv-map-hint-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(140, 245, 208, 0.18);
  border: 1px solid rgba(140, 245, 208, 0.45);
  color: #8cf5d0;
  font-weight: 700;
  font-size: 0.7rem;
  line-height: 1;
}
.be-tip-hint {
  display: block;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.01em;
}

/* ════════════════════════════════════════════════════════════════
   BE map "Strati" toggle + popover
   Replaces the cryptic 4-icon strip (.rv-map-controls)
   ════════════════════════════════════════════════════════════════ */
.rv-layers-toggle {
  position: absolute;
  top: 12px;
  right: 56px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 12px;
  background: rgba(5, 7, 13, 0.88);
  border: 1px solid rgba(140, 245, 208, 0.32);
  border-radius: 999px;
  color: #d4fff0;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.rv-layers-toggle:hover {
  background: rgba(10, 18, 32, 0.95);
  border-color: rgba(140, 245, 208, 0.55);
}
.rv-layers-toggle.is-open {
  background: rgba(140, 245, 208, 0.16);
  border-color: rgba(140, 245, 208, 0.7);
  color: #8cf5d0;
}
.rv-layers-toggle.has-overlay::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #8cf5d0;
  box-shadow: 0 0 8px rgba(140, 245, 208, 0.9);
}
.rv-layers-icon {
  font-size: 1rem;
  line-height: 1;
  color: #8cf5d0;
}
.rv-layers-label {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.rv-layers-panel {
  position: absolute;
  top: 56px;
  right: 56px;
  z-index: 500;
  width: 280px;
  background: rgba(5, 8, 14, 0.96);
  border: 1px solid rgba(140, 245, 208, 0.28);
  border-radius: 14px;
  padding: 12px 6px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
  animation: rv-layers-pop 0.18s ease-out;
}
@keyframes rv-layers-pop {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rv-layers-section {
  padding: 0 6px;
}
.rv-layers-section-title {
  margin: 6px 4px 8px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(140, 245, 208, 0.75);
}
.rv-layers-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .12s ease;
}
.rv-layers-opt:hover {
  background: rgba(140, 245, 208, 0.06);
}
.rv-layers-opt input[type="radio"],
.rv-layers-opt input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #8cf5d0;
  flex-shrink: 0;
  cursor: pointer;
}
.rv-layers-opt-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.82rem;
}
.rv-layers-opt-body strong {
  color: #f0f4ff;
  font-weight: 600;
}
.rv-layers-opt-body em {
  font-style: normal;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
}
.rv-layers-divider {
  height: 1px;
  margin: 6px 4px;
  background: rgba(255, 255, 255, 0.08);
}

/* Remove old controls (kept for safety if any cached HTML references them) */
.rv-map-controls { display: none !important; }

/* ════════════════════════════════════════════════════════════════
   Geo-panel restyle (single-country mode)
   ════════════════════════════════════════════════════════════════ */
.rv-geo-panel-header h3 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f0f4ff;
}
.rv-geo-header-flag {
  font-size: 1.6rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.rv-geo-header-where {
  display: inline-flex;
  flex-direction: column;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  gap: 2px;
}
.rv-geo-header-where strong {
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  color: #f0f4ff;
  font-weight: 700;
}

/* Hide tabs strip cleanly when set hidden */
.rv-geo-tabs[hidden] { display: none !important; }

/* Visual polish on region rows */
.rv-geo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  border: 1px solid transparent;
}
.rv-geo-item:hover {
  background: rgba(140, 245, 208, 0.08);
  border-color: rgba(140, 245, 208, 0.2);
}
.rv-geo-item.active {
  background: rgba(0, 122, 255, 0.18);
  border-color: rgba(0, 122, 255, 0.45);
  color: #fff;
}
.rv-geo-item-count {
  font-size: 0.72rem;
  color: rgba(140, 245, 208, 0.85);
  font-weight: 700;
  min-width: 22px;
  text-align: right;
  padding: 2px 8px;
  background: rgba(140, 245, 208, 0.12);
  border-radius: 999px;
}
.rv-geo-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(140, 245, 208, 0.7);
  margin: 14px 16px 8px;
}

/* ════════════════════════════════════════════════════════════════
   Rentalvetrina view toggle (Lista / Mappa)
   ════════════════════════════════════════════════════════════════ */
.rv-view-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 3px;
  margin-left: auto;
}
.rv-vt-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 12px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.rv-vt-btn:hover {
  color: #f0f4ff;
}
.rv-vt-btn.is-active {
  background: linear-gradient(135deg, #007AFF 0%, #5ac8fa 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,122,255,0.35);
}

/* List-only mode: hide map column and expand sidebar */
.rv-split.rv-split--list-only .rv-map-wrap {
  display: none !important;
}
.rv-split.rv-split--list-only .rv-sidebar {
  flex: 1 1 100%;
  max-width: 100%;
}
.rv-split.rv-split--list-only .rv-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
@media (max-width: 900px) {
  .rv-view-toggle .rv-vt-btn span:not([aria-hidden]) { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   Filter bar v2 — chip groups + price range + advanced drawer
   ════════════════════════════════════════════════════════════════ */
.rv-quick-filters--v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 18px;
  align-items: flex-end;
  padding: 14px 4px 4px;
}
.rv-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.rv-filter-group-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(140, 245, 208, 0.85);
  padding: 0 2px;
}
.rv-filter-group--price {
  min-width: 220px;
}
.rv-filter-group--wide { flex: 1; }

/* ── Chips ─────────────────────────────────────────────────────── */
.rv-chip-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.rv-chips-placeholder {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  padding: 4px 8px;
}
.rv-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}
.rv-chip:hover {
  background: rgba(140, 245, 208, 0.1);
  border-color: rgba(140, 245, 208, 0.3);
  color: #f0f4ff;
}
.rv-chip.is-active {
  background: linear-gradient(135deg, rgba(0,122,255,0.92), rgba(90,200,250,0.92));
  border-color: rgba(140, 245, 208, 0.6);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.3);
}

/* Energy chip variant: shows class color dot */
.rv-chip--energy {
  position: relative;
  padding-left: 26px;
  font-weight: 700;
}
.rv-chip--energy::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ec, #888);
  box-shadow: 0 0 4px var(--ec, #888);
}

/* Feature chip: bigger emoji */
.rv-chip--feat {
  font-size: 0.82rem;
}

/* ── Price range inputs ──────────────────────────────────────── */
.rv-price-range {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}
.rv-price-range:focus-within {
  border-color: rgba(140, 245, 208, 0.45);
}
.rv-price-input {
  width: 80px;
  height: 28px;
  background: transparent;
  border: none;
  color: #f0f4ff;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  padding: 0;
  text-align: center;
  -moz-appearance: textfield;
}
.rv-price-input::-webkit-outer-spin-button,
.rv-price-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rv-price-input::placeholder { color: rgba(255,255,255,0.35); font-weight: 500; }
.rv-price-sep { color: rgba(255,255,255,0.35); font-weight: 600; }

/* ── Action buttons ──────────────────────────────────────────── */
.rv-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.rv-qf-adv-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  background: rgba(140, 245, 208, 0.08);
  border: 1px solid rgba(140, 245, 208, 0.32);
  color: #8cf5d0;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.rv-qf-adv-btn:hover {
  background: rgba(140, 245, 208, 0.16);
  border-color: rgba(140, 245, 208, 0.55);
}
.rv-qf-reset-btn {
  height: 36px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid rgba(255, 100, 100, 0.35);
  color: rgba(255, 150, 150, 0.85);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.rv-qf-reset-btn:hover { background: rgba(255, 100, 100, 0.1); }

/* ════════════════════════════════════════════════════════════════
   Advanced filters drawer (slide-in from right)
   ════════════════════════════════════════════════════════════════ */
.rv-adv-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.rv-adv-drawer[hidden] { display: none; }
.rv-adv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  /* fade animation removed */
}
.rv-adv-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  background: rgba(8, 12, 22, 0.97);
  border-left: 1px solid rgba(140, 245, 208, 0.18);
  display: flex;
  flex-direction: column;
  /* slide animation removed — was getting stuck due to display:none parent */
  box-shadow: -16px 0 50px rgba(0, 0, 0, 0.55);
}
.rv-adv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.rv-adv-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f0f4ff;
}
.rv-adv-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.rv-adv-close:hover { background: rgba(255,255,255,0.1); color: #fff; }
.rv-adv-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.rv-adv-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(140, 245, 208, 0.85);
  margin: 0 0 10px;
}
.rv-feature-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.rv-feature-chips .rv-chip {
  width: 100%;
  justify-content: flex-start;
  height: 38px;
  padding: 0 14px;
  font-size: 0.82rem;
}
.rv-adv-footer {
  padding: 14px 22px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 10px;
}
.rv-adv-footer .rv-btn-ghost {
  flex: 1;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}
.rv-adv-footer .rv-btn-primary {
  flex: 2;
  height: 44px;
  background: linear-gradient(135deg, #007AFF, #5ac8fa);
  border: none;
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,122,255,0.35);
}

/* ════════════════════════════════════════════════════════════════
   Filter bar v3 — single-row pills with popovers
   ════════════════════════════════════════════════════════════════ */
.rv-quick-filters--v3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px 4px;
  flex-wrap: wrap;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.rv-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px 0 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.rv-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(140, 245, 208, 0.32);
}
.rv-pill.is-open {
  background: rgba(140, 245, 208, 0.16);
  border-color: rgba(140, 245, 208, 0.55);
  box-shadow: 0 4px 14px rgba(140, 245, 208, 0.18);
}
.rv-pill.has-value {
  background: linear-gradient(135deg, rgba(0,122,255,0.22), rgba(90,200,250,0.18));
  border-color: rgba(0,122,255,0.5);
  color: #fff;
}
.rv-pill-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(140, 245, 208, 0.75);
}
.rv-pill.has-value .rv-pill-label {
  color: rgba(214, 240, 255, 0.85);
}
.rv-pill-value {
  font-weight: 700;
  letter-spacing: 0.01em;
}
.rv-pill-caret {
  margin-left: 2px;
  opacity: 0.65;
}

/* Map & advanced buttons sit at the end */
.rv-qf-map-btn, .rv-qf-adv-btn {
  flex-shrink: 0;
  height: 38px;
  border-radius: 999px;
}
.rv-qf-map-btn {
  background: rgba(140, 245, 208, 0.10);
  border: 1px solid rgba(140, 245, 208, 0.45);
  color: #8cf5d0;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.15s;
}
.rv-qf-map-btn:hover { background: rgba(140, 245, 208, 0.18); }

.rv-qf-reset-btn {
  flex-shrink: 0;
  margin-left: 4px;
}

/* Popover anchored to a pill */
.rv-pill-popover {
  position: fixed;
  z-index: 1000;
  min-width: 240px;
  max-width: 480px;
  background: rgba(8, 12, 22, 0.98);
  border: 1px solid rgba(140, 245, 208, 0.28);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: rv-pop-in 0.16s ease-out;
}
.rv-pill-popover[hidden] { display: none; }
@keyframes rv-pop-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rv-pill-popover-content { display: block; }
.rv-pill-popover .rv-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ════════════════════════════════════════════════════════════════
   Count strip: bold N + zone tag
   ════════════════════════════════════════════════════════════════ */
.rv-count strong {
  font-size: 1.05rem;
  color: #f0f4ff;
}
.rv-count-zone {
  color: rgba(140, 245, 208, 0.85);
  font-weight: 600;
  margin-left: 4px;
}

/* ════════════════════════════════════════════════════════════════
   Compact card layout when sidebar is narrow (split mode)
   Keep original flex layout but shrink dimensions
   ════════════════════════════════════════════════════════════════ */
.rv-split:not(.rv-split--list-only) .rv-list .rv-card {
  min-height: 140px;
}
.rv-split:not(.rv-split--list-only) .rv-list .rv-card .rv-card-img {
  width: 130px;
  min-width: 130px;
}
.rv-split:not(.rv-split--list-only) .rv-list .rv-card .rv-card-img img {
  height: 100%;
  min-height: 140px;
}
.rv-split:not(.rv-split--list-only) .rv-list .rv-card .rv-card-body {
  padding: 10px 12px;
  min-width: 0;
  overflow: visible;
}
.rv-split:not(.rv-split--list-only) .rv-list .rv-card .rv-card-title {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rv-split:not(.rv-split--list-only) .rv-list .rv-card .rv-card-addr {
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rv-split:not(.rv-split--list-only) .rv-list .rv-card .rv-card-price {
  font-size: 1rem;
}
.rv-split:not(.rv-split--list-only) .rv-list .rv-card .rv-card-type {
  font-size: 0.55rem;
  padding: 2px 6px;
}

/* ════════════════════════════════════════════════════════════════
   Strati toggle: move below Per zona to avoid overlap on small maps
   (Per zona on map removed in HTML; Strati can take the corner)
   ════════════════════════════════════════════════════════════════ */
.rv-layers-toggle {
  right: 12px;
}
.rv-layers-panel {
  right: 12px;
}

/* Leaflet default zoom controls — below navbar (which is 1000) */
.leaflet-container .leaflet-top,
.leaflet-container .leaflet-bottom { z-index: 95 !important; }


/* ════════════════════════════════════════════════════════════════
   GLASS DESIGN SYSTEM — unified panel aesthetic
   Brings every overlay (Per zona, filter popovers, advanced drawer,
   Strati) in line with the home hero / pricing-card style.
   ════════════════════════════════════════════════════════════════ */
:root {
  --rv-glass-bg: linear-gradient(165deg, rgba(13, 22, 37, 0.92) 0%, rgba(8, 17, 30, 0.88) 100%);
  --rv-glass-border: 1px solid rgba(171, 220, 255, 0.18);
  --rv-glass-border-bright: 1px solid rgba(140, 245, 208, 0.32);
  --rv-glass-blur: blur(20px) saturate(140%);
  --rv-glass-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 28px rgba(140, 245, 208, 0.08);
  --rv-radius-lg: 18px;
  --rv-radius-md: 14px;
  --rv-text-primary: #f0f4ff;
  --rv-text-dim: rgba(240, 244, 255, 0.6);
  --rv-text-muted: rgba(240, 244, 255, 0.4);
  --rv-mint: #8cf5d0;
  --rv-mint-soft: rgba(140, 245, 208, 0.78);
  --rv-accent: #5ac8fa;
}

/* ── Reusable glass panel + button utilities ────────────────────────── */
.rv-glass {
  background: var(--rv-glass-bg);
  border: var(--rv-glass-border);
  border-radius: var(--rv-radius-lg);
  backdrop-filter: var(--rv-glass-blur);
  -webkit-backdrop-filter: var(--rv-glass-blur);
  box-shadow: var(--rv-glass-shadow);
  color: var(--rv-text-primary);
}
.rv-glass-section-title {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rv-mint-soft);
  margin: 4px 4px 10px;
}

/* ════════════════════════════════════════════════════════════════
   PANEL #1 — .rv-geo-panel  (Per zona slide-in)
   Rewrites the legacy white panel into glass-dark, matching the home.
   ════════════════════════════════════════════════════════════════ */
.rv-geo-panel {
  width: min(420px, 100vw);
  background: var(--rv-glass-bg);
  border-left: var(--rv-glass-border-bright);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6), 0 0 32px rgba(140, 245, 208, 0.06);
  backdrop-filter: var(--rv-glass-blur);
  -webkit-backdrop-filter: var(--rv-glass-blur);
  color: var(--rv-text-primary);
}
.rv-geo-panel-header {
  padding: 22px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.rv-geo-panel-header h3 {
  color: var(--rv-text-primary);
}
.rv-geo-close {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(240, 244, 255, 0.7);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  padding: 0;
}
.rv-geo-close:hover {
  background: rgba(140, 245, 208, 0.12);
  border-color: rgba(140, 245, 208, 0.4);
  color: var(--rv-mint);
}
.rv-geo-tabs {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 12px;
}
.rv-geo-tab {
  color: rgba(240, 244, 255, 0.5);
  font-weight: 600;
  padding: 12px 6px;
  letter-spacing: 0.01em;
  transition: color 0.15s, border-color 0.15s;
}
.rv-geo-tab:hover { color: var(--rv-text-primary); }
.rv-geo-tab.active {
  color: var(--rv-mint);
  border-bottom-color: var(--rv-mint);
}
.rv-geo-body {
  padding: 16px 14px;
  background: transparent;
}
.rv-geo-section-title {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rv-mint-soft);
  margin: 8px 12px 10px;
}

/* item rows */
.rv-geo-item {
  padding: 12px 14px;
  color: var(--rv-text-primary);
  border: 1px solid transparent;
  border-radius: 12px;
  margin-bottom: 4px;
  transition: background 0.15s, border-color 0.15s;
}
.rv-geo-item:hover {
  background: rgba(140, 245, 208, 0.08);
  border-color: rgba(140, 245, 208, 0.22);
}
.rv-geo-item.active {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.18), rgba(90, 200, 250, 0.14));
  border-color: rgba(90, 200, 250, 0.45);
  color: #fff;
  font-weight: 600;
}
.rv-geo-item-count {
  font-size: 0.7rem;
  color: var(--rv-mint);
  background: rgba(140, 245, 208, 0.12);
  border: 1px solid rgba(140, 245, 208, 0.25);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 700;
  min-width: 26px;
  text-align: center;
}

.rv-geo-nh-item {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--rv-text-primary);
}
.rv-geo-nh-item:hover { background: rgba(140, 245, 208, 0.08); }
.rv-geo-nh-item input[type=checkbox] { accent-color: var(--rv-mint); }
.rv-geo-nh-label { color: var(--rv-text-primary); }

.rv-geo-back {
  color: var(--rv-mint);
  font-weight: 600;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 10px;
  display: inline-flex;
  width: fit-content;
  transition: background 0.15s;
}
.rv-geo-back:hover {
  background: rgba(140, 245, 208, 0.1);
  text-decoration: none;
}

.rv-geo-footer {
  padding: 16px 22px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
  gap: 10px;
}
.rv-geo-footer .rv-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(240, 244, 255, 0.7);
  border-radius: 12px;
  height: 44px;
  padding: 0 18px;
  flex: 1;
  font-weight: 600;
}
.rv-geo-footer .rv-btn-ghost:hover {
  background: rgba(140, 245, 208, 0.08);
  border-color: rgba(140, 245, 208, 0.4);
  color: var(--rv-mint);
}
.rv-geo-footer .rv-btn-primary {
  background: linear-gradient(135deg, #007AFF, #5ac8fa);
  border: none;
  color: #fff;
  border-radius: 12px;
  height: 44px;
  padding: 0 20px;
  flex: 2;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 122, 255, 0.35);
  transition: filter 0.15s, transform 0.1s, box-shadow 0.2s;
}
.rv-geo-footer .rv-btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 122, 255, 0.45);
}

/* Header flag chip (new feature from earlier commit) */
.rv-geo-header-where {
  color: rgba(240, 244, 255, 0.55);
}
.rv-geo-header-where strong { color: var(--rv-text-primary); }

/* ════════════════════════════════════════════════════════════════
   PANEL #2 — .rv-pill-popover  (filter pill popovers)
   ════════════════════════════════════════════════════════════════ */
.rv-pill-popover {
  background: var(--rv-glass-bg);
  border: var(--rv-glass-border-bright);
  border-radius: var(--rv-radius-lg);
  backdrop-filter: var(--rv-glass-blur);
  -webkit-backdrop-filter: var(--rv-glass-blur);
  box-shadow: var(--rv-glass-shadow);
  padding: 14px 12px;
}

/* ════════════════════════════════════════════════════════════════
   PANEL #3 — .rv-adv-panel  (advanced filters drawer)
   ════════════════════════════════════════════════════════════════ */
.rv-adv-panel {
  background: var(--rv-glass-bg);
  border-left: var(--rv-glass-border-bright);
  backdrop-filter: var(--rv-glass-blur);
  -webkit-backdrop-filter: var(--rv-glass-blur);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6), 0 0 32px rgba(140, 245, 208, 0.08);
  width: min(460px, 100vw);
}
.rv-adv-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.rv-adv-header h3 { letter-spacing: -0.01em; }
.rv-adv-body {
  padding: 22px 24px 26px;
  gap: 26px;
}
.rv-adv-section-title {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rv-mint);
  margin: 0 0 12px;
}
.rv-adv-footer {
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
  gap: 12px;
}
.rv-adv-footer .rv-btn-primary {
  background: linear-gradient(135deg, #007AFF, #5ac8fa);
  box-shadow: 0 10px 28px rgba(0, 122, 255, 0.4);
  border-radius: 12px;
  font-weight: 700;
  transition: filter 0.15s, transform 0.1s, box-shadow 0.2s;
}
.rv-adv-footer .rv-btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.rv-adv-footer .rv-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(240, 244, 255, 0.7);
  border-radius: 12px;
  font-weight: 600;
}
.rv-adv-footer .rv-btn-ghost:hover {
  background: rgba(140, 245, 208, 0.08);
  border-color: rgba(140, 245, 208, 0.4);
  color: var(--rv-mint);
}

/* ════════════════════════════════════════════════════════════════
   PANEL #4 — .rv-layers-panel  (Strati popover)
   ════════════════════════════════════════════════════════════════ */
.rv-layers-panel {
  background: var(--rv-glass-bg);
  border: var(--rv-glass-border-bright);
  border-radius: var(--rv-radius-lg);
  backdrop-filter: var(--rv-glass-blur);
  -webkit-backdrop-filter: var(--rv-glass-blur);
  box-shadow: var(--rv-glass-shadow);
  padding: 14px 10px;
  min-width: 300px;
}
.rv-layers-section-title {
  color: var(--rv-mint);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}
.rv-layers-divider {
  background: rgba(255, 255, 255, 0.06);
  margin: 8px 6px;
}

/* Strati toggle pill — already aligned, just refresh subtle */
.rv-layers-toggle {
  background: rgba(13, 22, 37, 0.92);
  border: var(--rv-glass-border-bright);
  backdrop-filter: var(--rv-glass-blur);
  -webkit-backdrop-filter: var(--rv-glass-blur);
}
.rv-layers-toggle:hover {
  background: rgba(140, 245, 208, 0.12);
  border-color: rgba(140, 245, 208, 0.55);
}

/* ════════════════════════════════════════════════════════════════
   Filter pills polish — tie into the same glass language
   ════════════════════════════════════════════════════════════════ */
.rv-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.rv-pill:hover {
  background: rgba(140, 245, 208, 0.08);
  border-color: rgba(140, 245, 208, 0.32);
}
.rv-pill.is-open {
  background: linear-gradient(135deg, rgba(140, 245, 208, 0.18), rgba(90, 200, 250, 0.12));
  border-color: rgba(140, 245, 208, 0.6);
  color: var(--rv-text-primary);
}
.rv-pill.has-value {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.28), rgba(90, 200, 250, 0.18));
  border-color: rgba(90, 200, 250, 0.55);
  color: #fff;
}
.rv-pill-label {
  color: var(--rv-mint-soft);
}

/* ════════════════════════════════════════════════════════════════
   FOOTER — uguale a home, posizionato sotto rv-main (sotto la fold)
   .rv-main ha height: calc(100vh - 64px), quindi il footer apparisce
   solo se l'utente scrolla davvero sotto la riga della mappa+lista.
   ════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #030508;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 32px 24px 20px;
}
.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  column-gap: 36px;
  row-gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}
.site-footer .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #f0f4ff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.site-footer .footer-logo svg { width: 22px; height: 22px; }
.site-footer .footer-tagline {
  font-size: 0.78rem;
  color: rgba(160, 185, 225, 0.62);
  margin: 0 0 6px;
  line-height: 1.45;
  max-width: 320px;
}
.site-footer .footer-countries {
  font-size: 0.72rem;
  color: rgba(130, 160, 205, 0.45);
  margin: 0;
  letter-spacing: 0.02em;
}
.site-footer .footer-col-title {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(160, 190, 235, 0.5);
  margin: 0 0 10px;
}
.site-footer .footer-links ul,
.site-footer .footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.site-footer .footer-links a,
.site-footer .footer-legal a {
  text-decoration: none;
  font-size: 0.78rem;
  color: rgba(175, 200, 240, 0.65);
  transition: color 0.15s ease;
}
.site-footer .footer-links a:hover,
.site-footer .footer-legal a:hover { color: #f0f4ff; }
.site-footer .footer-copy {
  font-size: 0.7rem;
  color: rgba(130, 155, 200, 0.4);
  margin: 12px 0 0;
  line-height: 1.5;
}
.site-footer::after {
  content: "";
  display: block;
  max-width: 1180px;
  margin: 22px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}



/* Bottom row: copyright + countries + cookie link (single line) */
.site-footer::after {
  content: "© 2026 Rentadomus  •  🇧🇪 Belgique · 🇫🇷 France · 🇮🇹 Italia";
  display: block;
  max-width: 1200px;
  margin: 16px auto 0;
  padding-top: 14px;
  font-size: 0.7rem;
  color: rgba(140, 165, 200, 0.45);
  letter-spacing: 0.02em;
  text-align: center;
}

/* Cookie manage link (injected by cookie-consent.js): pin it inside footer with subtle style */
#rd-cookie-manage-link {
  font-size: 0.7rem !important;
  color: rgba(140, 165, 200, 0.55) !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin-top: 12px !important;
}
#rd-cookie-manage-link:hover { color: #8cf5d0 !important; }

/* Responsive */
@media (max-width: 900px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr 1fr !important;
    column-gap: 32px !important;
  }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr !important;
  }
  .site-footer { padding: 28px 20px 14px !important; }
}


/* ════════════════════════════════════════════════════════════════
   Dual-range slider (Prezzo / Superficie) — v2 high-contrast
   ════════════════════════════════════════════════════════════════ */
.rv-dualrange {
  position: relative;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  margin: 6px 0 4px;
  box-sizing: border-box;
}
.rv-dualrange-track {
  position: absolute;
  top: 50%;
  left: 14px;
  right: 14px;
  height: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.10) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transform: translateY(-50%);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}
.rv-dualrange-fill {
  position: absolute;
  top: 50%;
  height: 8px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #007AFF 0%, #5ac8fa 50%, #8cf5d0 100%);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(90, 200, 250, 0.6), 0 2px 8px rgba(0, 122, 255, 0.4);
}
.rv-dualrange input[type="range"] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  width: 100%;
  height: 44px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
}
.rv-dualrange input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #f0f4ff 50%, #d0e8ff 100%);
  border: 3px solid #5ac8fa;
  cursor: grab;
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.55), 0 0 0 4px rgba(90, 200, 250, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
  z-index: 2;
}
.rv-dualrange input[type="range"]::-webkit-slider-thumb:hover {
  border-color: #8cf5d0;
  box-shadow: 0 6px 18px rgba(140, 245, 208, 0.6), 0 0 0 6px rgba(140, 245, 208, 0.16);
  transform: scale(1.08);
}
.rv-dualrange input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(1.18);
  cursor: grabbing;
  border-color: #8cf5d0;
  box-shadow: 0 8px 24px rgba(140, 245, 208, 0.7), 0 0 0 8px rgba(140, 245, 208, 0.22);
}
.rv-dualrange input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #f0f4ff 50%, #d0e8ff 100%);
  border: 3px solid #5ac8fa;
  cursor: grab;
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.55), 0 0 0 4px rgba(90, 200, 250, 0.12);
}
.rv-dualrange input[type="range"]:focus-visible::-webkit-slider-thumb {
  outline: 2px solid #8cf5d0;
  outline-offset: 2px;
}

.rv-range-readout {
  float: right;
  font-size: 0.7rem;
  font-weight: 700;
  color: #8cf5d0;
  text-transform: none;
  letter-spacing: 0;
  font-feature-settings: "tnum";
}

/* ════════════════════════════════════════════════════════════════
   FOOTER v3 — flat horizontal layout (more compact)
   ════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #050810 !important;
  border-top: 1px solid rgba(140, 245, 208, 0.10) !important;
  padding: 22px 28px 16px !important;
  color: rgba(220, 230, 245, 0.7);
}
.site-footer .footer-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}
.site-footer .footer-inner > * { margin: 0; }

/* Row 1: brand + tagline + links inline */
.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.site-footer .footer-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #f0f4ff !important;
  font-size: 0.94rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
  text-decoration: none !important;
  flex-shrink: 0;
}
.site-footer .footer-logo svg { width: 20px !important; height: 20px !important; color: #8cf5d0; }
.site-footer .footer-tagline {
  font-size: 0.78rem !important;
  color: rgba(180, 200, 230, 0.55) !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  max-width: none !important;
  padding-left: 4px;
  border-left: none;
}
.site-footer .footer-countries { display: none !important; }

/* Row 2: links inline (Plateforme + Legal collapsed in 1 row) */
.site-footer .footer-links,
.site-footer .footer-legal {
  display: contents;
}
.site-footer .footer-col-title { display: none !important; }
.site-footer .footer-links ul,
.site-footer .footer-legal ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 4px 18px !important;
  align-items: center !important;
}
.site-footer .footer-legal ul {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.site-footer .footer-links a,
.site-footer .footer-legal a {
  text-decoration: none !important;
  font-size: 0.78rem !important;
  color: rgba(195, 215, 240, 0.65) !important;
  transition: color 0.15s ease;
  display: inline-block;
  position: relative;
}
.site-footer .footer-links li:not(:last-child) a::after,
.site-footer .footer-legal li:not(:last-child) a::after {
  content: ·;
  margin-left: 18px;
  color: rgba(140, 165, 200, 0.25);
}
.site-footer .footer-links a:hover,
.site-footer .footer-legal a:hover {
  color: #8cf5d0 !important;
}
.site-footer .footer-copy { display: none !important; }

/* Bottom row: copyright + cookie link */
.site-footer::after {
  content: © 2026 Rentadomus · 🇧🇪 Belgique · 🇫🇷 France · 🇮🇹 Italia;
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.66rem;
  color: rgba(140, 165, 200, 0.4);
  letter-spacing: 0.02em;
  text-align: center;
}

#rd-cookie-manage-link {
  font-size: 0.66rem !important;
  color: rgba(140, 165, 200, 0.45) !important;
  text-decoration: none !important;
  display: block !important;
  text-align: center;
  margin-top: 4px !important;
  padding-bottom: 2px;
}
#rd-cookie-manage-link:hover { color: #8cf5d0 !important; }

@media (max-width: 720px) {
  .site-footer .footer-brand { flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-footer .footer-tagline { border-left: none; padding-left: 0; }
  .site-footer .footer-links ul,
  .site-footer .footer-legal ul { padding: 10px 0 !important; gap: 0 12px !important; }
}

.site-footer .footer-links li, .site-footer .footer-legal li { list-style: none !important; display: inline-flex !important; align-items: center !important; }

/* ════════════════════════════════════════════════════════════════
   MOBILE FIXES v2 — search bar fit, filters compact, toggle visible
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Hero padding — give title room below the fixed navbar */
  .rv-search-hero {
    padding: 12px 12px 12px !important;
    padding-top: max(76px, env(safe-area-inset-top, 0px) + 72px) !important;
  }

  /* Search bar: contain in viewport, input flexes, button compact */
  .rv-search-bar {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex !important;
    align-items: stretch;
    position: relative;
    overflow: hidden !important;
  }
  .rv-search-input {
    flex: 1 1 0;
    min-width: 0;
    padding: 14px 14px 14px 42px !important;
    font-size: 0.95rem !important;
  }
  .rv-search-icon { left: 14px !important; }
  .rv-search-btn {
    flex: 0 0 auto;
    height: auto;
    padding: 0 16px !important;
    font-size: 0.85rem !important;
    border-radius: 0 16px 16px 0 !important;
    white-space: nowrap;
  }

  /* Quick filters v3 (pills): wrap, smaller padding, full-width tap targets */
  .rv-quick-filters--v3 {
    gap: 6px !important;
    padding: 10px 4px 4px !important;
    justify-content: stretch !important;
  }
  .rv-pill {
    flex: 1 1 calc(50% - 6px) !important;
    min-width: 0;
    height: 36px !important;
    padding: 0 10px 0 12px !important;
    font-size: 0.78rem !important;
    justify-content: space-between !important;
  }
  .rv-pill-label { font-size: 0.6rem !important; }
  .rv-pill-value { font-size: 0.75rem !important; }
  .rv-qf-map-btn,
  .rv-qf-adv-btn {
    flex: 1 1 calc(50% - 6px) !important;
    min-width: 0;
    height: 36px !important;
    padding: 0 10px !important;
    font-size: 0.78rem !important;
    justify-content: center !important;
  }

  /* Sidebar head: count + sort + view toggle visible & translated */
  .rv-sidebar-head {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px !important;
  }
  .rv-count {
    font-size: 0.78rem !important;
    flex: 1 1 100%;
  }
  .rv-sort-select {
    font-size: 0.78rem !important;
    flex: 1 1 auto;
    background: rgba(255,255,255,0.05) !important;
    color: #f0f4ff !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    padding: 6px 10px !important;
  }
  .rv-view-toggle {
    margin-left: auto !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    padding: 2px !important;
  }
  .rv-vt-btn {
    height: 28px !important;
    padding: 0 10px !important;
    font-size: 0.72rem !important;
    color: rgba(240,244,255,0.7) !important;
  }
  .rv-vt-btn.is-active {
    background: linear-gradient(135deg, #007AFF, #5ac8fa) !important;
    color: #fff !important;
  }

  /* Map: ensure visible height on mobile */
  .rv-map-wrap { min-height: 320px; height: 50vh; }

  /* Strati toggle stays inside map */
  .rv-layers-toggle {
    top: 8px !important;
    right: 8px !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
  }
  .rv-layers-panel { width: calc(100vw - 24px); max-width: 320px; }
}

@media (max-width: 480px) {
  .rv-search-btn {
    /* on very narrow phones, smaller horizontal padding */
    padding: 0 12px !important;
  }
  /* keep 2 columns on very narrow phones */
  .rv-pill {
    flex: 1 1 calc(50% - 4px) !important;
    font-size: 0.74rem !important;
  }
  .rv-qf-map-btn,
  .rv-qf-adv-btn {
    flex: 1 1 calc(50% - 4px) !important;
    font-size: 0.74rem !important;
  }
}
.rv-adv-drawer.is-open .rv-adv-panel { transform: translateX(0); }
@media (max-width: 600px) {
  .rv-adv-panel { width: 100vw !important; max-width: 100vw; }
}

/* Reset global section{display:flex;height:100vh} for the advanced-filters drawer */
.rv-adv-section {
  display: block !important;
  height: auto !important;
  justify-content: unset !important;
  align-items: unset !important;
  scroll-snap-align: unset !important;
  width: 100%;
  box-sizing: border-box;
}

/* ════════════════════════════════════════════════════════════════
   Inline "Clear filters" button — sits next to the result count
   ════════════════════════════════════════════════════════════════ */
.rv-clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
  padding: 4px 10px 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(240, 244, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
  white-space: nowrap;
  height: 26px;
  vertical-align: middle;
  flex-shrink: 0;
}
.rv-clear-filters:hover {
  background: rgba(255, 100, 100, 0.12);
  border-color: rgba(255, 100, 100, 0.4);
  color: #ffb8b8;
}
.rv-clear-filters:active { transform: scale(0.97); }
.rv-clear-filters[hidden] { display: none; }
.rv-clear-filters svg { opacity: 0.85; flex-shrink: 0; }

/* Mobile: keep readable but compact */
@media (max-width: 768px) {
  .rv-clear-filters {
    margin-left: 8px;
    padding: 3px 9px 3px 7px;
    font-size: 0.7rem;
    height: 24px;
  }
}
@media (max-width: 480px) {
  .rv-clear-filters {
    /* Drop to its own row on very narrow phones so it doesn't squeeze the count */
    margin-left: 0;
    margin-top: 6px;
    flex-basis: auto;
  }
}

/* Group count + clear in a meta wrapper that stays together */
.rv-head-meta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  min-width: 0;
  flex: 1 1 auto;
}
.rv-head-meta .rv-count {
  white-space: nowrap;
  min-width: 0;
}
/* When clear is hidden, no left gap */
.rv-head-meta .rv-clear-filters {
  margin-left: 10px;
}
.rv-head-meta .rv-clear-filters[hidden] { margin-left: 0; }

/* Liquid-glass sort + view-toggle group: enforce breathing room */
.rv-sidebar-head {
  gap: 10px;
}
.rv-view-toggle {
  /* lift glassiness a tiny bit to match the sort select */
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

/* ════════════════════════════════════════════════════════════════
   Custom sort dropdown — liquid-glass, replaces native <select>
   ════════════════════════════════════════════════════════════════ */
.rv-sort {
  position: relative;
  display: inline-flex;
  margin-right: 12px;
}
.rv-sort-native {
  /* Visually hidden but kept for form semantics */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.rv-sort-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #f0f4ff;
  cursor: pointer;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.08) 100%),
    rgba(8, 12, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 8px 20px rgba(0, 0, 0, 0.35);
  transition: border-color .18s, box-shadow .18s, transform .12s;
}
.rv-sort-trigger:hover {
  border-color: rgba(140, 245, 208, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 10px 24px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(140, 245, 208, 0.08);
}
.rv-sort-trigger:focus-visible {
  outline: none;
  border-color: rgba(140, 245, 208, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 0 0 3px rgba(140, 245, 208, 0.25);
}
.rv-sort-trigger:active { transform: translateY(0.5px); }
.rv-sort-icon {
  color: rgba(140, 245, 208, 0.85);
  flex-shrink: 0;
}
.rv-sort-label {
  white-space: nowrap;
}
.rv-sort-chevron {
  color: rgba(240, 244, 255, 0.65);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.rv-sort.is-open .rv-sort-chevron {
  transform: rotate(180deg);
  color: rgba(140, 245, 208, 0.9);
}
.rv-sort.is-open .rv-sort-trigger {
  border-color: rgba(140, 245, 208, 0.6);
}

/* Menu panel */
.rv-sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  padding: 6px;
  z-index: 50;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%),
    rgba(10, 14, 24, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.3);
  transform-origin: top right;
  animation: rv-sort-pop .16s ease-out;
}
@keyframes rv-sort-pop {
  from { opacity: 0; transform: scale(.96) translateY(-4px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.rv-sort-menu[hidden] { display: none; }

.rv-sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  background: transparent;
  border: none;
  color: rgba(240, 244, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  border-radius: 10px;
  transition: background .12s, color .12s;
}
.rv-sort-option:hover {
  background: rgba(140, 245, 208, 0.10);
  color: #fff;
}
.rv-sort-option.is-active {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.22), rgba(140, 245, 208, 0.18));
  color: #fff;
  font-weight: 600;
}
.rv-sort-option-check {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #8cf5d0;
  opacity: 0;
}
.rv-sort-option.is-active .rv-sort-option-check { opacity: 1; }

/* Emoji icon styling on sort trigger + menu options */
.rv-sort-icon-slot {
  font-size: 1.05rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  filter: saturate(1.15) drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}
.rv-sort-option {
  /* swap to 3-column: icon | label | check */
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}
.rv-sort-option-icon {
  font-size: 1.05rem;
  line-height: 1;
  filter: saturate(1.15) drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}
.rv-sort-option-label {
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Menu: more breathing room because options grew */
.rv-sort-menu {
  min-width: 260px;
}

/* Mobile: let .rv-main flow naturally (no 100vh clip) so the title isn't cut */
@media (max-width: 768px) {
  .rv-main {
    height: auto !important;
    overflow: visible !important;
    min-height: 100vh;
  }
}

/* Mobile sidebar-head: pack sort + view-toggle on the same row, count on top */
@media (max-width: 768px) {
  .rv-sidebar-head {
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px 10px;
    padding: 12px 14px !important;
    align-items: center;
  }
  .rv-head-meta {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .rv-sort {
    grid-column: 1;
    grid-row: 2;
    margin-right: 0 !important;
    justify-self: start;
  }
  .rv-view-toggle {
    grid-column: 2;
    grid-row: 2;
    margin-left: 0 !important;
    justify-self: end;
  }
  .rv-sort-trigger {
    height: 34px;
    font-size: 0.75rem;
    padding: 0 12px;
  }
  .rv-sort-menu { min-width: 220px; }
}

/* ════════════════════════════════════════════════════════════════
   Map markers — Airbnb-style price pills (highly visible)
   ════════════════════════════════════════════════════════════════ */
.rv-price-pill-wrap { background: transparent !important; border: none !important; }
.rv-price-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 30px;
  padding: 0 12px;
  background: #ffffff;
  color: #0a1424;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.5),
    0 0 0 1.5px rgba(0, 0, 0, 0.15);
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.rv-price-pill::after {
  /* downward tip pointing at the property location */
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: inherit;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}
.rv-price-pill:hover {
  transform: scale(1.08);
  background: #0a1424;
  color: #fff;
  box-shadow:
    0 8px 22px rgba(0, 122, 255, 0.5),
    0 0 0 2px rgba(140, 245, 208, 0.5);
}
.rv-price-pill.is-active {
  background: linear-gradient(135deg, #007AFF, #5ac8fa);
  color: #fff;
  border-color: #fff;
  transform: scale(1.12);
  box-shadow:
    0 10px 28px rgba(0, 122, 255, 0.6),
    0 0 0 3px rgba(140, 245, 208, 0.55);
}
.rv-price-pill-amount { line-height: 1; }
@media (max-width: 480px) {
  .rv-price-pill {
    min-width: 50px;
    height: 28px;
    padding: 0 10px;
    font-size: 0.78rem;
  }
}

/* ════════════════════════════════════════════════════════════════
   Card head — translated type chip + price on one row
   ════════════════════════════════════════════════════════════════ */
.rv-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.rv-card-type-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(140, 245, 208, 0.92);
  background: rgba(140, 245, 208, 0.08);
  border: 1px solid rgba(140, 245, 208, 0.22);
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.4;
}
.rv-card-head .rv-card-price {
  text-align: right;
  flex-shrink: 0;
}
/* When chip and price share a row on the narrowest cards, keep title prominent below */
.rv-card-title { margin-top: 4px; }

/* Mobile: keep chip readable but slightly smaller */
@media (max-width: 480px) {
  .rv-card-type-chip {
    font-size: 0.62rem;
    padding: 2px 8px;
  }
}

/* Card title/address — readable colors on dark theme (override default light-mode colors) */
.rv-card-title {
  color: #f0f4ff !important;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.rv-card-addr {
  color: rgba(240, 244, 255, 0.55) !important;
  font-weight: 500;
}
