
<a href="product-list.php" class="category-card-square flex-center flex-column p-0">

    <img src="assets/img/thumbs/categories/0<?php echo $index + 1 ?>.png" class="w-100 h-100 border-radius-lg base-border overflow-hidden border-primary-light mb-2 aspect-ratio-1-1" onerror="this.onerror=null; this.src='assets/img/thumbs/products/default.jpg';">

    <h6 class="text-center overflow-wrap-anywhere"> <?php echo $item ?> </h6>
    
</a>