@charset "UTF-8";
/* Generated by vite-plugin-svg-spritemap */
.simple-map__map {
  aspect-ratio: 7/4;
  background-color: #000;
  width: 100% !important;
  position: relative;
}

.mapbox-canvas {
  width: 100%;
  height: 31.25rem !important;
}

.mapboxgl-canvas-container {
  position: relative;
}

.mbx-marker {
  position: relative;
  cursor: pointer;
  transform: translateY(-0.375rem);
}

.mbx-dot {
  width: 0.875rem;
  height: 0.875rem;
  border: 0.1875rem solid #000;
  border-radius: 50%;
  background: #fff;
  box-sizing: content-box;
  margin: 0 auto;
}

.mbx-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.75rem);
  transform: translateX(-50%);
}

/* кнопки зума — сверху справа (можно поменять) */
.mapboxgl-ctrl-top-right {
  top: 0.75rem;
  right: 0.75rem;
}

.mbx-label {
  background: #5a5a5a;
  color: #fff;
  padding: 0.5625rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  white-space: nowrap;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
  font-size: 1.125rem;
}
.mbx-label:before {
  content: "";
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.25rem;
  background: #5a5a5a;
  bottom: -0.375rem;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  z-index: -1;
}

.mbx-title {
  font-weight: 500;
  font-size: 1rem;
}

.mbx-address {
  margin-top: 0.3125rem;
  font-size: 0.75rem;
  line-height: 1.2;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.2s ease, max-height 0.25s ease;
  word-wrap: break-all;
  display: none;
}

/* состояние "открыто" */
.mbx-marker.is-open .mbx-address {
  opacity: 1;
  max-height: 5rem;
  display: block;
}

.mapboxgl-ctrl-logo {
  display: none !important;
}

@media (max-width: 20em){
  .simple-map {
    padding-top: 2.5rem;
  }
  .simple-map {
    padding-bottom: 2.5rem;
  }
}

@media (min-width: 20em) and (max-width: 75em){
  .simple-map {
    padding-top: clamp( 2.5rem , 2.5rem  +  0vw , 2.5rem );
  }
  .simple-map {
    padding-bottom: clamp( 2.5rem , 1.81818181818125rem  +  3.4090909091vw , 4.375rem );
  }
}

@media (min-width: 75em){
  .simple-map {
    padding-top: 2.5rem;
  }
  .simple-map {
    padding-bottom: 4.375rem;
  }
}