@foreach ($sliders as $slider)
@if ($slider['type'] !== 'default')
@else

@endif
@endforeach
@php
$categories = $categories['categories'];
// dd($categories);
@endphp
@if (is_array($categories) && count($categories) >= 1)
@foreach ($categories as $category)
@endforeach
@endif
{{-- end popular categories --}}
@foreach ($sections as $count_key => $row)
@if (!empty($row->product_details) && count((array) $row->product_details) > 0)
@if ($row->style == 'style_1')
{{-- remove pro-hover-3 class in all other components keep only in three --}}
@foreach ($row->product_details as $details)
@php
$component = getProductDisplayComponent($store_settings);
$details = (object) $details;
@endphp
@endforeach
@endif
@if ($row->style == 'style_2')
@foreach ($row->product_details as $details)
@php
$component = getProductDisplayComponent($store_settings);
$details = (object) $details;
@endphp
@endforeach
@endif
@if ($row->style == 'style_3')
@foreach ($row->product_details as $details)
@php
$component = getProductDisplayComponent($store_settings);
$details = (object) $details;
@endphp
@endforeach
@endif
@endif
@endforeach
{{-- offers --}}
@if (isset($offers) && count($offers) > 0)
{{-- @dd($offers); --}}
@foreach ($offers as $offer)
@endforeach
@endif
{{-- end offers --}}
{{-- marquee text --}}
@if (isset($offers) && count($offers) > 0)
@endif
{{-- end marquee text --}}
{{-- @dd($blogs_count); --}}
@foreach ($blogs->take(3) as $blog)
@endforeach
@if (is_array($brands['brands']) && count($brands['brands']) >= 1)
@foreach ($brands['brands'] as $brand)
@endforeach
@endif
{{-- service section --}}
{{-- end service section --}}