@if ($unproducts->count() > 0)
    <br>
    <div class="products clss">
        <div class="container">
            <h3 class="title"><span>Classified Sell</span> <a href="{{ route('clasified.all') }}">View All</a>
            </h3>
            <div class="row autoplay slick-slides">
                @foreach ($unproducts as $unproduct)
                    <div class="product ">
                        <div class="product-wrapper" style="height:230px">
                            <div class="pin">
                                <div class="thumbnail">
                                    <a href="{{ route('clasified.show', ['slug' => $unproduct->slug]) }}">
                                        <img src="@if (file_exists(public_path() . '/uploads/product/' . $unproduct->thumbnail)){{ asset('uploads/product/' . $unproduct->thumbnail) }}@else{{ asset('/icon/no-img-cat.png') }}@endif" alt="{{ $unproduct->title }}">
                                    </a>
                                </div>
                                <div class="details">
                                    <a href="{{ route('clasified.show', ['slug' => $unproduct->slug]) }}">
                                        <h5>{{ $unproduct->title }}</h5>
                                    </a>
                                    <h6><strong
                                            style="color: var(--primary_color)">{{ setting('CURRENCY_ICON') ?? '৳' }}{{ $unproduct->price }}</strong>
                                    </h6>
                                </div>
                            </div>
                        </div>
                    </div>
                @endforeach
            </div>
        </div>
    </div>
@endif