#shop-map.leaflet-container {
  background: #f1f0eb;
}

.shop-map-street-label {
  pointer-events: none;
}

.shop-map-street-label span {
  display: inline-block;
  transform: translate(-50%, -50%);
  color: #514d49;
  font: 600 11px/1.2 system-ui, sans-serif;
  text-shadow: -1px -1px #fff, 1px -1px #fff, -1px 1px #fff, 1px 1px #fff;
  white-space: nowrap;
}

#shop-map.shop-map-unavailable::after {
  content: 'Если карта не загрузилась, откройте маршрут в 2ГИС';
  position: absolute;
  z-index: 500;
  right: 10px;
  bottom: 26px;
  left: 10px;
  color: #514d49;
  text-align: center;
}

@media (max-width: 540px) {
  #shop-map .leaflet-popup-content {
    max-width: min(220px, calc(100vw - 174px));
  }
}
