.catalog-section-title {
    padding-top: 30px;
    margin-bottom: 30px;
}

.banner__carousel_cs {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--Black, #101010);
    margin-bottom: 100px;
}

.main__recommendations_category {
    padding-top: 50px;
    /*margin-bottom: 100px;*/
}

.recommendations__carousel-container_cs .header-slider__rulers {
    top: 110px;
}

.category-slide__cover {
    width: 100%;
    height: 258px;
    border-radius: 5px;
    overflow: hidden;

    img {
        object-fit: cover;
        max-width: 100%;
        width: 100%;
        height: 100%;
    }
}

.category-slide__rating {
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    padding: 5px 10px;

    bottom: 10px;
    right: 10px;
    border-radius: 5px;
    background: var(--blue-gradient, #1c86ff);
}

main:has(> .banner__carousel) > .tags__container {
    margin-top: 100px;
}

.tags__container {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--Black, #101010);
    margin-bottom: 100px;

    .title {
        margin-bottom: 30px;
    }
}

.tags__container h3 {
    font-size: 48px;
    margin: 0;
}

@media screen and (max-width: 1340px) {
    .tags__container h3 {
        font-size: 32px;
    }
}

@media screen and (max-width: 756px) {
    .tags__container h3 {
        font-size: 24px;
    }

    .tags__container {
        margin-bottom: 64px;
    }
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags__item {
    cursor: default;
    pointer-events: none;

    color: #101010;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    padding: 5px 10px;
    border-radius: 5px;
    background: var(--grey_select, #e8e8e8);
}

.category-filters__title {
    color: var(--Black, #101010);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    margin-bottom: 17px;
}

.category-filters__list {
    list-style: none;
    padding-left: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--Grey, #b2b2b2);
    margin-bottom: 20px;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-filters__list:last-child {
    border-bottom: none;
}

.category-filters__sublist {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalog-section__right {
    max-width: 322px;
}

.catalog-grid__container {
    margin-left: auto;
    max-width: calc((100% / 6) * 5);
}

.catalog-section__left {
    max-width: calc((100% / 6) * 5);
    .main__services {
        padding-top: 0;
        padding-bottom: 30px;
        border-bottom: 1px solid var(--Black, #101010);

        .carousel__rulers {
            padding-top: 0;
        }
    }

    .main__services .carousel__rulers {
        margin-bottom: 10px;
        margin-left: auto;
    }

    .main__services .swiper {
        padding-bottom: 0;
    }

    .new-items__items {
        flex-wrap: nowrap;
        max-width: 100%;
        gap: 40px;
        justify-content: normal;
    }

    .new-items__item {
        min-width: max-content;

    }

    .new-items__list {
        scrollbar-width: thin;
        overflow-x: auto;
    }

    .filter-btn {
        display: none;
    }
}

.catalog-section__left .new-items__list::-webkit-scrollbar {
    width: 2px; /* Ширина скролла */
}

.catalog-section__left .new-items__list::-webkit-scrollbar-track {
    background: #f4f4f9; /* Фон трека */
    border-radius: 8px;
}

.catalog-section__left .new-items__list::-webkit-scrollbar-thumb {
    background: #888; /* Цвет ползунка */
    border-radius: 8px;
}

.catalog-section__left .new-items__list::-webkit-scrollbar-thumb:hover {
    background: #555; /* Цвет при наведении */
}

.catalog-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

@media screen and (min-width: 750px) {


    .catalog-section {
margin-top: 50px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .catalog-section__right {
        grid-column: 1/2;
    }

    .catalog-section__left {
        min-height: 700px;
        grid-column: 2/5;
        max-width: unset !important;
    }

    .catalog-section .category-filters {
        width: 80%;
    }
}

.catalog-section__left .new-items__title h1 {
    margin-top: 0;
}

.new-items__select {
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--Black, #101010);
    margin-bottom: 30px;

    .search-result__dropdown-field {
        min-width: 215px;
        width: fit-content;
    }
}

.catalog-section__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px 20px;
    margin-bottom: 30px;
    padding-top: 0;

    .recommendations-slide__image-container {
        height: 258px;
        width: 100% !important;
        max-width: 100%;
    }

    .recommendations__slide {
        width: 100% !important;
        max-width: 100%;
    }
}

@media (max-width: 1440px) {
    .catalog-section__grid {
        .recommendations-slide__image-container {
            height: 215px;
        }
    }

    .category-slide__cover {
        height: 215px;
    }
}

@media (max-width: 1340px) {
    .catalog-section__grid {
        grid-template-columns: repeat(3, 1fr);

        .recommendations-slide__image-container {
            height: 261px;
        }
    }
}

@media (max-width: 1024px) {
    .recommendations__carousel-container .header-slider__rulers {
        top: 84px;
    }

    .category-slide__cover {
        height: 234px;
    }
}

@media (max-width: 964px) {
    .category-slide__cover {
        height: 229px;
    }

    .catalog-section__left {
        max-width: calc((100% / 12) * 9);
    }

    .catalog-grid__container {
        max-width: 100%;
    }

    .catalog-section__grid {
        .recommendations-slide__image-container {
            height: 229px;
        }
    }
}

@media (max-width: 764px) {
    .catalog-section__left {
        .new-items__item {
            min-width:fit-content;
        }
    }
    .banner__carousel_cs,
    .main__recommendations {
        margin-bottom: 64px;
    }

    .main__recommendations_cs {
        padding-top: 0;
    }

    .category-slide__cover {
        height: 137px;
    }

    .tags__item {
        font-size: 12px;
    }

    .catalog-section__right {
        display: none;
    }

    .catalog-section__left {
        max-width: 100%;
        flex-direction: column;

        .new-items__title {
            align-items: center;
            margin-bottom: 24px;

            h1 {
                margin: 0;
                padding: 0;
            }
        }

        .filter-btn {
            display: flex;
        }
    }

    .catalog-section__grid {
        grid-template-columns: repeat(2, 1fr);
        .recommendations-slide__image-container {
            height: 168px;
        }
    }

    .new-items__select {
        padding-bottom: 0;
        border-bottom: none;
        margin-bottom: 0;
        .search-result__dropdown-field {
            max-width: 168px;
            min-width: auto;
        }
    }

    .catalog-section__ui {
        padding-bottom: 16px;
        border-bottom: 1px solid var(--Black, #101010);
        margin-bottom: 32px;
    }

    .catalog-section__right_active {
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        background: var(--Color-background, #f7f7f7);
        width: 100%;
        height: 100%;
        z-index: 200;
        max-width: 100%;
        padding: 16px;

        .back-btn {
            margin-bottom: 10px;
        }
    }
}