@push('title', __('Rare values'))
{{-- Statistics Card --}} @if(isset($statistics)) {{ __('Rare Statistics') }} {{ __('Overview of rare values on :hotel', ['hotel' => setting('hotel_name')]) }}
{{ $statistics['total_categories'] }}
{{ __('Categories') }}
{{ $statistics['total_rares'] }}
{{ __('Total Rares') }}
{{ round($statistics['average_rares_per_category']) }}
{{ __('Avg per Category') }}
{{ $statistics['most_valuable_category'] }}
{{ __('Top Category') }}
@endif {{-- Search Results Info --}} @if(isset($searchTerm)) {{ __('Search Results') }} {{ __('Showing results for: :term', ['term' => $searchTerm]) }}

{{ __('Found :count categories', ['count' => $categories->count()]) }}

@endif @if(isset($categories) && isset($categories->name)) {{-- Single Category View with Sorting --}} {{ $categories->name }} {{ __('All :count rares in :category', ['count' => $categories->furniture->count(), 'category' => $categories->name]) }} {{-- Sort Controls --}}
@foreach($categories->furniture as $rare) @endforeach
@else {{-- All Categories View --}} @forelse($categories ?? [] as $category) {{ $category->name }} {{ __(':count rares', ['count' => $category->furniture->count()]) }}
@foreach($category->furniture->take(6) as $rare) @endforeach
@if($category->furniture->count() > 6) @endif
@empty {{ __('Rare values') }} {{ __('Get an overview of all of the rares on :hotel', ['hotel' => setting('hotel_name')]) }}

{{ __('We currently have no rares listed here') }}

@endforelse @endif
{{-- Enhanced Search --}} {{ __('Search Rares') }} {{ __('Find rares quickly') }}
@csrf @if (setting('google_recaptcha_enabled'))
@endif @if (setting('cloudflare_turnstile_enabled')) @endif {{ __('Search') }} @if(isset($statistics))

{{ __('Searching through :total rares', ['total' => $statistics['total_rares']]) }}

@endif
{{-- Categories Navigation --}} {{ __('Categories') }} {{ __(':count categories', ['count' => $categoriesNav->count() ?? 0]) }}