/**/
#product-category #category {
    margin-bottom: 20px;
}
#product-category #category .inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin: 0;

    width: fit-content;

    justify-content: start;
    align-content: start;

    max-width: 1474px;
}
#product-category #category .inner .category-el {
    width: 100%;
    height: unset;

    aspect-ratio: 488 / 450;
    max-width: 488px;
    max-height: 450px;
}
#product-category #category .inner .category-el .info {
    justify-content: center;
    align-items: center;
}
#product-category #category .inner .category-el .info .title {
    font-size: 24px;
    text-align: center;
}

#product-category #category.subcategory .inner {
    grid-template-columns: repeat(6, 1fr);
}
#product-category #category.subcategory .inner .category-el {
    aspect-ratio: 233 / 100;
    max-width: 233px;
    max-height: 100px;
}
#product-category #category.subcategory .inner .category-el .info {
    padding: 10px 20px 10px 20px;
    border: 1px solid #B6C4B6;
    background: transparent;
}
#product-category #category.subcategory .inner .category-el .info .title {
    font-family: 'Lato_font', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 111%;
    text-align: center;
    color: #6A7F6A;
    text-transform: initial;

    margin: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    word-wrap: break-word;
    /*word-break: break-all;*/

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
#product-category #category.subcategory .inner .category-el .info:hover {
    background: #B6C4B678;
}

@media (max-width: 1024px) {
    #product-category #category .inner .category-el {
        aspect-ratio: 307 / 283;
        max-width: 307px;
        max-height: 283px;
    }

    #product-category #category.subcategory .inner {
        grid-template-columns: repeat(4, 1fr);
    }
    #product-category #category.subcategory .inner .category-el {
        aspect-ratio: 233 / 100;
        max-width: 233px;
        max-height: 100px;
    }
}
@media (max-width: 783px) {
    #product-category #category:not(.subcategory) .inner {
        display: flex;
        width: 100%;
        align-content: center;
        align-self: center;
    }
    #product-category #category .inner .category-el {
        aspect-ratio: 335 / 218;
        max-width: 335px;
        max-height: 218px;
    }
    #product-category #category .inner .category-el .button {
        display: flex;
    }

    #product-category #category.subcategory .inner {
        width: fit-content;
        align-self: center;
    }
    #product-category #category.subcategory .inner {
        grid-template-columns: repeat(2, 1fr);
    }
    #product-category #category.subcategory .inner .category-el {
        aspect-ratio: 160 / 100;
        max-width: 160px;
        max-height: 100px;
    }
}