@extends('layouts.public') @section('content') @include('partials.page-hero', [ 'eyebrow' => $product->category?->t('name') ?? __('product'), 'title' => $product->t('name'), 'subtitle' => $product->t('excerpt'), 'breadcrumbs' => array_values(array_filter([ ['label' => __('products'), 'url' => route('products.index')], $product->category ? ['label' => $product->category->t('name'), 'url' => route('products.category', $product->category)] : null, ['label' => $product->t('name')], ])), ])
@include('partials.image', ['src' => $product->image, 'alt' => $product->t('name'), 'class' => 'h-[28rem] w-full object-cover', 'ratio' => 'aspect-square', 'icon' => 'sprout'])
@if (!empty($product->gallery))
@foreach ($product->gallery as $image) {{ $product->t('name') }} @endforeach
@endif
@if ($product->category) {{ $product->category->t('name') }} @endif

{{ $product->t('name') }}

@if ($product->t('excerpt'))

{{ $product->t('excerpt') }}

@endif @if ($product->t('description'))
{!! nl2br(e($product->t('description'))) !!}
@endif
@if ($product->t('uses'))

{{ __('uses') }}

{{ $product->t('uses') }}

@endif @if ($product->t('additional_info'))

{{ __('additional_info') }}

{{ $product->t('additional_info') }}

@endif

{{ __('section_products_note') }}

@if ($related->isNotEmpty())
@foreach ($related as $item) @include('partials.product-card', ['product' => $item]) @endforeach
@endif @include('partials.cta-band') @endsection