@foreach($cats as $prod)
@include('includes.product.product')
@endforeach
@if(isset($min) || isset($max))
{!! $cats->appends(['min' => $min, 'max' => $max])->links() !!}
@elseif(!empty($sort))
{!! $cats->appends(['sort' => $sort])->links() !!}
@else
{!! $cats->links() !!}
@endif