.product-cats {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    list-style: none outside;
    clear: both;
    margin: 0 -4px 25px -4px;
}

.product-cats li.category {
    align-items: center;
    background-color: #fff;
    color: #2c2d33;
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
    border-radius: 3px;
    flex-basis: calc(20% - 8px);
    font-size: 13px;
    font-weight: 400;
    display: flex;
    height: 50px;
    list-style: none;
    text-align: left;
    line-height: 20px;
    margin: 4px;
    position: relative;
    text-size-adjust: 100%;
    unicode-bidi: isolate;
    width: 196px;
    -webkit-font-smoothing: antialiased;
    transition: all .3s 0s;
    -o-transition: all .3s 0s;
    -moz-transition: all .3s 0s;
    -webkit-transition: all .3s 0s;
    -ms-transition: all .3s 0s;
    box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, .1);
}

.product-cats li.category:hover {
    background-color: #FF9A00;
    box-shadow: 0 0 6px 0 rgba(1, 1, 1, .3);
}

.product-cats li.category a {
    align-items: center;
    display: flex;
    width: 100%;
}

.product-cats li.category img {
    flex-shrink: 0;
    float: left;
    height: auto;
    margin: 5px;
    max-width: 30px;
    width: 30px;
}

.product-cats li.category h2 {
    color: #2c2d33;
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    line-height: 17px;
    font-weight: 600;
    padding-right: 10px;
    padding-left: 10px;
    margin: 5px;
    text-size-adjust: 100%;
}

.product-cats li.category h2 ins,
.product-cats li.category h2 mark {
    text-decoration: none;
    font-size: 9px;
    font-weight: 300;
    display: none;
    float: right;
    position: absolute;
    right: 0;
    height: 20px;
    padding: 5px;
}

@media screen and (max-width: 1024px) {
    .product-cats li.category {
        margin: 4px;
        font-size: 12px;
        flex-basis: calc(50% - 8px);
        width: calc(50% - 8px);
    }

    .product-cats li.category a {
        height: 40px;
        display: flex;
        align-items: center;
        border-radius: 4px;
        text-decoration: none;
        width: 100%;
    }

    .product-cats li.category img {
        margin: 0 10px;
        flex-shrink: 0;
    }
}

@media screen and (max-width: 576px) {
    .product-cats li {
        float: left;
        width: calc(50% - 8px);
        flex-basis: calc(50% - 8px);
    }

    .product-cats li .woocommerce-loop-category__title {
        font-size: 12px;
        line-height: 1.25em;
        letter-spacing: 1px;
        font-weight: 600;
    }
}

