<div>
    <div class="shop-product-wrapper res-xl res-xl-btn">
        <div class="shop-bar-area">
            <div class="shop-bar pb-60">
                <div class="shop-found-selector">
                    <div class="shop-found">
                        <p class="small">
                            <?php echo e(__("Showing")); ?> <?php echo e($products->firstItem()); ?> - <?php echo e($products->lastItem()); ?> of <?php echo e($products->total()); ?> results
                        </p>
                    </div>
                    <div wire:ignore class="shop-selector">
                        <label><?php echo e(__("Sort By")); ?> :</label>
                        <select wire:model="sortingBy">
                            <option value="default"><?php echo e(__("Default sorting")); ?></option>
                            <option value="popularity"><?php echo e(__("Popularity")); ?></option>
                            <option value="low-high"><?php echo e(__("Price: Low to High")); ?></option>
                            <option value="high-low"><?php echo e(__("Price: High to Low")); ?></option>
                        </select>

                    </div>
                </div>
                <div class="shop-filter-tab">
                    <div class="shop-tab nav" role=tablist>
                        <a class="active" href="#grid-sidebar1" data-toggle="tab" role="tab" aria-selected="true">
                            <i class="fas fa-border-all"></i>
                        </a>
                        <a href="#grid-sidebar2" data-toggle="tab" role="tab" aria-selected="false">
                            <i class="fas fa-bars"></i>
                        </a>
                    </div>
                </div>
            </div>
            <div class="shop-product-content tab-content">
                <div id="grid-sidebar1" class="tab-pane fade active show">
                    <div class="row">
                        <?php $__empty_1 = true; $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                            <div class="col-lg-4 col-xl-3 col-md-6">
                                <div class="product-fruit-wrapper mb-60 shadow">
                                    <div class="product-fruit-img">
                                        <img src="<?php echo e($product->image); ?>" alt="<?php echo e($product->name); ?>">
                                        <div class="product-furit-action">
                                            <a wire:click.prevent="addToCart('<?php echo e($product->id); ?>')"
                                               class="furit-animate-left" title="<?php echo e(__("Add To Cart")); ?>">
                                                <i class="fas fa-shopping-cart"></i>
                                            </a>
                                            <a wire:click.prevent="addToWishList('<?php echo e($product->id); ?>')"
                                               class="furit-animate-right" title="<?php echo e(__("Wishlist")); ?>">
                                                <i class="fas fa-heart"></i>
                                            </a>
                                        </div>
                                    </div>
                                    <div class="product-fruit-content text-center">
                                        <h4>
                                            <a href="<?php echo e(route('product.show', $product->slug)); ?>"><?php echo e($product->name); ?></a>
                                        </h4>
                                        <span><?php echo e(format_amount($product->price, true)); ?></span>
                                        <div>
                                            <?php if($product->tags->count() > 0): ?>
                                                <?php $__currentLoopData = $product->tags; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <label for="" class="small">
                                                        <a href="<?php echo e(route('shop.tag', $tag->slug)); ?>">
                                                            <?php echo e($tag->name); ?>

                                                            <span><?php echo e($loop->last ? '' : ','); ?></span>
                                                        </a>
                                                    </label>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                            <p><?php echo e(__("No products found.")); ?></p>
                        <?php endif; ?>
                    </div>
                </div>
                <div id="grid-sidebar2" class="tab-pane fade">
                    <div class="row">
                        <?php $__empty_1 = true; $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                            <div class="col-lg-12">
                                <div class="product-wrapper mb-30 single-product-list product-list-right-pr mb-60">
                                    <div class="product-img list-img-width">
                                        <img src="<?php echo e($product->image); ?>" alt="<?php echo e($product->name); ?>" width="150">
                                    </div>
                                    <div class="product-content-list">
                                        <div class="product-list-info">
                                            <h4>
                                                <a href="<?php echo e(route('product.show', $product->slug)); ?>">
                                                    <?php echo e($product->name); ?>

                                                </a>
                                            </h4>
                                            <span><?php echo e(format_amount($product->price,true)); ?></span>
                                            <?php if($product->tags->count() > 0): ?>
                                                <?php $__currentLoopData = $product->tags; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <label>
                                                        <a href="<?php echo e(route('shop.tag', $tag->slug)); ?>">
                                                            <?php echo e($tag->name); ?><span><?php echo e($loop->last ? '' : ','); ?></span>
                                                        </a>
                                                    </label>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            <?php endif; ?>
                                            <p><?php echo e($product->description); ?></p>
                                        </div>
                                        <div class="product-list-cart-wishlist">
                                            <div class="product-list-cart">
                                                <a wire:click="addToCart('<?php echo e($product->id); ?>')"
                                                   class="btn-hover list-btn-style" title="Add To Cart" style="cursor: pointer">
                                                    <?php echo e(__("add to cart")); ?>

                                                </a>
                                            </div>
                                            <div class="product-list-look">
                                                <a wire:click="addToWishList('<?php echo e($product->id); ?>')"
                                                   class="btn-hover list-btn-wishlist"
                                                   title="Wishlist" style="cursor: pointer">
                                                    <i class='far fa-heart'></i>
                                                </a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                            <h3 style=""><?php echo e(__("No products found.")); ?></h3>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="d-flex justify-content-center">
        <?php echo $products->appends(request()->all())->onEachSide(1)->links(); ?>

    </div>
</div>
<?php /**PATH /home/lekruu/public_html/resources/views/livewire/frontend/product/shop-products-component.blade.php ENDPATH**/ ?>