@media (max-width: 992px) {
  .footer_desctop {
    display: none;
  }

  .footer_mobile {
    display: flex;
    padding: 0;
  }
  .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }

  .topbar__inner {
    gap: 24px;
  }
  .container.topbar__inner {
    margin-top: 9px;
    margin-bottom: 8px;
  }
  .logo img {
    max-width: revert-rule;
    height: auto;
    min-width: auto;
  }

  .mobile_topbar_inner {
    display: block;
  }

  .mobile_topbar_icon {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: 1.8px solid #6cb043;
    border-radius: 4px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
  }

  .mobile_topbar_inner {
    display: flex;
    gap: 12px;
  }

  .mobile_service_menu {
    background: #188542;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: stretch;
  }

  .mobile_service_menu .service {
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 124.3%;
    /* or 17px */
    display: flex;
    align-items: center;
    text-align: center;
    margin-left: 25px;
    color: #ffffff;
  }

  .service_icon {
    margin-right: 30px;
    margin-bottom: 9px;
  }

  .intro__right .section-title {
    text-align: center;
  }

  .brands .section-title {
    text-align: center;
    width: 100%;
  }

  .mobile_service_menu {
    display: flex;
  }

  .header__topline {
    display: none;
  }

  .service_icon svg {
    fill: #6cb043;
  }
  .service_icon .mobile_path_icon {
    fill: #fff;
  }

  .banner-wrap {
    position: relative;
    overflow: hidden;
    margin-left: -20px;
    margin-right: -20px;
    margin-top: -25px;
  }

  .banner {
    position: relative;
    background: #fff;
    border: none;
    border-radius: 0;
    overflow: hidden;
    min-height: 179px;
  }
  .banner__content {
    border-radius: 0;
  }

  .rules_mobile {
    background: radial-gradient(
      49.88% 99.52% at 22.03% 54.11%,
      #6cb043 0%,
      #188542 100%
    );
    border: 1px solid #6cb043;
    border-radius: 6px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: stretch;
  }

  .rules_mobile_title {
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 16px;
    margin-top: 15px;
    margin-left: 21px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: stretch;
  }

  .rules_mobile_icon {
    margin-right: 10px;
  }

  .rules_mobule_button a {
    background: #6cb043;
    border: 1px solid #ffffff;
    border-radius: 6px;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 124.3%;
    display: flex;
    align-items: center;
    text-align: center;
    color: #ffffff;
    padding: 10px 17px;
    margin-right: 10px;
  }
  .container.topbar__inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: stretch;
  }

  .cat-card {
    height: 161px;
    max-width: 155px;
    border: none;
  }

  .repair__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    align-content: stretch;
  }

  .cat-card__img {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 40%;
    width: auto;
    object-fit: contain;
    z-index: 22;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.2));
  }

  .repair__grid .btn--go {
    border: none;
  }

  .rules_desctop {
    display: none;
  }
  .promo-banner {
    flex-direction: column;
    text-align: center;
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
  }

  .promo-banner__title {
    font-weight: 800;
    font-size: 14px;
    line-height: 117%;
    display: flex;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
  }
  .advantages_text_mobile {
    display: block;
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 119%;
    /* or 15px */
    text-align: center;
    margin-bottom: 20px;
    color: #565656;
  }

  .advantages .section-title {
    font-size: 17px;
    text-align: center;
  }

  .form-grid {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
    width: 100%;
  }

  .field-group {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .brands .carousel .slider__arrow {
    display: none;
  }

  .brands .carousel {
    position: relative;
    padding: 0;
  }
  .brand-card__name {
    display: none;
  }

  .brand-card__logo {
    max-width: 60px;
    margin-top: 40px;
  }

  .brand-card__phone {
    right: -30px;
  }
  .news .section-title {
    font-style: normal;
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    color: #000000;
  }

  .payment-card.mobile_card {
    background: linear-gradient(358.69deg, #6cb043 1.12%, #188542 102.99%);
    box-shadow: 0px 2px 6px rgba(108, 176, 67, 0.4);
    border-radius: 8px;
    color: #fff;
  }
  .payment-card.mobile_card .label {
    color: #fff;
  }

  /* Страница оплаты */
  section.hero.bg_image {
    margin-left: -20px;
    margin-right: -20px;

    font-style: normal;
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;
    /* or 14px */
    display: flex;
    align-items: center;
    background: url("/assets/masterpin_template/assets/mobile/payment_mobile_bg.png")
      no-repeat;
    color: #ffffff;
  }

  .hero.bg_image .hero-deco_icon {
    width: 100%;
    display: none;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    margin-bottom: 55px;
  }

  .payment-system-card .icon-wrap {
    display: none !important;
  }

  .info_payment_mobile {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: stretch;
  }

  .icon-wrap_mobile {
    max-width: 70px;
    margin-right: 35px;
  }

  .payment-system-card .info .desc .step-list {
    margin-top: 6px;
    padding-left: 20px;
    text-align: left;
  }

  .payment-system-card .info .desc {
    font-size: 13px;
    text-align: left;
  }

  .brands__text {
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 100%;
    /* or 13px */
    text-align: center;

    color: #565656;
  }

  .booking_form_footer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: stretch;
    align-content: stretch;
    margin-left: auto;
    margin-top: 20px;
  }

  .booking_form_home .btn-submit {
    font-size: 9px;
  }

  .news .news-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    /* min-width: 270px; */
    min-height: 347px;
  }

  .contacts__head .city-tabs {
    display: flex;
    flex-wrap: nowrap; /* запрещаем перенос */
    overflow-x: auto; /* включаем горизонтальный скролл */
    -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
    scrollbar-width: none; /* скрываем скроллбар в Firefox */
    -ms-overflow-style: none; /* скрываем в IE/Edge */
    gap: 8px; /* отступы между кнопками (опционально) */
    padding: 4px 0; /* небольшие вертикальные отступы */
  }

  .contacts__head .city-tabs::-webkit-scrollbar {
    display: none; /* скрываем скроллбар в Chrome/Safari */
  }

  .city-tab {
    flex: 0 0 auto; /* кнопки не сжимаются и не растягиваются */
    white-space: nowrap; /* текст не переносится */
  }

  /* Оплата мобильная */
  section.hero.bg_image {
    min-height: 100%;
  }

  .payment-system-card .info_title_payment {
    display: none;
  }

  .info_payment_mobile .info_title_payment {
    display: block;
  }

  .payment-card.mobile_card {
    display: flex;
  }

  .hero.bg_image h1 {
    font-style: normal;
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;
    display: flex;
    align-items: center;
    color: #ffffff;
    max-width: 70%;
  }

  .payment-grid .payment-card {
    max-width: 177px;
  }

  /* Гарантии */

  .guarantee-hero .hero-img-wrapper {
    display: none;
  }

  .guarantee-hero {
    gap: 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .feature-card .feature-title {
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    color: #000000;
  }

  .certificates-slider-wrapper {
    padding: 0 !important;
  }

  .certificates-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    display: grid;
  }

  .certificates-section .slider-arrow.prev {
    display: none;
  }

  .certificates-section .slider-arrow.next {
    display: none;
  }

  .cert-card {
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 100%;
    /* or 13px */
    display: flex;
    align-items: center;
    text-align: center;

    color: #101010;
    border: none !important;
    box-shadow: none !important;
    padding: 0px 7px !important;
  }

  .cert-card .cert-logo {
    border: 2px solid var(--color-brand-orange);
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
  }

  .cert-card .cert-logo img {
    padding: 10px;
    max-width: 100%;
  }

  .cert-card.color-blue .cert-logo {
    border: 2px solid var(--color-brand-blue);
    border-radius: 5px;
  }

  .cert-card.color-red .cert-logo {
    border: 2px solid var(--color-brand-red);
    border-radius: 5px;
  }

  .cert-card.color-grey .cert-logo {
    border: 2px solid var(--color-brand-grey);
    border-radius: 5px;
  }

  .cert-card .cert-logo {
    height: 107px;
  }

  .cert-divider {
    order: 1;
    margin-top: 20px;
  }

  .certificates-section .slider-pagination {
    display: none;
  }

  .contacts-wrapper {
    display: block;
    gap: 3px;
    background: #b7e09f;
    margin-top: 10px;
    padding-top: 1px;
    border-radius: 8px;
  }

  .contacts-info-box {
    flex: none;
    width: auto !important;
  }

  .intro__right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-left: 0;
    padding-left: 0;
  }
  .nav__search {
    margin-left: 0;
    border-left: none;
    padding-left: 0;
    justify-content: center;
    margin-bottom: 20px;
  }

  /* Главная страница */
  .banner__title {
    font-style: normal;
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;
    display: flex;
    align-items: center;
    color: #000000;
  }

  .banner__list li {
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 118%;
    letter-spacing: 0.03em;
    color: #6cb043;
  }

  .banner__content {
    padding: 14px 22px 14px 22px;
  }

  .banner__content .btn.btn--green.btn--lg {
    font-style: normal;
    font-weight: 600;
    font-size: 11px;
    line-height: 124.3%;
    text-align: center;
    color: #ffffff;
  }

  .carousel__track.slick-initialized.slick-slider {
    margin-left: 0;
  }

  .brand-card__phone {
    max-width: 70px;
  }

  .contact-card {
    width: 100%;
    position: relative;
  }

  .contact-card:before {
    content: "";
    background: url("/assets/images/map_img_mobile.png") no-repeat;
    width: 68px;
    height: 164px;
    position: absolute;
    right: 18px;
    top: 0px;
  }

  .footer__inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: stretch;
    padding: 0;
    gap: 0;
    margin: 0;
  }

  .footer__contact {
    margin-bottom: 26px;
  }

  .footer__logo img {
    width: auto;
    height: 100%;
    padding-left: 25px;
    padding-right: 16px;
  }

  .footer_left_mobile {
    background: #188542;
    width: 50%;
    padding-top: 32px;
  }

  p.footer__copy {
    display: none;
  }

  .footer__brand-head {
    display: block;
  }

  .footer_right_mobile {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: stretch;
    width: 50%;
  }

  nav.footer__col.footer__col--clients {
    order: 2;
    margin-left: 32px;
    margin-top: 10px;
  }

  .footer__phones a {
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    line-height: 115%;
    display: flex;
    align-items: center;
    text-align: center;
    color: #a0ce84;
  }

  .footer__addr {
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    line-height: 100%;
    /* or 13px */

    color: #a0ce84;
  }
  .footer .btn.btn--green.btn--track {
    display: none;
  }
  .footer__col--clients {
    background: transparent;
  }

  .footer__col.footer__col--brand {
    padding-bottom: 41px;
  }

  .footer__col.footer__col--clients {
    flex: auto;
    width: 100%;
  }

  .footer__col.footer__col--clients {
    order: 2;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .footer_col_menu {
    margin-bottom: 41px;
    padding-left: 25px;
  }

  .mobile_copyright {
    font-style: normal;
    font-weight: 500;
    font-size: 11px;
    line-height: 88%;
    text-align: center;
    letter-spacing: 0.03em;
    color: #a0ce84;
    padding: 23px 22px;
    background: #188542;
  }

  .page-header {
    flex-wrap: wrap !important;
  }
  .page-header h1 {
    margin-bottom: 10px;
    text-align: center;
  }

  .page-header p {
    width: 100% !important;
    text-align: center;
  }

  .search-wrapper {
    min-width: 100%;
  }

  .page-header h1 {
    width: 100% !important;
    text-align: center;
  }

  .search_inner.active {
    display: block;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .btn_search_header_close {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
  }

  .mobile_search_block.active {
    display: block;
  }

  .mobile_search_block .search_inner.active {
    background: #188542;
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: -20px;
  }

  .mobile_copyright {
    display: block;
  }

  .footer__contact-ic {
    width: 25px;
    height: 25px;
  }

  .footer__contact-ic svg {
    width: 13px;
  }

  .socials--footer a {
    width: 25px;
    height: 25px;
  }

  .socials--footer svg {
    width: 13px;
    height: 13px;
  }

  /* Базовые стили (десктоп) */
  .socials--footer {
    gap: clamp(8px, 1vw, 11px);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
  }

  .socials--footer a {
    width: clamp(28px, 2.5vw, 28px);
    height: clamp(28px, 2.5vw, 28px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-pale);
    background: transparent;
    border: 1.5px solid rgba(183, 224, 159, 0.6);
    transition: 0.2s;
  }

  .socials--footer a svg {
    width: clamp(14px, 1.6vw, 18px);
    height: clamp(14px, 1.6vw, 18px);
    fill: currentColor; /* цвет наследуется от a */
  }
  .footer__phones a b {
    color: #cfe9bd;
    margin-right: 5px;
  }
}

/* Ремонт телефонов страница общая*/
@media (max-width: 992px) {
  .page-header p {
    width: 100%;
    text-align: left;
  }

  .search-section .search-wrapper {
    flex-wrap: nowrap;
    /* min-width: unset; */
    background-color: #fff;
    border: 2px solid #6cb043;
    border-radius: 5px;
    max-width: 240px;
  }

  .search-section .search-wrapper button {
    width: 34px;
    font-size: 0;
    height: 34px;
    padding: 0;
    border-radius: 5px;
    position: absolute;
    right: 3px;
  }

  .search-section .search-wrapper input {
    height: 34px;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 124.3%;
    color: #000000;
    min-width: 240px;
  }

  .search-section .search_wrapper_bg {
    background: #d4e8c7;
    display: flex;
    width: auto;
  }
  .search-section .search-logo {
    padding-left: 0;
    margin-left: 15px;
  }

  .search-section .search_wrapper_bg .search-wrapper::before {
    height: 65px;
    margin-top: 0;
  }

  .search-section {
    background: #d4e8c7;
  }

  .search_model img {
    max-width: 23px;
    max-height: 23px;
    margin-left: 0;
  }

  .catalog-section .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  /* Ремон тбаннера */
  .banner-repair .banner-left h3 {
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    line-height: 100%;
    /* or 16px */
    display: flex;
    align-items: center;
    text-align: center;

    color: #ffffff;
    margin-bottom: 0;
  }

  .banner-repair .banner-left p {
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    line-height: 100%;
    text-align: center;
    color: #ffffff;
  }

  .banner-repair .btn-banner {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .banner-right-content p {
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 100%;
    text-align: center;
    color: #ffffff;
  }

  .banner-right-content ul li {
    font-style: normal;
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;
    display: flex;
    align-items: center;
    color: #ffffff;
    width: 82%;
  }

  .reasons-section {
    padding: 40px 0;
    background: transparent !important;
  }

  /* Получить консультацию */
  .consultation-wrapper h3 {
    text-transform: uppercase;
    color: #ffffff;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .consultation-wrapper p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  /* Форма консультации */
  .consultation-section .consultation-form input {
    background-color: #fff;
    color: #000;
  }

  .consultation-section .consultation-form input::placeholder {
    background-color: #fff;
    color: #000;
  }

  .track-modal-form-mobile {
    margin-right: auto;
    text-align: center;
    margin-left: auto;
    display: block;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
  }

  .tracking-card__bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
  }

  .success.hide {
    display: none;
  }

  .success {
    display: block;
  }

  .success .submit-btn {
    margin-left: auto;
    margin-right: auto;
  }

  /* СТРАНЦА КОНТАКТЫ */
  .contacts_inner {
    flex-wrap: wrap;
  }
  .contact_info_block {
    width: 100%;
  }

  .contact_info_block .btn.btn--green.btn--track.btn_contact {
    display: none;
  }
  .contact_map {
    border-radius: 15px;
    width: 100%;
    margin-top: 33px;
  }

    .contacts__map {
        height: auto !important;
        flex: auto;
        min-height: auto !important;
    }
}
