@php $children = ($category->childrenTree ?? collect())->where('show_in_menu', true); @endphp
{{ $category->name }} @if($children->isNotEmpty()) @endif
@if($children->isNotEmpty())
@foreach($children as $child) @include('shop.partials.category-tree-mobile', ['category' => $child]) @endforeach
@endif