<a href="product-list.php" class="offer-card-square text-center d-block">
    <img src="assets/img/thumbs/products/0<?php echo $i + 1 ?>.jpg" class="base-border-radius w-250px h-250px cover mb-2">
    <h4 class="text-center my-2 mb-2"> Mobiles </h4>
    <span class="badge badge-sm badge-danger py-2 h-auto"> Up to 40% off </span>
</a><!-- offer-card-square -->