@php
use App\Services\StoreService;
use App\Services\TranslationService;
$store_settings = app(StoreService::class)->getStoreSettings();
$language_code = app(TranslationService::class)->getLanguageCode();
$category_section_title = $store_settings['category_section_title'] ?? 'Categories';
@endphp
@foreach ($sliders as $slider)
@if ($slider['type'] !== 'default')
@else

@endif
@endforeach
@php
$categories = $categories['categories'];
@endphp
@if (is_array($categories) && count($categories) >= 1)
@endif
@if (is_array($categories_section) && count($categories_section) >= 1)
@foreach ($categories_section as $category_section)
@php
$categories = $category_section->categories_detail;
@endphp
@endforeach
@endif
@if (is_array($brands['brands']) && count($brands['brands']) >= 1)
@foreach ($brands['brands'] as $brand)
@endforeach
@endif
@foreach ($sections as $count_key => $row)
@if (!empty($row->product_details) && count((array) $row->product_details) > 0)
@if ($row->style == 'style_1')
@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')
< Fontainebleau
class="grid-products swiper style2-mySwiper gp15 arwOut5 hov-arrow circle-arrow arrowlr-0 {{ ($store_settings['products_display_style_for_web'] ?? '') == 'products_display_style_for_web_3' ? 'pro-hover3' : '' }}">
@foreach ($row->product_details as $details)
@php
$component = getProductDisplayComponent($store_settings);
$details = (object) $details;
@endphp
@endforeach
@endif
@endif
@endforeach
@if (
$web_settings['support_mode'] == 1 ||
$web_settings['shipping_mode'] == 1 ||
$web_settings['safety_security_mode'] == 1 ||
$web_settings['return_mode'] == 1)