@media (max-width:1280px) {
    .home__bg img {

        object-fit: cover;
    }
}

@media (max-width: 992px) {
    .review-block__inner {
        gap: 40px;
    }

    .review-block__img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .eko-slider {
        padding: 40px 0;
    }

    .eko-slider__title {
        font-size: 1.6rem;
    }

    .eko-slider__content {
        padding: 15px;
    }

    .eko-slider__name {
        font-size: 1rem;
    }

    .slider__video {
        display: none;
    }

    .slider__image {
        display: block !important;
    }

    .slick-arrow {
        display: block !important;
    }

    .custom-header-fields-right {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .custom-header-fields-right__logo {
        max-width: 50px;
    }

    .custom-header-fields-right__phone-link {
        font-size: 0.9rem;
        white-space: normal;
    }

    .site-footer {
        margin-top: 50px;
    }
}
    @media (max-width: 768px) {
        .review-block {
            padding: 40px 0;
        }

        .review-block__inner {
            flex-direction: column;
            gap: 30px;
        }

        .review-block__content {
            text-align: center;
        }

        .review-block__photo {
            margin-left: auto;
            margin-right: auto;
        }

        .review-block__title {
            font-size: 1.8rem;
        }

        .review-block__widget {
            width: 100%;
        }

        .sale-block {
            padding: 30px 30px;
        }

        .sale-block__inner {
            flex-direction: column;
            gap: 30px;
        }

        .btn_block {
            margin-top: 24px;
            text-align: center;
        }

        .btn {
            width: 100%;
        }

        .sale-block__image {
            order: -1;
        }

        .desk-gallery__grid {
            gap: 20px;
            grid-template-columns: 1fr;
        }

        .desk-gallery__content {
            padding: 15px;
        }

        .desk-gallery__name {
            font-size: 1.2rem;
        }

        .desk-gallery__price {
            font-size: 1.1rem;
        }

        h2 {
            margin-bottom: 24px !important;
            font-size: 24px;
        }

        .sale-block__image {
            width: 100%;
        }

        .custom-header {
            flex-wrap: wrap;

        }

        .header-right {
            width: 100%;
            order: 2;
            margin-top: 12px;
            display: none;
        }

        

      

        body.scrolled .header-right {
            display: none;
        }

        body.scrolled .logo-text {
            display: none;
        }

        /* На мобиле при скролле клик по логотипу показывает меню */
        .header-left {
            cursor: pointer;
        }

        .header-right {
            display: block !important;
        }

        body.scrolled .header-right {
            display: none !important;
        }

        body.scrolled .custom-header-wrapper {
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }

        body.scrolled .custom-header::after {
            opacity: 0;
        }

        body.scrolled .logo-text {
            display: none !important;
        }
    }
    @media (max-width:650px) {
        .home__title {
            font-size: 36px;
            padding: 0 20px;
            margin-bottom: 0px;
            padding-top: 200px;
        }

        .slider__content {
            max-width: 100%;
        }

        .text__home {
            font-size: 13px;

        }

        .home__bg img {
            object-fit: cover;
            object-position: right;
        }

        .home {
            height: 100vh;
            padding-top: 100px;
        }

        p {
            font-size: 14px !important;
        }

        .sec {
            margin-top: 50px;
        }

        .home__bg {
            background-size: cover;
            background-position: top;
        }
    }