@props([ 'title', 'description' => null, 'keywords' => null, 'canonical' => null, 'bodyClass' => '', // Extra stylesheet bundles beyond global + header + footer. // Accepts any of: main, property-pages, about, inner-pages 'styles' => [], 'swiper' => false, 'boxiconsFilled' => false, 'lcp' => null, // Which primary-nav item to light. Only needed by views whose route name // does not identify the section — see x-site-header. 'nav' => null, ]) @php // Preserve the legacy cascade order from layouts/global-styles.php: // global -> header -> main -> property-pages -> about -> inner-pages -> footer $styleOrder = ['main', 'property-pages', 'about', 'inner-pages']; $styles = array_values(array_intersect($styleOrder, (array) $styles)); @endphp