{{-- Full-width results banner (title/count + sort + active-filter chips) — sits ABOVE the sidebar+grid row (see site/properties/index.blade.php and category.blade.php), matching agrawal-html/listings.html. Previously this lived inside the grid column only, which pushed the results grid down without moving the filter sidebar, misaligning the two. --}} @php $headingTag = $resultsHeadingTag ?? 'h1'; // Set by PropertyCategoryController/PropertyListingController whenever a // Google-selected location (with coordinates) is active — inherited // automatically from the parent view's data, same as $sort/$properties. $hasLocation = $hasLocation ?? false; @endphp
Search results <{{ $headingTag }} class="fw-bold mb-1 mt-2" style="font-size:clamp(28px,3.6vw,40px);"> {{ $properties->total() }} {{ Str::plural('property', $properties->total()) }} found @if ($properties->total() > 0)

Showing {{ $properties->firstItem() }}–{{ $properties->lastItem() }} of {{ $properties->total() }} {{ Str::plural('property', $properties->total()) }}

@endif
{{-- Resubmits to the current path (works for both /properties and a category URL) carrying whatever query params are already active (including the current page — changing sort alone never changes the total result count, so the current page always stays in range), other than sort itself which this form's own select owns. --}}
@foreach (request()->except(['sort']) as $key => $value) @if (is_scalar($value) && filled($value)) @endif @endforeach
@include('partials.site._active-filter-chips', ['propertyTypes' => $propertyTypes, 'propertyTags' => $propertyTags])