/* ДОРАБОТКА - АРТФАКТОР  */
/* РАЗРАБОТЧИК - НИКИТА МАТЕЮК */

/* Шапка */

.phone-dropdown::after {
  display: none !important;
}

.pc-menu-header a.callback-button {
  margin-right: -24px;
}

.header-menu-content a {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  text-transform: initial;
}

.pc-submenu-open-menu a {
  font-weight: 400;
}

.catalog-button {
  gap: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.top_mobile_region {
  bottom: -24px;
}

.place-marker::after {
  content: "";
}

.confirm_region {
  border-radius: 16px;
}

.right-icons {
  gap: 18px;
}

.simple-sub-menu {
  overflow: hidden;
  min-width: 200px;
  padding: 12px 0;
  margin-left: 0;
  box-shadow: 0px 0px 3px 0px #a7a7a7;
}

.simple-sub-menu a {
  font-weight: 400;
}

.close-submenu-button {
  top: 12px;
  right: -4px;
}

.header-menu-content li {
  justify-content: flex-start;
}

.pc-submenu-open-menu.active {
  background-color: transparent;
}

.mobile-sub-menu:not(:last-child) {
  border-bottom: 1px solid #f1f1f1;
}

.mobile-sub-menu ul {
  animation: none;
}

.mobile-sub-menu .dropdown {
  border-top: 1px solid #f1f1f1;

  padding-top: 0;
  padding-left: 8px;
  margin-top: 8px;
}

.mobile-sub-menu .dropdown a {
  color: #6d6d6d;
}

.mobile-sub-menu .dropdown li:not(:last-child) {
  border-bottom: 1px solid #f1f1f1;
}

.mobile-nav-menu-container ul li {
  list-style-type: none;
}

.mobile-menu-contacts {
  margin-top: 32px;
}

/* ------------------------------------------ */

/* Футер */

.footer-content ul .bold-menu a,
.footer-contacts-container a {
  font-weight: 700 !important;
  text-transform: initial !important;
}

.footer-content ul li {
  list-style-type: none;
}
.footer-content ul li::before {
  content: none !important;
  margin: 0 !important;
}

#footer .bold-menu > a {
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

#footer .footer-contacts-container .address {
  text-transform: initial;
}

@media screen and (max-width: 768px) {
  #footer .footer-contacts-container .address {
    text-align: left;
    max-width: 100%;
  }

  #footer .footer-content {
    gap: 0 16px;
  }

  #footer .footer-content ul:nth-of-type(1) {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }

  #footer .footer-content ul:nth-of-type(2) {
    grid-column: 2 / 3;
    grid-row: 2 span;
  }

  #footer .footer-content ul:nth-of-type(3) {
    grid-row: 3 / 5;
    grid-column: 1 / 2;
  }
}

/* ------------------------------------------ */

/* Меню каталога */

.pc-has-subcategory .pc-sub-menu-category-name::after {
  content: none;
}

.pc-submenu-open-menu li {
  padding-right: 8px;
}

.pc-submenu-open-menu li:not(:last-child) {
  margin-bottom: 8px !important;
}

.pc-submenu-open-menu li::before {
  flex-shrink: 0;
}

.catalog-button > .catalog-sub-menu::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;

  width: 99vw;
  height: 100%;

  background-color: #ffffff;
  transform: translate(-50%, -50%);
}

.catalog-button .left-menu-catalog {
  margin-left: -80px;
}

.catalog-button .section-submenu {
  margin-top: 20px;
  padding: 0 20px 20px 20px;
  left: 240px;
  width: calc(100% - 172px);
}

/* .catalog-sub-menu {
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
} */

/* ------------------------------------------ */

/* Услуги */

.services-list-inner {
  gap: 32px;
  margin: 50px 0 92px;
}

.service-content ul > li {
  margin-top: 0;
}

.service-content ul li::before {
  content: none;
}

.service-center-content:nth-of-type(2) {
  margin-top: 92px;
}

.service-center-content:nth-of-type(3) {
  background-image: none;
}

.service-text-content > *:last-child {
  margin-bottom: 0;
}

.service-item {
  transition: 0.25s ease;
}

.service-item:hover {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.service-item h3 {
  font-weight: 700;
  text-transform: uppercase;
}

.service-brands-list img {
  width: 100%;
  object-fit: contain;
}

/* ------------------------------------------ */

/* Другие услуги */

.montag-list {
  gap: 32px 0;
}

.guarantees-item {
  width: 49%;
  padding: 32px 20px 24px 132px;
}

.other-services-list {
  margin-bottom: 80px;
}

.other-service-item {
  height: auto;
}

.other-service-item:hover {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.other-service-item p {
  margin-bottom: 0;
  padding: 16px;

  font-weight: 700;
}

.other-service-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

@media screen and (max-width: 768px) {
  .service-content h2,
  .service-why-content h2,
  .service-gray-sect h2 {
    margin-top: 0;
    font-size: 24px;
    line-height: inherit;
  }

  .montag-list {
    flex-direction: column;
  }

  .guarantees-item {
    width: 100%;
  }

  .service-container {
    text-align: center;
  }

  .service-contacts-container {
    flex-direction: column;
    justify-content: center;
  }

  .service-contacts-container .s-tel {
    width: auto;
    padding: 0;
  }

  .service-title {
    margin-bottom: 24px;
  }

  .service-button {
    display: inline-block;
  }

  .service-image-content {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .service-image-content img {
    height: 100%;
  }

  .service-center-content:nth-of-type(2) {
    margin-top: 50px;
  }

  .service-center-content:nth-of-type(3) {
    flex-direction: column-reverse;
  }

  .service-center-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-list-inner {
    margin-top: 0;
    margin-bottom: 30px;
  }

  .service-gray-sect {
    margin-bottom: 30px;
    padding-bottom: 0;
  }

  .service-center-item {
    gap: 8px;
  }

  .service-item img {
    width: 100%;
    height: 172px;

    margin-bottom: 24px;
  }

  .service-center-content:nth-of-type(1) .service-center-item:nth-child(3) {
    padding-left: 24px;
  }

  .footer-container {
    padding: 24px !important;
  }

  .footer-content {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content ul {
    width: auto !important;
    text-align: left !important;
  }

  .footer-content ul li {
    margin: 0;
  }

  .footer-contacts-container {
    flex-direction: column;
    align-items: flex-start !important;

    grid-column: 2 span;
    grid-row: 1 / 2;

    border-top: none !important;
    padding-top: 0 !important;
  }

  .feedback-social-buttons {
    margin-top: 16px !important;
  }
}

/* ------------------------------------------ */

/* Блок обратной связи */

.service-feedback-section {
  margin-bottom: -24px;
}

.service-feedback-section h2 {
  margin-top: 0;
}

.feed-back-right-part {
  padding-top: 0;
}

/* ------------------------------------------ */

/* Общие стили */

.btn.btn-default,
#basket-root .basket-checkout-section .btn-default.basket-btn-checkout:not(:hover),
#basket-root .basket-checkout-section .btn-default.basket-btn-checkout:not(:active),
#basket-root .basket-checkout-section .btn-default.basket-btn-checkout:not(:focus),
#bx-soa-order-form .btn.btn-default {
  background-color: #2d7fa6;
  border-radius: 30px;
  border-color: transparent;
}

.button-more,
.button-more::after {
  transition: 0.25s ease;
}

.button-more:hover {
  background-color: #2d7fa6;
}

.button-more:hover::after {
  filter: brightness(100);
}

.form-element input {
  margin-bottom: 16px;
}

.montag-steps-list {
  margin-bottom: 0;
}

.montag-step-item {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.montag-step-head {
  gap: 16px;
  margin-bottom: 20px;
}

.montag-step-num {
  flex-shrink: 0;
}

.montag-item-title {
  margin: 0;
  text-transform: uppercase;
}

ul > li {
  list-style-type: initial;
}

/* ------------------------------------------ */

/* Страница статей */
.articles-border__wrapper {
  display: flex;
  gap: 30px;
  /* margin-bottom: 32px; */
  margin-top: 32px;
  padding: 15px;
  border-radius: 30px;
  border: 0.5px solid #a5a5a5;
}
.articles-border__wrapper p {
  padding: 6px 0;
  margin: 0;
}

.articles-border__wrapper ul {
  margin: 6px 0;
}
.articles-border__wrapper ul > li {
  margin-top: 0;
}
.articles-border__wrapper--table {
  display: block;
  border: none;
}
.articles-border__wrapper--text {
  display: block;
}
.articles-border__wrapper:nth-child(even) > .articles-border__image {
  order: 1;
}
.articles-border__image {
  width: 30%;
}
.articles-border__image > img {
  overflow: hidden;
  border-radius: 20px;
  width: 100%;
  height: auto;
}
.articles-border__info {
  width: 70%;
}
.articles-border__wrapper ul > li:before {
  display: none;
}
.articles-border__wrapper--table table {
  border: none;
}
.articles-border__wrapper--table table tr td,
.articles-border__wrapper--table table tr td p {
  padding: 8px;
  border: none;
  /* color: #000; */
  /* font-family: "Open Sans" !important; */
  /* font-size: 16px !important; */
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 22.4px */
}
.articles-border__wrapper--table table tr td:first-child,
.articles-border__wrapper--table table tr td:first-child P {
  background: #f3f3f3;
  font-weight: 700 !important;
}
.articles-border__wrapper--table table tr {
  border-bottom: 1px solid #000;
  border-top: none;
}
.articles-border__wrapper--table table tr:first-child {
  background: #f3f3f3;
  /* color: #000; */
  /* font-family: "Open Sans" !important; */
  /* font-size: 16px !important; */
  font-style: normal;
  font-weight: 700 !important;
  line-height: 140%; /* 22.4px */
}
.articles-border__wrapper--table table tr:first-child td p,
.articles-border__wrapper--table table tr:first-child td {
  /* font-size: 16px !important; */
  font-style: normal;
  font-weight: 700 !important;
  line-height: 140%; /* 22.4px */
}

.ordered-block.detail_content_wrapper .inner_wrapper_text .content-text ul > li::before {
  display: none;
}
/* /Страница статей */
/* 404 */
.page_error_block {
  background: #2d7fa6;
}
.page_error_block .error__middle {
  margin-left: -566px;
}
.page_error_block .error__44 {
  margin-left: -157px;
}
.page_error_block .subtitle404 {
  padding-top: 42px;
  color: #fff !important; 
  font-size: 50px !important;
  font-weight: 400;
  line-height: 140% !important; /* 70px */
}
.page_error_block .btn--white {
  height: 35px;
  padding: 8px 20px;
  background-color: #fff;
  color: #2d7fa6;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 20.8px */
  text-transform: uppercase;
}
.page_error_block .error__ico {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  padding-top: 60px;
  padding-bottom: 125px;
}
.page_error_block .error__ico > img {
  width: 100%;
  margin: 0;
  padding: 0 190px 0 0;
}
/* @media (max-width: 1000px) {
  #mobileheader {
    height: 0;
}
.subscribe-block {
    margin-top: 0;
}
} */

@media (max-width: 900px) {
  .articles-border__wrapper {
    flex-direction: column;
  }
  .articles-border__image {
    /* display: flex; */
    order: 1;
    width: 100%;
  }
  .articles-border__info {
    width: 100%;
  }
  .articles-border__wrapper--table {
    overflow-x: auto;
  }
  .page_error_block .image img {
    max-height: 135px;
    width: auto;
  }
  .page_error_block .error__44 {
    margin-left: -65px;
  }
  .page_error_block .error__middle {
    margin-left: -233px;
  }
  .page_error_block .error__ico {
    padding-bottom: 6px;
  }
  .page_error_block .error__ico > img {
    padding: 0 145px 0 0;
  }
  .page_error_block .subtitle404 {
    padding-top: 35px;
    font-size: 30px !important;
  }
}
@media (max-width: 540px) {
  .page_error_block .page_not_found {
    padding-top: 7px;
  }
  .page_error_block .page_not_found .image {
    margin-bottom: 0;
  }
  .page_error_block .image img {
    max-height: 105px;
  }
  /* .page_error_block .error__44 {
    margin-left: -50px;
  } */
  .page_error_block .error__middle {
    margin-left: -181px;
  }
  .page_error_block .error__ico {
    padding-top: 45px;
    padding-bottom: 37px;
  }
  .page_error_block .error__ico > img {
    padding: 0 37px 0 0;
  }
  .page_error_block .subtitle404 {
    font-size: 20px !important;
  }
}
/* /404 */
