🍽️ Carta Digital • 2026
@if(!empty($companyLogo))
 }})
@endif
{{ $companyName }}
@if(!empty($companyAddress))
{{ $companyAddress }}
@endif
🕐 12:00 – 23:00
@if($companyPhone)📞 {{ $companyPhone }}@endif
💳 Yape · Plin · Efectivo · Tarjeta
@if($sunatRuc)📋 RUC {{ $sunatRuc }}@endif
{{-- NAV --}}
{{-- SECCIÓN MÁS PEDIDOS --}}
@if($mostPopular->isNotEmpty())
🔥 Más Pedidos
@foreach($mostPopular as $p)
@php $bg = $catBgs[$p->category->name ?? ''] ?? '#fef9c3'; @endphp
@if($p->image)
 }})
@else {{ $catIcons[$p->category->name ?? ''] ?? '🍽️' }} @endif
{{ $currency }} {{ number_format($p->price,2) }}
🔥 Top
@endforeach
@endif
{{-- SECCIÓN RECOMENDACIONES DEL CHEF --}}
@if($chefRecommendations->isNotEmpty())
⭐ Recomendaciones del Chef
@foreach($chefRecommendations as $p)
@php $bg = $catBgs[$p->category->name ?? ''] ?? '#fef9c3'; @endphp
@if($p->image)
 }})
@else {{ $catIcons[$p->category->name ?? ''] ?? '🍽️' }} @endif
{{ $currency }} {{ number_format($p->price,2) }}
⭐ Chef
@endforeach
@endif
{{-- SECCIÓN NUEVOS --}}
@if($newProducts->isNotEmpty())
✨ Nuevos en la Carta
@foreach($newProducts as $p)
@php $bg = $catBgs[$p->category->name ?? ''] ?? '#fef9c3'; @endphp
@if($p->image)
 }})
@else {{ $catIcons[$p->category->name ?? ''] ?? '🍽️' }} @endif
{{ $currency }} {{ number_format($p->price,2) }}
✨ Nuevo
@endforeach
@endif
{{-- CATEGORÍAS CON TODOS LOS PRODUCTOS --}}
@foreach($categories as $cat)
@if($cat->products->isNotEmpty())
@foreach($cat->products as $p)
@php $bg = $catBgs[$cat->name] ?? '#fef9c3'; @endphp
@if($p->image)
 }})
@else
{{ $catIcons[$cat->name] ?? '🍽️' }}
@endif
{{ $currency }} {{ number_format($p->promotional_price ?? $p->price, 2) }}
@if($p->is_chef_recommendation)
⭐ Chef
@elseif($p->is_new)
✨ Nuevo
@elseif($p->promotional_price)
🏷️ Oferta
@endif
@endforeach
@endif
@endforeach