/* Картата (templates/site/map.php + assets/js/pages/map.js) */
.map { position: relative; width: 100%; }
/* position: relative — тук, а не от Leaflet (иначе го слага в style="" и цял екран не става) */
.map__canvas { position: relative; width: 100%; height: 100%; border-radius: var(--radius); overflow: hidden; z-index: 0; }
.map__loading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); background: #eef2f7; color: var(--ink-muted); font-size: var(--fs-small); pointer-events: none; line-height: var(--lh-small);
}
/* Телефон и таблет (map.js, сензорен екран): в страницата — преглед (бутонът върху цялата карта, пръстът превърта
   страницата); докосване → същата карта на цял екран (като .sheet), ✕ горе вдясно — по вида на бутоните на Leaflet */
.map__open { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.map__open:focus-visible { outline-offset: -2px; }
.map__canvas.is-full { position: fixed; inset: 0; z-index: 1200; border-radius: 0; }
.map__close {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 2px solid rgba(0, 0, 0, 0.2); border-radius: 4px; background: var(--color-white); background-clip: padding-box;
  color: var(--color-slate-600); font-size: 24px; cursor: pointer;
}
/* „+“/„−“ на цял екран (само сензорен екран) — 44 × 44px за пръст, колкото ✕ (досега 30px на Leaflet); на компютър —
   без промяна. DECISIONS „Изглед 03.11 — „+“/„−“ на картата на цял екран — 44px“ */
.map__canvas.is-full .leaflet-control-zoom a { width: 44px; height: 44px; font-size: 24px; line-height: 44px; }
.map-popup-label { margin-bottom: 4px; font-weight: 600; }
.leaflet-div-icon.map-pin { border: 0; background: transparent; }
/* Текстът в картата (бутоните ±, „© OpenStreetMap“, балончетата) — Inter, както в старата рамка (`*{font-family:Inter}`);
   с нулева тежест — класовете на Leaflet, които сами задават шрифт, печелят, както досега (21.10.2026) */
:where(.leaflet-container *) { font-family: var(--font-text); }
