@push('css')
    <link rel="stylesheet" href="{{bagisto_asset('styles/categories-tv.css')}}" />
@endpush

@if ($results instanceof \Illuminate\Pagination\LengthAwarePaginator and $results->hasPages())
        <div class="product-section-pagination">
            <div class="pagination-buttons">
                <form method="get">
                    <a class="pagination-button pagination-button-left" href="{{ $results->previousPageUrl() }}">
                        <img src="{{bagisto_asset('icons/arrow-down-sign-to-navigate.svg')}}" alt="left">
                    </a>
                    <span class="mid-button-text">{{ $results->currentPage() }}</span>
                    <a class="pagination-button pagination-button-right" href="{{ $results->nextPageUrl() }}">
                        <div><img src="{{bagisto_asset('icons/arrow-down-sign-to-navigate.svg')}}" alt="right"></div>
                    </a>
                </form>
            </div>
            <span class="page-count">{{__('shop::app.products.total-pages',['total'=>$products->lastPage()])}}</span>
        </div>
@endif