html, body, #map {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  color: #344c67;
  background: #f3f6f5;
  font-family: Arial, sans-serif;
}

[hidden] {
  display: none !important;
}

.map-hint {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 96px);
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px #203b5124;
  font-size: 13px;
  line-height: 1.4;
  pointer-events: none;
  z-index: 800;
}

.store-marker, .store-cluster {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #48617d;
  box-shadow: 0 2px 8px #203b5140;
  color: #fff;
  font: 700 14px Arial, sans-serif;
}

.store-cluster {
  background: #008f5d;
  font-size: 16px;
}

.store-marker:focus-visible, .store-cluster:focus-visible {
  outline: 3px solid #f4bd41;
  outline-offset: 3px;
}

.leaflet-container {
  font-family: Arial, sans-serif;
}

.map-info {
  max-width: 230px;
  padding: 2px 4px 6px;
  font-size: 14px;
  line-height: 1.5;
}

.map-info h2 {
  margin: 0 0 6px;
  font-size: 16px;
}

.map-info p {
  margin: 0 0 8px;
}

.map-info a, .map-fallback a {
  color: #00784f;
  text-underline-offset: 3px;
}

.map-fallback {
  box-sizing: border-box;
  position: absolute;
  inset: 0;
  overflow: auto;
  padding: 24px;
  background: #f3f6f5;
  font-size: 14px;
  line-height: 1.5;
  z-index: 1000;
}

.map-fallback h1 {
  margin: 0 0 8px;
  font-size: 22px;
}

.map-fallback ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 24px;
  padding-left: 20px;
}
.u-map-pin {
  background: transparent;
  border: 0;
}

.u-map-pin__shape {
  position: absolute;
  top: 8px;
  left: 4px;
  box-sizing: border-box;
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff;
  border: 2px solid #48617d;
  border-radius: 50% 50% 0 50%;
  box-shadow: 0 3px 8px #203b5140;
  transform: rotate(45deg);
}

.u-map-pin__shape img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  transform: rotate(-45deg);
  pointer-events: none;
}

.u-map-pin--cluster .u-map-pin__shape {
  border-color: #008f5d;
}

.u-map-pin:focus-visible .u-map-pin__shape {
  outline: 3px solid #f4bd41;
  outline-offset: 3px;
}
.u-map-cluster {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;

  background: #008f5d;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 3px 8px #203b5140;

  font: 700 16px Arial, sans-serif;
  text-align: center;
}

.u-map-cluster:focus-visible {
  outline: 3px solid #f4bd41;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .map-hint {
    font-size: 12px;
    padding: 8px 10px;
  }

  .map-fallback {
    padding: 18px;
  }
}
