@foreach ($categories as $category)
@if (!in_array($category->id, [9, 10]))
@endif
@endforeach
@foreach ($products as $product)
@php
$productImages = $product->images->pluck('image_path')->toArray();
$mainImage = $productImages[0] ?? 'images/no-image.png';
$hoverImage = $productImages[1] ?? $mainImage; // fallback if only 1 image
@endphp
@endforeach