:root{
    --sh-scenarios-title-color: #000;
    --sh-scenarios-text-color: #000;
    --sh-scenarios-card-title-color: #fff;
    --sh-scenarios-chip-text-color: #000;
    --sh-scenarios-chip-bg-color: #D9D9D9;
}

body.theme-dark {
    --sh-scenarios-title-color: #F2F3F5;
    --sh-scenarios-text-color: #D6DAE0;
    --sh-scenarios-card-title-color: #FFFFFF;
    --sh-scenarios-chip-text-color: #F2F3F5;
    --sh-scenarios-chip-bg-color: #2B313A;
}

.smart-house__scenarios {
    margin-bottom: 95px;
    position: relative;
    width: 1360px;
}

.smart-house__scenarios-slider  {
    /* pointer-events: none; */
}

.smart-house__scenarios-item-block {
    display: block;
    height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 21px 22px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: all;
}

.smart-house__scenarios-title {
    color: var(--sh-scenarios-title-color);
    font-size: 32px;
    line-height: 120%;
    font-weight: 600;
    margin: 0 0 19px 0;
}

.smart-house__scenarios-text {
    max-width: 792px;
    font-size: 24px;
    line-height: 115%;
    font-weight: 400;
    color: var(--sh-scenarios-text-color);
    margin: 0 0 45px 0;
}

.smart-house__scenarios-item-block-title {
    color: var(--sh-scenarios-card-title-color);
    font-size: 28px;
    line-height: 120%;
    font-weight: 400;
    margin-bottom: 19px;
}

.smart-house__scenarios-item-block-link {
    color: var(--sh-scenarios-chip-text-color);
    background-color: var(--sh-scenarios-chip-bg-color);
    border-radius: 5px;
    padding: 5px 6px;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    width: min-content;
}

.smart-house__scenarios .smart-house__section-slider-list-btns {
    top: 63%;
}

@media (max-width: 1460px) {
    .smart-house__scenarios {
        width: 100%;
    }
}

.smart-house__scenarios-slider.mobile {
    display: none;
}

@media (max-width: 1024px) {
    .smart-house__scenarios {
        margin-bottom: 60px;
    }

    .smart-house__scenarios-item-block-title {
        font-size: 24px;
    }

    .smart-house__scenarios-title {
        font-size: 28px;
    }

    .smart-house__scenarios-text {
        font-size: 22px;
        margin: 0 0 30px 0;
    }
}

@media (max-width: 767px) {
    .smart-house__scenarios {
        margin-bottom: 43px;
    }

    .smart-house__scenarios-title {
        font-size: 24px;
        margin-bottom: 22px;
    }

    .smart-house__scenarios-text {
        font-size: 18px;
        margin: 0 0 28px 0;
    }

    .smart-house__section-slider-list-btns,
    .smart-house__scenarios-slider.swiper {
        display: none;
    }

    .smart-house__scenarios-slider.mobile {
        display: block;
    }

    .smart-house__scenarios-slider .swiper-wrapper {
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
        max-width: 100vw;
        overflow: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-scrollbar-width: none;
    }

    .smart-house__scenarios-slider .swiper-wrapper::-webkit-scrollbar {
        display: none;
    }

    .smart-house__scenarios-item.swiper-slide {
        width: 215px !important;
        height: 390px !important;
    }

    .smart-house__scenarios-item-block {
        height: 100%;
        padding: 18px 15px;
    }

    .smart-house__scenarios-item-block-link {
        padding: 6px 6px;
        font-size: 12px;
    }

    .smart-house__scenarios-item:not(:last-child) {
        margin-right: 18px;
    }

    .smart-house__scenarios-item-block-title {
        font-size: 20px;
    }
}

@media (max-width: 520px) {
    .smart-house__scenarios-title {
        font-size: 22px;
    }

    .smart-house__scenarios-text {
        font-size: 16px;
    }
}