{{-- Back to order picker — only renders when a store + a resolvable verified session is present (without those the action would no-op anyway). Lives above the heading so the page hierarchy reads "← back · How can we help? · topics". --}} @if ($this->resolvedStore())
@endif {{-- ─── Heading ─────────────────────────────────────────── --}}

{{ __('How can we help?') }}

@if ($this->resolvedStore()) {{ __('Pick the option that best matches your question. We\'ll keep things scoped to :store.', ['store' => $this->resolvedStore()->name]) }} @else {{ __('Pick the option that best matches your question. Most can be sorted in a few clicks.') }} @endif

@php // Flat collection — one card per flow, ordered by // sort_order then id (already enforced in // `Index::flows()` + `applyStoreOverride`). We deliberately // do NOT group by category at the template level: the // previous "category-as-section" layout broke the visual // 2-col grid when any category had only a single flow, // because each category got its own 1-item grid. Now the // category lives INSIDE each card as a small label, and // every flow on the page lays out in the same shared // `.sh-grid`. $flows = $this->flows(); @endphp @if ($flows->isEmpty())
{{ __('No help topics are available right now. Please reach out to us by email.') }}
@else {{-- One flat grid for ALL published flows on this store. `.sh-grid` (1 col mobile, 2 cols ≥ 760px viewport) is the canonical responsive layout class, defined in the layout's `