@php use Botble\Ecommerce\Facades\Cart; use Botble\Ecommerce\Facades\EcommerceHelper; // Header styles that render an inline search bar at xl+ (styles 4, 7, 8, 9, 10, 11, 13) // pass $inlineSearchAtXl = true so the modal-trigger icon hides at xl+ to avoid duplication, // while remaining visible at sm-lg where the inline bar is hidden. $inlineSearchAtXl = $inlineSearchAtXl ?? false; $searchIconClasses = $inlineSearchAtXl ? 'd-none d-sm-block d-xl-none' : 'd-none d-sm-block'; // Dark-header variants (style-6, style-13, style-14) pass colorMode='dark' so the // icons render in white — otherwise they're invisible on bg-dark headers. $colorMode = $colorMode ?? 'light'; $iconClass = 'nav-icon-item link' . ($colorMode === 'dark' ? ' text-white' : ''); $accountLabel = trim((string) ($accountLabel ?? theme_option('header_account_label', ''))); @endphp {{-- Header action icon list — search, account, wishlist, cart (matches demo). --}}