/* Leave the provider's bottom copyrights and Open in Maps area unobstructed. */
.map-panel:has(#map[data-provider="yandex"]) .map-help{bottom:76px;left:16px;right:auto;max-width:calc(100% - 32px);pointer-events:none}
.map-panel:has(#map[data-provider="yandex"]) .map-caption{bottom:114px;max-width:calc(100% - 32px)}
.map-panel:has(#map[data-provider="yandex"]) .map-reset{bottom:155px}
.catalogue-yandex-popup{width:250px;max-width:calc(100vw - 100px);font-family:Manrope,Arial,sans-serif;color:var(--ink)}
.catalogue-yandex-popup .property-map-preview>img{display:block;border-radius:8px}
.catalogue-yandex-popup .map-popup{overflow-wrap:anywhere}
#map .empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:100px 24px}
@media(max-width:700px){.map-panel:has(#map[data-provider="yandex"]) .map-help{font-size:9px}.map-panel:has(#map[data-provider="yandex"]) .map-caption{font-size:10px;padding:7px 9px}}

/* A separate sticky row keeps the return action clear of the map controls. */
.map-navigation{position:sticky;top:72px;z-index:450;display:flex;background:var(--soft);padding:8px 0;margin-bottom:12px}
.map-back-button{min-height:44px;gap:10px;padding:11px 18px;font-size:14px;border-radius:10px;box-shadow:0 3px 12px #27332612}
.map-back-button [data-icon]{transform:rotate(180deg)}
@media(max-width:767px){.map-navigation{top:106px}.map-back-button{width:100%;justify-content:center;font-size:13px}}
