<div class="prod_card">
    <div class="img_box">
        <img src="<?php echo e($product->image); ?>" class="secImg" alt="" />
        <div class="butns d-flex">
            <a style="cursor: pointer" onclick="addToCart(this)" data-id="<?php echo e($row->id); ?>" count-id="1" class="butn primary_butn px-3 me-2 cart_butn"> <i class="fa-solid fa-cart-plus"></i> <?php echo e(__('web.add_to_cart')); ?> </a>

            <a style="cursor: pointer" onclick="favorite(this)" data-id="<?php echo e($product->id); ?>" class="butn sm_butn secondary_butn fav_butn <?php echo e(auth()->user()?->favorited($product->id) ? 'active': ''); ?>"> <i class="fa-solid fa-heart mx-0"></i> </a>
        </div>
        <?php if($product->cost_discount): ?>
            <?php echo $__env->make('web.pages.components.products.offer',['product'=>$product], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php endif; ?>
    </div>
    <div class="card-body">
        <a href="<?php echo e(route('web.product.details',$product->id)); ?>"> <h5 class="title "> <?php echo $product->title; ?> </h5> </a>
        <div class="stars mt-2">
            <?php echo $__env->make('web.pages.components.products.rate',['product'=>$product], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        </div>
        <div class="price mt-2">
            <?php echo $__env->make('web.pages.components.products.cost',['product'=>$product], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        </div>
    </div>
</div>
<?php /**PATH /home/omaralyomhost/public_html/electric/resources/views/web/pages/components/products/card.blade.php ENDPATH**/ ?>