.b-crumb{
    padding: 20px 5%;
}
.breadcrumb-item a{
    color: #000;
}
.categories-list{
    margin: 20px 0px;
    padding: 0px 5%;
}
.categories-list .cat{
    text-align: center;
}
.categories-list .cat p{
    color: #000;
    font-size: 14px;
    margin-top: 5px;
}
.categories-list .cat img{
    overflow: hidden;
}
.categories-list .cat:hover img{
    transform: scale(1.1);
    transition: 0.5s;
}
.categories-list .cat:hover p{
    color: #b80169;
}

.cat-description{
    margin: 20px 0px;
    padding: 20px 5%;   
}
.cat-description input {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}
.cat-description .p {
    overflow: hidden;
    white-space: inherit;
    word-wrap: break-word;
    transition: max-height 0.5s ease;
    color: #444;
    text-overflow: ellipsis;
    max-height: 15rem;
    line-height: 1.75rem;
    font-size: 0.9rem;
    position: relative;
}
.cat-description .button {
    display: block;
    color: #b80169;
    cursor: pointer;
    user-select: none;
    margin: 15px 0 0 auto;
    transition: max-height 0.5s ease, opacity 0.5s ease, visibility 0.5s 0.5s;
    font-size: 16px;
}
.cat-description input:checked+.p {
    -webkit-line-clamp: unset;
    max-height: inherit !important;
    height: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}

.cat-description .p::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(253, 253, 253, 0.81) 68%); */
    height: 50%;
}
.cat-description .p.remove-after::after{
    content: unset !important;
}
.cat-description input:checked~.button {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
}
@media(max-width:576px){
    .categories-list .cat img{
        width: 150px !important;
        height: 150px !important;
    }
    .categories-list .cat:hover img{
        transform: scale(1.0);
        transition: 0.5s;
    }
}
@media(max-width:768px){
    .categories-list .cat img{
        width: 180px !important;
        height: 180px !important;
    }
}