@media screen and (max-width: 1800px) {
  .house-map {
    right: -100px;
  }
}
@media screen and (max-width: 1700px) {
  .main-section__desc {
    max-width: 315px;
  }
  }
@media screen and (max-width: 1440px) {
  .modal-city {
    width: unset;
  }
  .why-us img  {
    right: 0px;
  }
  .form-section__up-line {
    top: -50px;
  }
  .to-up {
    width: 49px;
    height: 49px;
    border: 1px solid;
    border-radius: 8px;
    top: auto;
    bottom: 20px;
    left: 20px;
  }

  .house-map {
    right: -60px;
        transform: scale(0.8);
    transform-origin: 100% 100%;
  }

}

@media screen and (max-width: 1400px) {
  .box-container {
    max-width: 1280px;
  }
  .tab_content {
    grid-template-columns: repeat(3, 1fr);
  }
  .product__card {
    max-width: 100%;
    width: auto;
  }
  /* .product__card img {
    max-width: 100%;
  } */
}

@media screen and (max-width: 1366px) {
  .header-nav-union svg {
    top: -30px;
  }
  .breadcrumb {
    margin: 50px 0 35px;
  }
}

@media screen and (max-width: 1280px) {
  .box-container {
    padding: 0px 15px;
    width: auto;
  }
  .parallax-men  {
    z-index: 1;
  }

}

@media screen and (max-width: 1200px) {
  .header-bottom__address {
    display: none;
  }
  .portfolio__box img:not(.box-text__adderss img) {
    max-width: 550px;
  }
  /* .catalog__item, */
  .catalog__item-product {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .roof-img-section {
    right: -100px;
  }
  .main-projects__body {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-projects__item {
    max-width: 100%;
  }
  .gallery-img__slider-big {
    max-width: 500px;
  }
  #tab2.product-card__info-tab_content {
    display: grid;
    grid-template-columns: 1fr;
  }
  .info-tab-content__desc {
    max-width: 100%;
  }
  .house-map {
    transform: scale(0.6);
  }
}

@media screen and (max-width: 1024px) {
  .catalog__wrap {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 30px;
  }
  .portfolio__box img:not(.box-text__adderss img) {
    max-width: 350px;
  }
  .footer_line-up {
    top: -30px;
  }
  .footer__wrap .item__accordion {
    display: block;
  }
  .footer__wrap .catalog__nav_mobile {
    display: none;
  }
  .footer__wrap {
    flex-wrap: wrap;
  }
  .form-section__up-line {
    top: -10px;
  }
  .main-contact__wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }
  .main-contact__wrap-item {
    order: 1;
    max-width: 100%;
  }
  .contacts__map {
    order: 2;
    max-width: 100%;
  }
  .main-contact__wrap .forma {
    order: 3;
    grid-column: 1 / -1;
  }
  .header-nav-union svg {
    top: 0px;
  }
  .catalog__nav_mobile {
    display: flex;
    max-width: 100%;
    width: auto;
  }
  .item__accordion {
    display: none;
  }
  .main-catalog__wrap {
    flex-direction: column;
  }
  .catalog__nav .accordion__wrap {
    width: 100%;
  }
  .accordion__head {
    padding: 15px;
  }
  .roof-img-section {
    right: -20px;
  }
  .main-section {
    height: auto;
  }

  .gallery-img__slider-big {
    max-width: 350px;
  }
  .gallery-img__slider-big .slick-dots {
    margin-top: -7px;
  }
  .gallery-img__slider-small {
    display: none;
  }
  .parallax-men  {
    display: none;
  }
  .form-parallax .form-parallax__content {
    height: auto;
  }
  .form-parallax {
    padding: 100px 0 50px;
  }
  .portfolio__gallery-img {
    width: auto;
  }
  .about-company__wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .grid-specifications__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, auto));
  }
  .a-c__tabs {
    max-width: 100%;
  }
  .a-c__tabs li {
    height: 50px;
  }
  .about-company__slider {
    position: relative;
    max-width: 100%;
    width: auto;
    height: auto;
  }
  .about-company__tab_container {
    width: 100%;
  }
  .a-c__tabs {
    display: none;
  }
  .article__wrap {
    flex-direction: column;
  }
  .article__right-side img {
    max-width: 100%;
    max-height: 250px;
  }
  .article__right-side blockquote {
    max-width: 100%;
  }
  .news-article {
    max-width: 100%;
    width: auto;
  }
  .product-card__wrap {
    flex-direction: column;
  }
  .product-card__gallery {
    max-width: 100%;
  }
  .product-card__small-slider {
    display: none;
  }
  .product-card__big-slider .slick-dots {
    margin-top: 0px;
  }
  .similar-products__item {
    margin: 0 5px; 
  }
  .catalog__items-wrap {
    margin-top: 20px;
    width: 100%;
  }
}


@media screen and (max-width: 880px) {
  .main-header__phones {
    display: flex;
    flex-direction: column;
  }
  .header__button-menu {
    display: block;
    flex-direction: column;
  }
  .header__mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: var(--white-color);
    overflow: auto;
    padding: 70px 30px 40px;
  }
  .header__mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
  }
  .header__nav_mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-weight: var(--font-Semi-bold);
  }
  .header__nav_item_mobile {
    text-align: center;
  }
  .navigation .bg-wrap {
    display: flex;
    justify-content: space-between;
  }
  .navigation .bg-wrap ul{
    display: none;
  }
  .green-btn_header {
    display: none;
  }
  .main-section {
    height: max-content;
  }
  .cadr__wrap {
    flex-direction: column;
  }
  .cadr__wrap .card__modify {
    max-width: 100%;
    width: -webkit-fill-available;
    margin-right: 0px;
  }
  .catalog {
    padding-top: 80px;
  }
  .tab_content {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-us__wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .select-roof {
    flex-direction: column;
    align-items: center;
  }
  .roof-img-section {
    right: inherit;
    top: inherit;
    margin-top: 30px;
  }
  .roof-img-section img {
    max-height: 200px;
  }
  .main-section__house-img {
    display: none;
  }
  .main-news__items {
    grid-template-columns: repeat(2, 1fr);
  }
  #tab1.product-card__info-tab_content {
    flex-direction: column;
  }
  .question-answer__wrap {
    flex-direction: column;
  }
  .callback-question {
    max-width: 100%;
    width: auto;
    height: auto;
  }
  .house-map {
    display: none;
  }
  #tab1.product-card__info-tab_content .product-card__desc-list {
    width: 100%;
  }

  /* Отрисовка стрелки для визуального оформления что список выпадающий */
  .select__head::before {
    content: '';
    position: absolute;
    top: 3px;
    right: 0;
    width: 7px;
    height: 7px;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
    transform: rotate(-45deg);
    z-index: 2;
  }
  
  /* Сдвигаю выпадающее меню для отрисовки по центру */
  .select__list {
    left: -60% !important;
  }

  /* Для грамотного отображение карточек в Главное > Кровля */
  .main-catalog .catalog__item .card {
    max-width: 180px;
  }
}

@media screen and (max-width: 768px) {
	.portfolio__wrap_slider .slick-track {
		 height: 534px !important;}
  .tabs li {
    margin: 0px 15px;
  }
  .form-section img,
  .why-us img {
    display: none;
  }
  .form-section .forma {
    position: relative;
    right: 0px;
  }
  .portfolio__box {
    height: max-content;
    flex-direction: column;
  }
  .portfolio__box img:not(.box-text__adderss img) {
    max-width: inherit;
    width: auto;
    height: 180px;
  }
  .portfolio__box-text {
    border-radius: 0px 0px 8px 8px;
    padding: 10px;
    border-top: 0;
    border-left: 1px dashed #b8b8b8;
    border-bottom: 1px dashed #b8b8b8;
    border-right: 1px dashed #b8b8b8;
    width: auto;
    display: flex;
    flex-direction: column;
  }
  .to-up {
    width: 39px;
    height: 39px;
    border: 1px solid;
    border-radius: 8px;
    top: auto;
    bottom: 10px;
    left: 10px;
  }
  /* .catalog__item, */
  .catalog__item-product {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-img__slider-small {
    display: none;
  }
  .gallery-img__slider-big,
  .slider-big__item {
/*     max-width: 100%; */
    height: auto;
  }
  .gallery-img__slider-big .slick-dots {
    margin-top: 0px;
  }
  .slider-big__item {
    display: flex;
    justify-content: center;
  }
  .portfolio__box_position .slider-big__item img {
    max-width: 100% !important;
    width: 80% !important;
    height: 100% !important;
  }
  .portfolio__box_position .portfolio__box-text {
    border-top: 1px dashed #b8b8b8;
  }
  .grid-team__cards {
    display: grid;
    grid-template-columns: 1fr;
  }
  .partners__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-title {
    font-size: 30px;
  }
  .news-article h2 {
    font-size: 25px;
  }
  .product-card__info-tab_wrap .tabs {
    max-width: 100%;
    width: calc(100% - 100px);
    gap: 20px;
  }
  .attention-section__wrap {
    flex-direction: column;
  }
  .attention-section__wrap .forma {
    margin: 0 auto;
  }
  .footer__wrap {
    flex-direction: column;
    align-items: center;
    max-width: 215px;
    margin: 0 auto;
  }
  .footer__wrap .catalog__nav {
    width: 100%;
    margin-bottom: 20px;
  }
  .footer__wrap .catalog__nav_mobile {
    background: transparent;
    padding: 0;
  }
  .footer__item .font_bold {
    display: none;
  }
  .item__accordion .footer__item {
    margin-top: 20px;
  }
  .footer__bottom ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer__logo {
    flex-direction: column;
    margin-bottom: 20px;
  }
  .footer__logo img {
    margin: 0px 0px 20px;
  }
  .footer__bottom ul li {
    margin: 5px 0;
  }
  .footer__wrap .item__accordion {
    display: none;
  }
  .footer__wrap .catalog__nav_mobile {
    display: flex;
  }
  .main-contact .title {
    margin-bottom: 20px;
  }
  .portfolio__box_position .portfolio__box-text {
    border-radius: 8px;
    border: 1px dashed #b8b8b8;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 767px) {
  .main-contact__wrap {
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
  }
  .main-contact__wrap-item {
    order: 1;
  }
  .contacts__map {
    grid-column: inherit;
    height: 200px;
  }
  .forma {
    order: 2;
  }
}

@media screen and (max-width: 650px) {
  .header-top__nav {
    display: none;
  }
  .header-bottom__tel {
    display: none;
  }
  .catalog__wrap {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    justify-content: center;
  }
  .catalog__wrap .card__name {
    font-size: 25px;
  }
  .tab_content,
  .why-us__wrap  {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  .tab_container {
    margin-top: 20px;
  }
  .top-seller-tabs {
    padding: 10px 0;
  }
  .tabs li a {
    font-size: 14px;
  }
  .form-section .forma__wrap {
    align-items: center;
    flex-direction: column;
  }
  .form-section .forma__wrap .red-btn {
    margin-top: 20px;
    margin-left: 0px;
  }
  .form-section .block-form {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .form-section {
    height: max-content;
  }
  .form-section .modal-wrap {
    padding: 30px;
  }
  .form-section .forma input[type=tel]{
    max-width: 198px;
  }
  .form-section .item-input {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .title {
    font-size: 30px;
  }
  .footer_line-up {
    top: -10px;
  }
  .main-projects__body {
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
  }
  .main-projects__item {
    height: auto;
  }
  .main-projects__name::before {
    height: 100px;
  }
  .tab_content__title {
    font-size: 24px;
  }
  .num_block p {
    font-size: 52px;
  }
  .a-c-img {
    width: 100%;
    height: 250px;
  }
  .about-company__slider-item img {
    height: 200px;
  }
  .team__person_img {
    min-width: 100px;
    max-width: 100px;
    height: 100px;
  }
  .online {
    left: 10px;
  }
  .team__contacts li a {
    font-size: 12px;
  }
  .hr_color {
    margin: 10px 0px 10px -20px;
  }
  .team__contacts li p {
    margin-bottom: 5px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .grid-partners__cards {
    grid-template-columns: 1fr;
  }
  .items-input__wrapper {
    grid-template-columns: 1fr;
  }
  .items-input__wrapper .item-input {
    grid-column: initial;
  }
  .form-section .block-form__title {
    display: none;
  }
}

@media screen and (max-width: 550px) {
  .btn-contaiter {
    flex-direction: column;
    align-items: center;
  }
  .main-section__title {
    font-size: 30px;
  }
  .main-section__subtitle {
    margin: 10px 0 37px;
    font-size: 25px;
  }
  .catalog__title {
    font-size: 30px;
  }
  .tabs {
    flex-direction: column;
  }
  .tabs li {
    margin: 10px 0px;
  }
  /* .catalog__item, */
  .catalog__item-product {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .select-material__wrap {
    gap: 10px;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }
  .calc-forma .forma__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .calc-forma .forma__wrap .red-btn {
    max-width: 271px;
    margin-left: 0px;
    margin-top: 20px;
  }
  .main-calc .bg-wrap {
    font-size: 16px;
  }
  .find-price__list li {
    font-size: 14px;
  }
  .main-projects__name p {
    position: relative;
    font-size: 14px;
  }
  .box-text__list {
    flex-direction: column;
  }
  .font_medium {
    font-size: inherit;
  }
  .partners__grid {
    grid-template-columns: 1fr;
  }
  .a-c__tabs {
    min-width: auto;
  }
  .main-news__items {
    grid-template-columns: 1fr;
  }
  .main-news__item {
    max-width: 100%;
  }
  .page-numbers {
    margin: 0px 5px
  }
  .product-card__price-btn {
    position: initial;
    display: flex;
    width: 100%;
    gap: 30px;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
  }
  .product-card__desc-list {
    margin-bottom: 10px;
  }
  .product-card__desc-title {
    font-size: 25px;
  }
  .big-slider__item,
  .product-card__big-slider {
    height: 300px;
  }
  .product-card__desc {
    padding: 20px 0px;
  }
  .attention-text {
    font-size: 25px;
  }
}

@media screen and (max-width: 480px) {
  .line-feature {
    display: none;
  }
  .desc-list__item {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .similar-products__slider .slick-track {
    gap: 0;
  }
  .map-links li {
    font-size: 16px;
  }
  .header-search.active .wpdreams_asl_container {
    width: 185px;
  }
  .filter select {
    padding: 10px;
    max-width: 150px;
  }
  .similar-products__item {
    margin: 0 auto;
  }
}

@media screen and (max-width: 375px) {
  .modal-wrap {
    padding: 30px;
  }
  .forma textarea {
    width: 75%;
  }
  .header-bottom__logo p {
    margin-left: 10px;
  }
  .filter {
    font-size: 15px;
  }
}

@media screen and (max-width: 320px) {
  .forma textarea {
    max-width: 167px;
  }
}