{{-- Product card. @include('partials.product-card', ['p' => $product]) optional: 'flash' => true (stock bar), 'variant' => 'shop' (full-width Add to cart button) --}} @php $flash = $flash ?? false; $variant = $variant ?? 'home'; $off = $p->discount_percent; $sold = $flash ? min(95, 40 + ($p->id * 7) % 55) : 0; @endphp