.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;
  }
}
