

<?php $__env->startSection('content'); ?>
        <!--====== Start Banner Section ======-->
        <section class="banner-area">
            <div class="banner-wrapper d-flex">
                <div class="banner-left">
                    <div class="top-tools">
                        <?php if(!empty($socials)): ?>
                        <ul class="social-link">
                            <?php $__currentLoopData = $socials; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $social): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <li><a target="_blank" href="<?php echo e($social->url); ?>"><i class="<?php echo e($social->icon); ?>"></i></a></li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </ul>
                        <?php endif; ?>
                        <div class="hero-arrows"></div>
                    </div>
                </div>
                <div class="banner-right">
                    <!--   hero area start   -->
                    <?php if($bs->home_version == 'static'): ?>
                        <?php if ($__env->exists('front.ecommerce.partials.static')) echo $__env->make('front.ecommerce.partials.static', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    <?php elseif($bs->home_version == 'slider'): ?>
                        <?php if ($__env->exists('front.ecommerce.partials.slider')) echo $__env->make('front.ecommerce.partials.slider', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    <?php elseif($bs->home_version == 'video'): ?>
                        <?php if ($__env->exists('front.ecommerce.partials.video')) echo $__env->make('front.ecommerce.partials.video', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    <?php elseif($bs->home_version == 'particles'): ?>
                        <?php if ($__env->exists('front.ecommerce.partials.particles')) echo $__env->make('front.ecommerce.partials.particles', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    <?php elseif($bs->home_version == 'water'): ?>
                        <?php if ($__env->exists('front.ecommerce.partials.water')) echo $__env->make('front.ecommerce.partials.water', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    <?php elseif($bs->home_version == 'parallax'): ?>
                        <?php if ($__env->exists('front.ecommerce.partials.parallax')) echo $__env->make('front.ecommerce.partials.parallax', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    <?php endif; ?>
                </div>
            </div>
        </section><!--====== End Banner Section ======-->

        <?php if($bs->feature_section == 1): ?>
        <!--====== Start plus-features Section ======-->
        <section class="plus-features mt-100">
            <div class="custom-container">
                <div class="features-wrapper">
                    <?php $__currentLoopData = $features; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $feature): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="features-box d-flex align-items-center">
                            <div class="icon" style="color: #<?php echo e($feature->color); ?>;">
                                <i class="<?php echo e($feature->icon); ?>"></i>
                            </div>
                            <div class="info">
                                <h5><?php echo e($feature->title); ?></h5>
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </section><!--====== End plus-features Section ======-->
        <?php endif; ?>

        <?php if($be->categories_section == 1): ?>
        <!--====== Start plus-categories Section ======-->
        <section class="plus-categories pt-105 pb-100">
            <div class="custom-container">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="section-title mb-20">
                            <h2><?php echo e(__('Featured Categories')); ?></h2>
                        </div>
                    </div>
                </div>
                <div class="categories-slide">
                    <?php $__currentLoopData = $fcategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <a href="<?php echo e(route('front.product', ['category_id' => $category->id])); ?>" class="categories-item">
                        <div class="cat-img">
                            <img src="<?php echo e(asset('assets/front/img/product/categories/' . $category->image)); ?>" alt="">
                        </div>
                        <div class="cat-content">
                            <h5><?php echo e($category->name); ?></h5>
                        </div>
                    </a>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </section><!--====== End plus-categories Section ======-->
        <?php endif; ?>

        <?php if($be->featured_products_section == 1): ?>
        <!--====== Start plus-featured Section ======-->
        <section class="plus-featured-ection pb-100">
            <div class="custom-container">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="featured-tabs">
                            <ul class="nav nav-tabs">
                                <li class="nav-item">
                                  <a class="nav-link active" data-toggle="tab" href="#cat1"><?php echo e(__('Featured')); ?></a>
                                </li>
                                <li class="nav-item">
                                  <a class="nav-link" data-toggle="tab" href="#cat3"><?php echo e(__('New Arrivals')); ?></a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="featured-arrows"></div>
                <div class="tab-content">
                    <div id="cat1" class="tab-pane active">
                        <div class="featured-slide">
                            
                            <?php $__currentLoopData = $fproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="shop-item">
                                    <a class="shop-img" href="<?php echo e(route('front.product.details',$product->slug)); ?>">
                                        <img class="lazy" data-src="<?php echo e(asset('assets/front/img/product/featured/'.$product->feature_image)); ?>" alt="">
                                    </a>
                                    <div class="shop-info">
                                        <?php if($bex->product_rating_system == 1 && $bex->catalog_mode == 0): ?>
                                        <div class="rate">
                                            <div class="rating" style="width:<?php echo e($product->rating * 20); ?>%"></div>
                                        </div>
                                        <?php endif; ?>
                                        <h3><a href="<?php echo e(route('front.product.details',$product->slug)); ?>"><?php echo e(strlen($product->title) > 40 ? mb_substr($product->title,0,40,'utf-8') . '...' : $product->title); ?></a></h3>
                                        <?php if($bex->catalog_mode == 0): ?>
                                            <div class="shop-price">
                                                <p class="price">
                                                    <span class="off-price">
                                                        <?php echo e($bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''); ?><?php echo e($product->current_price); ?><?php echo e($bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''); ?>

                                                    </span>
                                                    <?php if(!empty($product->previous_price)): ?>
                                                    <span class="main-price">
                                                        <?php echo e($bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''); ?><?php echo e($product->previous_price); ?><?php echo e($bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''); ?>

                                                    </span>
                                                    <?php endif; ?>
                                                </p>
                                            </div>
                                        <?php endif; ?>
                                    </div>
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                    </div>
                    <div id="cat3" class="tab-pane fade">
                        <div class="featured-slide">
                            <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="shop-item">
                                    <a class="shop-img" href="<?php echo e(route('front.product.details',$product->slug)); ?>">
                                        <img class="lazy" data-src="<?php echo e(asset('assets/front/img/product/featured/'.$product->feature_image)); ?>" alt="">
                                    </a>
                                    <div class="shop-info">
                                        <?php if($bex->product_rating_system == 1 && $bex->catalog_mode == 0): ?>
                                        <div class="rate">
                                            <div class="rating" style="width:<?php echo e($product->rating * 20); ?>%"></div>
                                        </div>
                                        <?php endif; ?>
                                        <h3><a href="<?php echo e(route('front.product.details',$product->slug)); ?>"><?php echo e(strlen($product->title) > 40 ? mb_substr($product->title,0,40,'utf-8') . '...' : $product->title); ?></a></h3>
                                        <?php if($bex->catalog_mode == 0): ?>
                                            <div class="shop-price">
                                                <p class="price">
                                                    <span class="off-price">
                                                        <?php echo e($bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''); ?><?php echo e($product->current_price); ?><?php echo e($bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''); ?>

                                                    </span>
                                                    <?php if(!empty($product->previous_price)): ?>
                                                    <span class="main-price">
                                                        <?php echo e($bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''); ?><?php echo e($product->previous_price); ?><?php echo e($bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''); ?>

                                                    </span>
                                                    <?php endif; ?>
                                                </p>
                                            </div>
                                        <?php endif; ?>
                                    </div>
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                    </div>
                    
                </div>
            </div>
        </section><!--====== End plus-featured Section ======-->
        <?php endif; ?>
        
        <?php if($be->category_products_section == 1): ?>
            <!--====== Start product-categories Section ======-->
            <?php $__currentLoopData = $hcategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <section class="product-categories pb-100">
                <div class="custom-container">
                    <div class="section-header mb-40">
                        <div class="row align-items-center">
                            <div class="col-lg-4 col-md-12 col-sm-12">
                                <div class="section-title">
                                    <h2><?php echo e($category->name); ?></h2>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="shop-categories-slide">

                        <?php if($category->products()->count() > 0): ?>
                            <?php $__currentLoopData = $category->products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="shop-item">
                                    <a class="shop-img" href="<?php echo e(route('front.product.details',$product->slug)); ?>">
                                        <img class="lazy" data-src="<?php echo e(asset('assets/front/img/product/featured/'.$product->feature_image)); ?>" alt="">
                                    </a>
                                    <div class="shop-info">
                                        <?php if($bex->product_rating_system == 1 && $bex->catalog_mode == 0): ?>
                                        <div class="rate">
                                            <div class="rating" style="width:<?php echo e($product->rating * 20); ?>%"></div>
                                        </div>
                                        <?php endif; ?>
                                        <h3><a href="<?php echo e(route('front.product.details',$product->slug)); ?>"><?php echo e(strlen($product->title) > 40 ? mb_substr($product->title,0,40,'utf-8') . '...' : $product->title); ?></a></h3>
                                        <?php if($bex->catalog_mode == 0): ?>
                                            <div class="shop-price">
                                                <p class="price">
                                                    <span class="off-price">
                                                        <?php echo e($bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''); ?><?php echo e($product->current_price); ?><?php echo e($bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''); ?>

                                                    </span>
                                                    <?php if(!empty($product->previous_price)): ?>
                                                    <span class="main-price">
                                                        <?php echo e($bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''); ?><?php echo e($product->previous_price); ?><?php echo e($bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''); ?>

                                                    </span>
                                                    <?php endif; ?>
                                                </p>
                                            </div>
                                        <?php endif; ?>
                                    </div>
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <?php endif; ?>
                    </div>
                </div>
            </section>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--====== End product-categories Section ======-->
        <?php endif; ?>

        <?php if($bs->news_section == 1): ?>
            <!--====== Start blog-grid-section Section ======-->
            <section class="blog-grid-section">
                <div class="custom-container">
                    <div class="row justify-content-center">
                        <div class="col-lg-8">
                            <div class="section-title text-center mb-20">
                                <h2><?php echo e($bs->blog_section_title); ?></h2>
                            </div>
                        </div>
                    </div>
                    <div class="row blog-slide">
                        <?php $__currentLoopData = $blogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $blog): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="blog-item mb-40">
                                <div class="post-thumb">
                                    <img class="lazy" data-src="<?php echo e(asset('assets/front/img/blogs/'.$blog->main_image)); ?>" alt="">
                                    <a href="#" class="cat"><?php echo e(!empty($blog->bcategory) ? $blog->bcategory->name : ''); ?></a>
                                </div>
                                <div class="entry-content">
                                    <h3 class="title"><a href="<?php echo e(route('front.blogdetails', [$blog->slug, $blog->id])); ?>"><?php echo e(strlen($blog->title) > 40 ? mb_substr($blog->title, 0, 40, 'utf-8') . '...' : $blog->title); ?></a></h3>
                                    <div class="post-meta">
                                        <ul>
                                            <?php
                                                $blogDate = \Carbon\Carbon::parse($blog->created_at)->locale("$currentLang->code");
                                                $blogDate = $blogDate->translatedFormat('jS F, Y');
                                            ?>
                                            <li><span><a href="#"><?php echo e($blogDate); ?></a></span></li>
                                            <li><span><a href="#">By <?php echo e(__('Admin')); ?></a></span></li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            </section><!--====== End blog-grid-section Section ======-->
        <?php endif; ?>

        <?php if($bs->partner_section == 1): ?>
        <!--====== Start Plus-sponsor Section ======-->
        <section class="plus-sponsor pb-60 pt-100">
            <div class="custom-container">
                <div class="sponsor-wrapper pt-60 pb-65">
                    <div class="sponsor-slide">
                        <?php $__currentLoopData = $partners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $partner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="sponsor-item">
                            <a href="<?php echo e($partner->url); ?>" target="_blank"><img data-src="<?php echo e(asset('assets/front/img/partners/'.$partner->image)); ?>" class="lazy" alt=""></a>
                        </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            </div>
        </section><!--====== End Plus-sponsor Section ======-->
        <?php endif; ?>


        <?php if($bs->newsletter_section == 1): ?>
        <!--====== Start Plus-newsletter Section ======-->
        <section class="plus-newsletter-section pb-50 pt-50">
            <div class="container">
                <div class="row align-items-center">
                    <div class="col-lg-6">
                        <div class="section-title section-title-white">
                            <h2><?php echo e($bs->newsletter_text); ?></h2>
                        </div>
                    </div>
                    <div class="col-lg-6">
                        <div class="newsletter-form">
                            <form class="footer-newsletter" id="footerSubscribeForm" action="<?php echo e(route('front.subscribe')); ?>" method="post">
                                <?php echo csrf_field(); ?>
                                <div class="form_group">
                                    <input type="email" class="form_control" placeholder="<?php echo e(__('Enter Email Address')); ?>" name="email" value="" required>
                                    <button class="main-btn"><?php echo e(__('Subscribe')); ?></button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </section><!--====== End Plus-newsletter Section ======-->    
        <?php endif; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('front.ecommerce.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xampp\htdocs\plusagency\without-license\plusagency-3.2\core\resources\views/front/ecommerce/index1.blade.php ENDPATH**/ ?>