@extends('layouts.site') @section('title', ($category ? $category->name . ' — ' : '') . 'Shop Refurbished Hardware — pcfy.in') @section('screen_label', 'Shop') @section('page_css') @endsection @section('content')
Home @if($category) All Products {{ $category->name }} @else All Products @endif

@if($category) Refurbished {{ $category->name }} @else Shop All Refurbished @endif

{{ $category?->description ?: 'Certified, 30-point tested hardware — honestly graded and warranty-backed. Filter by brand, spec, grade & budget.' }}

@php $sortOptions = [ 'newest' => 'Relevance', 'price_asc' => 'Price: Low to High', 'price_desc' => 'Price: High to Low', 'name' => 'Name A-Z', 'discount' => 'Biggest discount', ]; $currentSort = request('sort', 'newest'); @endphp
{{ $products->total() }} product{{ $products->total() !== 1 ? 's' : '' }} @if(request()->hasAny(['ram','storage','processor','brand_id','grade','condition','q']))  · filtered @endif
@forelse($products as $product) @empty
No products match your filters
Try removing a filter or widening your price range.
@endforelse
@if($products->hasPages())
{{ $products->appends(request()->query())->links() }}
@endif
Sort by
@foreach($sortOptions as $val => $lbl)
{{ $lbl }}
@endforeach
@endsection @push('scripts') @endpush