@php /** * Style-1 small card — compact line item used in cart cross-sells, * recently-viewed strips, mini-cart recommendations. * * Inputs: * $product * $qty (optional, displayed when truthy) */ use Botble\Media\Facades\RvMedia; $primaryImage = RvMedia::getImageUrl($product->image, 'thumb', false, RvMedia::getDefaultImage()); $qty = $qty ?? null; @endphp