<div class="catalog-toolbar__links">
    @if (Route::is('catalog.show') || Route::is('catalog.item.show'))
        <a id="catalog-filter-toggle" href="#catalog-filters" class="md:hidden">
            <span class="fa-solid fa-filter"></span>
            <strong>{{ __('Catalog::theme.general.filter') }}</strong>
        </a>
    @endif
    <a href="{{ route('catalog.cart.index') }}">
        <span class="fa-solid fa-shopping-cart"></span>
        <strong>{{ __('Catalog::theme.general.cart') }}</strong>
        @if (! empty($countCart))
            <span class="inline-flex h-6 min-w-6 items-center justify-center rounded-full bg-primary px-2 text-xs font-bold text-white">{{ $countCart }}</span>
        @endif
    </a>
    <a href="{{ route('catalog.favorites.index') }}">
        <span class="fa-solid fa-heart text-rose-500"></span>
        <strong>{{ __('Catalog::theme.general.favorites') }}</strong>
        @if (! empty($countFavorites))
            <span class="inline-flex h-6 min-w-6 items-center justify-center rounded-full bg-slate-800 px-2 text-xs font-bold text-white">{{ $countFavorites }}</span>
        @endif
    </a>
</div>
