ul.product-cats li {
    list-style: none;
    margin-left: 0;
    margin-bottom: 4.236em;
    text-align: center;
    position: relative;
}
ul.product-cats li img {
    margin: 0 auto; 
}

h2.woo-castom-cats a {
    color: #000F2B;
    font-weight: 400;
    font-size: 16px;
}

@media screen and (min-width:768px) {

    ul.product-cats{
        clear: both;
        overflow: hidden;
        display: flex;
    }

    ul.product-cats li {
        width: 29.4117647059%;
        float: left;
        margin-right: 5.8823529412%;
    }
    ul.product-cats li:nth-of-type(4) {
        margin-right: 0;
    }

}

@media screen and (max-width:768px) {
    ul.product-cats{
        margin: 0;
    }
}