@yield('title') @yield('meta_tags') @include('frontend.layouts.seo-content') @include('frontend.layouts.common-css') @yield('styles') {{-- ══ Global CK utilities (auth token, API helper, cart badge, toast) ══ --}} {{-- Loader --}}
loader
{{-- Page Content --}}
@hasSection ('header') @yield('header') @else @include('frontend.layouts.header') @endif
@yield('content')
@include('frontend.layouts.footer')
{{-- Sticky cart indicator: a small compact pill showing the most recently added product's image + a red item-count badge + "View Cart". Shown while the cart has items on every page, hidden when empty. Tap to open the cart. (This is a UX extra — it never drives the real cart; the navbar badge and cart page keep their own logic.) --}}
0 View Cart
@include('frontend.layouts.common-js') {{-- AOS animation --}} {{-- SmoothScroll --}} @yield('scripts') @if(!empty($commonSetting['firebase_api_key']) && !empty($commonSetting['firebase_vapid_key'])) {{-- Firebase Web Push — customer-facing (API / Sanctum mode) --}} @endif