@media (min-width: 768px) {
  .badges__items.-mod-5 {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
  }
}

@media (min-width: 1024px) {
  .badges__items.-mod-5 {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto;
  }
}

.tariff-block__tabs .tariff-block__tabs-btn {
  background-color: var(--color-bg);
  background-image: var(--icon);
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 32px;
  border-color: var(--color-bg);
  color: var(--color);
  min-width: max-content;
  text-align: center;
}
.tariff-block__tabs .tariff-block__tabs-btn._active {
  background-color: var(--color-bg-active);
  background-image: var(--icon);
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 32px;
  border-color: var(--color-bg-active);
  color: var(--color-active);
  --color-active: #ffffff;
}

.price-card__price {
  font-size: 16px;
  width: calc(100% - 20px);
}
.price-card__price-cat {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
  position: relative;
  white-space: nowrap;
  width: 100%;
}
.price-card__price-cat .price-new {
  font-size: 18px;
  font-weight: bold;
}
.price-card__price-cat.--new-dow {
  margin-top: 20px;
}
.price-card__price-cat.price-card__price-cat--discount {
  color: rgba(250, 60, 50, 255);
  font-weight: bold;
}
.price-card__price-cat.price-card__price-cat--discount span {
  color: #000;
}
.price-card__price-cat.price-card__price-cat--discount .price-old {
  font-size: 12px;
  font-weight: 400;
  padding-right: 5px;
  text-decoration: line-through;
}
.price-card__price-cat.price-card__price-cat--discount .price-new {
  color: #fa3c32;
}
.price-card__price-cat .name {
  color: #000;
  font-size: 14px;
  font-weight: 200;
  text-align: left;
  width: 100%;
}
.price-card__price-cat .name:after {
  content: ":";
  display: inline;
}
.price-card__price-cat span {
  position: static;
}
@media (min-width: 768px) {
  .price-card__bottom {
    max-width: 350px;
  }
}
@media (min-width: 1024px) {
  .price-card__btn {
    min-width: 120px;
  }
  .price-card__bottom {
    max-width: none;
    gap: 10px;
  }
  .price-card__price {
    font-size: 16px;
  }
  .price-card__price-cat .name {
    display: inline-block;
    font-size: 16px;
    margin: 0;
    min-width: 88px;
    position: relative;
  }
}
@media (min-width: 1400px) {
  .price-card__price {
    max-width: 320px;
  }
}

.price-card.--is-action .price-card__price,
.price-card.--is-action .price-card__title {
  color: #ff9600;
}
.tariff-block__container > h3 {
  margin: 0 0 50px;
}
.tariff-block__container > h3 b {
  color: #eb001a;
  display: block;
  font-weight: 700;
}
@media (max-width: 767px) {
  .box-tabl-disco .container {
    padding-bottom: 190px;
  }
}
@media (min-width: 1024px) {
  .tariff-block__container > h3 b {
    display: inline;
  }
}

.dr-tarif-top-warning {
  background: rgba(250, 60, 50, 255);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  margin: 20px 0 -20px;
  padding: 5px 8px;
}
@media (min-width: 768px) {
  .dr-tarif-top-warning {
    margin: 20px -8px -60px;
  }
}

.interactive-map-wrapper {
  /* border: 1px solid red */
  overflow: hidden;
  margin: 0 0 40px;
  position: relative;
}

.interactive-map-layout {
  /* border: 1px solid black */
  cursor: grab;
  position: relative;
  user-select: none;
  width: 100%;
}
.interactive-map-layout.grabbing {
  cursor: grabbing;
}
.interactive-map-layout.grabbing > svg,
.interactive-map-layout.grabbing > img {
  max-width: 100%;
}

.interactive-map-mark {
  background: red;
  border-radius: 25px;
  box-shadow: 0 0 2px 1px #fff;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  height: 25px;
  line-height: 26px;
  margin: -12px 0 0 -12px;
  position: absolute;
  text-align: center;
  min-width: 25px;
}

.interactive-map-mark:hover {
  box-shadow: 0 0 6px 3px #fc981c;
}

.interactive-map-mark-tooltip {
  background: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  left: 0;
  min-height: 175px;
  opacity: 0;
  padding: 10px;
  position: absolute;
  max-width: 200px;
  top: 0;
  transform: translate(calc(var(--subScale)), calc(var(--subScale)))
    scale(calc(1 / var(--scale)))
    translate(calc(var(--x) * var(--scale)), calc(var(--y) * var(--scale)))
    translate(calc(15px * var(--scale)), calc(15px * var(--scale)));
  width: 200px;
}
@media (min-width: 768px) {
  .interactive-map-mark-tooltip {
    max-width: 324px;
    min-height: 256px;
    padding: 20px;
    width: 324px;
  }
}
.interactive-map-mark-tooltip.active {
  opacity: 1;
}
.interactive-map-mark-tooltip:before {
  border-top: 10px solid transparent;
  border-right: 25px solid #fff;
  border-bottom: 10px solid transparent;
  content: "";
  height: 0;
  left: 0;
  position: absolute;
  top: 0;
  transform: translate(-12px, -9px) rotate(45deg);
  width: 0;
}
.interactive-map-mark-tooltip.--left-bottom {
  transform: translate(calc(var(--subScale)), calc(var(--subScale)))
    scale(calc(1 / var(--scale)))
    translate(calc(var(--x) * var(--scale)), calc(var(--y) * var(--scale)))
    translate(calc(-100% - 15px * var(--scale)), calc(15px * var(--scale)));
}
.interactive-map-mark-tooltip.--left-bottom:before {
  left: 100%;
  transform: translate(-15px, -8px) rotate(135deg);
}
.interactive-map-mark-tooltip.--right-top {
  transform: translate(calc(var(--subScale)), calc(var(--subScale)))
    scale(calc(1 / var(--scale)))
    translate(calc(var(--x) * var(--scale)), calc(var(--y) * var(--scale)))
    translate(calc(15px * var(--scale)), calc(-100% - 15px * var(--scale)));
}
.interactive-map-mark-tooltip.--right-top:before {
  top: 100%;
  transform: translate(-11px, -13px) rotate(-45deg);
}
.interactive-map-mark-tooltip.--left-top {
  transform: translate(calc(var(--subScale)), calc(var(--subScale)))
    scale(calc(1 / var(--scale)))
    translate(calc(var(--x) * var(--scale)), calc(var(--y) * var(--scale)))
    translate(
      calc(-100% - 15px * var(--scale)),
      calc(-100% - 15px * var(--scale))
    );
}
.interactive-map-mark-tooltip.--left-top:before {
  left: 100%;
  top: 100%;
  transform: translate(-16px, -14px) rotate(-135deg);
}
.interactive-map-mark-tooltip > .title {
  color: #000;
  font-size: 14px;
  line-height: 16px;
}
@media (min-width: 768px) {
  .interactive-map-mark-tooltip > .title {
    font-size: 18px;
    line-height: 22px;
  }
}
.interactive-map-mark-tooltip > .img {
  max-width: 100%;
}

body.disable-touch {
  touch-action: none;
}

form.dr-tarif .pay.--disabled,
.box-dr-tarif .form-request__label.--disabled,
form.dr-tarif button.box-dr-button.--disabled {
  opacity: 0.5;
  pointer-events: none;
}

.price-card__tags.--timer .price-card__tag {
  background: url(/image/icos/ico_watch.svg) no-repeat 12px center;
  background-size: 16px;
  padding-left: 37px;
}

.parking-tabs {
  padding-bottom: 0;
}

@media (max-width: 1023px) {
  .contacts-card.-card-2 {
    order: 1;
  }
  .contacts-card.map-card {
    order: 2;
  }
  .contacts-card.-card-4 {
    order: 4;
  }
}

/* скрыть градиент у главного баннера */
.page.newmainpage.--no-banner-gradient>.slider:before {display: none;}
.page.newmainpage.--no-banner-gradient .slider__swiper:before {display: none;}
