@php
$posMenuFiltersInline = filter_var($posMenuFiltersInline ?? false, FILTER_VALIDATE_BOOLEAN);
@endphp
{{-- Dropdown view: side-by-side only on JS /pos when posMenuFiltersInline is true --}}
{{-- Grid view: always stacked (menu row, then category row) --}}
@foreach ($menuList as $menu)
@php
$isActiveMenu = (string) $menuId === (string) $menu->id;
@endphp
@endforeach
@foreach ($categoryList as $category)
@php
$isActiveCategory = (string) $filterCategories === (string) $category->id;
@endphp
@endforeach