@php $heroImage = $gallery[0] ?? 'https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=800'; $hasMultipleImages = count($gallery ?? []) > 1; $hasRealImages = true; $imageCount = count($gallery ?? []); $categoryPrice = $categoryPrice ?? ['label' => 'On Request', 'sublabel' => 'Pricing', 'parent_label' => '']; $totalFiles = array_filter([ 'Category' => $serviceCategory->name, 'Group' => $parentLabel, // 'Active listings' => $listings->count() > 0 ? (string) $listings->count() : null, 'Service area' => 'Lucknow & nearby', ]); @endphp
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if($errors->any())
{{ $errors->first() }}
@endif
{{-- Left: match individual service detail layout --}}

{{ $serviceCategory->name }}

Lucknow

@if(filled($categoryPrice['parent_label'] ?? null))

{{ $categoryPrice['parent_label'] }}

@endif

{{ $categoryPrice['sublabel'] ?? 'Pricing' }}

{{ $categoryPrice['label'] ?? 'On Request' }}

4.8 Rating Verified Pros Safe & Insured
@if($hasRealImages && $hasMultipleImages)
@foreach(array_slice($gallery, 0, 6) as $img)
@endforeach
@endif

About this category

@if(filled($serviceCategory->description))
{!! nl2br(e($serviceCategory->description)) !!}
@else

Book trusted {{ strtolower($serviceCategory->name) }} professionals in Lucknow. Browse the offerings below or send an enquiry — our team will match you to the right provider.

@endif

Category details

@foreach($totalFiles as $label => $value) @if($value !== null && $value !== '')

{{ $label }}

{{ $value }}

@endif @endforeach
{{--

What we offer (tap a listing for full details)

@forelse($listings as $sub) @php $subSlug = $sub->slug ? $sub->slug : 'listing-'.$sub->id; @endphp

{{ $sub->title }}

@if($sub->hasServiceCharge())

{{ $sub->formattedServiceCharge() }}

@endif
View full listing

{{ $sub->description ?: 'Details will be shared when you enquire or open the full listing.' }}

@empty

Listings are being updated. Please check back soon.

@endforelse
--}}

Why customers trust us

Trained Professionals

Background-verified local experts.

Quick Response

Typical call-back within 30 minutes.

Transparent Pricing

No hidden charges; upfront quote.

{{-- Right: same enquiry pattern as /service/{slug} --}}
@if(! empty($relatedListings)) {{--

More Services You May Like

@foreach(array_slice($relatedListings, 0, 6) as $nearby) @php $nearbyPrice = is_numeric($nearby['price'] ?? null) ? 'INR '.number_format((float) $nearby['price']) : ($nearby['price'] ?? 'On Request'); @endphp @endforeach
--}} @endif