@php use App\Services\CartService; $cartService = app(CartService::class); $cartCount = $cartService->getCount(); $wishlistCount = auth()->check() ? auth()->user()->wishlists()->count() : 0; $collections = \App\Models\Collection::where('is_active', true)->orderBy('sort_order')->orderBy('title')->get(); @endphp