{{-- Image Area: white/light bg → dark text badges --}}
@if($product->images && is_array($product->images) && count($product->images) > 0) {{ $product->name }} @else @endif {{-- Sale badge: dark green bg → white text --}} @if($product->is_on_sale)
-{{ $product->discount_percent }}%
@endif {{-- Wishlist btn: light bg → dark icon --}} @auth
@csrf
@endauth
{{-- Card Body: white bg → dark text --}}
{{-- Stars: visible on white bg --}}
@for($i = 1; $i <= 5; $i++) @endfor
({{ $product->reviews_count }})
{{-- Product Name: dark text on white --}} {{ $product->name }} {{-- Price + Cart: white bg → dark text --}}
@if($product->is_on_sale) Rs. {{ number_format($product->price) }} Rs. {{ number_format($product->sale_price) }} @else Rs. {{ number_format($product->price) }} @endif
@if($product->is_in_stock)
@csrf {{-- Cart btn: dark green bg → white icon --}}
@else @endif