/* ============================================================
   CARTE — Leaflet + styles personnalisés
   ============================================================ */
.map-container {
  width: 100%; border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--color-border-light);
  position: relative;
}
.map-full { height: calc(100vh - var(--header-h) - var(--bandeau-h) - 20px); min-height: 400px; }
.map-city { height: 300px; }
.map-static { height: 200px; pointer-events: none; }

/* Marqueurs */
.map-marker-inner {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  cursor: pointer;
}
.marker-low  { background: var(--color-success); }
.marker-mid  { background: var(--color-warning); }
.marker-high { background: var(--color-danger); }

/* Popup carte */
.map-popup { min-width: 140px; font-family: var(--font-sans); }
.map-popup-name  { font-size: var(--text-sm); font-weight: 600; margin-bottom: 2px; }
.map-popup-price { font-size: 18px; font-weight: 700; color: var(--color-success); }
.map-popup-date  { font-size: var(--text-xs); color: var(--color-text-3); margin-bottom: var(--space-2); }
.map-popup-btn {
  display: block; text-align: center;
  background: var(--color-primary); color: #fff;
  padding: 5px 10px; border-radius: var(--radius-sm);
  font-size: var(--text-xs); font-weight: 500;
  text-decoration: none;
}
.map-popup-btn:hover { background: var(--color-primary-hover); color: #fff; text-decoration: none; }

/* Légende */
.map-legend {
  position: absolute; bottom: 16px; left: 16px; z-index: 999;
  background: var(--color-white); border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm); padding: 6px 10px;
  display: flex; gap: var(--space-3); font-size: var(--text-xs);
}
.legend-item { display: flex; align-items: center; gap: 4px; }
.legend-dot  { width: 8px; height: 8px; border-radius: 50%; }
