@media (max-width:1024px) {
   .footer__body {
      flex-direction: column;
   }

   .footer__menu {
      flex: initial;
   }

   .footer {
      padding: 20px 0px 10px 0;
   }

   .footer__body {
      justify-content: space-between;
      align-items: center;
      flex-direction: column-reverse;
      gap: 15px;
   }

   .footer__copyright {
      margin-top: 25px;
      text-align: center;
   }

   .footer__menu-list {
      flex-direction: column;
      align-items: center;
      margin: 28px 0px;
   }

   .footer .SocialNetworks {
      justify-content: center;
   }

   .footer__phone {
      align-items: center;
   }

   /* header */
   .burger {
      display: flex;
   }


   .top-menu__list {
      position: absolute;
      top: 58px;
      left: -100%;
      width: 100%;
      height: 100vh;
      background-color: var(--black);
      flex-direction: column;
      justify-content: flex-start;
      gap: 30px;
      padding-top: 40px;
      transition: all 0.3s;

      &.show {
         left: 0;
      }
   }

   .header.fixed .top-menu__list {
      top: 58px;
      /* Позиция, если заголовок фиксирован */
   }

   .top-menu__body {
      display: flex;
      justify-content: end;
      order: 2;
      padding: 5px 0px;
      flex: initial;
   }

   .fixed .top-menu__body {
      padding: 5px 0px;
   }

   .top-menu__logo {
      & img {
         max-width: 160px;
      }
   }

   .top-menu__list {
      & a {
         color: #fff;
      }
   }

   .top-menu__lang {
      & a {
         color: var(--orange) !important;
      }
   }


   .top-menu__list>li>ul {
      position: static;
      display: block;
      box-shadow: none;
      height: auto;
      background-color: initial;
      padding: 15px 0 0 0;
      font-size: 15px;
      font-weight: 400;


   }

   .top-menu__list>li>ul a {
      color: #949494;
   }

   .has-sub {
      text-align: center;
   }

   .top-menu__list > li > ul {
      width: max-content;
      min-width: 200px;
      max-width: calc(100vw - 60px);
      margin-inline: auto;
   }

   .top-menu__list > li > ul > li {
      text-align: center;
      padding-right: 0;
   }

   .top-menu__list > li > ul li.has-sub > .top-menu__label > .top-menu__item {
      color: #fff;
      font-weight: 600;
   }

   .top-menu__list > li > ul > li.has-sub::after {
      content: none;
   }

   .top-menu__list > li > ul li > ul {
      position: static;
      display: block;
      width: fit-content;
      max-width: 100%;
      margin: 10px auto 14px;
      padding: 0;
      border-left: 0;
      font-size: 14px;
      text-align: center;
   }

   .top-menu__list > li > ul > li > ul > li {
      margin-bottom: 8px;
   }

   .top-menu__list.submenu-ready li > ul {
      display: none;
   }

   .top-menu__list.submenu-ready li.submenu-open > ul {
      display: block;
   }

   .top-menu__list.submenu-ready .has-sub::after {
      content: none;
      display: none;
   }

   .top-menu__label {
      display: inline-block;
      position: relative;
      max-width: calc(100vw - 110px);
   }

   .top-menu__list .top-menu__toggle {
      position: absolute;
      left: 100%;
      top: -10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      margin: 0 0 0 4px;
      color: #fff;
      background: transparent;
      cursor: pointer;
   }

   .top-menu__toggle::after {
      content: "";
      width: 8px;
      height: 8px;
      border-right: 1px solid currentColor;
      border-bottom: 1px solid currentColor;
      transform: translateY(-2px) rotate(45deg);
      transition: transform 0.2s;
   }

   .top-menu__toggle[aria-expanded="true"]::after {
      transform: translateY(2px) rotate(225deg);
   }

   .top-menu__toggle:focus-visible {
      outline: 1px solid #fff;
      outline-offset: -6px;
   }

   .top-menu__list>li>.top-menu__item:hover:after,
   .top-menu__list>li.active>.top-menu__item:after {
      background: #fff;
   }

   .top-menu__list>li>ul .top-menu__item:hover:after,
   .top-menu__list>li>ul li.active>.top-menu__item:after {
      background: #949494;
   }

   .top-menu__body>.top-menu__list {
      overflow-y: scroll;
      height: calc(100vh - 58px);
   }


   .contacts__body {
      grid-template-columns: 1fr;
   }

   .contacts__map {
      padding-right: 0px;
   }

   .callback-form__wrap {
      top: 0px;
   }

   .shop-product__description-left-buttons {
      flex-wrap: wrap;
   }

   .product-controls {
      display: none;
   }
}

@media (max-width:768px) {
   .header-top__schedule {
      display: none;
   }

   .title {
      font-size: 24px;
      margin-bottom: 20px;
   }

   .designer__page__wrapper {
      grid-template-columns: repeat(1, 1fr);
      gap: 40px;
   }

   .designer__page__info {
      margin-top: 20px;
   }

   .designer__page__wrapper img {
      width: 100%;
   }

   .services-block__content {
      flex-direction: column;
      gap: 20px;
      padding: 0px;
   }

   .contacts-map__body {
      display: block;
      padding: 15px 0;
   }

   .contacts-map__info {
      margin-bottom: 30px;
      gap: 15px;
   }

   .contacts-map__map {
      flex: 0 0 350px;
      width: 100%;

   }

   .contacts-map__map {
      &>div {
         transform: initial;
         width: 100%;
      }
   }

   section {
      margin-bottom: 70px;
   }

   .about__body {
      display: block;
   }

   .about__info {
      margin-bottom: 30px;
   }

   .about__data-num {
      font-size: 30px;
   }

   .about__data-top-image img {
      transform: initial;
   }

   .about__data-sign {
      font-size: 12px;
   }

   .about__data-bottom:before {
      transform: translateX(20px);
      width: calc(100% + 40px);
   }

   .about-additional__body {
      display: block;
      flex-direction: column-reverse;
   }

   .about-additional__image img {
      width: 100%;
   }

   .about-additional__image img:nth-child(2) {
      top: initial;
      bottom: -30px;
      right: 10px;
   }

   .about-additional__content {
      display: block;
      margin-top: 30px;
   }

   .about-additional {
      transform: initial;
      margin-top: 0px;
   }

   .ofer__subtitle {
      font-size: 18px;
      text-align: center;
   }

   .about__img__title {
      left: 24px;
      font-size: 24px;
   }

   .ofer__title {
      font-size: 24px;
      text-align: center;
   }

   .ofer__text {
      font-size: 16px;
      text-align: center;
   }


   .services-block__img-title {
      font-size: 18px;
   }

   .services-block {
      row-gap: 0px;
   }

   .news-in__image {
      float: initial;
   }

   .news__body {
      grid-template-columns: 1fr;
      gap: 5px;
   }

   .callback-form {
      flex-direction: column;
   }

   .callback-form__footer {
      flex-direction: column;
      gap: 30px;
   }

   .callback-form__footer .input-file__title:after {
      bottom: -5px;
   }

   .callback-form__subtitle {
      font-size: 16px;
   }

   .news-header__more {
      display: none;
   }

   .shop-product__block {
      grid-template-columns: 1fr;
      gap: 42px;
   }

   .product__block-options-list {
      columns: 1 auto;
      column-gap: 120px;
   }

   .shop-product {
      padding-top: 0px;
   }

   .product__block-options {
      margin-bottom: 10px;
   }

   .product-image .product__status {
      transform: scale(0.7);
      bottom: 0;
      left: -10px;
   }

   .shop-product-4 {
      grid-template-columns: repeat(3, 1fr);
      gap: 5px;
   }

   .shop-product-3 {
      grid-template-columns: repeat(2, 1fr);
      gap: 5px;
   }

   .product-card {
      gap: 5px;
      padding: 5px;
   }

   .product-price {
      font-size: 18px;
   }

   .product-card:hover {
      box-shadow: initial;
   }

   .catalog__body {
      grid-template-columns: 1fr;
      gap: 22px;
   }

   .form-container__title {
      display: none;
   }

   .filter-icon {
      display: block;
   }

   .sidebar-collapse-menu {
      display: block;
      max-height: 0;
      overflow: hidden;
      transition: 0.3s ease-in-out;
   }

   .show-f .close-filter {
      display: initial;
   }

   .show-f .sidebar-collapse-menu {
      max-height: 600px;
   }

   .form-container {
      flex-direction: column;
   }

   .sidebar-collapse-menu-title {
      display: flex;
      cursor: pointer;
      align-items: center;
      margin-top: 20px;
      gap: 10px;
      color: #ACB4C1;
      font-size: 15px;
      font-weight: 600;
      text-transform: uppercase;

      & i {
         color: var(--orange);
      }
   }

   .catalog__sidebar-list {
      padding-top: 15px;
      max-width: initial;
   }

   .form-container {
      max-width: initial;
      margin-top: 50px;
   }

   .catalog__header {
      align-items: self-start;
      flex-direction: column;

   }

   .catalog__header-filter-title {
      margin-top: 20px;

      & label {
         display: none;
      }
   }

   .catalog__header-filter-sort {
      font-size: 12px;
      text-align: left;
   }

   .main-filter {
      transform: translateY(-55px);

      & .form-container {
         grid-template-columns: repeat(1, 1fr);
      }

      & .submit-button {
         grid-column-start: initial;
      }

   }

   .catalog-4__header {
      flex-direction: column;
      gap: 0px;
      align-items: flex-start;
      margin-bottom: 20px;
   }

   .hiw__wrapper {
      grid-template-columns: repeat(1, 1fr);
      gap: 100px;
   }

   .reviews__header {
      display: block;
   }

   .reviews__title {
      font-size: 24px;
      padding-right: 0px;
      margin-bottom: 20px;
   }

   .breadcrumbs-wrapper {
      display: none;
   }

   .about__data-digits {
      grid-template-columns: repeat(1, 1fr);
      gap: 40px;
      height: 240px;
   }

   .big__form__wrapper {
      display: block;
      padding: 30px 30px;
      margin: -15px;
   }

   .big__form__info {
      padding-right: 0;
      gap: 15px;
      margin-bottom: 20px;
   }

   .big__form__contacts {
      margin-top: 14px;
      gap: 12px;
   }

   .big__form__contact-card {
      padding: 10px 12px;
   }

   .big__form__info--contacts {
      gap: 12px;
   }

   .big__form__wrapper--about {
      display: flex;
      flex-direction: column;
   }

   .big__form__wrapper--about .big__form__contacts {
      order: -1;
      margin-top: 0;
      margin-bottom: 14px;
   }

   .callback-form__contacts--popup {
      grid-template-columns: 1fr;
      width: 100%;
      max-width: 100%;
   }

   .ajax_form {
      grid-template-columns: repeat(1, 1fr);
   }

   .footer {
      padding: 20px 0px 20px;
   }

   .footer__body {
      display: block;
      text-align: center;
   }

   .footer__menu,
   .footer__menu-list {
      display: none;
   }

   .footer__left {
      display: block;
      margin-top: 20px;
   }

   .slider__flex {
      display: block;
   }

   .slider__images {
      width: 100%;
      height: auto;
   }

   .slick-track {
      gap: 0;
   }

   .ofer__body {
      align-items: center;
      padding: 50px 30px;
      left: -15px;
   }

   .ofer__slide {
      width: 100%;
   }

   .projects__body,
   .projects__header {
      display: block;
   }

   .projects__wrap {
      display: block;
      margin: 0 auto;
      width: 100%;
      padding: 0px 15px;
   }

   .about__img img {
      width: 100%;
   }

   .about__info {
      margin-top: 30px;
   }

   .about-additional__info {
      margin-bottom: 20px;
   }

   .about__info__imgs {
      justify-content: center;
      gap: 6px;
   }

   .about__info__content {
      left: 0px;
      bottom: 0px;
      width: calc(100% + 0px);
      margin-top: 30px;
      padding: 0;
   }

   .consult-design-wrapper {
      grid-column: span 1;
      height: initial;
   }


   .services__last__block {
      position: relative;
      margin-top: 0px;
      height: 460px;
   }

   .services__last__block_img {
      position: relative;
      width: 100%;
   }

   .services__last__block_info {
      position: relative;
      bottom: 324px;
      right: 0px;
      padding: 25px;
      width: 100%;
   }

   .section__form {
      margin: 130px 0 130px;
   }

   .section__form__wrapper {
      display: block;
      margin: 0 -15px;
      padding: 0 15px 35px;
      height: auto;
   }

   .section__form__info {
      padding: 25px 15px;
      margin-top: 0;
   }

   .section__form__title {
      padding-right: 0;
      line-height: 1.3;
   }

   .section__form__img {
      top: 0;
   }

   .section__form__img img {
      width: 100%;
   }

   .projects__title.page__title {
      margin-bottom: 20px;
      font-size: 24px;
   }

   .news-in__wrapper {
      display: flex;
      flex-direction: column;

   }

   .project__single__img__link {
      order: 2;
   }

   .project__single__img {
      margin: 30px 0;
   }

   .news-in__wrapper .project__single__img {
      max-width: initial;
   }


   .news-in__wrapper img {
      width: 100%;
   }

   .big__form__title {
      font-size: 24px;
   }

   .reviews__wrap {
      display: block;
      margin: 0 auto;
      width: 100%;
      padding: 0px 15px;
   }

   .reviews__body {
      display: block;
   }

   .reviews__item {
      width: 345px;
   }

   .accordion-header {
      height: auto;
      padding: 20px 0;
   }

   .accordion-header span {
      font-size: 20px;
      line-height: 1.3;
   }

   .about__body-page {
      display: block;
   }

   .about__info-page .title {
      margin-bottom: 0px;
   }

   .about__info-page .about__info__content {
      padding: 0;
   }

   .about__body-page img {
      width: 100%;
   }

   .dop__uslugi__block__wrapper {
      margin-bottom: 80px;
   }

   .dop__uslugi__wrapper {
      display: block;
   }

   .dop__uslugi__info {
      margin-bottom: 30px;
   }

   .dop__uslugi__image img {
      width: 100%;
   }

   .service__page .services-block {
      grid-template-columns: repeat(1, 1fr);
   }

   .service__in__main__img {
      margin-bottom: 50px;
      padding: 0px;
      height: 350px;
   }

   .project__grid {
      margin-top: 0;
   }

   .project__element {}

   .project_image-my {
      aspect-ratio: auto;
   }

   .project__element:nth-child(9n+1) img,
   .project__element:nth-child(9n+4) img,
   .project__element:nth-child(9n+5) img,
   .project__element:nth-child(9n+6) img {
      aspect-ratio: auto;
   }

   .section__form__title {
      font-size: 24px;
   }

   .page__content {
      min-height: initial;
   }

   .news-in__gallery {
      margin-left: initial;
   }

   .gallery__element {
      width: 32.6%;
      margin-bottom: 5px;
   }

}

@media (max-width:480px) {
   .top-menu__logo {
      & img {
         max-width: 177px !important;
      }
   }

   .top-menu {
      gap: 10px;
   }

   .news-item {
      grid-template-columns: 1fr;
      gap: 0;
      padding: 0;
   }

   .shop-product-4 {
      grid-template-columns: repeat(1, 1fr);
      gap: 20px;
   }

   .shop-product-3 {
      grid-template-columns: repeat(1, 1fr);
      gap: 20px;
   }

   .shop-product__description {}

   .shop-product__description-right {
      gap: 6px;
   }

   .shop-product__description-left-buttons .btn-cart {
      flex: 1 0 230px;
   }

   .gallery__element {
      width: 49%;
      margin-bottom: 5px;
   }

   .gutter-sizer {
      width: 2%;
   }

   .project__element {
      width: 100%;
      margin-bottom: 20px;
   }

   .project-gutter-sizer {
      width: 0%;
   }

   .project__element p:last-child {
      margin-bottom: 20px;
   }

}
