@props(['product', 'categories']) @php $images = is_array($product->images) && count($product->images) ? $product->images : ['https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1200&q=80']; $features = is_array($product->features) && count($product->features) ? $product->features : array_values(array_filter(array_map('trim', preg_split('/\R/', $product->use_cases ?? '') ?: []))); $specs = is_array($product->specification_pairs) && count($product->specification_pairs) ? $product->specification_pairs : collect(array_filter(array_map('trim', preg_split('/\R/', $product->specifications ?? '') ?: [])))->map(function ($line) { $parts = array_map('trim', explode(':', $line, 2)); return ['label' => $parts[0] ?? $line, 'value' => $parts[1] ?? '']; })->all(); $faqs = is_array($product->faq) ? $product->faq : []; @endphp

{{ optional($product->category)->name }}

{{ $product->name }}

{{ $product->short_description }}

Get Price / Request Quote

Description

{!! nl2br(e($product->description)) !!}

Features

Product Details

@foreach($specs as $spec)
{{ $spec['label'] ?? '' }}{{ $spec['value'] ?? '' }}
@endforeach
@if(count($faqs))

FAQ

@foreach($faqs as $faq)
{{ $faq['question'] ?? '' }}

{{ $faq['answer'] ?? '' }}

@endforeach
@endif

Product Inquiry

Send Inquiry

@include('partials.inquiry-form', ['product' => $product, 'categories' => $categories, 'context' => 'Product: ' . $product->name])