.search-category__box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.search-category__box .link {
    display: none; 
}

.search-category__box .link.visible {
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    padding: 8px 12px;
    display: flex; 
    display: -webkit-box;
    display: -ms-flexbox;
}

.search-category sup {
    display: none;
}

.search-category:hover {
    color: #8C0D18;
    border-radius: 10px;
    border: 1px solid var(--akzendent, #8C0D18);
}

.search-category.link.active, a.search-category.active {
    color: #8C0D18;
    border-radius: 10px;
    border: 1px solid var(--akzendent, #8C0D18);
    padding: 8px 12px;
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
}

/* результаты поиска */
/* .search-category-show-all {
    display: none !important;
} */

.search-category-all {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 24px;
    background: #F7F7F9;
    z-index: 6;
}

.search-category-all__header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, .2);
}

.search-category-all__title {
    font-weight: 700;
    font-size: 20px;
}

.search-category-all__close {
    cursor: pointer;
}

.search-category-all__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.category__title.pagetitle.proizv-title{
    margin-bottom: 0;
}

.find__category {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: #202124;
    margin-top: 24px;
}

.category__items {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
    color: #9B9B9C;
    margin-left: 12px;
}

.find__title {
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .find__category {
        margin: 24px 0 16px;
    }
    .search-category__box .link {
        display: flex;
        width: fit-content;
        width: -webkit-fit-content;
        width: -moz-fit-content;
    }


    .category__title.pagetitle{
        padding: 24px 0 8px;
    }

    .category__main{
        margin-bottom: 32px;
    }

    .search-category__boxing {
        max-width: 270px;

    }

    .category-header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 8px;
    }

    .search-category-show-all {

        cursor: pointer;
    }
    .search-category-all .search-category-all__list{
        gap: 8px;
    }
    .search-category-all .search-category{
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
        gap: 16px;
    }
    .category .category__box.flexbox{
        width: 95%;
        margin: 0 auto;
    }
    .category .search-category-count{
        color: #9B9B9C;
    }
}