.garanty_page {
  padding: 50px;
  max-width: 1380px;
  margin-right: auto;
  margin-left: auto;
}

.garanty_title {
  font-style: normal;
  font-weight: 500;
  font-size: 40px;
  line-height: 53px;

  color: #000000;
  margin-bottom: 16px;
}

.garanty_text p {
  color: #000;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 10px;
}

.garanty_banner {
  max-width: 100%;
  margin-bottom: 60px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  align-content: stretch;
}

.garanty_banner .garanty_banner_left {
  /* width: 31%; */
}

.help_block_inner {
  display: flex;
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
}

.exam_info_list {
  color: #000;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.exam_title {
  font-style: normal;
  font-weight: 500;
  font-size: 40px;
  line-height: 48px;

  color: #000000;
  margin-bottom: 16px;
}

.exam_text {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;

  color: #000000;
  margin-bottom: 40px;
}

.exam_text_info {
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-top: 100px;
}

.exam_bottom_info {
  color: #000;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.examination_block {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-end;
  align-content: stretch;
}

.exam_info_list ul {
  list-style-type: none;
  padding: 0;

  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  /* identical to box height */

  color: #000000;
}

.exam_info_list ul .exam_count {
  margin-right: 5px;
}

.form_info {
  display: flex;
  position: relative;
}
.input-group {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
  width: 50%;
}

.form_label_info {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
  font-style: normal;
  font-weight: 500;
  font-size: 10px;
  line-height: 13px;
  text-align: center;

  color: #083672;
}

.input-group:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%; /* ← На всю ширину input */
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(8, 54, 114, 0.2) 0%,
    #085672 50%,
    rgba(8, 54, 114, 0.2) 100%
  );
  transition: all 0.3s ease;
}

.form_input_text {
  border: none;
  border-radius: 0;

  outline: none;

  background: transparent;

  padding: 0;
  margin: 0;

  box-shadow: none;

  font-family: inherit;
  font-size: inherit;
  color: inherit;

  -moz-appearance: textfield;
  font-family: "Involve";
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  /* identical to box height */
  text-align: center;

  color: #083672;
  margin-top: 10px;
  margin-bottom: 8px;
}

a.form_submit_button {
  background: #083672;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  /* identical to box height */
  text-align: center;

  color: #ffffff;
  width: 100%;
  text-decoration: none;
  padding: 10px 0;
  display: block;
  margin-top: 34px;
}

#injectorForm {
  margin-top: 31px;
}

/* Help */
.help_left {
  max-width: 31%;
  padding-top: 50px;
}

.help_title {
  font-style: normal;
  font-weight: 500;
  font-size: 40px;
  line-height: 48px;
  /* or 120% */

  color: #ffffff;
  margin-bottom: 24px;
}

.help_text p {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;

  color: #ffffff;
  margin-bottom: 12px;
}

.help_block {
  display: flex;
  margin-top: 100px;
  background: #083672;
}

/* Сервисы */
.service_block .service_title {
  font-style: normal;
  font-weight: 500;
  font-size: 40px;
  line-height: 53px;

  color: #000000;
  margin-bottom: 10px;
  margin-top: 130px;
}

.service_text {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  /* identical to box height */

  color: #000000;
}

.service_text_info {
  margin-bottom: 20px;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 27px;

  color: #000000;
}

.service_block_inner .service_title {
  color: #000;
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 10px;
}

.service_block_inner .service_text {
  color: #000;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 52px;
}

.service_block {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
}

.service_items {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
}

.service_items .service_item {
  background: rgba(8, 54, 114, 0.1);
  padding: 10px 20px;
  max-width: 142px;
  max-height: 178px;
  min-width: 142px;
  min-height: 142px;
  margin-left: 20px;
}

.service_items .service_item .service_item_count {
  font-style: normal;
  font-weight: 500;
  font-size: 40px;
  line-height: 53px;

  color: #000000;
  margin-bottom: 52px;
}

.service_items .service_item .service_item_text {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;

  color: #000000;
  width: 50%;
}

.conditions_left {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-end;
  align-content: stretch;
}

.conditions_left .service_items {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
}

.conditions_left .service_item {
  margin-left: 0;
  margin-right: 20px;
  min-width: 173px;
  min-height: 193px;
}

.conditions_right {
  margin-left: auto;
  margin-right: 0;
  margin-left: 215px;
  margin-top: 20px;
  display: block;
}

.conditions_title {
  font-style: normal;
  font-weight: 500;
  font-size: 40px;
  line-height: 53px;
  color: #000000;
  margin-bottom: 16px;
}

.conditions_text p {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;

  color: #000000;
  margin-bottom: 14px;
}

.conditions_dop_title {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 27px;

  color: #000000;
  margin-bottom: 20px;
  margin-top: 50px;
}

.condition_two_text {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 27px;
  /* identical to box height */

  color: #000000;
}

.conditions_right .service_item {
  background: rgba(8, 54, 114, 0.4);
  min-width: 173px;
  min-height: 193px;
}

.conditions_right .service_item .service_item_text {
  width: 100%;
}

.service_block_inner {
  margin-top: 130px;
}

.conditions_block {
  padding-bottom: 100px;
  background: rgba(37, 40, 45, 0.04);
  padding-top: 30px;
}

.service_dop_text {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* форма */
.garanty_form_inner {
  background:
    linear-gradient(0deg, rgba(8, 54, 114, 0.1), rgba(8, 54, 114, 0.1)), #ffffff;
}

.garanty_form_title {
  color: #083672;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 8px;
}

.garanty_form_desc {
  color: #083672;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 36px;
}

.garanty_form_inner {
  padding: 30px;
  background:
    linear-gradient(0deg, rgba(8, 54, 114, 0.1), rgba(8, 54, 114, 0.1)), #ffffff;
}

.help_right {
  width: 60%;
  margin-left: auto;
  padding-top: 60px;
  padding-right: 30px;
  padding-bottom: 60px;
}

.form-body {
  display: flex;
}

.form_style_input {
  /* Сброс визуальных стилей */
  all: unset;

  /* Дополнительно для кроссбраузерности */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Сброс типовых свойств */
  border: none;
  outline: none;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  box-shadow: none;
  border-radius: 0;
  color: #083672;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Убираем стандартные стили автозаполнения */
.form_style_input:-webkit-autofill,
.form_style_input:-webkit-autofill:hover,
.form_style_input:-webkit-autofill:focus {
  -webkit-text-fill-color: inherit;
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}

.form_left {
  width: 50%;
}

.form_right {
  width: 50%;
}

.submit-btn {
  background: #083672;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  width: 100%;
  display: block;
  text-align: center;
  padding: 10px 0;
}

.form_text_personal {
  color: rgba(8, 54, 114, 0.5);
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 24px;
}

.form_style_input::placeholder {
  color: #083672;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.form_style_input_text {
  border: 1px solid rgba(8, 54, 114, 0.16);
  border-radius: 4px;

  width: 100%;
  box-sizing: border-box;

  height: 100%;

  padding: 12px;
  font: inherit;
  color: inherit;
  background: transparent;
  resize: none;
  height: 187px;
}

.form_style_input_text:focus {
  outline: none;
  border-color: rgba(8, 54, 114, 0.6); /* Усиливаем рамку при фокусе */
  box-shadow: 0 0 0 3px rgba(8, 54, 114, 0.1); /* Мягкое свечение */
}

.form_style_input_text::placeholder {
  color: #083672;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.file_group {
  display: flex;
  position: relative;
}

.file_input_svg {
  position: absolute;
  right: 0;
  bottom: 15px;
}

input#photo {
  opacity: 0;
  position: absolute;
  font-size: 12px;
}

.garanty_form_inner .form-group {
  margin-bottom: 24px;
}

.garanty_form_inner .form-body {
  display: flex;
}

.garanty_form_inner .form_style_input {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;

  color: #083672;
  width: 100%;
}

.garanty_form_inner .form_left {
  width: 50%;
  margin-right: 34px;
}

.submit-btn {
  cursor: pointer;
}

/* Виджет карты */
.map_inner {
  margin-top: 100px;
  display: block;
}

.map_block_inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
  margin-top: 35px;
}

.map_address_left {
  border: 1px solid rgba(8, 54, 114, 0.2);
  padding: 20px 8px;
  width: 50%;
  max-height: 700px;
  overflow: hidden;
  margin-right: 10px;
  min-height: 659px;
}

.map_label {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
  margin-top: 20px;
  width: 70%;
}

.map_label a {
  color: rgba(0, 0, 0, 0.3);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border: 1px solid rgba(37, 40, 45, 0.1);
  padding: 10px;
  text-decoration: none;
  margin-right: 8px;
  margin-bottom: 8px;
}

.map_label a.active {
  color: #fff;
  background: rgba(8, 54, 114, 0.4);
}

.map_labels_inner .dropdown_map {
  display: none;
}

span.dropdown_svg {
  position: relative;
  margin-left: 5px;
}

.dropdown_title {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
}

/* social */

.map_social {
  margin-left: auto;
  margin-right: 0;
  display: block;
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  align-content: stretch;
  margin-right: 19px;
}

.map_social a {
  margin-left: 12px;
}

.map_social_block {
  margin-bottom: 12px;
}

.map_address_items {
  display: block;
  max-height: 390px;
  overflow-y: scroll;
}

.map_address_items .map_address_item {
  background: rgba(37, 40, 45, 0.08);
  margin-bottom: 10px;
}

.map_address_items .map_address_item {
  background: rgba(37, 40, 45, 0.08);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
  padding: 19px 20px;
  text-decoration: none;
}

.address_item_left .address_item_title {
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 6px;
}

.address_item_left .address_item_desc {
  color: rgba(0, 0, 0, 0.3);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.address_item_icons {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  align-content: stretch;
}

.address_item_icons .item_icon {
  margin-left: 12px;
}

#map {
  width: 790px;
  height: 700px !important;
}

.svg_map {
  background: #083672;
  width: 32px;
  height: 32px;
}

/* MAP OPT OFF */
.map_label {
    display: none !important;
}

/* Дилеры */
.partner_form_info {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
}

.exam_items_blocks {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
  gap: 20px;
  margin-top: 30px;
}

.exam_items_blocks .exam_item {
  background: #e7ebf1;
  width: 100%;
  height: 100%;
}

.exam_left {
  margin-top: -200px;
}

.garanty_banner_right {
  max-width: 730px;
}

.exam_pdpis {
  background: #083672;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;

  color: #ffffff;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 12px;
}
.exam_item .exam_img {
  width: 180px;
  height: 180px;
}

.conditions_block_inner {
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-top: 30px;
}

button.form_submit_button {
  background: #083672;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  color: #ffffff;
  width: 100%;
  text-decoration: none;
  padding: 10px 0;
  display: block;
  margin-top: 34px;
  border: none;
}

.check-warranty__result {
    display: none;
    margin-top: 30px;
    color: #000;
    font-size: 14px;
    line-height: 18px;
}
.check-warranty__result a {
    color: #000 !important;
    text-decoration: none !important;
}

/* ==========================================================
   FIX: гарантия — нормальное отображение добавленных картинок
   Добавлено для страницы /garranty/
   ========================================================== */

.garanty_page {
  overflow: hidden;
}

.garanty_banner {
  gap: 40px;
  align-items: flex-start;
}

.garanty_banner .garanty_banner_left,
.garanty_banner_left {
  flex: 0 0 420px;
  max-width: 420px;
}

.garanty_banner_right {
  flex: 1 1 auto;
  max-width: 730px;
  overflow: hidden;
}

.garanty_banner_right img {
  width: 100%;
  height: auto;
  max-height: 410px;
  object-fit: cover;
  display: block;
}

.examination_block {
  align-items: flex-start;
}

.exam_left {
  margin-top: 0;
  flex: 0 0 520px;
  max-width: 520px;
}

.exam_items_blocks {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 20px;
  margin-top: 30px;
}

.exam_items_blocks .exam_item {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
  height: auto;
  background: #e7ebf1;
  overflow: hidden;
  flex: 0 0 180px;
}

.exam_item .exam_img {
  width: 180px;
  height: 180px;
  overflow: hidden;
  background: #e7ebf1;
}

.exam_item .exam_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.exam_pdpis {
  min-height: 36px;
  background: #083672;
  color: #ffffff;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 16px;
  box-sizing: border-box;
}

.exam_right {
  flex: 1 1 auto;
  max-width: 730px;
  overflow: hidden;
}

.exam_right img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Адаптив, чтобы на маленьких экранах блоки не наезжали друг на друга */
@media (max-width: 1200px) {
  .garanty_page {
    padding: 30px 20px;
  }

  .garanty_banner,
  .examination_block {
    flex-direction: column;
    gap: 30px;
  }

  .garanty_banner .garanty_banner_left,
  .garanty_banner_left,
  .garanty_banner_right,
  .exam_left,
  .exam_right {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .garanty_banner_right img {
    max-height: none;
  }
}

@media (max-width: 700px) {
  .exam_items_blocks {
    flex-wrap: wrap;
  }

  .exam_items_blocks .exam_item,
  .exam_item .exam_img {
    width: 100%;
    max-width: 100%;
  }

  .exam_items_blocks .exam_item {
    flex: 1 1 100%;
  }

  .exam_item .exam_img {
    height: 220px;
  }
}

/* FIX MOBILE: карточки с картинками на странице гарантии */
@media (max-width: 700px) {
  .garanty_page {
    padding: 30px 20px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .garanty_banner,
  .examination_block {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .garanty_banner_left,
  .garanty_banner .garanty_banner_left,
  .garanty_banner_right,
  .exam_left,
  .exam_right {
    width: 100%;
    max-width: 100%;
    flex: none;
    margin: 0;
  }

  .garanty_banner_right img,
  .exam_right img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    display: block;
  }

  .exam_items_blocks {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 28px;
    width: 100%;
    margin-top: 24px;
  }

  .exam_items_blocks .exam_item {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    flex: none;
    background: #e7ebf1;
    overflow: hidden;
  }

  .exam_item .exam_img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
    background: #e7ebf1;
  }

  .exam_item .exam_img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    display: block;
  }

  .exam_pdpis {
    min-height: 44px;
    padding: 12px 18px;
    font-size: 14px;
    line-height: 18px;
  }
}




/* BLUE MARKER FOR BUTTONS */
.diler_tab_item a {
    color: #a8aeb8;
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 6px 10px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.diler_tab_item a.active {
    color: #ffffff !important;
    background: #083672;
    border-radius: 4px;
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.diler_tab_item a:hover,
.diler_tab_item a:focus,
.diler_tab_item a:active,
.diler_tab_item a:visited {
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.diler_tab_item a::before,
.diler_tab_item a::after,
.diler_tab_item a.active::before,
.diler_tab_item a.active::after {
    content: none !important;
    display: none !important;
}

/* VIDEO MODAL FOR WARRANTY CARDS */
.exam_pdpis.js-video-open {
  width: 100%;
  display: block;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.exam_pdpis.js-video-open:hover {
  background: #0a438d;
}

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.video-modal.is-active {
  display: block;
}

.video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.video-modal__content {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 40px));
  margin: 60px auto;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

.video-modal__video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

.video-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(8, 54, 114, 0.95);
  color: #fff;
  font-size: 30px;
  line-height: 36px;
  cursor: pointer;
}

.video-modal-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .video-modal__content {
    width: calc(100% - 24px);
    margin: 80px auto 20px;
  }

  .video-modal__close {
    top: 8px;
    right: 8px;
  }
}

/* ==========================================================
   FIX MAP LIST HEIGHT: список адресов на карте не обрезается рано
   Добавлено для страницы /dilery/
   ========================================================== */

.map_block_inner {
  align-items: stretch !important;
}

.map_address_left {
  max-height: none !important;
  min-height: 700px !important;
  height: auto !important;
  overflow: hidden !important;
}

.map_address_items {
  max-height: 535px !important;
  overflow-y: auto !important;
  padding-right: 4px;
}

@media (max-width: 768px) {
  .map_address_left {
    min-height: auto !important;
    max-height: none !important;
  }

  .map_address_items {
    max-height: 520px !important;
  }
}

/* ==========================================================
   FIX MAP LIST HEIGHT ON WARRANTY PAGE: карта со списком слева
   Добавлено для страницы /garranty/
   ========================================================== */

.garanty_page .map_block_inner,
body .garanty_page .map_block_inner {
  align-items: stretch !important;
}

.garanty_page .map_address_left,
body .garanty_page .map_address_left {
  max-height: none !important;
  min-height: 700px !important;
  height: auto !important;
  overflow: hidden !important;
}

.garanty_page .map_address_items,
body .garanty_page .map_address_items {
  max-height: 535px !important;
  overflow-y: auto !important;
  padding-right: 4px;
}

@media (max-width: 768px) {
  .garanty_page .map_address_left,
  body .garanty_page .map_address_left {
    min-height: auto !important;
    max-height: none !important;
  }

  .garanty_page .map_address_items,
  body .garanty_page .map_address_items {
    max-height: 520px !important;
  }
}

/* ==========================================================
   FIX MAP LEFT BORDER HEIGHT: границы левого списка ровно по высоте карты
   Добавлено для страницы /dilery/ и /garranty/
   ========================================================== */

.map_block_inner {
  align-items: stretch !important;
}

.map_address_left {
  height: 700px !important;
  min-height: 700px !important;
  max-height: 700px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.map_address_items {
  max-height: 535px !important;
  overflow-y: auto !important;
  padding-right: 4px;
}

.garanty_page .map_address_left,
body .garanty_page .map_address_left {
  height: 700px !important;
  min-height: 700px !important;
  max-height: 700px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.garanty_page .map_address_items,
body .garanty_page .map_address_items {
  max-height: 535px !important;
  overflow-y: auto !important;
  padding-right: 4px;
}

@media (max-width: 768px) {
  .map_address_left,
  .garanty_page .map_address_left,
  body .garanty_page .map_address_left {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
  }

  .map_address_items,
  .garanty_page .map_address_items,
  body .garanty_page .map_address_items {
    max-height: 520px !important;
  }
}

/* ==========================================================
   FINAL FIX MAP LEFT BORDER: рамка левого блока ровно по нижней границе карты
   Важно: у .map_address_left есть padding 20px сверху/снизу.
   Поэтому ставим высоту контента 660px: 660 + 20 + 20 + border = ~700px.
   ========================================================== */

.map_block_inner {
  align-items: flex-start !important;
}

.map_address_left {
  height: 660px !important;
  min-height: 660px !important;
  max-height: 660px !important;
  box-sizing: content-box !important;
  overflow: hidden !important;
}

.map_address_items {
  max-height: 535px !important;
  overflow-y: auto !important;
  padding-right: 4px;
}

/* то же самое, если карта стоит внутри страницы гарантии */
.garanty_page .map_block_inner,
body .garanty_page .map_block_inner {
  align-items: flex-start !important;
}

.garanty_page .map_address_left,
body .garanty_page .map_address_left {
  height: 660px !important;
  min-height: 660px !important;
  max-height: 660px !important;
  box-sizing: content-box !important;
  overflow: hidden !important;
}

.garanty_page .map_address_items,
body .garanty_page .map_address_items {
  max-height: 535px !important;
  overflow-y: auto !important;
  padding-right: 4px;
}

@media (max-width: 768px) {
  .map_address_left,
  .garanty_page .map_address_left,
  body .garanty_page .map_address_left {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
  }

  .map_address_items,
  .garanty_page .map_address_items,
  body .garanty_page .map_address_items {
    max-height: 520px !important;
  }
}

/* ==========================================================
   MOBILE MAP FIX:
   1) полностью скрываем старый фильтр "Отеч. грузовые / Китайские..." на мобильной
   2) исправляем обрезание карточки/баллуна Google Maps на мобильной
   ========================================================== */

/* Старый фильтр категорий автомобилей скрываем везде максимально жёстко */
.map_labels_inner,
.map_labels_inner .map_label,
.map_label,
.map_label a,
.map_label .dropdown,
.map_label .dropdown_map {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* На мобильной карте даём нормальную ширину и не даём баллуну обрезаться */
@media (max-width: 768px) {
  .map_block_inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .map_address_left {
    width: 100% !important;
    box-sizing: border-box !important;
    margin-right: 0 !important;
    margin-bottom: 20px !important;
  }

  #map {
    width: 100% !important;
    height: 560px !important;
    min-height: 560px !important;
    overflow: visible !important;
  }

  .gm-style,
  .gm-style > div {
    overflow: visible !important;
  }

  .gm-style-iw,
  .gm-style-iw-c {
    max-width: calc(100vw - 48px) !important;
    width: calc(100vw - 48px) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .gm-style-iw-d {
    max-width: calc(100vw - 48px) !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .gm-style-iw-chr {
    display: block !important;
  }

  .gm-style-iw * {
    box-sizing: border-box !important;
  }

  .gm-style-iw .info-window,
  .gm-style-iw .map-popup,
  .gm-style-iw .marker-popup,
  .gm-style-iw .balloon,
  .gm-style-iw [class*="info"],
  .gm-style-iw [class*="popup"],
  .gm-style-iw [class*="balloon"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
}

@media (max-width: 480px) {
  #map {
    height: 520px !important;
    min-height: 520px !important;
  }

  .gm-style-iw,
  .gm-style-iw-c,
  .gm-style-iw-d {
    max-width: calc(100vw - 36px) !important;
    width: calc(100vw - 36px) !important;
  }
}

/* ==========================================================
   FIX MAP SOCIAL BUTTONS SPACING
   Отступ соц. кнопок под поиском на карте дилеров
   ========================================================== */

.map_social_block {
  margin-top: 14px !important;
  margin-bottom: 14px !important;
}

.map_social {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

.map_social a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .map_social_block {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
  }

  .map_social {
    gap: 12px !important;
  }
}

/* ==========================================================
   FINAL MOBILE MAP + FILTERS FIX
   Добавлено: исправление мобильной карты Google Maps и фильтров.
   Важно: map.js и map-geo.js не трогать.
   ========================================================== */

/* ---------- FILTER TABS FIX ---------- */

.diler_tab {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px 22px !important;
}

.diler_tab_item {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.diler_tab_item a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  margin: 0 !important;
  padding: 7px 12px !important;
  min-height: 32px !important;
  box-sizing: border-box !important;
  font-size: 14px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  color: rgba(0, 0, 0, 0.3) !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 5px !important;
  outline: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

.diler_tab_item a.active {
  color: #ffffff !important;
  background: #083672 !important;
  font-weight: 500 !important;
}

.diler_tab_item a:hover,
.diler_tab_item a:focus,
.diler_tab_item a:active,
.diler_tab_item a:visited {
  text-decoration: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.diler_tab_item a::before,
.diler_tab_item a::after,
.diler_tab_item a.active::before,
.diler_tab_item a.active::after {
  content: none !important;
  display: none !important;
}

/* ---------- GOOGLE MAP TILES FIX ---------- */

.map_render_right {
  width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

#map {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  min-height: 520px !important;
  overflow: hidden !important;
  background: #e5e3df !important;
  box-sizing: border-box !important;
}

/* Глобальные img { max-width: 100%; } могут ломать тайлы Google Maps */
#map .gm-style img,
#map .gm-style canvas,
#map .gm-style iframe {
  max-width: none !important;
  max-height: none !important;
}

#map .gm-style {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

#map .gm-style > div {
  overflow: hidden !important;
}

/* ---------- MOBILE LAYOUT ---------- */

@media (max-width: 768px) {
  .diler_tab {
    gap: 8px 14px !important;
  }

  .diler_tab_item a {
    padding: 7px 11px !important;
    min-height: 30px !important;
    font-size: 13px !important;
    line-height: 17px !important;
  }

  .map_block_inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  .map_address_left {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-bottom: 20px !important;
    padding: 20px 8px !important;
    box-sizing: border-box !important;
  }

  .map_render_right {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    display: block !important;
  }

  #map {
    width: 100% !important;
    min-width: 280px !important;
    height: 560px !important;
    min-height: 560px !important;
    margin-top: 20px !important;
    overflow: hidden !important;
  }

  #map .gm-style,
  #map .gm-style > div {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  #map .gm-style img,
  #map .gm-style canvas,
  #map .gm-style iframe {
    max-width: none !important;
    max-height: none !important;
  }

  .gm-style-iw,
  .gm-style-iw-c {
    max-width: calc(100vw - 48px) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .gm-style-iw-d {
    max-width: calc(100vw - 48px) !important;
    max-height: none !important;
  }

  .gm-style-iw * {
    box-sizing: border-box !important;
  }

  .gm-style-iw .info-window,
  .gm-style-iw .map-popup,
  .gm-style-iw .marker-popup,
  .gm-style-iw .balloon,
  .gm-style-iw [class*="info"],
  .gm-style-iw [class*="popup"],
  .gm-style-iw [class*="balloon"] {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
}

@media (max-width: 480px) {
  .diler_tab {
    gap: 8px 10px !important;
  }

  .diler_tab_item a {
    padding: 7px 10px !important;
    font-size: 13px !important;
    line-height: 17px !important;
  }

  #map {
    height: 520px !important;
    min-height: 520px !important;
  }

  .gm-style-iw,
  .gm-style-iw-c,
  .gm-style-iw-d {
    max-width: calc(100vw - 36px) !important;
  }
}


/* ==========================================================
   FINAL FIX WARRANTY PAGE:
   1) видеокарточки проверки справа вместо большого фото;
   2) блок "Условия гарантии" возвращён в прежнюю плитку;
   3) карточки условий подсвечиваются и приподнимаются при наведении.
   ========================================================== */

.examination_block .exam_items_blocks--right {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  align-items: stretch !important;
  gap: 20px !important;
  width: 100% !important;
  margin-top: 0 !important;
}

.examination_block .exam_items_blocks--right .exam_item {
  flex: 0 0 180px !important;
  width: 180px !important;
  min-width: 180px !important;
  max-width: 180px !important;
  height: auto !important;
  background: #e7ebf1 !important;
  overflow: hidden !important;
}

.examination_block .exam_items_blocks--right .exam_img {
  width: 180px !important;
  height: 180px !important;
  overflow: hidden !important;
  background: #e7ebf1 !important;
}

.examination_block .exam_items_blocks--right .exam_img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.examination_block .exam_items_blocks--right .exam_pdpis {
  width: 100% !important;
  min-height: 36px !important;
  display: block !important;
  box-sizing: border-box !important;
}

.conditions_block.conditions_block_fixed {
  padding-top: 30px !important;
  padding-bottom: 100px !important;
  background: rgba(37, 40, 45, 0.04) !important;
}

.conditions_block_fixed .conditions_block_inner {
  max-width: 1380px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
}

.conditions_block_fixed .conditions_header {
  display: block !important;
  margin-bottom: 46px !important;
}

.conditions_block_fixed .conditions_groups {
  display: block !important;
  width: 100% !important;
}

.conditions_block_fixed .conditions_group {
  display: block !important;
  width: 100% !important;
  margin-top: 46px !important;
}

.conditions_block_fixed .conditions_group:first-child {
  margin-top: 0 !important;
}

.conditions_block_fixed .conditions_dop_title,
.conditions_block_fixed .condition_two_text {
  display: block !important;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  color: #000 !important;
  font-size: 20px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 27px !important;
}

.conditions_block_fixed .conditions_cards {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  align-content: stretch !important;
  gap: 20px !important;
  width: 100% !important;
  margin: 0 !important;
}

.conditions_block_fixed .conditions_cards .service_item {
  flex: 0 0 213px !important;
  width: 213px !important;
  min-width: 213px !important;
  max-width: 213px !important;
  height: 213px !important;
  min-height: 213px !important;
  max-height: 213px !important;
  margin: 0 !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  overflow: hidden !important;
  transform: translateY(0) !important;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease !important;
}

.conditions_block_fixed .conditions_group_positive .conditions_cards .service_item {
  background: rgba(8, 54, 114, 0.1) !important;
}

.conditions_block_fixed .conditions_group_negative .conditions_cards .service_item {
  background: rgba(8, 54, 114, 0.4) !important;
}

.conditions_block_fixed .conditions_group_positive .conditions_cards .service_item:hover {
  background: rgba(8, 54, 114, 0.16) !important;
  transform: translateY(-8px) !important;
  box-shadow: 0 18px 35px rgba(8, 54, 114, 0.12) !important;
}

.conditions_block_fixed .conditions_group_negative .conditions_cards .service_item:hover {
  background: rgba(8, 54, 114, 0.5) !important;
  transform: translateY(-8px) !important;
  box-shadow: 0 18px 35px rgba(8, 54, 114, 0.18) !important;
}

.conditions_block_fixed .conditions_cards .service_item_count {
  margin: 0 !important;
  color: #000 !important;
  font-size: 40px !important;
  line-height: 53px !important;
  font-weight: 500 !important;
}

.conditions_block_fixed .conditions_cards .service_item_text {
  width: 100% !important;
  color: #000 !important;
  font-size: 14px !important;
  line-height: 19px !important;
  font-weight: 400 !important;
}

@media (max-width: 1200px) {
  .examination_block .exam_items_blocks--right {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }

  .conditions_block_fixed .conditions_cards {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 768px) {
  .examination_block .exam_items_blocks--right {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }

  .examination_block .exam_items_blocks--right .exam_item,
  .examination_block .exam_items_blocks--right .exam_img {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: none !important;
  }

  .examination_block .exam_items_blocks--right .exam_img {
    height: auto !important;
  }

  .examination_block .exam_items_blocks--right .exam_img img {
    height: auto !important;
    object-fit: contain !important;
  }

  .conditions_block_fixed .conditions_cards {
    gap: 16px !important;
  }

  .conditions_block_fixed .conditions_cards .service_item {
    flex: 1 1 calc(50% - 8px) !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 190px !important;
    min-height: 190px !important;
    max-height: none !important;
  }
}

@media (max-width: 480px) {
  .conditions_block_fixed .conditions_cards .service_item {
    flex-basis: 100% !important;
  }
}

/* ==========================================================
   WARRANTY PAGE UPDATE: form fields + video preview cards
   ========================================================== */

.garanty_text--clean p {
  max-width: 430px;
  margin: 0 0 14px 0 !important;
  font-size: 14px !important;
  line-height: 19px !important;
}

.injector-check-form {
  margin-top: 34px !important;
}

.injector-check-form .form_info,
.injector-check-form__fields {
  display: grid !important;
  grid-template-columns: 1fr 1fr 180px !important;
  gap: 24px !important;
  align-items: end !important;
  width: 100% !important;
  position: relative !important;
}

.injector-check-form .input-group,
.injector-check-form__field {
  width: auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

.injector-check-form .form_label_info {
  margin-bottom: 8px !important;
  color: #083672 !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  text-align: left !important;
}

.injector-check-form .form_input_text {
  width: 100% !important;
  height: 38px !important;
  padding: 0 0 8px 0 !important;
  border: none !important;
  border-bottom: 1px solid rgba(8, 54, 114, 0.55) !important;
  border-radius: 0 !important;
  outline: none !important;
  background: transparent !important;
  color: #111827 !important;
  font-size: 14px !important;
  line-height: 18px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.injector-check-form .form_input_text:focus {
  border-bottom-color: #083672 !important;
}

.injector-type-toggle {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  width: 100% !important;
  height: 38px !important;
}

.injector-type-toggle__item {
  display: block !important;
  cursor: pointer !important;
}

.injector-type-toggle__item input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.injector-type-toggle__item span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 38px !important;
  border: 1px solid rgba(8, 54, 114, 0.35) !important;
  border-radius: 4px !important;
  color: #083672 !important;
  background: #fff !important;
  font-size: 14px !important;
  line-height: 18px !important;
  font-weight: 600 !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease !important;
}

.injector-type-toggle__item input:checked + span {
  background: #083672 !important;
  border-color: #083672 !important;
  color: #fff !important;
}

.injector-check-form .form_submit_button {
  margin-top: 28px !important;
}

.examination_block {
  align-items: flex-start !important;
  gap: 70px !important;
  margin-top: 58px !important;
}

.exam_left--formatted,
.examination_block .exam_left--formatted {
  margin-top: 0 !important;
  flex: 0 0 440px !important;
  max-width: 440px !important;
}

.exam_left--formatted .exam_title {
  margin: 0 0 18px 0 !important;
  font-size: 38px !important;
  line-height: 46px !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

.exam_left--formatted .exam_text {
  margin: 0 0 34px 0 !important;
  max-width: 380px !important;
  font-size: 14px !important;
  line-height: 20px !important;
}

.exam_left--formatted .exam_text_info {
  margin: 0 0 14px 0 !important;
  font-size: 20px !important;
  line-height: 27px !important;
  font-weight: 500 !important;
}

.exam_left--formatted .exam_info_list {
  margin: 0 0 16px 0 !important;
}

.exam_left--formatted .exam_info_list ul {
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 6px !important;
  font-size: 13px !important;
  line-height: 18px !important;
}

.exam_left--formatted .exam_info_list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
}

.exam_left--formatted .exam_count {
  flex: 0 0 auto !important;
  margin: 0 !important;
  color: #083672 !important;
  font-weight: 600 !important;
}

.exam_left--formatted .exam_bottom_info {
  max-width: 390px !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 18px !important;
}

.exam_right--videos,
.examination_block .exam_right--videos {
  flex: 1 1 auto !important;
  max-width: 730px !important;
  display: flex !important;
  justify-content: center !important;
  overflow: visible !important;
}

.examination_block .exam_items_blocks--right.exam_video_cards {
  width: 100% !important;
  max-width: 650px !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 18px !important;
}

.examination_block .exam_video_cards .exam_video_card {
  flex: 0 0 200px !important;
  width: 200px !important;
  min-width: 200px !important;
  max-width: 200px !important;
  background: #eef2f7 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 16px 36px rgba(8, 54, 114, 0.08) !important;
}

.exam_video_preview {
  position: relative !important;
  width: 100% !important;
  height: 150px !important;
  overflow: hidden !important;
  background: #0b1728 !important;
}

.exam_video_preview video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  filter: brightness(0.75) saturate(0.95) !important;
}

.exam_video_preview__overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 14px !important;
  color: #fff !important;
  background: linear-gradient(180deg, rgba(4, 14, 28, 0.05) 0%, rgba(4, 14, 28, 0.76) 100%) !important;
  box-sizing: border-box !important;
}

.exam_video_preview__tag {
  margin-bottom: 7px !important;
  color: #66a5ff !important;
  font-size: 10px !important;
  line-height: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

.exam_video_preview__title {
  max-width: 160px !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 21px !important;
  font-weight: 600 !important;
}

.exam_video_preview__play {
  position: absolute !important;
  right: 14px !important;
  top: 14px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18) !important;
}

.exam_video_preview__play::before {
  content: "" !important;
  position: absolute !important;
  left: 15px !important;
  top: 11px !important;
  width: 0 !important;
  height: 0 !important;
  border-top: 8px solid transparent !important;
  border-bottom: 8px solid transparent !important;
  border-left: 11px solid #083672 !important;
}

.examination_block .exam_video_cards .exam_pdpis {
  min-height: 42px !important;
  padding: 12px 14px !important;
  background: #083672 !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  text-align: left !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color .2s ease !important;
}

.examination_block .exam_video_cards .exam_pdpis:hover {
  background: #0b438b !important;
}

@media (max-width: 1200px) {
  .injector-check-form .form_info,
  .injector-check-form__fields {
    grid-template-columns: 1fr 1fr !important;
  }

  .injector-check-form__type {
    grid-column: 1 / -1 !important;
    max-width: 220px !important;
  }

  .examination_block {
    gap: 34px !important;
  }

  .exam_left--formatted,
  .examination_block .exam_left--formatted,
  .exam_right--videos,
  .examination_block .exam_right--videos {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .examination_block .exam_items_blocks--right.exam_video_cards {
    justify-content: flex-start !important;
    margin: 0 !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
  }
}

@media (max-width: 700px) {
  .injector-check-form .form_info,
  .injector-check-form__fields {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .injector-check-form__type {
    grid-column: auto !important;
    max-width: 220px !important;
  }

  .exam_left--formatted .exam_title {
    font-size: 32px !important;
    line-height: 38px !important;
  }

  .examination_block .exam_video_cards .exam_video_card {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .exam_video_preview {
    height: 190px !important;
  }

  .exam_video_preview__title {
    max-width: 260px !important;
  }
}


/* ==========================================================
   WARRANTY PAGE FINAL FIX: modern form, clean video previews, compact text
   ========================================================== */

.garanty_page {
  padding-top: 38px !important;
}

.garanty_banner {
  align-items: flex-start !important;
  gap: 56px !important;
  margin-bottom: 34px !important;
}

.garanty_banner_left,
.garanty_banner .garanty_banner_left {
  flex: 0 0 430px !important;
  max-width: 430px !important;
  padding-top: 4px !important;
}

.garanty_title {
  margin: 0 0 18px 0 !important;
  font-size: 44px !important;
  line-height: 50px !important;
  font-weight: 500 !important;
  letter-spacing: -0.025em !important;
}

.garanty_text--clean {
  max-width: 430px !important;
}

.garanty_text--clean p {
  margin: 0 0 12px 0 !important;
  font-size: 16px !important;
  line-height: 22px !important;
  font-weight: 400 !important;
  color: #111827 !important;
}

.garanty_text--clean p:last-child {
  margin-bottom: 0 !important;
}

.garanty_banner_right {
  flex: 1 1 auto !important;
  max-width: 760px !important;
}

.garanty_banner_right > img {
  width: 100% !important;
  max-height: 230px !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  margin: 0 auto 22px auto !important;
}

.injector-check-form {
  margin-top: 0 !important;
  padding: 22px 24px 24px !important;
  background: #ffffff !important;
  border: 1px solid rgba(8, 54, 114, 0.12) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 45px rgba(8, 54, 114, 0.08) !important;
  box-sizing: border-box !important;
}

.injector-check-form .form_info,
.injector-check-form__fields {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 190px !important;
  gap: 18px !important;
  align-items: start !important;
  width: 100% !important;
  position: static !important;
}

.injector-check-form .input-group,
.injector-check-form__field {
  position: relative !important;
  width: auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

.injector-check-form .input-group::before,
.injector-check-form__field::before {
  content: none !important;
  display: none !important;
}

.injector-check-form .form_label_info {
  display: block !important;
  margin: 0 0 8px 0 !important;
  color: #083672 !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  text-align: left !important;
}

.injector-check-form .form_input_text {
  width: 100% !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid rgba(8, 54, 114, 0.18) !important;
  border-radius: 8px !important;
  background: #f7f9fc !important;
  color: #111827 !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 15px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  text-align: left !important;
  box-sizing: border-box !important;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease !important;
}

.injector-check-form .form_input_text:focus {
  border-color: #083672 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(8, 54, 114, 0.09) !important;
}

.injector-check-form__type {
  width: 100% !important;
}

.injector-type-toggle {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  width: 100% !important;
  height: 46px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.injector-type-toggle__item {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 46px !important;
  cursor: pointer !important;
}

.injector-type-toggle__item input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.injector-type-toggle__item span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 46px !important;
  padding: 0 !important;
  border: 1px solid rgba(8, 54, 114, 0.18) !important;
  border-radius: 8px !important;
  background: #f7f9fc !important;
  color: #083672 !important;
  font-size: 15px !important;
  line-height: 20px !important;
  font-weight: 700 !important;
  box-sizing: border-box !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}

.injector-type-toggle__item input:checked + span {
  background: #083672 !important;
  border-color: #083672 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(8, 54, 114, 0.18) !important;
}

.injector-check-form .form_submit_button,
button.form_submit_button {
  width: 100% !important;
  min-height: 50px !important;
  margin: 20px 0 0 0 !important;
  padding: 14px 24px !important;
  border: none !important;
  border-radius: 8px !important;
  background: #083672 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 18px !important;
  font-weight: 600 !important;
  text-align: center !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease !important;
}

.injector-check-form .form_submit_button:hover,
button.form_submit_button:hover {
  background: #0b438b !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 26px rgba(8, 54, 114, 0.18) !important;
}

#loading {
  margin-top: 12px !important;
  color: #083672 !important;
  font-size: 13px !important;
  line-height: 18px !important;
}

.examination_block {
  align-items: flex-start !important;
  gap: 58px !important;
  margin-top: 36px !important;
}

.exam_left--formatted,
.examination_block .exam_left--formatted {
  flex: 0 0 430px !important;
  max-width: 430px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.exam_left--formatted .exam_title {
  max-width: 430px !important;
  margin: 0 0 16px 0 !important;
  font-size: 42px !important;
  line-height: 48px !important;
  font-weight: 500 !important;
  letter-spacing: -0.025em !important;
  color: #000000 !important;
}

.exam_left--formatted .exam_text {
  max-width: 405px !important;
  margin: 0 0 24px 0 !important;
  font-size: 16px !important;
  line-height: 22px !important;
  color: #111827 !important;
}

.exam_left--formatted .exam_text_info {
  max-width: 420px !important;
  margin: 0 0 12px 0 !important;
  font-size: 22px !important;
  line-height: 28px !important;
  font-weight: 500 !important;
  color: #000000 !important;
}

.exam_left--formatted .exam_info_list {
  margin: 0 0 16px 0 !important;
}

.exam_left--formatted .exam_info_list ul {
  display: grid !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  font-size: 14px !important;
  line-height: 20px !important;
}

.exam_left--formatted .exam_info_list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

.exam_left--formatted .exam_count {
  flex: 0 0 auto !important;
  min-width: 20px !important;
  margin: 0 !important;
  color: #083672 !important;
  font-weight: 700 !important;
}

.exam_left--formatted .exam_bottom_info {
  max-width: 405px !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 20px !important;
  color: #111827 !important;
}

.exam_right--videos,
.examination_block .exam_right--videos {
  flex: 1 1 auto !important;
  max-width: 760px !important;
  display: flex !important;
  justify-content: center !important;
  overflow: visible !important;
  padding-top: 0 !important;
}

.examination_block .exam_items_blocks--right.exam_video_cards {
  width: 100% !important;
  max-width: 690px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
  justify-content: center !important;
}

.examination_block .exam_video_cards .exam_video_card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: none !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: 0 16px 36px rgba(8, 54, 114, 0.10) !important;
}

.exam_video_preview {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 138px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 10px 10px 0 0 !important;
  overflow: hidden !important;
  background: #0b1728 !important;
  cursor: pointer !important;
}

.exam_video_preview video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  filter: brightness(0.92) saturate(1) !important;
  transform: scale(1.01) !important;
}

.exam_video_preview__shade {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  background: linear-gradient(180deg, rgba(4, 14, 28, 0.04) 0%, rgba(4, 14, 28, 0.34) 100%) !important;
  pointer-events: none !important;
}

.exam_video_preview__overlay,
.exam_video_preview__tag,
.exam_video_preview__title {
  display: none !important;
}

.exam_video_preview__play {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22) !important;
  pointer-events: none !important;
}

.exam_video_preview__play::before {
  content: "" !important;
  position: absolute !important;
  left: 19px !important;
  top: 15px !important;
  width: 0 !important;
  height: 0 !important;
  border-top: 9px solid transparent !important;
  border-bottom: 9px solid transparent !important;
  border-left: 13px solid #083672 !important;
}

.examination_block .exam_video_cards .exam_pdpis {
  width: 100% !important;
  min-height: 48px !important;
  padding: 14px 16px !important;
  border: none !important;
  border-radius: 0 0 10px 10px !important;
  background: #083672 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  line-height: 17px !important;
  font-weight: 600 !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background-color .2s ease !important;
}

.examination_block .exam_video_cards .exam_pdpis:hover {
  background: #0b438b !important;
}

@media (max-width: 1200px) {
  .garanty_banner {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .garanty_banner_left,
  .garanty_banner .garanty_banner_left,
  .garanty_banner_right {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .injector-check-form .form_info,
  .injector-check-form__fields {
    grid-template-columns: 1fr 1fr !important;
  }

  .injector-check-form__type {
    grid-column: 1 / -1 !important;
    max-width: 260px !important;
  }

  .examination_block {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .exam_left--formatted,
  .examination_block .exam_left--formatted,
  .exam_right--videos,
  .examination_block .exam_right--videos {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .examination_block .exam_items_blocks--right.exam_video_cards {
    margin: 0 !important;
    max-width: 760px !important;
  }
}

@media (max-width: 700px) {
  .garanty_page {
    padding: 30px 20px !important;
  }

  .garanty_title,
  .exam_left--formatted .exam_title {
    font-size: 34px !important;
    line-height: 40px !important;
  }

  .garanty_text--clean p,
  .exam_left--formatted .exam_text,
  .exam_left--formatted .exam_bottom_info {
    font-size: 15px !important;
    line-height: 21px !important;
  }

  .injector-check-form {
    padding: 18px !important;
  }

  .injector-check-form .form_info,
  .injector-check-form__fields {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .injector-check-form__type {
    grid-column: auto !important;
    max-width: none !important;
  }

  .examination_block .exam_items_blocks--right.exam_video_cards {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  .exam_video_preview {
    height: 200px !important;
  }
}


/* WARRANTY PAGE TEXT/SPACING UPDATE v3 */
/* Увеличиваем обычный текст и уплотняем левую часть страницы гарантии */
.garanty_text--clean {
  max-width: 500px !important;
}

.garanty_text--clean p {
  font-size: 18px !important;
  line-height: 26px !important;
  margin-bottom: 12px !important;
}

.examination_block {
  margin-top: 8px !important;
}

.exam_left--formatted,
.examination_block .exam_left--formatted {
  margin-top: -110px !important;
}

.exam_left--formatted .exam_text {
  font-size: 17px !important;
  line-height: 25px !important;
  margin-bottom: 18px !important;
}

.exam_left--formatted .exam_text_info {
  font-size: 24px !important;
  line-height: 30px !important;
  margin-bottom: 12px !important;
}

.exam_left--formatted .exam_info_list ul {
  font-size: 15px !important;
  line-height: 23px !important;
  gap: 7px !important;
}

.exam_left--formatted .exam_bottom_info {
  font-size: 15px !important;
  line-height: 23px !important;
  margin-top: 14px !important;
}

/* Гарантийная поддержка */
.help_text p {
  font-size: 15px !important;
  line-height: 22px !important;
  margin-bottom: 14px !important;
}

.garanty_form_desc {
  font-size: 14px !important;
  line-height: 20px !important;
  max-width: 420px !important;
}

.garanty_form_inner .form_style_input,
.garanty_form_inner .form_style_input_text {
  font-size: 14px !important;
  line-height: 20px !important;
}

.form_text_personal {
  font-size: 12px !important;
  line-height: 18px !important;
}

/* Сервисные центры */
.service_text,
.service_block_inner .service_text,
.service_dop_text {
  font-size: 15px !important;
  line-height: 22px !important;
}

.service_text_info {
  max-width: 430px !important;
  font-size: 22px !important;
  line-height: 30px !important;
  margin-bottom: 24px !important;
}

.service_items .service_item .service_item_text {
  width: 100% !important;
  font-size: 15px !important;
  line-height: 21px !important;
}

/* Условия гарантии */
.conditions_text {
  max-width: 520px !important;
}

.conditions_text p {
  font-size: 15px !important;
  line-height: 22px !important;
  margin-bottom: 8px !important;
}

.conditions_block_fixed .conditions_cards .service_item_text {
  font-size: 15px !important;
  line-height: 21px !important;
}

@media (max-width: 1200px) {
  .exam_left--formatted,
  .examination_block .exam_left--formatted {
    margin-top: 0 !important;
  }
}

@media (max-width: 700px) {
  .garanty_text--clean p,
  .exam_left--formatted .exam_text,
  .exam_left--formatted .exam_bottom_info,
  .help_text p,
  .service_text,
  .service_block_inner .service_text,
  .service_dop_text,
  .conditions_text p {
    font-size: 16px !important;
    line-height: 23px !important;
  }

  .exam_left--formatted .exam_text_info,
  .service_text_info {
    font-size: 21px !important;
    line-height: 28px !important;
  }
}


/* WARRANTY FORM FOOTNOTES v4
   Сноски 1/2 соответствуют обозначениям на изображении форсунки.
   Примеры в полях: 119 и A2353. */
.injector-check-form .injector-check-form__label {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  width: 100% !important;
}

.injector-check-form__footnote,
.injector-check-form__note-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  border-radius: 50% !important;
  background: #f5c443 !important;
  color: #083672 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 6px rgba(8, 54, 114, 0.18) !important;
}

.injector-check-form__notes {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px 20px !important;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
}

.injector-check-form__note {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: rgba(8, 54, 114, 0.78) !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
}

.injector-check-form__note-badge {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  font-size: 10px !important;
}

.injector-check-form .form_input_text::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .injector-check-form__notes {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .injector-check-form__note {
    font-size: 12px !important;
    line-height: 16px !important;
  }
}


/* WARRANTY FORM NO TYPE SELECT v5
   Убрали видимый выбор P/S. В форме остаётся скрытое значение P для совместимости с проверкой. */
.injector-check-form .form_info,
.injector-check-form__fields {
  grid-template-columns: 1fr 1fr !important;
}

.injector-check-form__type,
.injector-type-toggle {
  display: none !important;
}

.injector-check-form input[type="hidden"][name="injector_type"] {
  display: none !important;
}

@media (max-width: 768px) {
  .injector-check-form .form_info,
  .injector-check-form__fields {
    grid-template-columns: 1fr !important;
  }
}


/* MAP FILTER CATEGORIES v6
   Добавлены категории "Где установить" и "Выездная бригада". */
.diler_tab_item {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px 10px !important;
}

.diler_tab_item a {
  white-space: nowrap !important;
}

@media (max-width: 768px) {
  .diler_tab_item {
    gap: 8px !important;
  }

  .diler_tab_item a {
    font-size: 12px !important;
    padding: 7px 9px !important;
  }
}

/* DILER PAGE FILTERS v1
   На странице /dilery/ фильтры выводятся в шаблоне news.list/diler/template.php. */
.diler_tabs {
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 0 28px 0 !important;
}

.diler_tab_item {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px 10px !important;
}

.diler_tab_item a {
  white-space: nowrap !important;
}


/* MAP FILTERS WITHOUT TEMPLATE v2
   Фильтры могут автоматически добавляться через map.js, даже если нет отдельного template.php страницы дилеров. */
.diler_tabs {
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 0 28px 0 !important;
}

.diler_tab_item {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px 10px !important;
}

.diler_tab_item a {
  white-space: nowrap !important;
}


/* MAP BALLOON CLICK FIX v3
   Балун после клика по левой колонке остаётся внутри карты и не уезжает к краю. */
#map {
  position: relative !important;
}

#map .mantor-yandex-balloon {
  z-index: 1000 !important;
}


/* MAP ADDRESS CLICKABLE ANIMATION v6
   Лёгкая анимация карточек адресов в левой колонке карты. */
.map_address_items .map_address_item {
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid transparent !important;
  transform: none !important;
  transition:
    transform .22s ease,
    background-color .22s ease,
    border-color .22s ease,
    box-shadow .22s ease !important;
  will-change: transform !important;
}

.map_address_items .map_address_item::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 12px !important;
  bottom: 12px !important;
  width: 3px !important;
  border-radius: 0 4px 4px 0 !important;
  background: #083672 !important;
  opacity: 0 !important;
  transform: scaleY(.45) !important;
  transition: opacity .22s ease, transform .22s ease !important;
}

.map_address_items .map_address_item::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(90deg, transparent 0%, rgba(8, 54, 114, .055) 50%, transparent 100%) !important;
  transform: translateX(-105%) !important;
  transition: transform .48s ease !important;
}

.map_address_items .map_address_item:hover,
.map_address_items .map_address_item:focus-within {
  transform: none !important;
  background: #ffffff !important;
  border-color: rgba(8, 54, 114, .18) !important;
  box-shadow: 0 10px 26px rgba(8, 54, 114, .11) !important;
}

.map_address_items .map_address_item:hover::before,
.map_address_items .map_address_item:focus-within::before,
.map_address_items .map_address_item.active::before {
  opacity: 1 !important;
  transform: scaleY(1) !important;
}

.map_address_items .map_address_item:hover::after,
.map_address_items .map_address_item:focus-within::after {
  transform: translateX(105%) !important;
}

.map_address_items .map_address_item.active {
  transform: none !important;
  background: #ffffff !important;
  border-color: rgba(8, 54, 114, .24) !important;
  box-shadow: 0 12px 30px rgba(8, 54, 114, .14) !important;
  animation: mantorMapAddressActivePulse .55s ease-out !important;
}

.map_address_items .map_address_item .item_icon,
.map_address_items .map_address_item .item_icon svg {
  transition: transform .22s ease, filter .22s ease !important;
  transform-origin: center !important;
}

.map_address_items .map_address_item:hover .item_icon,
.map_address_items .map_address_item:focus-within .item_icon,
.map_address_items .map_address_item.active .item_icon {
  transform: scale(1.08) rotate(6deg) !important;
}

.map_address_items .map_address_item:hover .address_item_title,
.map_address_items .map_address_item.active .address_item_title {
  color: #083672 !important;
}

@keyframes mantorMapAddressActivePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(8, 54, 114, .24);
  }
  100% {
    box-shadow: 0 12px 30px rgba(8, 54, 114, .14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .map_address_items .map_address_item,
  .map_address_items .map_address_item::before,
  .map_address_items .map_address_item::after,
  .map_address_items .map_address_item .item_icon,
  .map_address_items .map_address_item .item_icon svg {
    transition: none !important;
    animation: none !important;
  }
}


/* MAP ADDRESS CLICKABLE ANIMATION v7
   Убрали сдвиг карточек вправо, чтобы не появлялся горизонтальный скролл. */
.map_address_items .map_address_item,
.map_address_items .map_address_item:hover,
.map_address_items .map_address_item:focus-within,
.map_address_items .map_address_item.active {
  transform: none !important;
}


/* WARRANTY VIDEO MODAL SIZE FIX v8
   Фикс размеров видео-модалки на странице гарантии.
   Особенно для первого левого видео: не даём ролику растягиваться выше экрана. */
.video-modal,
.garranty-video-modal,
.warranty-video-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
}

.video-modal.is-active,
.garranty-video-modal.is-active,
.warranty-video-modal.is-active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 32px 20px !important;
  box-sizing: border-box !important;
}

.video-modal__overlay,
.garranty-video-modal__overlay,
.warranty-video-modal__overlay {
  position: absolute !important;
  inset: 0 !important;
}

.video-modal__content,
.garranty-video-modal__content,
.warranty-video-modal__content {
  position: relative !important;
  z-index: 2 !important;
  width: min(960px, calc(100vw - 40px)) !important;
  height: min(540px, calc(100vh - 80px)) !important;
  max-width: calc(100vw - 40px) !important;
  max-height: calc(100vh - 80px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: #000 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  box-shadow: 0 22px 90px rgba(0, 0, 0, .48) !important;
}

.video-modal__video,
.garranty-video-modal__video,
.warranty-video-modal__video,
.video-modal__content video,
.garranty-video-modal__content video,
.warranty-video-modal__content video,
.video-modal__content iframe,
.garranty-video-modal__content iframe,
.warranty-video-modal__content iframe,
.video-modal__content img,
.garranty-video-modal__content img,
.warranty-video-modal__content img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  background: #000 !important;
  margin: 0 auto !important;
}

.video-modal__close,
.garranty-video-modal__close,
.warranty-video-modal__close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 5 !important;
  width: 38px !important;
  height: 38px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #083672 !important;
  color: #fff !important;
  font-size: 30px !important;
  line-height: 36px !important;
  cursor: pointer !important;
}

@media (max-width: 768px) {
  .video-modal.is-active,
  .garranty-video-modal.is-active,
  .warranty-video-modal.is-active {
    padding: 18px 12px !important;
  }

  .video-modal__content,
  .garranty-video-modal__content,
  .warranty-video-modal__content {
    width: calc(100vw - 24px) !important;
    height: min(56.25vw, calc(100vh - 70px)) !important;
    max-height: calc(100vh - 70px) !important;
  }
}

/* SERVICE CENTERS SEPARATE PAGE v1
   Отдельная страница /servisnye-tsentry/: только заголовок и карта. */
.service-centers-page {
  padding: 74px 0 90px !important;
  background: #fff !important;
}

.service-centers-page .container,
.service-centers-page__container {
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

.service-centers-page__title {
  margin: 0 0 34px 0 !important;
  color: #000 !important;
  font-size: 48px !important;
  line-height: 1.12 !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

.service-centers-page .map_inner {
  margin-top: 0 !important;
}

.service-centers-page .diler_tabs {
  margin: 0 0 26px 0 !important;
}

.service-centers-page .diler_tab_item {
  justify-content: flex-start !important;
}

.service-centers-page .diler_tab_item a:not([data-map-filter="install"]) {
  display: none !important;
}

.service-centers-page .diler_tab_item a[data-map-filter="install"] {
  color: #ffffff !important;
  background: #083672 !important;
  border-radius: 4px !important;
}

.service-centers-page .map_block_inner {
  align-items: stretch !important;
}

.service-centers-page .map_address_left {
  height: 700px !important;
  min-height: 700px !important;
  max-height: 700px !important;
}

.service-centers-page .map_address_items {
  max-height: 535px !important;
  overflow-y: auto !important;
}

.service-centers-page .map_social img {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

@media (max-width: 991px) {
  .service-centers-page {
    padding: 42px 0 64px !important;
  }

  .service-centers-page__container {
    padding: 0 16px !important;
  }

  .service-centers-page__title {
    font-size: 36px !important;
    line-height: 1.16 !important;
    margin-bottom: 24px !important;
  }

  .service-centers-page .map_block_inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }

  .service-centers-page .map_address_left {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
  }

  .service-centers-page .map_address_items {
    max-height: 520px !important;
  }

  .service-centers-page #map {
    width: 100% !important;
    height: 520px !important;
  }
}


/* SERVICE CENTERS PAGE FILTERS v2
   На /servisnye-tsentry/ показываем все фильтры карты,
   но стартовый активный фильтр берётся из data-initial-filter="install". */
.service-centers-page .diler_tabs {
  display: block !important;
}

.service-centers-page .diler_tab_item {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px 10px !important;
}

.service-centers-page .diler_tab_item a {
  white-space: nowrap !important;
}


/* SERVICE CENTERS FILTERS + SOCIAL ICONS v3
   Все фильтры на /servisnye-tsentry/ + такие же inline-SVG иконки соцсетей, как на остальных страницах карты. */
.service-centers-page .diler_tabs {
  display: block !important;
}

.service-centers-page .diler_tab_item {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px 18px !important;
}

.service-centers-page .diler_tab_item a {
  white-space: nowrap !important;
}

.service-centers-page .map_social a,
.service-centers-page .map_social svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

.service-centers-page .map_social img {
  display: none !important;
}


/* SERVICE CENTERS FILTERS FORCE CSS v4 */
.service-centers-page .diler_tabs,
body .service-centers-page .diler_tabs {
  display: block !important;
  width: 100% !important;
  margin: 0 0 34px 0 !important;
}

.service-centers-page .diler_tab_item,
body .service-centers-page .diler_tab_item {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px 18px !important;
}

.service-centers-page .diler_tab_item a,
body .service-centers-page .diler_tab_item a {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}


/* SERVICE CENTERS HARD FILTERS v5 */
.service-centers-page .diler_tabs,
body .service-centers-page .diler_tabs {
  display: block !important;
  width: 100% !important;
  margin: 0 0 34px 0 !important;
}
.service-centers-page .diler_tab_item,
body .service-centers-page .diler_tab_item {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px 18px !important;
}
.service-centers-page .diler_tab_item a,
body .service-centers-page .diler_tab_item a {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}


/* SERVICE CENTERS TABS SUPER FORCE v6
   В исходном HTML все 5 фильтров есть, поэтому принудительно возвращаем видимость
   каждому <a data-map-filter>, если старые стили сжали/скрыли неактивные пункты. */
body .service-centers-page #map-dealers .diler_tabs,
body .service-centers-page .diler_tabs {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 0 34px 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

body .service-centers-page #map-dealers .diler_tab_item,
body .service-centers-page .diler_tab_item {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 8px 18px !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

body .service-centers-page #map-dealers .diler_tab_item > a[data-map-filter],
body .service-centers-page .diler_tab_item > a[data-map-filter] {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    z-index: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border-radius: 5px !important;
    border: 0 !important;
    background: transparent !important;
    color: #a5acb6 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    line-height: 38px !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    text-indent: 0 !important;
    letter-spacing: 0 !important;
    transform: none !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    pointer-events: auto !important;
}

body .service-centers-page #map-dealers .diler_tab_item > a[data-map-filter].active,
body .service-centers-page .diler_tab_item > a[data-map-filter].active {
    background: #083672 !important;
    color: #fff !important;
    box-shadow: none !important;
}


/* MAP ADDRESS DETAIL PANEL v8
   Клик по маркеру/карточке открывает подробную информацию в левой колонке.
   Балун на карте отключён. */
.map_address_items .map-address-detail {
  box-sizing: border-box !important;
  min-height: 100% !important;
  padding: 0 0 28px !important;
  background: #fff !important;
  color: #050b16 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.map-address-detail__back {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-height: 48px !important;
  margin: 0 0 28px !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f0f1f3 !important;
  color: #050b16 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}

.map-address-detail__back:hover {
  background: #e6e8eb !important;
}

.map-address-detail__back-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  transform: translateY(-1px) !important;
}

.map-address-detail__title {
  margin: 0 0 28px !important;
  padding: 0 !important;
  color: #050b16 !important;
  font-size: 26px !important;
  font-weight: 500 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.02em !important;
  text-transform: uppercase !important;
}

.map-address-detail__row {
  display: grid !important;
  grid-template-columns: 104px minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: start !important;
  margin: 0 0 18px !important;
  color: #050b16 !important;
}

.map-address-detail__label {
  color: #6f737a !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
}

.map-address-detail__value {
  color: #050b16 !important;
  font-size: 15px !important;
  line-height: 1.36 !important;
  font-weight: 500 !important;
  word-break: break-word !important;
}

.map-address-detail__section {
  margin-top: 28px !important;
}

.map-address-detail__section-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #8b8d91 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  cursor: default !important;
}

.map-address-detail__section-arrow {
  color: #9da1a8 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  transform: translateY(2px) !important;
}

.map-address-detail__section-content {
  padding: 0 !important;
}

.map-address-detail__row--description {
  margin-top: 2px !important;
  padding-top: 2px !important;
}

.map-address-detail__row--description .map-address-detail__value {
  font-weight: 400 !important;
  color: #2f3642 !important;
}

/* На всякий случай скрываем стандартные и кастомные балуны Яндекс.Карт */
#map .mantor-yandex-balloon,
#map [class*="ymaps-"][class*="-balloon"],
#map [class*="ymaps-"][class*="-balloon__layout"],
#map [class*="ymaps-"][class*="-balloon__content"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 768px) {
  .map-address-detail__title {
    font-size: 22px !important;
  }

  .map-address-detail__row {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    gap: 12px !important;
  }
}


/* MAP SELECTED CENTER MARKER v9
   Выбранный центр теперь выделяется на карте увеличенной жёлто-синей меткой через map.js.
   Здесь усиливаем выбранную карточку/детальную панель в левой колонке. */
.map_address_items .map_address_item.active {
  background: #ffffff !important;
  border-color: rgba(245, 196, 67, .95) !important;
  box-shadow: 0 0 0 2px rgba(245, 196, 67, .38), 0 12px 30px rgba(8, 54, 114, .14) !important;
}

.map_address_items .map_address_item.active::before {
  background: #f5c443 !important;
  opacity: 1 !important;
  transform: scaleY(1) !important;
}

.map-address-detail {
  border-left: 4px solid #f5c443 !important;
  padding-left: 18px !important;
}


/* MAP SELECTED CENTER BLUE FIX v10
   1) Активная карточка в левой колонке снова синяя.
   2) У блока подробной информации убрана жёлтая вертикальная полоса.
   3) Выбранная метка на карте теперь подсвечивается синим свечением через map.js. */
.map_address_items .map_address_item.active {
  background: #ffffff !important;
  border-color: rgba(8, 54, 114, .28) !important;
  box-shadow: 0 0 0 1px rgba(8, 54, 114, .18), 0 12px 30px rgba(8, 54, 114, .14) !important;
}

.map_address_items .map_address_item.active::before {
  background: #083672 !important;
  opacity: 1 !important;
  transform: scaleY(1) !important;
}

.map_address_items .map_address_item.active .address_item_title {
  color: #083672 !important;
}

.map_address_items .map-address-detail,
.map-address-detail {
  border-left: 0 !important;
  padding-left: 0 !important;
  box-shadow: none !important;
}

.map_address_items .map-address-detail::before,
.map_address_items .map-address-detail::after,
.map-address-detail::before,
.map-address-detail::after {
  display: none !important;
  content: none !important;
}


/* MAP ADDRESS DETAIL NO SECTION ARROW v11
   Убрана стрелка рядом с заголовком "СЕРВИС" в подробной информации левой колонки. */
.map-address-detail__section-arrow {
  display: none !important;
  visibility: hidden !important;
}


/* MAP ADDRESS DETAIL NO ALL HEADING ARROWS v12
   Убираем стрелки рядом со всеми заголовками разделов в подробной информации:
   СЕРВИС / ПРОДАЖИ / ВЫЕЗДНАЯ БРИГАДА и любые другие. */
.map-address-detail__section-arrow,
.map-address-detail__section-toggle svg,
.map-address-detail__section-toggle::after,
.map-address-detail__section-toggle::before {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  content: none !important;
}

.map-address-detail__section-toggle {
  gap: 0 !important;
  cursor: default !important;
  pointer-events: none !important;
}


/* MAP ADDRESS DETAIL COMPANY PHOTO v13
   В пункт "О компании" добавлено фото для отдельных центров. */
.map-address-detail__row--company {
  align-items: start !important;
}

.map-address-detail__company-media {
  display: block !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: #eef2f7 !important;
  box-shadow: 0 8px 22px rgba(8, 54, 114, .10) !important;
}

.map-address-detail__company-media img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
}

.map-address-detail__company-text {
  color: #2f3642 !important;
  font-size: 15px !important;
  line-height: 1.42 !important;
  font-weight: 400 !important;
}

@media (max-width: 768px) {
  .map-address-detail__company-media {
    border-radius: 7px !important;
  }

  .map-address-detail__company-text {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
}


/* MAP COMPANY MINI GALLERY v14
   Мини-галерея для фото в пункте "О компании". Сейчас используется для ООО ТД Авто. */
.map-address-detail__company-media-button {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #eef2f7 !important;
  cursor: zoom-in !important;
  box-shadow: 0 8px 22px rgba(8, 54, 114, .10) !important;
}

.map-address-detail__company-media-button::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(8,54,114,0) 45%, rgba(8,54,114,.42) 100%) !important;
  opacity: .72 !important;
  transition: opacity .2s ease !important;
  pointer-events: none !important;
}

.map-address-detail__company-media-button:hover::after {
  opacity: .92 !important;
}

.map-address-detail__company-media-button img {
  transition: transform .28s ease !important;
}

.map-address-detail__company-media-button:hover img {
  transform: scale(1.035) !important;
}

.map-address-detail__company-gallery-badge {
  position: absolute !important;
  right: 10px !important;
  bottom: 10px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: rgba(8, 54, 114, .92) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.mantor-company-gallery-open {
  overflow: hidden !important;
}

.mantor-company-gallery {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999999 !important;
  display: none !important;
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.mantor-company-gallery.is-open {
  display: block !important;
}

.mantor-company-gallery__overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(10, 12, 16, .92) !important;
}

.mantor-company-gallery__dialog {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  grid-template-rows: 1fr auto !important;
  align-items: center !important;
  justify-items: center !important;
  padding: 28px 86px 22px !important;
  box-sizing: border-box !important;
}

.mantor-company-gallery__top {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  right: 14px !important;
  z-index: 4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  pointer-events: none !important;
}

.mantor-company-gallery__counter {
  color: rgba(255,255,255,.92) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  pointer-events: auto !important;
}

.mantor-company-gallery__zoom,
.mantor-company-gallery__close {
  pointer-events: auto !important;
  width: 38px !important;
  height: 38px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  font-size: 28px !important;
  line-height: 38px !important;
  cursor: pointer !important;
}

.mantor-company-gallery__zoom {
  margin-left: auto !important;
  margin-right: 10px !important;
  font-size: 22px !important;
}

.mantor-company-gallery__zoom:hover,
.mantor-company-gallery__close:hover {
  background: rgba(255,255,255,.18) !important;
}

.mantor-company-gallery__main {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: calc(100vh - 120px) !important;
  min-height: 0 !important;
}

.mantor-company-gallery__image {
  display: block !important;
  max-width: min(100%, 1120px) !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  box-shadow: 0 18px 70px rgba(0,0,0,.38) !important;
  background: #111 !important;
}

.mantor-company-gallery__arrow {
  position: absolute !important;
  top: 50% !important;
  z-index: 5 !important;
  width: 56px !important;
  height: 70px !important;
  margin-top: -35px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: rgba(255,255,255,.88) !important;
  font-size: 64px !important;
  line-height: 64px !important;
  cursor: pointer !important;
}

.mantor-company-gallery__arrow:hover {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}

.mantor-company-gallery__arrow--prev {
  left: 22px !important;
}

.mantor-company-gallery__arrow--next {
  right: 22px !important;
}

.mantor-company-gallery__thumbs {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  gap: 8px !important;
  max-width: min(100%, 900px) !important;
  padding: 12px 0 0 !important;
  overflow-x: auto !important;
  scrollbar-width: thin !important;
}

.mantor-company-gallery__thumb {
  flex: 0 0 84px !important;
  width: 84px !important;
  height: 56px !important;
  padding: 0 !important;
  border: 2px solid transparent !important;
  border-radius: 3px !important;
  background: rgba(255,255,255,.10) !important;
  overflow: hidden !important;
  cursor: pointer !important;
  opacity: .62 !important;
}

.mantor-company-gallery__thumb.is-active {
  border-color: #fff !important;
  opacity: 1 !important;
}

.mantor-company-gallery__thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@media (max-width: 768px) {
  .mantor-company-gallery__dialog {
    padding: 52px 16px 18px !important;
  }

  .mantor-company-gallery__main {
    height: calc(100vh - 140px) !important;
  }

  .mantor-company-gallery__arrow {
    width: 42px !important;
    height: 54px !important;
    font-size: 48px !important;
  }

  .mantor-company-gallery__arrow--prev {
    left: 4px !important;
  }

  .mantor-company-gallery__arrow--next {
    right: 4px !important;
  }

  .mantor-company-gallery__thumb {
    flex-basis: 70px !important;
    width: 70px !important;
    height: 48px !important;
  }
}


/* MANTOR MAP BLOCK REDESIGN v16
   Осторожный перенос концепта: не меняет хэдер, работает только внутри блока карты.
   Левая часть компактнее, карта шире, список центров горизонтальный, карточка информации крупнее. */
.map_block_inner {
  display: grid !important;
  grid-template-columns: minmax(460px, 41%) minmax(0, 59%) !important;
  gap: 28px !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.map_address_left {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 780px !important;
  min-height: 780px !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  padding: 18px !important;
  border: 1px solid rgba(8, 54, 114, .12) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 22px 60px rgba(8, 54, 114, .08) !important;
  overflow: hidden !important;
}

.map_render_right {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 780px !important;
  min-height: 780px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(8, 54, 114, .10) !important;
  box-shadow: 0 22px 60px rgba(8, 54, 114, .08) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.map_render_right #map,
#map {
  height: 100% !important;
  min-height: 780px !important;
  border-radius: 20px !important;
}

.address_search_item {
  flex: 0 0 auto !important;
  height: 58px !important;
  min-height: 58px !important;
  margin: 0 0 14px !important;
  padding: 0 16px !important;
  display: flex !important;
  align-items: center !important;
  border: 1px solid rgba(8, 54, 114, .10) !important;
  border-radius: 14px !important;
  background: #f7f9fc !important;
  box-sizing: border-box !important;
}

.address_search_item input,
.address_input {
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  border: 0 !important;
  color: #07142f !important;
  font-size: 15px !important;
  outline: none !important;
}

.map_social_block {
  flex: 0 0 auto !important;
  margin: 0 0 14px !important;
}

.map_social {
  justify-content: flex-end !important;
  gap: 8px !important;
}

.map_address_items {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.mantor-map-strip {
  flex: 0 0 auto !important;
  display: flex !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 2px 12px !important;
  scroll-snap-type: x proximity !important;
  scrollbar-width: thin !important;
  box-sizing: border-box !important;
}

.mantor-map-strip::-webkit-scrollbar {
  height: 6px !important;
}

.mantor-map-strip::-webkit-scrollbar-track {
  background: transparent !important;
}

.mantor-map-strip::-webkit-scrollbar-thumb {
  background: rgba(8, 54, 114, .20) !important;
  border-radius: 999px !important;
}

.map_address_item.map_address_item--redesign {
  appearance: none !important;
  flex: 0 0 214px !important;
  width: 214px !important;
  min-height: 116px !important;
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) 22px !important;
  gap: 10px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(8, 54, 114, .10) !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #07142f !important;
  text-align: left !important;
  box-shadow: 0 10px 28px rgba(8, 54, 114, .055) !important;
  cursor: pointer !important;
  scroll-snap-align: start !important;
  box-sizing: border-box !important;
  transform: none !important;
  overflow: hidden !important;
}

.map_address_item.map_address_item--redesign::before,
.map_address_item.map_address_item--redesign::after {
  display: none !important;
  content: none !important;
}

.map_address_item.map_address_item--redesign:hover {
  border-color: rgba(8, 54, 114, .34) !important;
  box-shadow: 0 12px 34px rgba(8, 54, 114, .09) !important;
}

.map_address_item.map_address_item--redesign.active {
  border-color: #083672 !important;
  box-shadow: 0 0 0 1px rgba(8, 54, 114, .92), 0 14px 36px rgba(8, 54, 114, .14) !important;
  background: #fff !important;
}

.map_address_item__mark {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #083672 !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.map_address_item__main {
  min-width: 0 !important;
  display: block !important;
}

.map_address_item.map_address_item--redesign .address_item_title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 0 5px !important;
  color: #07142f !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.16 !important;
}

.map_address_item.map_address_item--redesign.active .address_item_title {
  color: #083672 !important;
}

.map_address_item.map_address_item--redesign .address_item_desc {
  display: block !important;
  margin: 0 0 7px !important;
  color: #7c8696 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.map_address_item__meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
}

.map_address_item__meta span {
  display: inline-flex !important;
  align-items: center !important;
  height: 20px !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  background: rgba(8, 54, 114, .07) !important;
  color: #083672 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.map_address_item__check {
  align-self: start !important;
  color: #083672 !important;
  opacity: .28 !important;
}

.map_address_item.map_address_item--redesign.active .map_address_item__check {
  opacity: 1 !important;
}

.mantor-map-detail {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: 0 2px 2px !important;
  box-sizing: border-box !important;
}

.mantor-map-detail::-webkit-scrollbar {
  width: 6px !important;
}

.mantor-map-detail::-webkit-scrollbar-thumb {
  background: rgba(8, 54, 114, .20) !important;
  border-radius: 999px !important;
}

.map-address-detail--redesign {
  min-height: auto !important;
  padding: 18px !important;
  border: 1px solid rgba(8, 54, 114, .10) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 14px 38px rgba(8, 54, 114, .08) !important;
  box-sizing: border-box !important;
}

.map-address-detail--redesign .map-address-detail__topline {
  margin: 0 0 12px !important;
}

.map-address-detail__brand {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: center !important;
}

.map-address-detail__avatar {
  width: 58px !important;
  height: 58px !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #083672 !important;
  color: #fff !important;
  font-size: 25px !important;
  font-weight: 900 !important;
}

.map-address-detail__badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin: 0 0 6px !important;
}

.map-address-detail__badges span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 22px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: rgba(8, 54, 114, .07) !important;
  color: #083672 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.map-address-detail--redesign .map-address-detail__title {
  margin: 0 !important;
  color: #07142f !important;
  font-size: 22px !important;
  line-height: 1.14 !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
}

.map-address-detail__contacts-line {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 14px !important;
  margin: 0 0 16px !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid rgba(8, 54, 114, .10) !important;
  color: #5f6d81 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.map-address-detail__contacts-line span {
  min-width: 0 !important;
  word-break: break-word !important;
}

.map-address-detail__about {
  display: grid !important;
  grid-template-columns: minmax(0, .95fr) minmax(180px, 1.35fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
  margin: 0 0 16px !important;
}

.map-address-detail__about h3 {
  margin: 0 0 8px !important;
  color: #07142f !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.map-address-detail__about p,
.map-address-detail__company-text {
  margin: 0 !important;
  color: #2d3950 !important;
  font-size: 14px !important;
  line-height: 1.48 !important;
  font-weight: 500 !important;
}

.map-address-detail__about-media {
  min-width: 0 !important;
}

.map-address-detail__gallery-grid {
  display: grid !important;
  grid-template-columns: 1.5fr .86fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 6px !important;
  width: 100% !important;
  height: 168px !important;
}

.map-address-detail__gallery-tile,
.map-address-detail__company-media-button {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #eef2f7 !important;
  cursor: zoom-in !important;
  box-shadow: none !important;
}

.map-address-detail__gallery-tile--main {
  grid-row: 1 / span 2 !important;
}

.map-address-detail__gallery-tile img,
.map-address-detail__company-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  transition: transform .25s ease !important;
}

.map-address-detail__gallery-tile:hover img {
  transform: scale(1.035) !important;
}

.map-address-detail__gallery-more {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(8, 54, 114, .58) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

.map-address-detail__company-media--single {
  height: 168px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #eef2f7 !important;
}

.map-address-detail__facts {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 16px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(8, 54, 114, .10) !important;
}

.map-address-detail__facts .map-address-detail__row {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) !important;
  gap: 10px !important;
  margin: 0 0 12px !important;
}

.map-address-detail__facts .map-address-detail__label {
  color: #7c8696 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

.map-address-detail__facts .map-address-detail__value {
  color: #07142f !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.map-address-detail__back,
.map-address-detail__section,
.map-address-detail__section-toggle {
  display: none !important;
}

.no-results-message {
  width: 100% !important;
  padding: 28px !important;
  border-radius: 14px !important;
  background: #f7f9fc !important;
  color: #7c8696 !important;
  font-size: 14px !important;
  text-align: center !important;
}

@media (max-width: 1220px) {
  .map_block_inner {
    grid-template-columns: minmax(420px, 43%) minmax(0, 57%) !important;
    gap: 20px !important;
  }

  .map-address-detail__about {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 991px) {
  .map_block_inner {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  .map_address_left {
    height: auto !important;
    min-height: 0 !important;
  }

  .map_render_right,
  .map_render_right #map,
  #map {
    height: 520px !important;
    min-height: 520px !important;
  }
}

@media (max-width: 560px) {
  .map_address_left {
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .map_address_item.map_address_item--redesign {
    flex-basis: 190px !important;
    width: 190px !important;
    grid-template-columns: 40px minmax(0, 1fr) 20px !important;
  }

  .map_address_item__mark {
    width: 40px !important;
    height: 40px !important;
  }

  .map-address-detail--redesign {
    padding: 14px !important;
  }

  .map-address-detail__brand {
    grid-template-columns: 48px minmax(0, 1fr) !important;
  }

  .map-address-detail__avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 13px !important;
  }

  .map-address-detail--redesign .map-address-detail__title {
    font-size: 19px !important;
  }

  .map-address-detail__facts {
    grid-template-columns: 1fr !important;
  }
}


/* MANTOR MAP REDESIGN POLISH v17
   Исправления после переноса концепта:
   - убран дубль категории над заголовком;
   - исправлены сжатые фото;
   - фото-шапка рядом с текстом "О компании";
   - отдельная фотогалерея снизу;
   - добавлен статус;
   - нижний блок: только "Режим работы" и "Услуги";
   - заголовок/контакты получили аккуратные отступы. */
.map-address-detail--redesign {
  padding: 20px 22px !important;
  overflow: visible !important;
}

.map-address-detail__topline {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: start !important;
  margin: 0 0 18px !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid rgba(8, 54, 114, .10) !important;
}

.map-address-detail__brand {
  display: grid !important;
  grid-template-columns: 62px minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: start !important;
  min-width: 0 !important;
}

.map-address-detail__brand-content {
  min-width: 0 !important;
  padding-top: 2px !important;
}

.map-address-detail__avatar {
  width: 62px !important;
  height: 62px !important;
  border-radius: 17px !important;
  font-size: 26px !important;
  flex: 0 0 auto !important;
}

.map-address-detail__badges {
  margin: 0 0 7px !important;
}

.map-address-detail__badges span {
  max-width: 100% !important;
  min-height: 24px !important;
  padding: 0 10px !important;
  background: rgba(8, 54, 114, .08) !important;
  color: #083672 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-transform: uppercase !important;
}

.map-address-detail--redesign .map-address-detail__title {
  margin: 0 0 9px !important;
  font-size: 25px !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
}

.map-address-detail__address-line {
  margin: 0 0 8px !important;
  color: #5f6d81 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.map-address-detail__contacts-line {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 0 !important;
  color: #083672 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.map-address-detail__contacts-line span {
  display: inline-flex !important;
  align-items: center !important;
  min-width: 0 !important;
  word-break: break-word !important;
}

.map-address-detail__status {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 28px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.map-address-detail__status::before {
  content: "" !important;
  width: 6px !important;
  height: 6px !important;
  margin-right: 7px !important;
  border-radius: 50% !important;
  background: currentColor !important;
}

.map-address-detail__status--open {
  background: rgba(35, 168, 97, .10) !important;
  color: #12884d !important;
}

.map-address-detail__status--neutral {
  background: rgba(8, 54, 114, .07) !important;
  color: #64748b !important;
}

.map-address-detail__about {
  display: block !important;
  margin: 0 0 18px !important;
}

.map-address-detail__about-main {
  display: grid !important;
  grid-template-columns: minmax(0, .85fr) minmax(220px, 1.15fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
  margin: 0 0 16px !important;
}

.map-address-detail__about-text {
  min-width: 0 !important;
}

.map-address-detail__about h3,
.map-address-detail__gallery-section h4 {
  margin: 0 0 10px !important;
  color: #07142f !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.map-address-detail__about p {
  margin: 0 !important;
  color: #2d3950 !important;
  font-size: 14px !important;
  line-height: 1.52 !important;
  font-weight: 500 !important;
}

.map-address-detail__hero-photo {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 176px !important;
  min-height: 176px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #eef2f7 !important;
  box-shadow: 0 10px 26px rgba(8, 54, 114, .10) !important;
}

.map-address-detail__hero-photo--clickable {
  cursor: zoom-in !important;
}

.map-address-detail__hero-photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.map-address-detail__hero-photo-badge {
  position: absolute !important;
  right: 10px !important;
  bottom: 10px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 26px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: rgba(8, 54, 114, .88) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.map-address-detail__gallery-section {
  margin: 0 !important;
}

.map-address-detail__photo-strip {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.map-address-detail__photo-thumb {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 82px !important;
  min-height: 82px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #eef2f7 !important;
  cursor: zoom-in !important;
}

.map-address-detail__photo-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transition: transform .25s ease !important;
}

.map-address-detail__photo-thumb:hover img {
  transform: scale(1.04) !important;
}

.map-address-detail__photo-more {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(8, 54, 114, .60) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

.map-address-detail__gallery-grid,
.map-address-detail__gallery-tile,
.map-address-detail__company-media-button::after,
.map-address-detail__company-gallery-badge {
  display: none !important;
}

.map-address-detail__bottom-info {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(8, 54, 114, .10) !important;
}

.map-address-detail__mini-card {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  gap: 11px !important;
  align-items: start !important;
  min-height: 86px !important;
  padding: 14px !important;
  border: 1px solid rgba(8, 54, 114, .09) !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
  box-sizing: border-box !important;
}

.map-address-detail__mini-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(8, 54, 114, .08) !important;
  color: #083672 !important;
}

.map-address-detail__mini-icon svg {
  width: 19px !important;
  height: 19px !important;
}

.map-address-detail__mini-title {
  margin: 0 0 5px !important;
  color: #07142f !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.map-address-detail__mini-text {
  color: #536173 !important;
  font-size: 12px !important;
  line-height: 1.42 !important;
  font-weight: 600 !important;
}

.map-address-detail__facts,
.map-address-detail__row--company,
.map-address-detail__company-media,
.map-address-detail__company-media-button {
  display: none !important;
}

.map_address_item.map_address_item--redesign {
  flex-basis: 228px !important;
  width: 228px !important;
  grid-template-columns: 46px minmax(0, 1fr) 22px !important;
}

.map_address_item__meta span {
  max-width: 100% !important;
  height: auto !important;
  min-height: 20px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 1220px) {
  .map-address-detail__about-main {
    grid-template-columns: 1fr !important;
  }

  .map-address-detail__hero-photo {
    height: 190px !important;
  }
}

@media (max-width: 560px) {
  .map-address-detail__topline {
    grid-template-columns: 1fr !important;
  }

  .map-address-detail__brand {
    grid-template-columns: 48px minmax(0, 1fr) !important;
  }

  .map-address-detail__avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 13px !important;
  }

  .map-address-detail--redesign .map-address-detail__title {
    font-size: 20px !important;
  }

  .map-address-detail__photo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .map-address-detail__bottom-info {
    grid-template-columns: 1fr !important;
  }
}


/* MAP CENTER STATUS TIME FIX v18
   Временная логика статуса:
   07:30–22:00 по Москве — Открыто / зелёный,
   после 22:00 и до 07:30 — Закрыто / красный. */
.map-address-detail__status--open {
  background: rgba(35, 168, 97, .12) !important;
  color: #12884d !important;
}

.map-address-detail__status--closed {
  background: rgba(220, 38, 38, .11) !important;
  color: #c42121 !important;
}

.map-address-detail__status--neutral {
  background: rgba(8, 54, 114, .07) !important;
  color: #64748b !important;
}


/* MANTOR MAP DETAIL FIT v19
   Убираем лишний внутренний скролл и увеличиваем вместимость левой колонки:
   компактнее поиск/список/фото/нижние карточки, вся высота используется под информацию. */
.map_address_left {
  height: 820px !important;
  min-height: 820px !important;
  padding: 14px !important;
}

.map_render_right {
  height: 820px !important;
  min-height: 820px !important;
}

.map_render_right #map,
#map {
  min-height: 820px !important;
}

.address_search_item {
  height: 52px !important;
  min-height: 52px !important;
  margin-bottom: 10px !important;
  border-radius: 13px !important;
}

.map_social_block {
  margin-bottom: 10px !important;
}

.map_address_items {
  gap: 10px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 2px !important;
}

.map_address_items::-webkit-scrollbar {
  width: 5px !important;
}

.map_address_items::-webkit-scrollbar-thumb {
  background: rgba(8, 54, 114, .18) !important;
  border-radius: 999px !important;
}

.mantor-map-strip {
  gap: 10px !important;
  padding: 0 1px 8px !important;
  flex: 0 0 auto !important;
}

.map_address_item.map_address_item--redesign {
  flex-basis: 218px !important;
  width: 218px !important;
  min-height: 100px !important;
  padding: 12px !important;
  border-radius: 15px !important;
  grid-template-columns: 42px minmax(0, 1fr) 20px !important;
}

.map_address_item__mark {
  width: 42px !important;
  height: 42px !important;
  font-size: 19px !important;
}

.map_address_item.map_address_item--redesign .address_item_title {
  font-size: 13px !important;
  margin-bottom: 4px !important;
}

.map_address_item.map_address_item--redesign .address_item_desc {
  margin-bottom: 5px !important;
}

.map_address_item__meta span {
  min-height: 18px !important;
  height: 18px !important;
  padding: 0 7px !important;
  font-size: 10px !important;
}

.mantor-map-detail {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: visible !important;
  padding: 0 !important;
}

.map-address-detail--redesign {
  padding: 16px 18px !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 32px rgba(8, 54, 114, .07) !important;
}

.map-address-detail__topline {
  margin-bottom: 13px !important;
  padding-bottom: 12px !important;
}

.map-address-detail__brand {
  grid-template-columns: 54px minmax(0, 1fr) !important;
  gap: 13px !important;
}

.map-address-detail__avatar {
  width: 54px !important;
  height: 54px !important;
  border-radius: 15px !important;
  font-size: 24px !important;
}

.map-address-detail--redesign .map-address-detail__title {
  font-size: 23px !important;
  margin-bottom: 7px !important;
}

.map-address-detail__address-line {
  margin-bottom: 6px !important;
}

.map-address-detail__contacts-line {
  gap: 5px 13px !important;
}

.map-address-detail__status {
  min-height: 26px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
}

.map-address-detail__about {
  margin-bottom: 14px !important;
}

.map-address-detail__about-main {
  gap: 14px !important;
  margin-bottom: 12px !important;
}

.map-address-detail__about h3,
.map-address-detail__gallery-section h4 {
  margin-bottom: 7px !important;
  font-size: 14px !important;
}

.map-address-detail__about p {
  font-size: 13px !important;
  line-height: 1.43 !important;
}

.map-address-detail__hero-photo {
  height: 146px !important;
  min-height: 146px !important;
  border-radius: 12px !important;
}

.map-address-detail__photo-strip {
  gap: 7px !important;
}

.map-address-detail__photo-thumb {
  height: 64px !important;
  min-height: 64px !important;
  border-radius: 10px !important;
}

.map-address-detail__bottom-info {
  gap: 10px !important;
  padding-top: 12px !important;
}

.map-address-detail__mini-card {
  min-height: 68px !important;
  padding: 11px !important;
  border-radius: 12px !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: 9px !important;
}

.map-address-detail__mini-icon {
  width: 30px !important;
  height: 30px !important;
  border-radius: 9px !important;
}

.map-address-detail__mini-icon svg {
  width: 17px !important;
  height: 17px !important;
}

.map-address-detail__mini-title {
  font-size: 12px !important;
  margin-bottom: 3px !important;
}

.map-address-detail__mini-text {
  font-size: 11.5px !important;
  line-height: 1.34 !important;
}

/* чтобы не появлялась отдельная внутренняя полоса прокрутки справа у карточки */
.mantor-map-detail::-webkit-scrollbar {
  display: none !important;
}


/* MANTOR MAP LEFT COLUMN FILL v20
   Информационный блок растягивается на всю доступную высоту левой колонки.
   Пустое место снизу больше не остаётся отдельной "дырой";
   прокрутка появляется только внутри блока деталей, если контента реально больше высоты. */
.map_address_left {
  height: 820px !important;
  min-height: 820px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.map_address_items {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  gap: 12px !important;
  padding-right: 0 !important;
}

.mantor-map-strip {
  flex: 0 0 auto !important;
  max-height: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding-bottom: 10px !important;
}

.mantor-map-detail {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.map-address-detail--redesign {
  flex: 1 1 auto !important;
  min-height: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Если контента станет больше высоты, скролл будет только внутри содержимого карточки, а не у всей левой колонки */
.map-address-detail__topline {
  flex: 0 0 auto !important;
}

.map-address-detail__about {
  flex: 0 0 auto !important;
}

.map-address-detail__bottom-info {
  flex: 0 0 auto !important;
  margin-top: auto !important;
}

/* Чуть возвращаем объём изображениям: теперь место берётся из пустующей нижней части */
.map-address-detail__hero-photo {
  height: 168px !important;
  min-height: 168px !important;
}

.map-address-detail__photo-thumb {
  height: 74px !important;
  min-height: 74px !important;
}

/* При нехватке места включится аккуратная внутренняя прокрутка только у самой карточки */
.map-address-detail--redesign {
  overflow-y: auto !important;
  scrollbar-width: thin !important;
}

.map-address-detail--redesign::-webkit-scrollbar {
  width: 5px !important;
}

.map-address-detail--redesign::-webkit-scrollbar-thumb {
  background: rgba(8, 54, 114, .18) !important;
  border-radius: 999px !important;
}

.map-address-detail--redesign::-webkit-scrollbar-track {
  background: transparent !important;
}

/* Убираем лишний визуальный скролл/линию справа у общего контейнера */
.map_address_items::-webkit-scrollbar,
.mantor-map-detail::-webkit-scrollbar {
  display: none !important;
}

@media (max-width: 1220px) {
  .map-address-detail__hero-photo {
    height: 176px !important;
    min-height: 176px !important;
  }
}

@media (max-width: 991px) {
  .map_address_left {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .map_address_items,
  .mantor-map-detail,
  .map-address-detail--redesign {
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .map-address-detail__bottom-info {
    margin-top: 14px !important;
  }
}


/* MANTOR MAP LEFT COLUMN FULL HEIGHT v21
   Фикс пустого пространства снизу: старое max-height:390px у .map_address_items
   ограничивало реальную высоту блока информации. Теперь список + информация
   занимают всю доступную высоту левой колонки. */
body .map_block_inner .map_address_left {
  max-height: none !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

body .map_block_inner .map_address_left .map_address_items {
  flex: 1 1 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  gap: 12px !important;
}

body .map_block_inner .map_address_left .mantor-map-strip {
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

body .map_block_inner .map_address_left .mantor-map-detail {
  flex: 1 1 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

body .map_block_inner .map_address_left .map-address-detail--redesign {
  flex: 1 1 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

/* Верх и середина занимают нужное место, нижние мини-карточки уезжают вниз карточки */
body .map_block_inner .map_address_left .map-address-detail__topline {
  flex: 0 0 auto !important;
}

body .map_block_inner .map_address_left .map-address-detail__about {
  flex: 0 0 auto !important;
}

body .map_block_inner .map_address_left .map-address-detail__bottom-info {
  flex: 0 0 auto !important;
  margin-top: auto !important;
}

/* Если содержимого больше высоты, прокручивается только карточка информации */
body .map_block_inner .map_address_left .map-address-detail--redesign {
  overflow-y: auto !important;
  scrollbar-width: thin !important;
}

body .map_block_inner .map_address_left .map-address-detail--redesign::-webkit-scrollbar {
  width: 5px !important;
}

body .map_block_inner .map_address_left .map-address-detail--redesign::-webkit-scrollbar-thumb {
  background: rgba(8, 54, 114, .18) !important;
  border-radius: 999px !important;
}

/* Дополнительно используем свободное место: блок фото чуть выше, но не ломает сетку */
body .map_block_inner .map_address_left .map-address-detail__hero-photo {
  height: clamp(168px, 22vh, 210px) !important;
  min-height: 168px !important;
}

body .map_block_inner .map_address_left .map-address-detail__photo-thumb {
  height: clamp(74px, 9vh, 96px) !important;
  min-height: 74px !important;
}

@media (max-width: 991px) {
  body .map_block_inner .map_address_left,
  body .map_block_inner .map_address_left .map_address_items,
  body .map_block_inner .map_address_left .mantor-map-detail,
  body .map_block_inner .map_address_left .map-address-detail--redesign {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body .map_block_inner .map_address_left .map-address-detail__bottom-info {
    margin-top: 14px !important;
  }
}


/* MANTOR MAP TALLER BLOCK v22
   Увеличиваем высоту всего блока карты, левой колонки и самой карты,
   чтобы карточка информации помещалась без лишнего скролла. */
body .map_block_inner {
  min-height: 930px !important;
  align-items: stretch !important;
}

body .map_block_inner .map_address_left {
  height: 930px !important;
  min-height: 930px !important;
  max-height: none !important;
}

body .map_block_inner .map_render_right {
  height: 930px !important;
  min-height: 930px !important;
  max-height: none !important;
}

body .map_block_inner .map_render_right #map,
body #map {
  height: 930px !important;
  min-height: 930px !important;
}

/* Теперь высоты хватает, поэтому скролл у карточки деталей отключаем.
   Если на другом центре данных будет сильно больше — браузер всё равно не обрежет контент,
   но основной сценарий будет без внутреннего скролла. */
body .map_block_inner .map_address_left .map-address-detail--redesign {
  overflow-y: visible !important;
}

body .map_block_inner .map_address_left .mantor-map-detail {
  overflow: visible !important;
}

/* Чуть увеличиваем визуальные блоки, чтобы заполнить новую высоту аккуратно. */
body .map_block_inner .map_address_left .map-address-detail__hero-photo {
  height: 210px !important;
  min-height: 210px !important;
}

body .map_block_inner .map_address_left .map-address-detail__photo-thumb {
  height: 96px !important;
  min-height: 96px !important;
}

body .map_block_inner .map_address_left .map-address-detail__bottom-info {
  margin-top: auto !important;
}

@media (max-width: 991px) {
  body .map_block_inner {
    min-height: auto !important;
  }

  body .map_block_inner .map_address_left {
    height: auto !important;
    min-height: 0 !important;
  }

  body .map_block_inner .map_render_right,
  body .map_block_inner .map_render_right #map,
  body #map {
    height: 560px !important;
    min-height: 560px !important;
  }

  body .map_block_inner .map_address_left .map-address-detail__hero-photo {
    height: 176px !important;
    min-height: 176px !important;
  }

  body .map_block_inner .map_address_left .map-address-detail__photo-thumb {
    height: 74px !important;
    min-height: 74px !important;
  }
}


/* MANTOR MAP COMPACT HEIGHT v23
   Сжимаем слишком высокий блок после v22.
   "Режим работы / Услуги" ставим ближе к фотогалерее, без искусственного прижатия к низу. */
body .map_block_inner {
  min-height: 820px !important;
  align-items: stretch !important;
}

body .map_block_inner .map_address_left {
  height: 820px !important;
  min-height: 820px !important;
  max-height: none !important;
}

body .map_block_inner .map_render_right {
  height: 820px !important;
  min-height: 820px !important;
  max-height: none !important;
}

body .map_block_inner .map_render_right #map,
body #map {
  height: 820px !important;
  min-height: 820px !important;
}

/* Карточка информации больше не растягивается до низа колонки */
body .map_block_inner .map_address_left .mantor-map-detail {
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

body .map_block_inner .map_address_left .map-address-detail--redesign {
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: block !important;
  overflow: visible !important;
  padding: 16px 18px !important;
}

/* Нижний блок сразу после фотогалереи */
body .map_block_inner .map_address_left .map-address-detail__bottom-info {
  margin-top: 14px !important;
  padding-top: 14px !important;
  gap: 10px !important;
}

/* Немного компактнее, чтобы весь блок можно было уменьшить */
body .map_block_inner .map_address_left .map-address-detail__topline {
  margin-bottom: 12px !important;
  padding-bottom: 12px !important;
}

body .map_block_inner .map_address_left .map-address-detail__about {
  margin-bottom: 0 !important;
}

body .map_block_inner .map_address_left .map-address-detail__about-main {
  margin-bottom: 12px !important;
  gap: 14px !important;
}

body .map_block_inner .map_address_left .map-address-detail__hero-photo {
  height: 172px !important;
  min-height: 172px !important;
}

body .map_block_inner .map_address_left .map-address-detail__photo-thumb {
  height: 76px !important;
  min-height: 76px !important;
}

body .map_block_inner .map_address_left .map-address-detail__mini-card {
  min-height: 70px !important;
  padding: 11px 12px !important;
}

body .map_block_inner .map_address_left .map-address-detail--redesign::-webkit-scrollbar,
body .map_block_inner .map_address_left .mantor-map-detail::-webkit-scrollbar {
  display: none !important;
}

@media (max-width: 991px) {
  body .map_block_inner {
    min-height: auto !important;
  }

  body .map_block_inner .map_address_left {
    height: auto !important;
    min-height: 0 !important;
  }

  body .map_block_inner .map_render_right,
  body .map_block_inner .map_render_right #map,
  body #map {
    height: 540px !important;
    min-height: 540px !important;
  }
}


/* MANTOR MAP SAME BLOCK ON WARRANTY + SERVICE v24
   Один и тот же готовый блок карты для /dilery/, /garranty/ и /servisnye-tsentry/.
   На гарантии по умолчанию активна "Гарантия", на сервисных центрах — "Где установить". */
.garanty_page .map_inner,
.service-centers-page .map_inner {
  width: 100% !important;
}

.service-centers-page .map_inner {
  margin-top: 0 !important;
}

.garanty_page .map_inner {
  margin-top: 70px !important;
}

@media (max-width: 991px) {
  .garanty_page .map_inner {
    margin-top: 42px !important;
  }
}


/* MANTOR MAP UX FIX v25
   1) Горизонтальный список центров можно прокручивать колесиком мыши.
   2) До инициализации JS прячем старую серверную верстку списка, чтобы не было мигания старого блока 3-5 сек.
   3) JS дополнительно чуть уменьшает начальный zoom карты. */
body .map_address_items:not(.mantor-map-ready) {
  min-height: 520px !important;
  overflow: hidden !important;
}

body .map_address_items:not(.mantor-map-ready) > * {
  display: none !important;
  visibility: hidden !important;
}

body .map_address_items:not(.mantor-map-ready)::before {
  content: "" !important;
  display: block !important;
  width: 100% !important;
  height: 520px !important;
  border: 1px solid rgba(8, 54, 114, .08) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(90deg, rgba(8,54,114,.04), rgba(8,54,114,.08), rgba(8,54,114,.04)) 0 0 / 220% 100%,
    #fff !important;
  animation: mantorMapSkeleton 1.15s ease-in-out infinite !important;
  box-sizing: border-box !important;
}

@keyframes mantorMapSkeleton {
  0% { background-position: 0 0; }
  100% { background-position: -220% 0; }
}

body .mantor-map-strip {
  overscroll-behavior-x: contain !important;
  cursor: grab !important;
}

body .mantor-map-strip:active {
  cursor: grabbing !important;
}


/* MANTOR MAP WARRANTY ALIGN + ZOOM FIX v27
   Исправляет страницу гарантии:
   - левая колонка и карта стоят на одной верхней линии;
   - карта не получает серую полосу сверху из-за позднего пересчёта размера;
   - JS дополнительно поджимает слишком дальний начальный zoom. */
.garanty_page .map_block_inner,
.service-centers-page .map_block_inner,
.map_inner .map_block_inner {
  align-items: flex-start !important;
}

.garanty_page .map_address_left,
.garanty_page .map_render_right {
  margin-top: 0 !important;
  align-self: flex-start !important;
}

.garanty_page .map_render_right,
.service-centers-page .map_render_right {
  background: #e8eef2 !important;
}

.garanty_page .map_render_right #map,
.service-centers-page .map_render_right #map,
.garanty_page #map,
.service-centers-page #map {
  background: #e8eef2 !important;
}

/* Если браузер успевает показать подложку Яндекса до fitToViewport, не даём ей быть тёмно-серой. */
.garanty_page #map [class*="ymaps"][class*="ground-pane"],
.service-centers-page #map [class*="ymaps"][class*="ground-pane"] {
  background-color: #e8eef2 !important;
}


/* MANTOR WARRANTY MAP SAME HEIGHT v28
   На /garranty/ левый блок был ниже карты по нижней границе.
   Принудительно выравниваем именно блок карты гарантии: одинаковая высота,
   одна верхняя и одна нижняя граница. */
body .garanty_page .map_inner#map-dealers .map_block_inner,
body .garanty_page #map-dealers .map_block_inner {
  display: grid !important;
  grid-template-columns: minmax(460px, 41%) minmax(0, 59%) !important;
  gap: 28px !important;
  align-items: stretch !important;
  align-content: stretch !important;
  margin-top: 35px !important;
}

body .garanty_page .map_inner#map-dealers .map_address_left,
body .garanty_page #map-dealers .map_address_left,
body .garanty_page .map_inner#map-dealers .map_render_right,
body .garanty_page #map-dealers .map_render_right {
  align-self: stretch !important;
  height: 820px !important;
  min-height: 820px !important;
  max-height: 820px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
}

body .garanty_page .map_inner#map-dealers .map_render_right #map,
body .garanty_page #map-dealers .map_render_right #map,
body .garanty_page #map {
  height: 820px !important;
  min-height: 820px !important;
  max-height: 820px !important;
  box-sizing: border-box !important;
}

body .garanty_page .map_inner#map-dealers .map_address_left {
  overflow: hidden !important;
}

/* Убираем старые ограничения конкретно для гарантии, которые могли перебивать высоту списка */
body .garanty_page .map_inner#map-dealers .map_address_items,
body .garanty_page #map-dealers .map_address_items {
  max-height: none !important;
  height: auto !important;
  min-height: 0 !important;
}

@media (max-width: 991px) {
  body .garanty_page .map_inner#map-dealers .map_block_inner,
  body .garanty_page #map-dealers .map_block_inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body .garanty_page .map_inner#map-dealers .map_address_left,
  body .garanty_page #map-dealers .map_address_left {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body .garanty_page .map_inner#map-dealers .map_render_right,
  body .garanty_page #map-dealers .map_render_right,
  body .garanty_page .map_inner#map-dealers .map_render_right #map,
  body .garanty_page #map-dealers .map_render_right #map,
  body .garanty_page #map {
    height: 540px !important;
    min-height: 540px !important;
    max-height: 540px !important;
  }
}


/* MANTOR MAP CUSTOMER REQUEST v29
   - Список центров вертикальный.
   - Placeholder: "Введите город" задаётся в JS и обновлённых шаблонах.
   - Под заголовком адрес, телефон, email и сайт отдельными строками, ссылки кликабельны. */
body .map_block_inner .map_address_left .mantor-map-strip {
  flex: 0 0 235px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 0 4px 0 0 !important;
  scroll-snap-type: none !important;
  box-sizing: border-box !important;
}

body .map_block_inner .map_address_left .mantor-map-strip::-webkit-scrollbar {
  width: 5px !important;
  height: 5px !important;
}

body .map_block_inner .map_address_left .mantor-map-strip::-webkit-scrollbar-thumb {
  background: rgba(8, 54, 114, .20) !important;
  border-radius: 999px !important;
}

body .map_block_inner .map_address_left .map_address_item.map_address_item--redesign {
  flex: 0 0 auto !important;
  width: 100% !important;
  min-height: 86px !important;
  padding: 12px 14px !important;
  grid-template-columns: 42px minmax(0, 1fr) 22px !important;
  scroll-snap-align: none !important;
}

body .map_block_inner .map_address_left .map_address_item__mark {
  width: 42px !important;
  height: 42px !important;
  font-size: 19px !important;
}

body .map_block_inner .map_address_left .map_address_item.map_address_item--redesign .address_item_title {
  -webkit-line-clamp: 1 !important;
  font-size: 13px !important;
  line-height: 1.18 !important;
}

body .map_block_inner .map_address_left .map_address_item.map_address_item--redesign .address_item_desc {
  font-size: 12px !important;
  margin-bottom: 5px !important;
}

body .map_block_inner .map_address_left .mantor-map-detail {
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

/* Новый контактный блок под заголовком */
.map-address-detail__contact-rows {
  display: grid !important;
  gap: 6px !important;
  margin: 8px 0 0 !important;
}

.map-address-detail__contact-row {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start !important;
  color: #5f6d81 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.map-address-detail__contact-label {
  color: #8a94a6 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
}

.map-address-detail__contact-values {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 12px !important;
  min-width: 0 !important;
}

.map-address-detail__contact-link {
  color: #083672 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  word-break: break-word !important;
}

.map-address-detail__contact-link:hover {
  text-decoration: underline !important;
}

.map-address-detail__address-line,
.map-address-detail__contacts-line {
  display: none !important;
}

@media (max-width: 991px) {
  body .map_block_inner .map_address_left .mantor-map-strip {
    flex-basis: auto !important;
    max-height: 360px !important;
  }
}

@media (max-width: 560px) {
  .map-address-detail__contact-row {
    grid-template-columns: 1fr !important;
    gap: 2px !important;
  }
}


/* MANTOR MAP BALANCED HORIZONTAL LIST v30
   Возвращаем список центров в горизонтальный формат, но компактно:
   - карточки центров снова в одну строку;
   - блок информации помещается без внутреннего скролла;
   - высота левой колонки используется гармонично;
   - требования заказчика по "Введите город" и кликабельным строкам контактов сохранены. */

/* Общая высота блока — чуть компактнее, без гигантского пустого поля */
body .map_block_inner {
  min-height: 790px !important;
}

body .map_block_inner .map_address_left,
body .map_block_inner .map_render_right {
  height: 790px !important;
  min-height: 790px !important;
  max-height: 790px !important;
}

body .map_block_inner .map_render_right #map,
body #map {
  height: 790px !important;
  min-height: 790px !important;
  max-height: 790px !important;
}

/* Левая колонка: без общего скролла, внутренние элементы компактнее */
body .map_block_inner .map_address_left {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 14px !important;
}

body .map_block_inner .address_search_item {
  height: 50px !important;
  min-height: 50px !important;
  margin-bottom: 9px !important;
}

body .map_block_inner .map_social_block {
  margin-bottom: 9px !important;
}

/* Главное: список центров снова горизонтальный */
body .map_block_inner .map_address_left .mantor-map-strip {
  flex: 0 0 96px !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 0 2px 8px !important;
  scroll-snap-type: x proximity !important;
  box-sizing: border-box !important;
  cursor: grab !important;
}

body .map_block_inner .map_address_left .mantor-map-strip::-webkit-scrollbar {
  height: 5px !important;
  width: 5px !important;
}

body .map_block_inner .map_address_left .mantor-map-strip::-webkit-scrollbar-thumb {
  background: rgba(8, 54, 114, .18) !important;
  border-radius: 999px !important;
}

body .map_block_inner .map_address_left .map_address_item.map_address_item--redesign {
  flex: 0 0 226px !important;
  width: 226px !important;
  min-height: 82px !important;
  max-height: 82px !important;
  padding: 11px 12px !important;
  grid-template-columns: 40px minmax(0, 1fr) 20px !important;
  gap: 9px !important;
  scroll-snap-align: start !important;
}

body .map_block_inner .map_address_left .map_address_item__mark {
  width: 40px !important;
  height: 40px !important;
  font-size: 18px !important;
}

body .map_block_inner .map_address_left .map_address_item.map_address_item--redesign .address_item_title {
  -webkit-line-clamp: 1 !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  margin-bottom: 3px !important;
}

body .map_block_inner .map_address_left .map_address_item.map_address_item--redesign .address_item_desc {
  font-size: 11.5px !important;
  line-height: 1.2 !important;
  margin-bottom: 4px !important;
}

body .map_block_inner .map_address_left .map_address_item__meta span {
  min-height: 18px !important;
  height: 18px !important;
  padding: 0 7px !important;
  font-size: 9.5px !important;
}

/* Блок деталей занимает оставшуюся высоту, но без скролла */
body .map_block_inner .map_address_left .map_address_items {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  gap: 10px !important;
}

body .map_block_inner .map_address_left .mantor-map-detail {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body .map_block_inner .map_address_left .map-address-detail--redesign {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 14px 16px !important;
}

/* Верх карточки компактнее */
body .map_block_inner .map_address_left .map-address-detail__topline {
  flex: 0 0 auto !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  margin: 0 0 10px !important;
  padding: 0 0 10px !important;
}

body .map_block_inner .map_address_left .map-address-detail__brand {
  grid-template-columns: 46px minmax(0, 1fr) !important;
  gap: 12px !important;
}

body .map_block_inner .map_address_left .map-address-detail__avatar {
  width: 46px !important;
  height: 46px !important;
  border-radius: 14px !important;
  font-size: 22px !important;
}

body .map_block_inner .map_address_left .map-address-detail__badges {
  margin: 0 0 5px !important;
}

body .map_block_inner .map_address_left .map-address-detail__badges span {
  min-height: 20px !important;
  padding: 0 8px !important;
  font-size: 10px !important;
}

body .map_block_inner .map_address_left .map-address-detail--redesign .map-address-detail__title {
  font-size: 21px !important;
  line-height: 1.08 !important;
  margin: 0 0 6px !important;
}

body .map_block_inner .map_address_left .map-address-detail__status {
  min-height: 24px !important;
  padding: 0 9px !important;
  font-size: 10.5px !important;
}

/* Контактные строки: остаются отдельными строками и кликабельными, но занимают меньше высоты */
body .map_block_inner .map_address_left .map-address-detail__contact-rows {
  gap: 4px !important;
  margin-top: 6px !important;
}

body .map_block_inner .map_address_left .map-address-detail__contact-row {
  grid-template-columns: 54px minmax(0, 1fr) !important;
  gap: 8px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

body .map_block_inner .map_address_left .map-address-detail__contact-label {
  font-size: 10px !important;
  line-height: 1.25 !important;
}

body .map_block_inner .map_address_left .map-address-detail__contact-values {
  gap: 2px 10px !important;
}

/* Основной блок: компактно, но без сжатия картинок */
body .map_block_inner .map_address_left .map-address-detail__about {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

body .map_block_inner .map_address_left .map-address-detail__about-main {
  grid-template-columns: minmax(0, .82fr) minmax(205px, 1.18fr) !important;
  gap: 12px !important;
  margin: 0 0 10px !important;
}

body .map_block_inner .map_address_left .map-address-detail__about h3,
body .map_block_inner .map_address_left .map-address-detail__gallery-section h4 {
  margin-bottom: 6px !important;
  font-size: 13.5px !important;
}

body .map_block_inner .map_address_left .map-address-detail__about p {
  font-size: 12px !important;
  line-height: 1.36 !important;
}

body .map_block_inner .map_address_left .map-address-detail__hero-photo {
  height: 128px !important;
  min-height: 128px !important;
  border-radius: 12px !important;
}

body .map_block_inner .map_address_left .map-address-detail__hero-photo-badge {
  height: 24px !important;
  padding: 0 9px !important;
  font-size: 11px !important;
}

/* Фотогалерея ниже, без скролла */
body .map_block_inner .map_address_left .map-address-detail__photo-strip {
  gap: 7px !important;
}

body .map_block_inner .map_address_left .map-address-detail__photo-thumb {
  height: 58px !important;
  min-height: 58px !important;
  border-radius: 10px !important;
}

/* Нижние карточки ближе и компактнее */
body .map_block_inner .map_address_left .map-address-detail__bottom-info {
  flex: 0 0 auto !important;
  margin-top: 10px !important;
  padding-top: 10px !important;
  gap: 9px !important;
}

body .map_block_inner .map_address_left .map-address-detail__mini-card {
  min-height: 58px !important;
  padding: 10px !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 8px !important;
}

body .map_block_inner .map_address_left .map-address-detail__mini-icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
}

body .map_block_inner .map_address_left .map-address-detail__mini-title {
  font-size: 11.5px !important;
  margin-bottom: 2px !important;
}

body .map_block_inner .map_address_left .map-address-detail__mini-text {
  font-size: 10.8px !important;
  line-height: 1.25 !important;
}

/* Убираем любые внутренние скроллы в карточке */
body .map_block_inner .map_address_left .map-address-detail--redesign::-webkit-scrollbar,
body .map_block_inner .map_address_left .mantor-map-detail::-webkit-scrollbar {
  display: none !important;
}

/* На небольших экранах список остаётся горизонтальным */
@media (max-width: 1220px) {
  body .map_block_inner .map_address_left .map-address-detail__about-main {
    grid-template-columns: 1fr !important;
  }

  body .map_block_inner .map_address_left .map-address-detail__hero-photo {
    height: 136px !important;
  }
}

@media (max-width: 991px) {
  body .map_block_inner .map_address_left,
  body .map_block_inner .map_render_right {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body .map_block_inner .map_render_right,
  body .map_block_inner .map_render_right #map,
  body #map {
    height: 540px !important;
    min-height: 540px !important;
    max-height: 540px !important;
  }

  body .map_block_inner .map_address_left .mantor-map-strip {
    flex-basis: 96px !important;
    max-height: none !important;
  }

  body .map_block_inner .map_address_left .map-address-detail--redesign {
    height: auto !important;
    overflow: visible !important;
  }
}


/* MANTOR MAP BALANCED VERTICAL LIST v31
   То же состояние, что v30, но список центров снова вертикальный.
   При этом карточка информации остаётся компактной и без внутреннего скролла. */
body .map_block_inner {
  min-height: 790px !important;
}

body .map_block_inner .map_address_left,
body .map_block_inner .map_render_right {
  height: 790px !important;
  min-height: 790px !important;
  max-height: 790px !important;
}

body .map_block_inner .map_render_right #map,
body #map {
  height: 790px !important;
  min-height: 790px !important;
  max-height: 790px !important;
}

body .map_block_inner .map_address_left {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 14px !important;
}

/* Вертикальный список центров */
body .map_block_inner .map_address_left .mantor-map-strip {
  flex: 0 0 188px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 0 4px 8px 0 !important;
  scroll-snap-type: none !important;
  box-sizing: border-box !important;
  cursor: default !important;
}

body .map_block_inner .map_address_left .mantor-map-strip::-webkit-scrollbar {
  width: 5px !important;
  height: 5px !important;
}

body .map_block_inner .map_address_left .mantor-map-strip::-webkit-scrollbar-thumb {
  background: rgba(8, 54, 114, .18) !important;
  border-radius: 999px !important;
}

/* Вертикальные карточки компактные, но на всю ширину */
body .map_block_inner .map_address_left .map_address_item.map_address_item--redesign {
  flex: 0 0 82px !important;
  width: 100% !important;
  min-height: 82px !important;
  max-height: 82px !important;
  padding: 11px 13px !important;
  grid-template-columns: 40px minmax(0, 1fr) 20px !important;
  gap: 9px !important;
  scroll-snap-align: none !important;
}

body .map_block_inner .map_address_left .map_address_item__mark {
  width: 40px !important;
  height: 40px !important;
  font-size: 18px !important;
}

body .map_block_inner .map_address_left .map_address_item.map_address_item--redesign .address_item_title {
  -webkit-line-clamp: 1 !important;
  font-size: 13px !important;
  line-height: 1.12 !important;
  margin-bottom: 3px !important;
}

body .map_block_inner .map_address_left .map_address_item.map_address_item--redesign .address_item_desc {
  font-size: 11.5px !important;
  line-height: 1.2 !important;
  margin-bottom: 4px !important;
}

body .map_block_inner .map_address_left .map_address_item__meta {
  gap: 5px !important;
}

body .map_block_inner .map_address_left .map_address_item__meta span {
  min-height: 18px !important;
  height: 18px !important;
  padding: 0 7px !important;
  font-size: 9.5px !important;
}

/* Детальная карточка занимает оставшееся место, без скролла */
body .map_block_inner .map_address_left .map_address_items {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  gap: 10px !important;
}

body .map_block_inner .map_address_left .mantor-map-detail {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body .map_block_inner .map_address_left .map-address-detail--redesign {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 14px 16px !important;
}

/* Контактный блок остаётся отдельными строками */
body .map_block_inner .map_address_left .map-address-detail__topline {
  flex: 0 0 auto !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  margin: 0 0 10px !important;
  padding: 0 0 10px !important;
}

body .map_block_inner .map_address_left .map-address-detail__brand {
  grid-template-columns: 46px minmax(0, 1fr) !important;
  gap: 12px !important;
}

body .map_block_inner .map_address_left .map-address-detail__avatar {
  width: 46px !important;
  height: 46px !important;
  border-radius: 14px !important;
  font-size: 22px !important;
}

body .map_block_inner .map_address_left .map-address-detail__badges {
  margin: 0 0 5px !important;
}

body .map_block_inner .map_address_left .map-address-detail__badges span {
  min-height: 20px !important;
  padding: 0 8px !important;
  font-size: 10px !important;
}

body .map_block_inner .map_address_left .map-address-detail--redesign .map-address-detail__title {
  font-size: 21px !important;
  line-height: 1.08 !important;
  margin: 0 0 6px !important;
}

body .map_block_inner .map_address_left .map-address-detail__status {
  min-height: 24px !important;
  padding: 0 9px !important;
  font-size: 10.5px !important;
}

body .map_block_inner .map_address_left .map-address-detail__contact-rows {
  gap: 4px !important;
  margin-top: 6px !important;
}

body .map_block_inner .map_address_left .map-address-detail__contact-row {
  grid-template-columns: 54px minmax(0, 1fr) !important;
  gap: 8px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

body .map_block_inner .map_address_left .map-address-detail__contact-label {
  font-size: 10px !important;
  line-height: 1.25 !important;
}

body .map_block_inner .map_address_left .map-address-detail__contact-values {
  gap: 2px 10px !important;
}

/* Фото и нижние блоки компактные, чтобы всё влезало */
body .map_block_inner .map_address_left .map-address-detail__about {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

body .map_block_inner .map_address_left .map-address-detail__about-main {
  grid-template-columns: minmax(0, .82fr) minmax(205px, 1.18fr) !important;
  gap: 12px !important;
  margin: 0 0 10px !important;
}

body .map_block_inner .map_address_left .map-address-detail__about h3,
body .map_block_inner .map_address_left .map-address-detail__gallery-section h4 {
  margin-bottom: 6px !important;
  font-size: 13.5px !important;
}

body .map_block_inner .map_address_left .map-address-detail__about p {
  font-size: 12px !important;
  line-height: 1.36 !important;
}

body .map_block_inner .map_address_left .map-address-detail__hero-photo {
  height: 124px !important;
  min-height: 124px !important;
  border-radius: 12px !important;
}

body .map_block_inner .map_address_left .map-address-detail__photo-strip {
  gap: 7px !important;
}

body .map_block_inner .map_address_left .map-address-detail__photo-thumb {
  height: 54px !important;
  min-height: 54px !important;
  border-radius: 10px !important;
}

body .map_block_inner .map_address_left .map-address-detail__bottom-info {
  flex: 0 0 auto !important;
  margin-top: 9px !important;
  padding-top: 9px !important;
  gap: 9px !important;
}

body .map_block_inner .map_address_left .map-address-detail__mini-card {
  min-height: 56px !important;
  padding: 9px 10px !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 8px !important;
}

body .map_block_inner .map_address_left .map-address-detail__mini-icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
}

body .map_block_inner .map_address_left .map-address-detail__mini-title {
  font-size: 11.5px !important;
  margin-bottom: 2px !important;
}

body .map_block_inner .map_address_left .map-address-detail__mini-text {
  font-size: 10.8px !important;
  line-height: 1.25 !important;
}

/* Убираем скролл в детальной карточке, оставляем только в вертикальном списке центров при большом количестве */
body .map_block_inner .map_address_left .map-address-detail--redesign::-webkit-scrollbar,
body .map_block_inner .map_address_left .mantor-map-detail::-webkit-scrollbar {
  display: none !important;
}

/* На небольших экранах вертикальный список остаётся компактным */
@media (max-width: 1220px) {
  body .map_block_inner .map_address_left .map-address-detail__about-main {
    grid-template-columns: 1fr !important;
  }

  body .map_block_inner .map_address_left .map-address-detail__hero-photo {
    height: 132px !important;
  }

  body .map_block_inner .map_address_left .mantor-map-strip {
    flex-basis: 178px !important;
  }
}

@media (max-width: 991px) {
  body .map_block_inner .map_address_left,
  body .map_block_inner .map_render_right {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body .map_block_inner .map_render_right,
  body .map_block_inner .map_render_right #map,
  body #map {
    height: 540px !important;
    min-height: 540px !important;
    max-height: 540px !important;
  }

  body .map_block_inner .map_address_left .mantor-map-strip {
    flex-basis: 188px !important;
    max-height: 188px !important;
  }

  body .map_block_inner .map_address_left .map-address-detail--redesign {
    height: auto !important;
    overflow: visible !important;
  }
}


/* MANTOR MAP VERTICAL BOTTOM PIN + BIGGER PHOTOS v33
   База — v31. Последнюю правку v32 не используем.
   Логика:
   - список центров остаётся вертикальным;
   - нижние «Режим работы / Услуги» прижаты ближе к нижней границе карточки;
   - за счёт распределения высоты верхний блок с картинками стал крупнее;
   - внутренняя карточка не должна требовать скролла. */
body .map_block_inner {
  min-height: 790px !important;
}

body .map_block_inner .map_address_left,
body .map_block_inner .map_render_right {
  height: 790px !important;
  min-height: 790px !important;
  max-height: 790px !important;
}

body .map_block_inner .map_render_right #map,
body #map {
  height: 790px !important;
  min-height: 790px !important;
  max-height: 790px !important;
}

/* Левая колонка как вертикальная система: поиск/соцсети/список/детали */
body .map_block_inner .map_address_left {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 14px !important;
}

/* Список центров вертикальный, но чуть компактнее, чтобы больше места осталось деталям */
body .map_block_inner .map_address_left .mantor-map-strip {
  flex: 0 0 165px !important;
  max-height: 165px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 0 4px 7px 0 !important;
  scroll-snap-type: none !important;
  box-sizing: border-box !important;
}

body .map_block_inner .map_address_left .map_address_item.map_address_item--redesign {
  flex: 0 0 72px !important;
  width: 100% !important;
  min-height: 72px !important;
  max-height: 72px !important;
  padding: 9px 12px !important;
  grid-template-columns: 38px minmax(0, 1fr) 18px !important;
  gap: 8px !important;
  border-radius: 14px !important;
}

body .map_block_inner .map_address_left .map_address_item__mark {
  width: 38px !important;
  height: 38px !important;
  font-size: 17px !important;
}

body .map_block_inner .map_address_left .map_address_item.map_address_item--redesign .address_item_title {
  font-size: 12.5px !important;
  line-height: 1.12 !important;
  margin-bottom: 2px !important;
}

body .map_block_inner .map_address_left .map_address_item.map_address_item--redesign .address_item_desc {
  font-size: 11px !important;
  line-height: 1.18 !important;
  margin-bottom: 3px !important;
}

body .map_block_inner .map_address_left .map_address_item__meta span {
  min-height: 17px !important;
  height: 17px !important;
  padding: 0 7px !important;
  font-size: 9px !important;
}

/* Детальная часть занимает всё оставшееся место */
body .map_block_inner .map_address_left .map_address_items {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  gap: 10px !important;
}

body .map_block_inner .map_address_left .mantor-map-detail {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

body .map_block_inner .map_address_left .map-address-detail--redesign {
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 13px 15px !important;
}

/* Верхняя часть компактнее, чтобы картинки можно было увеличить */
body .map_block_inner .map_address_left .map-address-detail__topline {
  flex: 0 0 auto !important;
  margin: 0 0 8px !important;
  padding: 0 0 8px !important;
  gap: 8px !important;
}

body .map_block_inner .map_address_left .map-address-detail__brand {
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 10px !important;
}

body .map_block_inner .map_address_left .map-address-detail__avatar {
  width: 42px !important;
  height: 42px !important;
  border-radius: 13px !important;
  font-size: 20px !important;
}

body .map_block_inner .map_address_left .map-address-detail__badges span {
  min-height: 19px !important;
  padding: 0 8px !important;
  font-size: 9.5px !important;
}

body .map_block_inner .map_address_left .map-address-detail--redesign .map-address-detail__title {
  font-size: 20px !important;
  line-height: 1.08 !important;
  margin: 0 0 5px !important;
}

body .map_block_inner .map_address_left .map-address-detail__status {
  min-height: 23px !important;
  padding: 0 9px !important;
  font-size: 10px !important;
}

body .map_block_inner .map_address_left .map-address-detail__contact-rows {
  gap: 3px !important;
  margin-top: 5px !important;
}

body .map_block_inner .map_address_left .map-address-detail__contact-row {
  grid-template-columns: 50px minmax(0, 1fr) !important;
  gap: 8px !important;
  font-size: 11.5px !important;
  line-height: 1.22 !important;
}

body .map_block_inner .map_address_left .map-address-detail__contact-label {
  font-size: 9.5px !important;
}

/* Верхняя зона с описанием и главным фото — крупнее */
body .map_block_inner .map_address_left .map-address-detail__about {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

body .map_block_inner .map_address_left .map-address-detail__about-main {
  grid-template-columns: minmax(0, .72fr) minmax(240px, 1.28fr) !important;
  gap: 13px !important;
  margin: 0 0 10px !important;
}

body .map_block_inner .map_address_left .map-address-detail__about h3,
body .map_block_inner .map_address_left .map-address-detail__gallery-section h4 {
  margin-bottom: 5px !important;
  font-size: 13px !important;
}

body .map_block_inner .map_address_left .map-address-detail__about p {
  font-size: 11.6px !important;
  line-height: 1.34 !important;
}

/* Главное фото увеличено */
body .map_block_inner .map_address_left .map-address-detail__hero-photo {
  height: 160px !important;
  min-height: 160px !important;
  border-radius: 12px !important;
}

body .map_block_inner .map_address_left .map-address-detail__hero-photo-badge {
  height: 24px !important;
  padding: 0 9px !important;
  font-size: 11px !important;
}

/* Мини-фото тоже чуть выше */
body .map_block_inner .map_address_left .map-address-detail__photo-strip {
  gap: 7px !important;
}

body .map_block_inner .map_address_left .map-address-detail__photo-thumb {
  height: 70px !important;
  min-height: 70px !important;
  border-radius: 10px !important;
}

/* Нижние карточки прижаты ближе к низу карточки, но без пустоты внутри себя */
body .map_block_inner .map_address_left .map-address-detail__bottom-info {
  flex: 0 0 auto !important;
  margin-top: auto !important;
  padding-top: 10px !important;
  gap: 9px !important;
  border-top: 1px solid rgba(8, 54, 114, .10) !important;
}

body .map_block_inner .map_address_left .map-address-detail__mini-card {
  min-height: 58px !important;
  padding: 9px 10px !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 8px !important;
}

body .map_block_inner .map_address_left .map-address-detail__mini-icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
}

body .map_block_inner .map_address_left .map-address-detail__mini-title {
  font-size: 11.5px !important;
  margin-bottom: 2px !important;
}

body .map_block_inner .map_address_left .map-address-detail__mini-text {
  font-size: 10.8px !important;
  line-height: 1.25 !important;
}

/* Скролла внутри карточки информации нет */
body .map_block_inner .map_address_left .map-address-detail--redesign::-webkit-scrollbar,
body .map_block_inner .map_address_left .mantor-map-detail::-webkit-scrollbar {
  display: none !important;
}

@media (max-width: 1220px) {
  body .map_block_inner .map_address_left .map-address-detail__about-main {
    grid-template-columns: 1fr !important;
  }

  body .map_block_inner .map_address_left .map-address-detail__hero-photo {
    height: 150px !important;
  }

  body .map_block_inner .map_address_left .map-address-detail__photo-thumb {
    height: 64px !important;
  }
}

@media (max-width: 991px) {
  body .map_block_inner .map_address_left,
  body .map_block_inner .map_render_right {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body .map_block_inner .map_render_right,
  body .map_block_inner .map_render_right #map,
  body #map {
    height: 520px !important;
    min-height: 520px !important;
    max-height: 520px !important;
  }

  body .map_block_inner .map_address_left .map-address-detail--redesign {
    height: auto !important;
    overflow: visible !important;
  }

  body .map_block_inner .map_address_left .map-address-detail__bottom-info {
    margin-top: 12px !important;
  }
}


/* MANTOR MAP GEO ROBUST v34
   Геолокация усилена в map.js и map-geo.js.
   Стили карты не изменялись. */


/* MANTOR MAP NO AUTO SELECT v35
   При переключении фильтров первый центр больше не выбирается автоматически.
   Пользователь сам выбирает центр из списка или кликом по маркеру. */
.map-address-detail--empty {
  height: 100% !important;
  min-height: 260px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 28px !important;
  border: 1px dashed rgba(8, 54, 114, .18) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(8,54,114,.035), rgba(255,255,255,.92)) !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.map-address-detail__empty-icon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 14px !important;
  background: rgba(8, 54, 114, .08) !important;
  color: #083672 !important;
}

.map-address-detail__empty-icon svg {
  width: 28px !important;
  height: 28px !important;
}

.map-address-detail__empty-title {
  margin-bottom: 7px !important;
  color: #07142f !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

.map-address-detail__empty-text {
  max-width: 340px !important;
  color: #6b7688 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
}


/* MANTOR MAP LIST-FIRST INTERACTION v36
   Поведение левой колонки:
   - если центр не выбран: показываем весь список центров, без сообщения "Выберите центр";
   - если центр выбран: список сжимается примерно до 2 карточек, ниже появляется блок информации;
   - список можно скроллить, чтобы выбрать другой центр. */

/* Базово колонка работает как список + детали */
body .map_block_inner .map_address_left .map_address_items {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* Ничего не выбрано: список занимает всю доступную высоту */
body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .mantor-map-strip {
  flex: 1 1 auto !important;
  max-height: none !important;
  height: auto !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 0 4px 0 0 !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .mantor-map-detail {
  display: none !important;
}

/* В полном списке карточки можно сделать чуть выше и спокойнее */
body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign {
  flex: 0 0 78px !important;
  min-height: 78px !important;
  max-height: 78px !important;
}

/* Центр выбран: сверху остаются примерно 2 карточки, ниже раскрывается информация */
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .mantor-map-strip {
  flex: 0 0 154px !important;
  max-height: 154px !important;
  height: 154px !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 0 4px 7px 0 !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map_address_item.map_address_item--redesign {
  flex: 0 0 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .mantor-map-detail {
  display: flex !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  animation: mantorDetailSlideUp .22s ease-out both !important;
}

@keyframes mantorDetailSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Убираем старый placeholder полностью, если где-то он остался в DOM */
.map-address-detail--empty {
  display: none !important;
}

/* На выбранном состоянии детальная карточка занимает низ колонки */
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail--redesign {
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
}

/* Вертикальный список — удобный тонкий скролл */
body .map_block_inner .map_address_left .mantor-map-strip::-webkit-scrollbar {
  width: 5px !important;
}

body .map_block_inner .map_address_left .mantor-map-strip::-webkit-scrollbar-thumb {
  background: rgba(8, 54, 114, .20) !important;
  border-radius: 999px !important;
}

@media (max-width: 991px) {
  body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .mantor-map-strip {
    max-height: 420px !important;
  }

  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .mantor-map-strip {
    flex-basis: 154px !important;
    max-height: 154px !important;
    height: 154px !important;
  }

  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .mantor-map-detail {
    overflow: visible !important;
  }
}


/* MANTOR MAP DETAIL CLOSE BUTTON v37
   Крестик закрывает выплывающий блок с информацией и возвращает полный список центров. */
.map-address-detail__actions {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  min-width: max-content !important;
}

.map-address-detail__close {
  appearance: none !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border: 1px solid rgba(8, 54, 114, .10) !important;
  border-radius: 999px !important;
  background: #f4f7fb !important;
  color: #083672 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease !important;
}

.map-address-detail__close svg {
  width: 15px !important;
  height: 15px !important;
  display: block !important;
}

.map-address-detail__close:hover {
  background: #083672 !important;
  color: #fff !important;
  border-color: #083672 !important;
  transform: translateY(-1px) !important;
}

.map-address-detail__close:active {
  transform: translateY(0) !important;
}

@media (max-width: 560px) {
  .map-address-detail__actions {
    justify-content: flex-start !important;
  }

  .map-address-detail__close {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }
}


/* MANTOR MAP GEO APPLY FIX v38
   Исправлена связка map.js + map-geo.js:
   координаты теперь применяются к карте после разрешения геолокации,
   а не блокируются флагом __mantorGeoApplied. */


/* MANTOR MAP BITRIX DATA SOURCE v39
   Карта берёт точки из /local/ajax/mantor-map-locations.php.
   Если Bitrix временно не отдаёт точки, map.js использует старый статичный массив как fallback. */


/* MANTOR MAP EXTENDED BITRIX PROPERTIES v40 */
.map-address-detail__badges {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 5px !important;
}

.map-address-detail__badges span,
.map_address_item__meta span {
  white-space: nowrap !important;
}

.map-address-detail__contact-row--socials {
  align-items: center !important;
}

.map-address-detail__social-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  min-width: 0 !important;
}

.map-address-detail__social-link {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: rgba(8, 54, 114, .07) !important;
  color: #083672 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: background .16s ease, color .16s ease, transform .16s ease !important;
}

.map-address-detail__social-link:hover {
  background: #083672 !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

.map_address_item__meta {
  flex-wrap: wrap !important;
  overflow: hidden !important;
  max-height: 40px !important;
}

.map_address_item__meta span[title="Есть выездная бригада"] {
  background: rgba(43, 158, 216, .12) !important;
  color: #083672 !important;
}


/* MANTOR MAP HAS_BRIGADE BITRIX LIST FIX v41
   Исправление логики, стили не менялись. */


/* MANTOR MAP HAS_BRIGADE TWO IBLOCKS FIX v42
   Исправлена PHP-логика определения HAS_BRIGADE для обоих инфоблоков. */


/* MANTOR MAP BITRIX GALLERY DESCRIPTION v43
   Описание, главное фото и фотогалерея берутся из свойств DESCRIPTION / MAIN_PHOTO / GALLERY. */


/* MANTOR MAP GALLERY FIELD FIX v44
   JS теперь отображает галерею из поля gallery, которое отдаёт Bitrix. */

/* MANTOR MAP DETAIL FULL LEFT COLUMN v45 */
body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .mantor-map-strip {
  display:flex!important; flex:1 1 auto!important; height:auto!important; max-height:none!important; min-height:0!important;
  overflow-x:hidden!important; overflow-y:auto!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .mantor-map-detail {
  display:none!important;
}

/* Когда центр выбран — список сверху полностью скрыт */
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection {
  flex:1 1 auto!important; min-height:0!important; height:100%!important;
  display:flex!important; flex-direction:column!important; overflow:hidden!important; gap:0!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .mantor-map-strip {
  display:none!important; flex:0 0 0!important; width:0!important; height:0!important; max-height:0!important; min-height:0!important;
  padding:0!important; margin:0!important; overflow:hidden!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .mantor-map-detail {
  display:flex!important; flex:1 1 auto!important; width:100%!important; height:100%!important; min-height:0!important; overflow:hidden!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail--redesign {
  flex:1 1 auto!important; width:100%!important; height:100%!important; min-height:0!important;
  display:flex!important; flex-direction:column!important; overflow:hidden!important;
  padding:18px 20px!important; border-radius:22px!important;
}

/* Увеличенная шапка */
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__topline {
  flex:0 0 auto!important; margin:0 0 13px!important; padding:0 0 13px!important; gap:12px!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__brand {
  grid-template-columns:52px minmax(0,1fr)!important; gap:14px!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__avatar {
  width:52px!important; height:52px!important; border-radius:15px!important; font-size:24px!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__badges {
  gap:7px!important; margin-bottom:7px!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__badges span {
  min-height:24px!important; padding:0 10px!important; font-size:10.5px!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail--redesign .map-address-detail__title {
  font-size:26px!important; line-height:1.04!important; margin:0 0 8px!important; letter-spacing:-.035em!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__status {
  min-height:28px!important; padding:0 12px!important; font-size:11px!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__close {
  width:34px!important; height:34px!important; min-width:34px!important;
}

/* Контакты */
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__contact-rows {
  gap:5px!important; margin-top:7px!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__contact-row {
  grid-template-columns:58px minmax(0,1fr)!important; gap:10px!important; font-size:13px!important; line-height:1.25!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__contact-label {
  font-size:10.5px!important;
}

/* Фото/описание крупнее */
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__about {
  flex:0 0 auto!important; margin:0!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__about-main {
  grid-template-columns:minmax(0,.82fr) minmax(250px,1.18fr)!important; gap:16px!important; margin:0 0 14px!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__about h3,
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__gallery-section h4 {
  margin-bottom:9px!important; font-size:15px!important; line-height:1.1!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__about p {
  font-size:13px!important; line-height:1.42!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__hero-photo {
  height:210px!important; min-height:210px!important; border-radius:16px!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__hero-photo-badge {
  height:28px!important; padding:0 11px!important; font-size:12px!important; border-radius:999px!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__gallery-section {
  margin-top:2px!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__photo-strip {
  gap:9px!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__photo-thumb {
  height:86px!important; min-height:86px!important; border-radius:13px!important;
}

/* Нижние карточки всегда внизу */
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__bottom-info {
  flex:0 0 auto!important; margin-top:auto!important; padding-top:14px!important; gap:12px!important;
  border-top:1px solid rgba(8,54,114,.11)!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__mini-card {
  min-height:72px!important; padding:13px 14px!important; grid-template-columns:34px minmax(0,1fr)!important;
  gap:11px!important; border-radius:14px!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__mini-icon {
  width:34px!important; height:34px!important; border-radius:10px!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__mini-title {
  font-size:13px!important; margin-bottom:4px!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__mini-text {
  font-size:12px!important; line-height:1.26!important;
}

/* Пустые карточки без фото/описания */
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__about--empty {
  flex:1 1 auto!important;
}
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__about--empty .map-address-detail__about-text {
  min-height:180px!important;
}

@media (max-width:1320px){
  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__hero-photo{
    height:190px!important; min-height:190px!important;
  }
  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__photo-thumb{
    height:78px!important; min-height:78px!important;
  }
  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail--redesign .map-address-detail__title{
    font-size:24px!important;
  }
}
@media (max-width:1220px){
  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__about-main{
    grid-template-columns:1fr!important;
  }
  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__hero-photo{
    height:210px!important;
  }
  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__photo-thumb{
    height:76px!important;
  }
}
@media (max-width:991px){
  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .mantor-map-detail{
    overflow:visible!important;
  }
  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail--redesign{
    height:auto!important; overflow:visible!important;
  }
  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__bottom-info{
    margin-top:16px!important;
  }
}


/* MANTOR MAP DETAIL FULL LEFT COLUMN BALANCE v46
   Чуть уменьшаем внутренние элементы, чтобы нижние мини-блоки полностью помещались. */
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail--redesign {
  padding: 16px 18px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__topline {
  margin-bottom: 10px !important;
  padding-bottom: 10px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__brand {
  grid-template-columns: 48px minmax(0, 1fr) !important;
  gap: 12px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__avatar {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  font-size: 22px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__badges {
  gap: 6px !important;
  margin-bottom: 5px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__badges span {
  min-height: 21px !important;
  padding: 0 9px !important;
  font-size: 10px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail--redesign .map-address-detail__title {
  font-size: 24px !important;
  line-height: 1.04 !important;
  margin-bottom: 6px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__status {
  min-height: 25px !important;
  padding: 0 10px !important;
  font-size: 10.5px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__close {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__contact-rows {
  gap: 3px !important;
  margin-top: 5px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__contact-row {
  grid-template-columns: 56px minmax(0, 1fr) !important;
  gap: 9px !important;
  font-size: 12.5px !important;
  line-height: 1.2 !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__contact-label {
  font-size: 10px !important;
}

/* Главное фото немного ниже, фотогалерея компактнее */
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__about-main {
  gap: 14px !important;
  margin-bottom: 11px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__about h3,
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__gallery-section h4 {
  margin-bottom: 7px !important;
  font-size: 14px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__about p {
  font-size: 12.5px !important;
  line-height: 1.35 !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__hero-photo {
  height: 178px !important;
  min-height: 178px !important;
  border-radius: 15px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__hero-photo-badge {
  height: 25px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__gallery-section {
  margin-top: 0 !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__photo-strip {
  gap: 8px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__photo-thumb {
  height: 70px !important;
  min-height: 70px !important;
  border-radius: 12px !important;
}

/* Нижний блок оставляем внизу, но делаем его чуть компактнее */
body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__bottom-info {
  margin-top: auto !important;
  padding-top: 11px !important;
  gap: 10px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__mini-card {
  min-height: 62px !important;
  padding: 10px 12px !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: 10px !important;
  border-radius: 13px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__mini-icon {
  width: 30px !important;
  height: 30px !important;
  border-radius: 9px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__mini-title {
  font-size: 12px !important;
  margin-bottom: 3px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__mini-text {
  font-size: 11px !important;
  line-height: 1.2 !important;
}

/* Для средних экранов ещё немного сжимаем фото */
@media (max-width: 1320px) {
  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__hero-photo {
    height: 164px !important;
    min-height: 164px !important;
  }

  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__photo-thumb {
    height: 64px !important;
    min-height: 64px !important;
  }

  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail--redesign .map-address-detail__title {
    font-size: 23px !important;
  }
}

@media (max-width: 1220px) {
  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__hero-photo {
    height: 176px !important;
    min-height: 176px !important;
  }

  body .map_block_inner .map_address_left .map_address_items.mantor-map-has-selection .map-address-detail__photo-thumb {
    height: 62px !important;
    min-height: 62px !important;
  }
}


/* MANTOR MAP LIST DETAILS CTA v47
   В списке центров добавлена подсказка "Подробнее", чтобы было очевидно,
   что карточка открывает информационный блок. */
body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign {
  position: relative !important;
  padding-right: 122px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign::after {
  content: "Подробнее" !important;
  position: absolute !important;
  right: 34px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 78px !important;
  height: 28px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: rgba(8, 54, 114, .07) !important;
  color: #083672 !important;
  font-size: 10.5px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  transition: background .16s ease, color .16s ease, transform .16s ease !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign:hover::after {
  background: #083672 !important;
  color: #fff !important;
  transform: translateY(-50%) translateX(2px) !important;
}

/* Старую маленькую иконку справа оставляем, но делаем её спокойнее,
   чтобы главный акцент был на "Подробнее". */
body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign .map_address_item__arrow,
body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign .address_item_arrow {
  opacity: .45 !important;
}

/* На узких экранах надпись компактнее */
@media (max-width: 560px) {
  body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign {
    padding-right: 94px !important;
  }

  body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign::after {
    right: 28px !important;
    min-width: 62px !important;
    height: 24px !important;
    padding: 0 9px !important;
    font-size: 9.5px !important;
  }
}


/* MANTOR MAP LIST DETAILS TEXT v48
   Простая аккуратная надпись "Подробнее" в правом нижнем углу карточки. */
body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign {
  padding-right: 44px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign::after {
  content: "Подробнее" !important;
  position: absolute !important;
  right: 18px !important;
  bottom: 12px !important;
  top: auto !important;
  transform: none !important;

  display: inline !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;

  color: rgba(8, 54, 114, .55) !important;
  font-size: 10.5px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  transition: color .16s ease !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign:hover::after {
  background: transparent !important;
  color: #083672 !important;
  transform: none !important;
}

@media (max-width: 560px) {
  body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign {
    padding-right: 40px !important;
  }

  body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign::after {
    right: 16px !important;
    bottom: 10px !important;
    font-size: 10px !important;
  }
}


/* MANTOR MAP HIDE TOP SOCIAL BUTTONS v49
   Убираем три кнопки соцсетей под поиском в левой колонке карты. */
body .map_block_inner .map_address_left .map_social_block,
body .map_block_inner .map_address_left .map-address-socials,
body .map_block_inner .map_address_left .map_social,
body .map_block_inner .map_address_left .social_block,
body .map_block_inner .map_address_left .socials,
body .map_block_inner .map_address_left .map-address-left__socials {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Если иконки были вставлены отдельной строкой сразу после поиска */
body .map_block_inner .map_address_left .address_search_item + .map_social_block,
body .map_block_inner .map_address_left .address_search_item + .map-address-socials,
body .map_block_inner .map_address_left .address_search_item + .social_block {
  display: none !important;
}


/* MANTOR MAP LIST DETAILS TEXT + SEARCH ICON FIX v50
   Исправляем "Подробнее": теперь это реальный маленький текст в правом нижнем углу,
   а не псевдо-кнопка. Заодно убираем значок справа в строке поиска. */

/* Отключаем старую псевдо-надпись из v47/v48 */
body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign::after {
  content: none !important;
  display: none !important;
}

/* Возвращаем нормальную компоновку карточки и не двигаем правый мини-значок */
body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign {
  position: relative !important;
  padding-right: 42px !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign .map_address_item__check {
  position: absolute !important;
  top: 16px !important;
  right: 18px !important;
  opacity: .7 !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item__details {
  position: absolute !important;
  right: 18px !important;
  bottom: 12px !important;
  z-index: 2 !important;
  color: rgba(8, 54, 114, .58) !important;
  font-size: 10.5px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  transition: color .16s ease !important;
}

body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign:hover .map_address_item__details {
  color: #083672 !important;
}

/* Убираем значок справа в строке поиска */
body .map_block_inner .map_address_left .address_search_item::before,
body .map_block_inner .map_address_left .address_search_item::after,
body .map_block_inner .map_address_left .address_search_item > svg,
body .map_block_inner .map_address_left .address_search_item > img,
body .map_block_inner .map_address_left .address_search_item .search_icon,
body .map_block_inner .map_address_left .address_search_item .map-search-icon,
body .map_block_inner .map_address_left .address_search_item .address_search_icon,
body .map_block_inner .map_address_left .address_search_item .address-icon,
body .map_block_inner .map_address_left .address_search_item [class*="icon"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

body .map_block_inner .map_address_left .address_search_item input,
body .map_block_inner .map_address_left .address_search_item .address_input,
body .map_block_inner .map_address_left .address_search_item #address {
  padding-right: 18px !important;
}

@media (max-width: 560px) {
  body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item__details {
    right: 16px !important;
    bottom: 10px !important;
    font-size: 10px !important;
  }

  body .map_block_inner .map_address_left .map_address_items.mantor-map-no-selection .map_address_item.map_address_item--redesign .map_address_item__check {
    right: 16px !important;
  }
}


/* MANTOR MAP WORK SCHEDULE v57 */
body .map-address-detail__mini-text {
	white-space: pre-line !important;
}


/* MANTOR MAP WORK TIME SCHEDULE v58: WORK_TIME JSON also supported. */

/* MANTOR MAP WORK TIME SCHEDULE v59: admin selector fixed, map output unchanged. */
