@charset "UTF-8";

:root {
  --swiper-pagination-bullet-inactive-color: #fff;
  --swiper-pagination-bullet-inactive-opacity: 0.7;
  --swiper-navigation-sides-offset: 10px;
  --swiper-navigation-color: var(--accent_color);
  --swiper-pagination-color: var(--accent_color);
  --swiper-theme-color: var(--accent_color);
  --swiper-pagination-progressbar-bg-color: #ccc;
  --swiper-navigation-sides-offset: 1rem;
  --header-offset: 0px;
}

.models-dropdown-scroll {
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.models-dropdown-scroll::-webkit-scrollbar {
  width: 8px;
}

.models-dropdown-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.models-dropdown-scroll::-webkit-scrollbar-thumb {
  background-color: #910a2d;
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.models-dropdown-scroll::-webkit-scrollbar-thumb:hover {
  background-color: #a3a3a3;
}
.map_icon {
  position: relative;
  padding: 0 10px 0 47px;
  box-sizing: border-box;
  min-height: 27px;
  min-width: 231px;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  color: #333;
  background: #fff;
  box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
  z-index: 5000;
  /* Якорим маркер так, чтобы остриё стрелки (.map_icon:before,
     которая выходит на 11px ниже прямоугольника) приземлялось точно
     в гео-точку: сдвигаем себя влево на половину ширины и вверх на
     полную высоту + высоту стрелки. */
  transform: translate(-50%, calc(-100% - 11px));
}

.map_icon:before {
  position: absolute;
  content: " ";
  width: 0;
  height: 0;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 11px solid #fff;
}

.map_icon .icon_header {
  width: 100%;
  position: relative;
  line-height: 35px;
  font-size: 11px;
}

.map_icon .icon_header:before {
  position: absolute;
  content: " ";
  width: 27px;
  height: 20px;
  left: -34px;
  top: 8px;
  background-image: var(--map-balloon-logo, none);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.map-balloon {
  width: 280px;
  max-width: calc(100vw - 64px);
  box-sizing: border-box;
  padding: 4px 2px 2px;
  color: #24272b;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.map-balloon__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.map-balloon__subtitle {
  margin: 4px 0 0;
  color: #80858c;
  font-size: 11px;
  line-height: 1.5;
}

.map-balloon__details {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.map-balloon__row {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
}

.map-balloon__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.map-balloon__row > .map-balloon__icon {
  margin-top: 2px;
  color: #90959c;
}

.map-balloon__hours {
  display: grid;
  gap: 3px;
}

.map-balloon__secondary {
  color: #80858c;
  font-size: 12px;
}

.map-balloon a {
  text-decoration: none;
  transition: color 150ms ease;
}

.map-balloon__phone {
  color: inherit;
  font-weight: 600;
}

.map-balloon__phone:hover {
  color: var(--accent_color, #24272b);
}

.map-balloon__footer {
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid #eceef0;
}

.map-balloon__route {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  color: var(--accent_color, #24272b);
  font-size: 12px;
  font-weight: 600;
}

.map-balloon__route:hover {
  color: #24272b;
}

.map-balloon a:focus-visible {
  outline: 2px solid var(--accent_color, #24272b);
  outline-offset: 3px;
  border-radius: 2px;
}
