/* NextGIS Frontend / OpenLayers. All map colors follow the existing themes. */
.store-locations-map { position: relative; touch-action: pan-y; }
.store-locations-map .ol-viewport { font-family: var(--farm-font-ui); touch-action: pan-y; }
.store-locations-map .ol-attribution { position: static; max-width: 100%; padding: 2px 5px; border-radius: 4px; background: rgba(255, 255, 255, .94); color: var(--farm-muted); font: 10px/1.45 var(--farm-font-ui); }
.store-locations-map .ol-attribution ul { padding: 0; margin: 0; list-style: none; }
.store-locations-map .ol-attribution li { display: inline; }
.store-locations-map .ol-attribution a { color: var(--farm-primary); }
.store-locations-map .ol-attribution button { display: none; }
.store-locations-map .webmap-ctrl-bottom-right { right: 4px; bottom: 3px; max-width: calc(100% - 72px); }
.store-locations-map .webmap-ctrl-bottom-right > .webmap-ctrl-margin { margin: 0; }
.store-map-zoom { position: absolute; z-index: 15; top: 12px; left: 12px; display: flex; flex-direction: column; border: 1px solid var(--farm-line); border-radius: 10px; overflow: hidden; background: var(--farm-surface); box-shadow: 0 3px 12px rgba(47, 53, 45, .08); }
.store-map-zoom button { display: block; width: 40px; height: 40px; padding: 0; border: 0; background: var(--farm-surface); color: var(--farm-primary); font: 500 25px/40px var(--farm-font-ui); cursor: pointer; }
.store-map-zoom button + button { border-top: 1px solid var(--farm-line); }
.store-map-zoom button:hover { background: var(--farm-linen); }
.store-map-zoom button:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--farm-primary); outline-offset: -3px; }
.store-locations-map.is-map-narrow .store-map-zoom { top: auto; bottom: 32px; }
.store-map-popover { position: absolute; z-index: 20; box-sizing: border-box; max-width: calc(100% - 28px); max-height: calc(100% - 60px); padding: 21px 20px 18px; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--farm-line); border-radius: 14px; background: var(--farm-surface); color: var(--farm-ink); box-shadow: var(--farm-shadow); font: 13px/1.6 var(--farm-font-ui); cursor: auto; animation: store-map-popup-in .16s ease-out both; }
.store-locations-map.is-map-narrow .store-map-popover { max-height: calc(100% - 130px); }
.store-map-popover-close { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--farm-muted); font: 300 23px/1 var(--farm-font-ui); cursor: pointer; }
.store-map-popover-close:hover { background: var(--farm-linen); }
.store-map-popover .store-map-popup-title { padding-right: 17px; margin: 0 0 10px; font-size: 15px; font-weight: 550; line-height: 1.4; }
.store-map-popover p { margin: 8px 0; }
.store-map-popover a { color: var(--farm-primary); text-underline-offset: 3px; }
.store-map-popover .store-map-popup-phone { min-height: 32px; }
.store-map-popover .store-map-popup-links { margin-top: 8px; gap: 4px 14px; }
.store-map-popover .store-map-popup-links a { min-height: 32px; }
@keyframes store-map-popup-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .store-map-popover { animation: none; } }
