<?php $__env->startSection('title', $page->post->title ?? $category->title ?? 'Shop'); ?>

<?php $__env->startSection('content'); ?>
    <article id="shop">
        <div class="breadcrumb">
            <div class="container d-flex align-items-center">
                <a href="<?php echo e(url('/')); ?>">Inicio</a>
                <span><?php echo $__env->yieldContent('title'); ?></span>
            </div>
        </div>
        <section>
            <div class="container">
                <div class="row row-grid flex-row-reverse flex-lg-row">
                    <div class="col-lg-3">
                        <aside class="sidebar">
                            <h3>Productos</h3>
                            <div class="products">
                                <ul class="list-unstyled">
                                    <?php $__currentLoopData = $latest_products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <li>
                                            <div class="row row-grid row-grid-small align-items-center">
                                                <div class="col-4">
                                                    <a href="<?php echo e(route('product', $product->post->slug)); ?>">
                                                        <div class="img-holder img-full">
                                                            <?php if($product->thumbnail): ?>
                                                                <img src="<?php echo e(asset($product->thumbnail)); ?>" alt="" class="cover">
                                                            <?php endif; ?>
                                                        </div>
                                                    </a>
                                                </div>
                                                <div class="col-8">
                                                    <h4>
                                                        <a href="<?php echo e(route('product', $product->post->slug)); ?>"><?php echo e($product->post->title); ?></a>
                                                    </h4>
                                                    <h5><?php echo e(num_format($product->price)); ?></h5>
                                                </div>
                                            </div>
                                        </li>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </ul>
                            </div>
                            <h3>Categorías</h3>
                            <ul class="list-unstyled">
                                <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <li>
                                        <a href="#"><?php echo e($category->title); ?> <sup><?php echo e($category->products_count); ?></sup></a>
                                    </li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                            <h3>Etiquetas</h3>
                            <div class="tags">
                                <div class="row row-grid row-grid-small">
                                    <?php $__currentLoopData = $tags; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div class="col-auto">
                                            <a href="#"><?php echo e($tag); ?></a>
                                        </div>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </div>
                            </div>
                        </aside>
                    </div>
                    <div class="col-lg-9">
                        <div class="row row-grid row-grid-small">
                            <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="col-lg-3 col-md-4 col-6">
                                    <?php echo $__env->make('partials.card', ['class' => 'card-sm'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            <div class="col-12">
                                <?php echo $products; ?>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </article>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.frontend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/poshcom/bgreen.posh.com.py/resources/views/templates/shop.blade.php ENDPATH**/ ?>