.diler_title {
  font-style: normal;
  font-weight: 500;
  font-size: 40px;
  line-height: 53px;

  color: #000000;
}

.diler_page {
  margin-left: auto;
  margin-right: auto;
  display: block;
  padding-left: 30px;
  padding-right: 30px;
  max-width: 1380px;
}

.diler_header {
  padding-top: 40px;
  padding-bottom: 30px;
}

.diler_tab_item a {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;

  color: rgba(0, 0, 0, 0.3);
  text-decoration: none;
  position: relative;
  margin-right: 23px;
}

.diler_tab_item a.active {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 19px;

  color: #083672;
}

.diler_tab_item a.active:before {
  content: "";
  background: #083672;
  height: 2px;
  position: absolute;
  width: 100%;
  bottom: -5px;
}

.address_item {
  background: rgba(37, 40, 45, 0.08);
}

.address_item a {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 19px;
  padding-bottom: 18px;
  padding-left: 20px;
  margin-bottom: 10px;
  text-decoration: none;
}

.address_item svg {
  padding-right: 20px;
}

.address_input {
  background: rgba(37, 40, 45, 0.08);

  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  color: rgba(0, 0, 0, 0.3);
  /* Полный сброс стандартных стилей */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Убираем все границы и outline */
  border: none;
  outline: none;

  /* Убираем тени браузера */
  box-shadow: none;

  /* Убираем фон */
  background: none;

  /* Текст */
  font-family: inherit;
  font-size: 16px;
  color: #333;

  /* Курсор */
  cursor: text;
  width: 100%;
}

.diler_map_inner {
  padding: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  align-content: stretch;
}

.diler_address_left {
  border: 1px solid rgba(8, 54, 114, 0.2);
  padding: 20px;
  display: block;
  position: relative;
  width: 40%;
  max-width: 552px;
}

.diler_map_right {
  width: 50%;
}
.diler_map_right img {
  max-width: 100%;
}

.diler_select_items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 10px;
  align-content: stretch;
  margin-bottom: 50px;
}

.diler_select_item {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;

  color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(37, 40, 45, 0.1);
  padding: 10px;
  margin-right: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}

.diler_select_item.active {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 19px;
  background: rgba(8, 54, 114, 0.4);
  color: #fff;
}

.address_labels {
  display: flex;
}

.address_info .address_title {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 27px;

  color: #000000;
}

.address_info {
  width: 100%;
}

.address_info .address_text {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;

  color: rgba(0, 0, 0, 0.3);
}

.address_labels .address_label {
  margin-right: 12px;
}

.address_inner_items {
  max-height: 350px;
  overflow: scroll;
}

.address_inner_items::-webkit-scrollbar {
  display: none;
}

/* Партнер блок */
.partner_form_info a {
  background: #083672;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  align-content: stretch;
  margin-bottom: 140px;
  text-decoration: none;
}

.partner_form_title {
  font-style: normal;
  font-weight: 500;
  font-size: 40px;
  line-height: 53px;

  color: #ffffff;
}

/* Стили для детальной */

/* Детали по умолчанию скрыты */
.address_details {
  display: none;
  padding: 0;
  position: relative;
  background: #fff;
}

/* При открытии деталей */
.address_item.expanded {
  border-color: #667eea;
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
  border-radius: 20px;
}

.details_header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
  padding-top: 20px;
}

.label_sertif {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
}

.label_sertif_img {
  margin-right: 2px;
}

.detail_address_img {
  margin-right: 16px;
}

.detail_buttons {
  display: flex;
  position: absolute;
  right: 20px;
  top: 20px;
}

.label_sertif_text {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #083672;
}

.detail_address_title {
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #000000;
  margin-bottom: 10px;
}

.detail_buttons a {
  padding: 0;
  margin: 0;
}

.address_search_item {
  background: rgba(37, 40, 45, 0.08);
  display: flex;
  width: auto;
  padding: 20px;
}

.detail_address_info {
  display: flex;
  margin-bottom: 16px;
}

.detail_site_info {
  display: flex;
  margin-bottom: 12px;
}

.detail_address_info_left {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;

  color: rgba(0, 0, 0, 0.3);
  margin-right: 50px;
}

.detail_site_info_left {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;

  color: rgba(0, 0, 0, 0.3);
  margin-right: 62px;
}

.detail_full_info {
  margin-top: 24px;
  margin-bottom: 24px;
}

/* Открытие и закрытие */
.accordion_container {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.accordion_header {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 27px;

  color: #000000;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
}

.accordion_header:hover {
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.accordion_title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 16px;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 27px;
  color: #000000;
  cursor: pointer;
}

.accordion_icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion_item {
  margin-bottom: 16px;
}

.accordion_item.active svg {
  transform: rotate(180deg);
  padding: 0;
  fill: rgba(0, 0, 0, 0.2);
}

.accordion_item.active svg path {
  fill: rgba(0, 0, 0, 0.2);
}

.accordion_item.active .accordion_title {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 27px;

  color: rgba(0, 0, 0, 0.2);
}

.accordion_content {
  max-height: 0;
  overflow: hidden;
}

.accordion_item.active .accordion_content {
  max-height: 2000px; /* Достаточно большой */
}

.content_wrapper {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.1s;
  background: #fff;
}

.accordion_item.active .content_wrapper {
  opacity: 1;
}

.work_time {
  margin-bottom: 12px;
}

.work_time_title {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  /* identical to box height */

  color: rgba(0, 0, 0, 0.3);
}

.phone_title {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.3);
}

.services_title {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;

  color: rgba(0, 0, 0, 0.3);
}

.work_time_info {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;

  color: #000000;
}

.phone_info {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  /* identical to box height */

  color: #000000;
}

.content_phone_inner {
  margin-bottom: 12px;
}

.content_services_items .services_item {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #000000;
}

.detail_description_info {
  display: flex;
  margin-bottom: 16px;
}

.detail_site_description_left {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  color: rgba(0, 0, 0, 0.3);
  margin-right: 20px;
}

.gallery_items {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  align-content: stretch;
  gap: 2px;
  margin-bottom: 24px;
}

.gallery_items a {
  margin: 0;
  padding: 0;
}

.content_services_items .services_item {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #000000;
  margin-bottom: 8px;
}

.more_info_city {
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  line-height: 13px;

  color: #083672;
  margin-top: 12px;
  position: relative;
}
.more_info_city a {
  margin: 0;
  padding: 0;
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  line-height: 13px;

  color: #083672;
  margin-bottom: 6px;
  margin-left: 12px;
}

.more_info_city:before {
  content: "";
  background: #083672;
  width: 1px;
  position: absolute;
  height: 100%;
}

.more_city_info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
}

/* Отзывы */
.review_header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
}

.review_header_left {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
  margin-bottom: 12px;
}

.review_info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
}

.user_img {
  margin-right: 8px;
}

.user_name {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;

  color: #000000;
}

.user_level {
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  line-height: 13px;

  color: rgba(0, 0, 0, 0.3);
}

.subscribe a {
  font-style: normal;
  font-weight: 500;
  font-size: 10px;
  line-height: 13px;

  color: rgba(8, 54, 114, 0.5);

  background: rgba(8, 54, 114, 0.1);
  border-radius: 5px;
  padding: 0;
  margin: 0;
  padding: 5px;
}

.review_stars {
  margin-right: 8px;
}

.review_date {
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  line-height: 13px;

  color: rgba(0, 0, 0, 0.3);
}

.review_text {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;

  color: #000000;
}

.diler_page .map_inner {
  margin-top: 0;
}

.address_detail_info {
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: stretch;
  position: relative;
}

.diler_status {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
}

.diler_status p {
  color: #083672;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.map_detail_ections {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: stretch;
  align-content: stretch;
  margin-left: auto;
  right: 0;
  position: absolute;
}

.map_detail_img {
  margin-right: 16px;
}

.detail_info_header {
  display: flex;
}

.map_detail_info {
  display: block;
  width: 100%;
}

.map_detail_ections .compare_button {
  display: block;
  margin-right: 12px;
  width: 24px;
  height: 24px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.map_detail_ections .close_button {
  display: block;
  margin-right: 12px;
  width: 24px;
  height: 24px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.address_detail_info_header {
  position: relative;
  display: flex;
}

.detail_diler_title {
  color: #000;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.detail_dop_info .detail_dop_left {
  color: rgba(0, 0, 0, 0.3);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: 50px;
  margin-right: 45px;
}

.detail_dop_info .detail_dop_right {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.detail_dop_info {
  display: flex;
  margin-bottom: 16px;
}

.address_detail_info_body {
  margin-top: 24px;
}

.faq-item {
  background: white;
  overflow: hidden;
  margin-bottom: 16px;
}

.question {
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
  cursor: pointer;
}

.question span {
  margin-left: 8px;
  width: 20px;
  height: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: stretch;
}

.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.work_time_inner {
  margin-top: 16px;
}

.faq-item.active .answer {
  max-height: 600px;
}

.faq-item.active .question {
  color: rgba(0, 0, 0, 0.2);
}

.faq-item.active .question span {
  transform: rotate(180deg);
}

.faq-item.active .question span svg path {
  fill: rgba(0, 0, 0, 0.2);
}

.work_time_inner .work_time {
  color: rgba(0, 0, 0, 0.3);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.phone_inner {
  margin-top: 12px;
  margin-bottom: 12px;
}

.phone_inner .phone {
  color: rgba(0, 0, 0, 0.3);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 4px;
}

.work_tile_text {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.uslugi_inner {
  margin-bottom: 40px;
}

.uslugi_inner .uslugi {
  color: rgba(0, 0, 0, 0.3);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.uslugi_inner .uslugi {
  margin-bottom: 8px;
}

.usluga_items .usluga_item {
  margin-bottom: 8px;
  color: #000;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.usluga_item.dop_select {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: stretch;
}

.dop_select_title {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: flex-start;
}

.usluga_dop_items {
  position: relative;
}

.usluga_dop_items::before {
  content: "";
  height: 80px;
  width: 1px;
  background: #083672;
  position: absolute;
  top: 15px;
}

.usluga_dop_items .dop_item {
  color: #083672;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-left: 12px;
  margin-bottom: 8px;
  margin-top: 12px;
}

.usluga_item.dop_select {
  cursor: pointer;
}

.usluga_item.dop_select .usluga_dop_items {
  display: none;
}

.usluga_item.dop_select.active .usluga_dop_items {
  display: block;
}

/* Отзывы */

.review_item_personal {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: flex-start;
  margin-bottom: 12px;
}

.review_item .review_img {
  margin-right: 15px;
}

.review_item .review_right_info .review_name {
  color: #000;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 5px;
}

.review_item .review_right_info .review_job {
  color: rgba(0, 0, 0, 0.3);
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.review_item .review_right_info .subscribe {
  color: rgba(8, 54, 114, 0.5);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border-radius: 5px;
  background: rgba(8, 54, 114, 0.1);
  position: absolute;
  right: 0;
  padding: 5px;
  text-decoration: none;
}

.review_right_info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  align-content: flex-start;
  width: 100%;
  position: relative;
}

.reviews_inner {
  margin-top: 22px;
}

.review_date {
  color: rgba(0, 0, 0, 0.3);
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.review_date_info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: flex-start;
}

.review_date_info .review_stars {
  margin-right: 8px;
}

.review_text_info {
  color: #000;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 6px;
}

.review_read_more {
  color: rgba(0, 0, 0, 0.3);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

.review_buttons {
  display: flex;
  margin-top: 10px;
}

.review_buttons .like {
  margin-right: 10px;
}

.review_buttons .dislike_active {
  margin-right: 10px;
}

.like_active.active svg path {
  fill: #083672;
  stroke: #083672;
  stroke-opacity: 1;
}

.dislike_active.active svg path {
  fill: #083672;
  stroke: #083672;
  stroke-opacity: 1;
}

/* событие клика */
.address_detail_info_item {
  display: none;
}
.map_address_left {
  position: relative;
}

.address_detail_info_item.active {
  display: block;
  position: absolute;
  top: 0;
  background: #fff;
  margin-right: 20px;
  margin-top: 20px;
}

@media (max-width: 992px) {
  .partner_form_title {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 53px;
    color: #ffffff;
  }
}
