class('pcard') }} @if ($colour) style="{{ $colour->accentStyle() }}" @endif>
@if ($image) srcset()) srcset="{{ $set }}" sizes="(min-width: 1024px) 22vw, (min-width: 768px) 30vw, 50vw" @endif alt="{{ $image->alt ?: $product->name }}" loading="lazy" decoding="async" class="w-full h-full object-cover" @if ($image->width) width="{{ $image->width }}" height="{{ $image->height }}" @endif> @elseif ($product->isBundle() && count($colours) > 1) @foreach (array_slice($colours, 0, 3) as $c)@endforeach @else @endif
@if ($soldOut) Sold out @elseif ($quote?->onSale()) Sale @elseif ($product->is_featured) Bestseller @elseif ($lowStock) Almost gone @endif
@if ($showActions && ! $soldOut) {{ $actions ?? '' }} @endif

{{ $product->name }}

@if ($product->rating_count)@endif @if (count($colours) > 1) {{ count($colours) }} colours @elseif ($colour?->tagline) {{ $colour->tagline }} @endif @if ($quote) @if ($quote->onSale()) {{ $quote->unit }} {{ $quote->compareAt() }} @else {{ $product->isBundle() || count($colours) <= 1 ? '' : 'From ' }}{{ $quote->unit }} @endif @endif