.sp-map-shell {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid #dce2eb;
  border-radius: 18px;
  background: #e9eef4;
}

.sp-map-shell[hidden] {
  display: none;
}

.sp-map-canvas {
  position: absolute;
  inset: 0;
}

.sp-map-open-button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #ccd3dd;
  border-radius: 10px;
  color: #122344;
  background: #fff;
  font: 700 15px/1.2 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.sp-map-open-button:hover,
.sp-map-open-button:focus-visible {
  border-color: #cf3266;
  outline: 3px solid rgba(207, 50, 102, 0.18);
}

.sp-map-open-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.sp-map-marker {
  min-width: max-content;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 8px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #122344;
  background: #fff;
  box-shadow: 0 9px 24px rgba(18, 35, 68, 0.24);
  font: 800 14px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.sp-map-marker:hover,
.sp-map-marker:focus-visible,
.sp-map-marker.is-active {
  z-index: 6;
  color: #fff;
  background: #e91665;
  outline: 0;
  transform: translateY(-3px) scale(1.06);
}

.sp-map-marker__pin {
  width: 18px;
  height: 18px;
  display: block;
  border: 5px solid #e91665;
  border-radius: 50% 50% 50% 10%;
  background: #fff;
  transform: rotate(-45deg);
}

.sp-map-marker:hover .sp-map-marker__pin,
.sp-map-marker:focus-visible .sp-map-marker__pin,
.sp-map-marker.is-active .sp-map-marker__pin {
  border-color: #fff;
  background: #e91665;
}

.sp-map-marker__label {
  white-space: nowrap;
}

.maplibregl-map {
  font-family: Arial, Helvetica, sans-serif;
}

.maplibregl-ctrl-group {
  overflow: hidden;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 22px rgba(18, 35, 68, 0.18) !important;
}

.maplibregl-ctrl-attrib {
  font-size: 10px;
}

@media (max-width: 767px) {
  .sp-map-shell {
    min-height: min(720px, 78vh);
    border-radius: 0;
  }

  .sp-map-marker {
    min-height: 38px;
    padding: 6px 10px 6px 7px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-map-marker {
    transition: none;
  }
}
