@if (! empty($cats['show']))
@if (! empty($cats['eyebrow']))
{{ $cats['eyebrow'] }}
@endif @if (! empty($cats['title']))

{{ $cats['title'] }}

@endif
@if (function_exists('wc_get_page_id') && wc_get_page_id('shop') > 0) {{ __('Pogledaj sve', 'elit-gastro') }} → @endif
@foreach ($categories as $cat) @php // Always render the vector icon — the picker auto-defaults by // category name (see eg_guess_icon_for_name). Image uploads were // removed earlier so every cat-card stays visually consistent. $iconSvg = (! empty($cat['icon'])) ? \App\Icons::render($cat['icon']) : ''; @endphp
@if ($iconSvg !== '') {!! $iconSvg !!} @else @endif
{{ $cat['name'] }}
{{ $cat['count'] }} {{ _n('proizvod', 'proizvoda', (int) $cat['count'], 'elit-gastro') }}
@endforeach
@endif