@foreach($productos as $producto)
{{-- NEW: Product Details Content below the image --}}
{{-- NEW: Product Labels at Top Left --}}
@else
@endif
@if($producto->stock <= 0)
AGOTADO
@endif
@endforeach
{{-- You'll need logic to determine which labels to show. Example: --}}
{{ $producto->codigo_barra }}
@if($producto->descuento > 0) {{-- Assuming a 'descuento' (discount) field --}}
-{{ $producto->descuento }}%
@endif
{{-- You might get these from product data, e.g., $producto->category or $producto->brand --}}
{{-- If you have a fixed discount for a type of product, like "-40% Dazy-Less", you'd put that here --}}
{{-- Old .producto-overlay content has been moved out --}}
{{-- If you still want a subtle gradient at the bottom of the image, the .producto-overlay could be empty but exist here. --}}
{{-- --}}
{{ $producto->nombre }}
{{ $producto->descripcion }}
$ {{ number_format($producto->precio_venta, 0, ',', '.') }}
@if($producto->stock > 0)