@if (!empty($categories))
{{-- Header: title + count + close --}}

@lang('category.category')

{{ count($categories) }} @lang('category.category')
{{-- Body: card grid --}}

@lang('lang_v1.all_category')

@foreach ($categories as $category)

{{ $category['name'] }}

@if (!empty($category['sub_categories'])) @endif
@endforeach @foreach ($categories as $category) @if (!empty($category['sub_categories'])) @endif @endforeach
@endif @if (!empty($brands))

@lang('brand.brands')

{{ count($brands) }} @lang('brand.brands')
@foreach ($brands as $key => $brand)

{{ $brand }}

@endforeach
@endif
{!! Form::select( 'is_enabled_stock', ['' => __('messages.all'), 'product' => __('sale.product'), 'service' => __('lang_v1.service')], null, ['id' => 'is_enabled_stock', 'class' => 'select2', 'name' => null, 'style' => 'width:100% !important'], ) !!}
{{-- Hidden template: source of truth for the empty-state markup. JS injects this into #featured_products_box when there are no featured products to display (page load OR after filter). --}}