@php // Calculamos la cantidad total de items en el carrito para el usuario actual $cartCount = 0; if(Auth::check()) { $cartCount = (int) \App\Models\Carrito::where('usuario_id', Auth::id())->sum('cantidad'); } @endphp
{{-- Redujimos el padding vertical de py-3/py-4 a py-2/py-2.5 --}}
{{-- 1. LOGO: Tamaños ajustados para ser más sutiles --}}
agriculture
Corpo Agrícola
{{-- BUSCADOR: Altura reducida a h-10 (40px) --}}
{{-- Lupa móvil: Ajustada a h-10 --}} {{-- 2. PERFIL DE USUARIO: GUEST --}} @guest @endguest {{-- 3. PERFIL DE USUARIO: AUTENTICADO --}} @auth @endauth {{-- 4. ICONO DEL CARRITO: Ajustado a w-10 h-10 (40px) --}} shopping_cart
{{ $cartCount }}
{{-- Botón menú móvil: Ajustado a w-10 h-10 --}}
{{-- Buscador Móvil Ajustado --}}