@extends('layouts.app')
@section('title', ($activeCategory ? ucwords(strtolower($activeCategory->name)) . ' — ' : '') . 'Shop Premium Furniture | Furnitec')
@section('content')
{{-- Page header --}}
{{ \Illuminate\Support\Str::before($activeCategory->description, '.') }}.
{{ $activeCategory ? ucwords(strtolower($activeCategory->name)) : ($search ? "Results for “{$search}”" : 'All Furniture') }}
@if($activeCategory?->description)
{{ $products->firstItem() ?? 0 }}–{{ $products->lastItem() ?? 0 }} of {{ $products->total() }} designs