<?php $__env->startSection('content'); ?>
    <article id="home">
        <div class="slider owl-carousel">
            <?php $__currentLoopData = $page->post->media()->notFeatured()->get()->sortBy('post.order'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $medium): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="item">
                    <img src="<?php echo e(asset($medium->post->image)); ?>" alt="" class="cover">
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
        <section class="categories">
            <div class="container">
                <div class="row row-grid justify-content-center">
                    <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="col-xl-2 col-md-4 col-6">
                            <a href="<?php echo e(route('category', $category->slug)); ?>">
                                <div class="img-holder img-full">
                                    <img src="<?php echo e(asset($category->image)); ?>" alt="" class="absolute">
                                </div>
                                <h3><?php echo e($category->title); ?></h3>
                            </a>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </section>
        <section class="latest">
            <div class="container">
                <h2>Conozca nuestras novedades</h2>
                <p>Una correcta iluminación hace cada espacio único. </p>
                <div class="row-container">
                    <div class="row row-grid justify-content-center">
                        <?php $__currentLoopData = $latest_products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="col-md-4 col-6">
                                <?php echo $__env->make('partials.card', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            </div>
        </section>
        <?php if($section = $page->getSections('categories')->values()[0]): ?>
            <section class="collection">
                <div class="container">
                    <h2><?php echo e($section->post->title); ?></h2>
                    <div class="row row-grid">
                        <div class="col-12">
                            <h4><?php echo e($section->post->excerpt); ?></h4>
                        </div>
                        <?php $__currentLoopData = $section->images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $medium): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="col-md-6">
                                <img src="<?php echo e(asset($medium->post->image)); ?>" alt="" class="img-fluid">
                                <div class="content-html">
                                    <?php echo $medium->post->content; ?>

                                </div>
                                <?php if($medium->url): ?>
                                    <div class="btn-container">
                                        <a href="<?php echo e(url($medium->url)); ?>" class="btn">
                                            <span><?php echo e($medium->post->excerpt ?? 'Ver más'); ?></span>
                                            <i class="far fa-arrow-right"></i>
                                        </a>
                                    </div>
                                <?php endif; ?>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            </section>
        <?php endif; ?>
        <?php if($section = $page->getSection('slides')): ?>
            <div class="slides owl-carousel">
                <?php $__currentLoopData = $section->images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $medium): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="item">
                        <img src="<?php echo e(asset($medium->post->image)); ?>" alt="" class="cover">
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        <?php endif; ?>
        <?php if($section = $page->getSections('categories')->values()[1]): ?>
            <section class="collection" >
                <div class="container">
                    <h2><?php echo e($section->post->title); ?></h2>
                    <div class="row row-grid">
                        <div class="col-12">
                            <h4><?php echo e($section->post->excerpt); ?></h4>
                        </div>
                        <?php $__currentLoopData = $section->images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $medium): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="col-md-6">
                            <img src="<?php echo e(asset($medium->post->image)); ?>" alt="" class="img-fluid">
                            <div class="content-html">
                                <?php echo $medium->post->content; ?>

                            </div>
                            <?php if($medium->url): ?>
                                <div class="btn-container">
                                    <a href="<?php echo e(url($medium->url)); ?>" class="btn">
                                        <span><?php echo e($medium->post->excerpt ?? 'Ver más'); ?></span>
                                        <i class="far fa-arrow-right"></i>
                                    </a>
                                </div>
                            <?php endif; ?>
                        </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            </section>
        <?php endif; ?>
        <section class="articles">
            <div class="row row-grid">
                <?php $__currentLoopData = $articles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $article): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-lg-3 col-md-6">
                        <a href="#">
                            <div class="img-holder">
                                <img src="<?php echo e(asset($article->image)); ?>" alt="" class="cover">
                            </div>
                            <div class="inner-container">
                                <h4><?php echo e($article->short_time); ?></h4>
                                <h3><?php echo e($article->post->title); ?></h3>
                            </div>
                        </a>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        </section>
        <?php if($section = $page->getSection('bienvenida')): ?>
            <section class="content bienvenida">
                <div class="container">
                    <div class="row row-grid align-items-center">
                        <div class="col-md-5">
                            <img src="<?php echo e(asset($section->image->post->image)); ?>" alt="" class="img-fluid">
                        </div>
                        <div class="col-md-6 offset-md-1">
                            <h1><?php echo e($section->post->title); ?></h1>
                            <div class="content-html">
                                <?php echo $section->post->content; ?>

                            </div>
                            <?php if($section->url): ?>
                                <div class="btn-container">
                                    <a href="<?php echo e(url($section->url)); ?>" class="btn">
                                        <span><?php echo e($section->post->excerpt ?? 'Ver más'); ?></span>
                                        <i class="far fa-arrow-right"></i>
                                    </a>
                                </div>
                            <?php endif; ?>
                        </div>
                    </div>
                </div>
            </section>
        <?php endif; ?>
        <section class="latest">
            <div class="container">
                <h2>Destacados</h2>
                <p>Una correcta iluminación hace cada espacio único. </p>
                <div class="row-container">
                    <div class="row row-grid justify-content-center">
                        <?php $__currentLoopData = $featured_products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="col-md-4 col-6">
                                <?php echo $__env->make('partials.card', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            </div>
        </section>
        <section class="icons">
            <div class="container">
                <div class="row row-grid">
                    <div class="col-md-3 col-sm-6">
                        <div class="d-flex align-items-center">
                            <i class="far fa-exchange"></i>
                            <span><b>5 días</b> Políticas de recambio</span>
                        </div>
                    </div>
                    <div class="col-md-3 col-sm-6">
                        <div class="d-flex align-items-center">
                            <i class="far fa-truck"></i>
                            <span><b>Delivery</b> Garantizado</span>
                        </div>
                    </div>
                    <div class="col-md-3 col-sm-6">
                        <div class="d-flex align-items-center">
                            <i class="far fa-shopping-bag"></i>
                            <span><b>Seguridad</b> en tus compras</span>
                        </div>
                    </div>
                    <div class="col-md-3 col-sm-6">
                        <div class="d-flex align-items-center">
                            <i class="far fa-ear-muffs"></i>
                            <span><b>Consultas al</b> 0981641554</span>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </article>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('scripts'); ?>
    <script>
      $(function() {
        $('.slider').owlCarousel({
          loop: true,
          items: 1,
          nav: true,
          navText: ['<i class="far fa-arrow-left"></i>', '<i class="far fa-arrow-right"></i>'],
          dots: true,
          autoplay: true,
          autoplayHoverPause: true
        });

        $('.slides').owlCarousel({
          loop: true,
          items: 2,
          nav: false,
          dots: false,
          autoplay: true,
          autoplayHoverPause: true,
          autoWidth: true,
          margin: 5
        });
      });
    </script>
<?php $__env->stopPush(); ?><?php /**PATH /home/poshcom/bgreen.posh.com.py/resources/views/templates/home.blade.php ENDPATH**/ ?>