/* Дополнения, необходимые автономной версии страницы. */
.offline-map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 24vw;
  overflow: hidden;
  border-radius: var(--brad-regular, 10px);
  background-color: #e9eef1;
  background-image:
    linear-gradient(30deg, transparent 0 47%, rgba(255, 255, 255, 0.95) 47% 53%, transparent 53%),
    linear-gradient(120deg, transparent 0 43%, rgba(255, 255, 255, 0.9) 43% 49%, transparent 49%),
    linear-gradient(70deg, transparent 0 68%, rgba(210, 221, 226, 0.9) 68% 72%, transparent 72%),
    linear-gradient(160deg, transparent 0 23%, rgba(210, 221, 226, 0.9) 23% 27%, transparent 27%);
  box-shadow: inset 0 0 0 1px rgba(30, 40, 49, 0.08);
}

.offline-map__marker {
  position: absolute;
  top: 43%;
  left: 54%;
  width: 2.4vw;
  height: 2.4vw;
  min-width: 34px;
  min-height: 34px;
  transform: translate(-50%, -100%) rotate(-45deg);
  border: 0.35vw solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--main-color, #31b939);
  box-shadow: 0 0.3vw 1vw rgba(0, 0, 0, 0.25);
}

.offline-map__marker::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: #fff;
}

.offline-map__label {
  position: absolute;
  left: 50%;
  bottom: 1.2vw;
  display: flex;
  flex-direction: column;
  gap: 0.25vw;
  min-width: 55%;
  padding: 0.85vw 1.1vw;
  transform: translateX(-50%);
  border-radius: 0.55vw;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.25vw 1.2vw rgba(30, 40, 49, 0.15);
  color: var(--text-main-color, #1c1c1c);
  text-align: center;
}

.offline-map__label strong {
  font-size: 1.05vw;
}

.offline-map__label span {
  font-size: 0.85vw;
}

@media (max-width: 768px) {
  .offline-map {
    min-height: 71.875vw;
  }

  .offline-map__marker {
    width: 9vw;
    height: 9vw;
    border-width: 1.2vw;
  }

  .offline-map__label {
    bottom: 4vw;
    gap: 1vw;
    width: 76%;
    padding: 3vw 4vw;
    border-radius: 2vw;
  }

  .offline-map__label strong {
    font-size: 4.5vw;
  }

  .offline-map__label span {
    font-size: 3.6vw;
  }
}
