<?php if (isset($component)) { $__componentOriginalcce5292e18037f81915ce4af9fa20b8d = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcce5292e18037f81915ce4af9fa20b8d = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.layouts.frontend','data' => ['title' => $title]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('layouts.frontend'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($title)]); ?>
    <div x-data="{ filtersOpen: false }" class="mx-auto max-w-7xl px-6 py-10">
        <div class="mb-8 flex items-end justify-between" data-reveal-self>
            <div>
                <p class="text-xs font-semibold uppercase tracking-[0.15em] text-champagne-light">Shop</p>
                <h1 class="mt-1 font-display text-3xl text-ink"><?php echo e($title); ?></h1>
            </div>
            <button type="button" x-on:click="filtersOpen = true" class="flex items-center gap-2 rounded-full border border-ink/10 px-4 py-2 text-sm text-ink/70 transition-all duration-200 hover:border-ink/30 hover:text-ink lg:hidden">
                <?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'sliders-horizontal','class' => 'h-3.5 w-3.5']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'sliders-horizontal','class' => 'h-3.5 w-3.5']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $attributes = $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $component = $__componentOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?> Filters
            </button>
        </div>

        <div class="grid grid-cols-1 gap-10 lg:grid-cols-4">
            
            <aside
                x-cloak
                :class="filtersOpen ? 'fixed inset-0 z-50 flex' : 'hidden'"
                class="lg:sticky lg:top-24 lg:z-auto lg:flex lg:h-fit lg:self-start"
            >
                <div x-show="filtersOpen" x-on:click="filtersOpen = false" class="absolute inset-0 bg-ink/50 backdrop-blur-sm lg:hidden"></div>
                <div class="card-premium relative h-full w-72 overflow-y-auto p-6 lg:h-auto lg:w-full lg:overflow-visible" data-reveal-self>
                    <div class="mb-4 flex items-center justify-between lg:hidden">
                        <p class="font-medium text-ink">Filters</p>
                        <button type="button" x-on:click="filtersOpen = false" class="icon-btn icon-btn--on-light text-ink/50" aria-label="Close filters">
                            <?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'x']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'x']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $attributes = $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $component = $__componentOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
                        </button>
                    </div>

                    <form method="GET" class="space-y-8">
                        <?php if(request('sort')): ?>
                            <input type="hidden" name="sort" value="<?php echo e(request('sort')); ?>">
                        <?php endif; ?>

                        <div>
                            <?php if (isset($component)) { $__componentOriginal546968b3a52463319050d9ce52b28ddd = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal546968b3a52463319050d9ce52b28ddd = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.label','data' => ['value' => 'Search']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('frontend.label'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['value' => 'Search']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal546968b3a52463319050d9ce52b28ddd)): ?>
<?php $attributes = $__attributesOriginal546968b3a52463319050d9ce52b28ddd; ?>
<?php unset($__attributesOriginal546968b3a52463319050d9ce52b28ddd); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal546968b3a52463319050d9ce52b28ddd)): ?>
<?php $component = $__componentOriginal546968b3a52463319050d9ce52b28ddd; ?>
<?php unset($__componentOriginal546968b3a52463319050d9ce52b28ddd); ?>
<?php endif; ?>
                            <?php if (isset($component)) { $__componentOriginalaa8f3af7da806680a20267bead8f3112 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalaa8f3af7da806680a20267bead8f3112 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.input','data' => ['type' => 'search','name' => 'search','value' => ''.e(request('search')).'','placeholder' => 'Search products…']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('frontend.input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['type' => 'search','name' => 'search','value' => ''.e(request('search')).'','placeholder' => 'Search products…']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalaa8f3af7da806680a20267bead8f3112)): ?>
<?php $attributes = $__attributesOriginalaa8f3af7da806680a20267bead8f3112; ?>
<?php unset($__attributesOriginalaa8f3af7da806680a20267bead8f3112); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalaa8f3af7da806680a20267bead8f3112)): ?>
<?php $component = $__componentOriginalaa8f3af7da806680a20267bead8f3112; ?>
<?php unset($__componentOriginalaa8f3af7da806680a20267bead8f3112); ?>
<?php endif; ?>
                        </div>

                        <?php if($categories->isNotEmpty()): ?>
                            <div>
                                <p class="mb-2 text-xs font-semibold uppercase tracking-wide text-ink/40">Category</p>
                                <div class="space-y-1.5">
                                    <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <label class="flex items-center gap-2 rounded-lg px-1.5 py-1 text-sm text-ink/70 transition-colors duration-200 hover:bg-champagne/5 hover:text-ink">
                                            <input type="radio" name="category" value="<?php echo e($category->slug); ?>" class="border-ink/20 text-champagne focus:ring-champagne/40" <?php if(request('category') === $category->slug): echo 'checked'; endif; ?>>
                                            <?php echo e($category->name); ?>

                                        </label>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </div>
                            </div>
                        <?php endif; ?>

                        <?php if($brands->isNotEmpty()): ?>
                            <div>
                                <p class="mb-2 text-xs font-semibold uppercase tracking-wide text-ink/40">Brand</p>
                                <div class="space-y-1.5">
                                    <?php $__currentLoopData = $brands; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $brand): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <label class="flex items-center gap-2 rounded-lg px-1.5 py-1 text-sm text-ink/70 transition-colors duration-200 hover:bg-champagne/5 hover:text-ink">
                                            <input type="radio" name="brand" value="<?php echo e($brand->slug); ?>" class="border-ink/20 text-champagne focus:ring-champagne/40" <?php if(request('brand') === $brand->slug): echo 'checked'; endif; ?>>
                                            <?php echo e($brand->name); ?>

                                        </label>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </div>
                            </div>
                        <?php endif; ?>

                        <div>
                            <p class="mb-2 text-xs font-semibold uppercase tracking-wide text-ink/40">Price Range</p>
                            <div class="flex items-center gap-2">
                                <?php if (isset($component)) { $__componentOriginalaa8f3af7da806680a20267bead8f3112 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalaa8f3af7da806680a20267bead8f3112 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.input','data' => ['type' => 'number','name' => 'min_price','value' => ''.e(request('min_price')).'','placeholder' => 'Min']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('frontend.input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['type' => 'number','name' => 'min_price','value' => ''.e(request('min_price')).'','placeholder' => 'Min']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalaa8f3af7da806680a20267bead8f3112)): ?>
<?php $attributes = $__attributesOriginalaa8f3af7da806680a20267bead8f3112; ?>
<?php unset($__attributesOriginalaa8f3af7da806680a20267bead8f3112); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalaa8f3af7da806680a20267bead8f3112)): ?>
<?php $component = $__componentOriginalaa8f3af7da806680a20267bead8f3112; ?>
<?php unset($__componentOriginalaa8f3af7da806680a20267bead8f3112); ?>
<?php endif; ?>
                                <span class="shrink-0 text-ink/30">–</span>
                                <?php if (isset($component)) { $__componentOriginalaa8f3af7da806680a20267bead8f3112 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalaa8f3af7da806680a20267bead8f3112 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.input','data' => ['type' => 'number','name' => 'max_price','value' => ''.e(request('max_price')).'','placeholder' => 'Max']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('frontend.input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['type' => 'number','name' => 'max_price','value' => ''.e(request('max_price')).'','placeholder' => 'Max']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalaa8f3af7da806680a20267bead8f3112)): ?>
<?php $attributes = $__attributesOriginalaa8f3af7da806680a20267bead8f3112; ?>
<?php unset($__attributesOriginalaa8f3af7da806680a20267bead8f3112); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalaa8f3af7da806680a20267bead8f3112)): ?>
<?php $component = $__componentOriginalaa8f3af7da806680a20267bead8f3112; ?>
<?php unset($__componentOriginalaa8f3af7da806680a20267bead8f3112); ?>
<?php endif; ?>
                            </div>
                        </div>

                        <?php if($colors->isNotEmpty()): ?>
                            <div>
                                <p class="mb-2 text-xs font-semibold uppercase tracking-wide text-ink/40">Color</p>
                                <div class="flex flex-wrap gap-2">
                                    <?php $__currentLoopData = $colors; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $color): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <label class="cursor-pointer" title="<?php echo e($color->name); ?>">
                                            <input type="radio" name="color" value="<?php echo e($color->id); ?>" class="peer hidden" <?php if((int) request('color') === $color->id): echo 'checked'; endif; ?>>
                                            <span class="block h-7 w-7 rounded-full border-2 border-transparent ring-1 ring-ink/10 transition-all duration-200 hover:scale-110 hover:ring-2 hover:ring-champagne/50 peer-checked:border-champagne peer-checked:ring-2 peer-checked:ring-champagne/50" style="background-color: <?php echo e($color->hex_code ?? '#e5e5e5'); ?>"></span>
                                        </label>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </div>
                            </div>
                        <?php endif; ?>

                        <?php if($sizes->isNotEmpty()): ?>
                            <div>
                                <p class="mb-2 text-xs font-semibold uppercase tracking-wide text-ink/40">Size</p>
                                <div class="flex flex-wrap gap-2">
                                    <?php $__currentLoopData = $sizes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $size): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <label class="cursor-pointer">
                                            <input type="radio" name="size" value="<?php echo e($size->id); ?>" class="peer hidden" <?php if((int) request('size') === $size->id): echo 'checked'; endif; ?>>
                                            <span class="flex h-8 min-w-8 items-center justify-center rounded-lg border border-ink/10 px-2 text-xs text-ink/70 transition-all duration-200 hover:border-ink/30 peer-checked:border-champagne peer-checked:bg-champagne/15 peer-checked:text-champagne-light">
                                                <?php echo e($size->name); ?>

                                            </span>
                                        </label>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </div>
                            </div>
                        <?php endif; ?>

                        <div class="flex gap-2">
                            <?php if (isset($component)) { $__componentOriginal29d512f909de58766643482ddbb5b843 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal29d512f909de58766643482ddbb5b843 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.button','data' => ['type' => 'submit','class' => 'btn-block']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('frontend.button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['type' => 'submit','class' => 'btn-block']); ?>Apply Filters <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal29d512f909de58766643482ddbb5b843)): ?>
<?php $attributes = $__attributesOriginal29d512f909de58766643482ddbb5b843; ?>
<?php unset($__attributesOriginal29d512f909de58766643482ddbb5b843); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal29d512f909de58766643482ddbb5b843)): ?>
<?php $component = $__componentOriginal29d512f909de58766643482ddbb5b843; ?>
<?php unset($__componentOriginal29d512f909de58766643482ddbb5b843); ?>
<?php endif; ?>
                            <?php if (isset($component)) { $__componentOriginal29d512f909de58766643482ddbb5b843 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal29d512f909de58766643482ddbb5b843 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.button','data' => ['href' => ''.e(url()->current()).'','variant' => 'outline','class' => 'btn-block']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('frontend.button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['href' => ''.e(url()->current()).'','variant' => 'outline','class' => 'btn-block']); ?>Clear <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal29d512f909de58766643482ddbb5b843)): ?>
<?php $attributes = $__attributesOriginal29d512f909de58766643482ddbb5b843; ?>
<?php unset($__attributesOriginal29d512f909de58766643482ddbb5b843); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal29d512f909de58766643482ddbb5b843)): ?>
<?php $component = $__componentOriginal29d512f909de58766643482ddbb5b843; ?>
<?php unset($__componentOriginal29d512f909de58766643482ddbb5b843); ?>
<?php endif; ?>
                        </div>
                    </form>
                </div>
            </aside>

            
            <div class="lg:col-span-3">
                <div class="mb-6 flex items-center justify-between gap-4" data-reveal-self>
                    <p class="text-sm text-ink/50"><?php echo e($products->total()); ?> <?php echo e(Str::plural('product', $products->total())); ?></p>
                    <form method="GET">
                        <?php $__currentLoopData = request()->except('sort'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <input type="hidden" name="<?php echo e($key); ?>" value="<?php echo e($value); ?>">
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <select name="sort" onchange="this.form.submit()" class="rounded-xl border border-ink/10 bg-white px-3.5 py-2.5 text-sm text-ink shadow-sm transition-all duration-200 focus:border-champagne focus:outline-none focus:ring-4 focus:ring-champagne/15">
                            <option value="latest" <?php if(request('sort', 'latest') === 'latest'): echo 'selected'; endif; ?>>Newest</option>
                            <option value="price_asc" <?php if(request('sort') === 'price_asc'): echo 'selected'; endif; ?>>Price: Low to High</option>
                            <option value="price_desc" <?php if(request('sort') === 'price_desc'): echo 'selected'; endif; ?>>Price: High to Low</option>
                        </select>
                    </form>
                </div>

                <?php if($products->isEmpty()): ?>
                    <div class="card-premium flex flex-col items-center justify-center px-6 py-24 text-center" data-reveal-self>
                        <span class="flex h-16 w-16 items-center justify-center rounded-full bg-champagne/10">
                            <?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'shirt','class' => 'h-7 w-7 text-champagne-light','strokeWidth' => 1.5]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'shirt','class' => 'h-7 w-7 text-champagne-light','stroke-width' => 1.5]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $attributes = $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $component = $__componentOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
                        </span>
                        <p class="mt-5 text-sm text-ink/50">No products match these filters yet.</p>
                        <?php if (isset($component)) { $__componentOriginal29d512f909de58766643482ddbb5b843 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal29d512f909de58766643482ddbb5b843 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.button','data' => ['href' => ''.e(url()->current()).'','variant' => 'outline','size' => 'sm','class' => 'mt-6']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('frontend.button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['href' => ''.e(url()->current()).'','variant' => 'outline','size' => 'sm','class' => 'mt-6']); ?>
                            Clear Filters
                         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal29d512f909de58766643482ddbb5b843)): ?>
<?php $attributes = $__attributesOriginal29d512f909de58766643482ddbb5b843; ?>
<?php unset($__attributesOriginal29d512f909de58766643482ddbb5b843); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal29d512f909de58766643482ddbb5b843)): ?>
<?php $component = $__componentOriginal29d512f909de58766643482ddbb5b843; ?>
<?php unset($__componentOriginal29d512f909de58766643482ddbb5b843); ?>
<?php endif; ?>
                    </div>
                <?php else: ?>
                    <div class="grid grid-cols-2 gap-5 sm:grid-cols-3 sm:gap-6" data-reveal>
                        <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php if (isset($component)) { $__componentOriginalcef45669083f418aab5b4fc994e59833 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcef45669083f418aab5b4fc994e59833 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.product-card','data' => ['product' => $product]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('frontend.product-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['product' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($product)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcef45669083f418aab5b4fc994e59833)): ?>
<?php $attributes = $__attributesOriginalcef45669083f418aab5b4fc994e59833; ?>
<?php unset($__attributesOriginalcef45669083f418aab5b4fc994e59833); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcef45669083f418aab5b4fc994e59833)): ?>
<?php $component = $__componentOriginalcef45669083f418aab5b4fc994e59833; ?>
<?php unset($__componentOriginalcef45669083f418aab5b4fc994e59833); ?>
<?php endif; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>

                    <div class="mt-10" data-reveal-self>
                        <?php echo e($products->links()); ?>

                    </div>
                <?php endif; ?>
            </div>
        </div>
    </div>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcce5292e18037f81915ce4af9fa20b8d)): ?>
<?php $attributes = $__attributesOriginalcce5292e18037f81915ce4af9fa20b8d; ?>
<?php unset($__attributesOriginalcce5292e18037f81915ce4af9fa20b8d); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcce5292e18037f81915ce4af9fa20b8d)): ?>
<?php $component = $__componentOriginalcce5292e18037f81915ce4af9fa20b8d; ?>
<?php unset($__componentOriginalcce5292e18037f81915ce4af9fa20b8d); ?>
<?php endif; ?>
<?php /**PATH G:\Projects\ecommerce\resources\views/frontend/shop/index.blade.php ENDPATH**/ ?>