@media only screen and (min-width: 1270px) {
    .ui-header_home ~ .main-content {
        padding-left: 327px;
    }

    .ui-header_home ~ .main-footer {
        margin-left: 327px;
    }

    .ui-header_home ~ .main-content .main-slider {
        margin-left: 0;
        position: relative;
    }

    .ui-header_home ~ .main-content .main-slide {
        overflow: hidden;
    }

    .ui-header_home ~ .main-content .main-slide:before {
        width: 100%;
        background: rgba(39, 44, 53, .45);
        z-index: 1;
    }

    .ui-header_home ~ .main-content .main-slide_bg {
        left: 0;
        right: auto;
        width: 100%;
        height: 100%;
        display: block;
        background-position: center center;
        background-size: cover;
        z-index: 0;
    }

    .ui-header_home ~ .main-content .main-slide .container {
        max-width: none;
        width: 100%;
        min-height: 760px;
        padding: 190px 0 96px;
        align-items: flex-start;
    }

    .ui-header_home ~ .main-content .main-slide .row {
        margin: 0;
    }

    .ui-header_home ~ .main-content .main-slide .left-column {
        width: 58.5%;
        max-width: 760px;
        flex: 0 0 58.5%;
        padding-left: 150px;
        padding-right: 48px;
    }

    .ui-header_home ~ .main-content .main-section_title {
        max-width: 650px;
        margin-bottom: 22px;
        font-size: 42px;
        line-height: 1.22;
    }

    .ui-header_home ~ .main-content .main-slide p {
        max-width: 650px;
        margin-bottom: 42px;
        font-size: 18px;
        line-height: 1.7;
        padding-right: 0;
    }

    .ui-header_home ~ .main-content .main-section_buttons {
        display: flex;
        align-items: center;
        gap: 32px;
        flex-wrap: wrap;
        padding-left: 0;
    }

    .ui-header_home ~ .main-content .main-section_btn {
        min-width: 215px;
        margin: 0;
    }

    .ui-header_home ~ .main-content .main-slider .slick-arrow {
        position: absolute;
        top: 50%;
        right: 9.5%;
        width: 104px;
        height: 104px;
        margin-top: -52px;
        border: 0;
        border-radius: 50%;
        background: #191D24;
        font-size: 0;
        line-height: 0;
        cursor: pointer;
        z-index: 6;
        transition: background .25s, transform .25s;
    }

    .ui-header_home ~ .main-content .main-slider .slick-arrow:hover {
        background: #272C35;
        transform: translateX(3px);
    }

    .ui-header_home ~ .main-content .main-slider .slick-arrow:before,
    .ui-header_home ~ .main-content .main-slider .slick-arrow:after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        display: block;
    }

    .ui-header_home ~ .main-content .main-slider .slick-arrow:before {
        width: 34px;
        height: 2px;
        margin-left: -17px;
        margin-top: -1px;
        background: #fff;
    }

    .ui-header_home ~ .main-content .main-slider .slick-arrow:after {
        width: 14px;
        height: 14px;
        margin-left: 2px;
        margin-top: -7px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        transform: rotate(45deg);
    }

    .ui-header_home ~ .main-content .main-slider .slick-prev {
        display: none !important;
    }
}

@media only screen and (min-width: 1270px) and (max-width: 1599px) {
    .ui-header_home ~ .main-content .main-slide .left-column {
        padding-left: 112px;
    }

    .ui-header_home ~ .main-content .main-section_title {
        font-size: 36px;
    }

    .ui-header_home ~ .main-content .main-slider .slick-arrow {
        right: 8%;
        width: 88px;
        height: 88px;
        margin-top: -44px;
    }
}

@media only screen and (min-width: 1270px) and (max-width: 1360px) {
    .ui-header_home ~ .main-content {
        padding-left: 280px;
    }

    .ui-header_home ~ .main-footer {
        margin-left: 280px;
    }

    .ui-header_home ~ .main-content .main-slider {
        margin-left: 0;
    }

    .ui-header_home ~ .main-content .main-slide .left-column {
        padding-left: 72px;
        padding-right: 40px;
    }
}

@media only screen and (max-width: 1269px) {
    .overlay {
        z-index: 225;
        background: rgba(25, 29, 36, .62);
    }

    .ui-header.ui-header_home {
        height: 66px;
        min-height: 66px;
        padding-left: 16px;
        overflow: visible;
    }

    .ui-header_home .head-logo {
        min-width: 0;
        flex: 1 1 auto;
        height: 66px;
        padding-left: 0;
        padding-right: 10px;
    }

    .ui-header_home .head-logo img {
        max-width: 170px;
        max-height: 48px;
    }

    .ui-header_home .ui-header_fav-serach {
        display: flex;
        width: 144px;
        height: 66px;
        flex: 144px 0 0;
        margin-left: auto;
        transition: opacity .2s;
    }

    .ui-header_home .ui-header_fav-serach .header_search-icon {
        order: 1;
    }

    .ui-header_home .ui-header_fav-serach li:has(.header-call-icon) {
        order: 2;
    }

    .ui-header_home .ui-header_fav-serach li:has(.header-fav) {
        order: 3;
    }

    .ui-header_home:has(.hamburger.is-active) .ui-header_fav-serach {
        opacity: 0;
        pointer-events: none;
    }

    .ui-header_home .ui-header_fav-serach li,
    .ui-header_home .header-call-icon,
    .ui-header_home .header-fav,
    .ui-header_home .header_search-icon {
        width: 48px;
        height: 66px;
    }

    .ui-header_home .header-call-icon img {
        width: 21px;
        height: 21px;
    }

    .ui-header_home .header-fav .header-fav_number {
        right: 8px;
        top: 18px;
        left: auto;
        bottom: auto;
        margin: 0;
        transform: none;
    }

    .ui-header_home .hamburger {
        position: relative;
        z-index: 280;
        width: 58px;
        height: 66px;
        flex: 58px 0 0;
        background: #191D24;
    }

    .ui-header_home .hamburger.is-active {
        position: fixed;
        top: 0;
        right: 0;
        background: #191D24;
    }

    .ui-header_home .hamburger.is-active .hamburger-inner {
        background: transparent;
    }

    .ui-header_home .hamburger.is-active .hamburger-inner:before,
    .ui-header_home .hamburger.is-active .hamburger-inner:after {
        top: 10px;
        background: #fff;
    }

    .ui-header_home .hamburger.is-active .hamburger-inner:before {
        transform: rotate(45deg);
    }

    .ui-header_home .hamburger.is-active .hamburger-inner:after {
        transform: rotate(-45deg);
    }

    .ui-header_home .hamburger.is-active .hamburger-box:before,
    .ui-header_home .hamburger.is-active .hamburger-box:after {
        opacity: 0;
    }

    .ui-header_home .ui-header-content {
        right: -320px;
        width: 320px;
        max-width: calc(100vw - 58px);
        height: 100vh;
        padding: 82px 24px 96px;
        z-index: 240;
        overflow-y: auto;
        box-shadow: -18px 0 40px rgba(25, 29, 36, .15);
    }

    .ui-header_home .ui-header-content.is-open {
        right: 0;
    }

    .ui-header_home .head-nav {
        height: auto;
        display: flex;
        flex-direction: column;
        overflow: visible;
    }

    .ui-header_home .head-menu_top,
    .ui-header_home .head-menu_catalog {
        position: static;
        width: 100%;
        height: auto;
        padding: 0;
        overflow: visible;
    }

    .ui-header_home .head-menu_top {
        order: 1;
        display: block;
        margin: 0 0 18px;
        padding: 16px 18px 14px;
        background: #F3F6F4;
        border-left: 4px solid #01C253;
        color: #262C35;
        font-size: 16px;
        font-weight: 700;
    }

    .ui-header_home .head-menu_top li {
        margin: 0 0 12px;
    }

    .ui-header_home .head-menu_top li:last-child {
        margin-bottom: 0;
    }

    .ui-header_home .head-menu_top a {
        color: inherit;
    }

    .ui-header_home .ui-header_contacts {
        position: static;
        order: 2;
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        min-height: 0;
        height: auto;
        margin: 0 0 18px;
        padding: 16px 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        background: #fff;
        border-top: 1px solid #E6E9EC;
        border-bottom: 1px solid #E6E9EC;
        z-index: auto;
        transition: none;
    }

    .ui-header_home .ui-header_contacts .head_phone-number {
        margin: 0 0 8px;
        color: #00923F;
        font-size: 17px;
        line-height: 1.2;
        font-weight: 800;
    }

    .ui-header_home .ui-header_contacts .text {
        display: block;
        margin: 0;
        color: #707378;
        font-size: 13px;
        line-height: 1.3;
        font-weight: 500;
    }

    .ui-header_home .head-menu_catalog {
        order: 3;
        margin-top: 0;
        padding-top: 0;
        color: #191D24;
        font-size: 18px;
        font-weight: 600;
    }

    .ui-header_home .head-menu_catalog li {
        margin-bottom: 17px;
    }

    .ui-header_home .head-menu_catalog li:last-child {
        margin-bottom: 72px;
    }

    .ui-header_home .head-menu_catalog .sale a,
    .ui-header_home .head-menu_catalog .sale {
        color: #C22401;
    }

    .ui-header_home .wrapper_search-form {
        width: 100%;
        height: 66px;
        padding-right: 0;
        z-index: 300;
    }

    .ui-header_home ~ .main-content,
    .ui-header_home ~ .main-footer {
        padding-left: 0;
        margin-left: 0;
    }

    .ui-header_home ~ .main-content .main-slider {
        margin-left: 0;
        overflow: hidden;
    }

    .ui-header_home ~ .main-content .main-slider .slick-list,
    .ui-header_home ~ .main-content .main-slider .slick-track,
    .ui-header_home ~ .main-content .main-slider .slick-slide,
    .ui-header_home ~ .main-content .main-slider .slick-slide > div {
        height: auto;
    }

    .ui-header_home ~ .main-content .main-slide {
        min-height: 0;
        aspect-ratio: 1 / 1;
        height: auto;
        max-height: calc(100vh - 66px);
        background: none;
        overflow: hidden;
    }

    .ui-header_home ~ .main-content .main-slide:before {
        display: block;
        width: 100%;
        height: 100%;
        background: rgba(39, 44, 53, .55);
        z-index: 1;
    }

    .ui-header_home ~ .main-content .main-slide_bg {
        left: 0;
        right: auto;
        width: 100%;
        height: 100%;
        display: block;
        background-position: center center;
        background-size: cover;
    }

    .ui-header_home ~ .main-content .main-slide .container {
        min-height: 0;
        height: 100%;
        padding: 86px 22px 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .ui-header_home ~ .main-content .main-slide .row {
        width: 100%;
        margin: 0;
    }

    .ui-header_home ~ .main-content .main-slide .left-column {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0;
    }

    .ui-header_home ~ .main-content .main-section_title {
        margin: 0 auto 14px;
        max-width: 330px;
        font-size: 30px;
        line-height: 1.14;
        text-align: center;
    }

    .ui-header_home ~ .main-content .main-slide p {
        max-width: 330px;
        margin: 0 auto 20px;
        padding: 0;
        font-size: 16px;
        line-height: 1.45;
    }

    .ui-header_home ~ .main-content .main-section_buttons {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-wrap: nowrap;
        margin: 0 auto;
    }

    .ui-header_home ~ .main-content .main-section_btn {
        min-width: 0;
        width: calc(50% - 5px);
        max-width: 170px;
        height: 42px;
        line-height: 42px;
        margin: 0;
        padding: 0 10px;
        font-size: 12px;
    }

    .ui-header_home ~ .main-content .main-slider .slick-dots {
        left: 0;
        right: 0;
        bottom: 22px;
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

@media only screen and (max-width: 575px) {
    .ui-header_home .head-logo img {
        max-width: 158px;
    }

    .ui-header_home .ui-header_fav-serach {
        width: 132px;
        flex-basis: 132px;
    }

    .ui-header_home .ui-header_fav-serach li,
    .ui-header_home .header-call-icon,
    .ui-header_home .header-fav,
    .ui-header_home .header_search-icon {
        width: 44px;
    }
}

@media only screen and (max-width: 374px) {
    .ui-header.ui-header_home {
        padding-left: 12px;
    }

    .ui-header_home .head-logo img {
        max-width: 138px;
    }

    .ui-header_home .ui-header_fav-serach {
        width: 126px;
        flex-basis: 126px;
    }

    .ui-header_home .ui-header_fav-serach li,
    .ui-header_home .header-call-icon,
    .ui-header_home .header-fav,
    .ui-header_home .header_search-icon {
        width: 42px;
    }

    .ui-header_home .hamburger {
        width: 54px;
        flex-basis: 54px;
    }

    .ui-header_home ~ .main-content .main-slide .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ui-header_home ~ .main-content .main-section_title {
        font-size: 26px;
    }

    .ui-header_home ~ .main-content .main-slide p {
        font-size: 14px;
    }

    .ui-header_home ~ .main-content .main-section_btn {
        font-size: 11px;
        padding: 0 8px;
    }
}
