<?php $__env->startSection('meta'); ?>
    <meta name="keywords" content="<?php echo e($setting->meta_keywords); ?>">
    <meta name="description" content="<?php echo e($setting->meta_description); ?>">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

    <?php if($setting->is_slider == 1): ?>
        <div class="slider-area-wrapper">
            <div class="container">
                <div class="row">
                    <div class="col-lg-8">
                        <!-- Main Slider-->
                        <div class="hero-slider">
                            <div class="hero-slider-main owl-carousel dots-inside">
                                <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="item
                                    <?php if(DB::table('languages')->where('is_default', 1)->first()->rtl == 1): ?> d-flex justify-content-end <?php endif; ?>
                                    "
                                        style="background: url('<?php echo e(url('/core/public/storage/images/' . $slider->photo)); ?>')">
                                        <div class="item-inner">
                                            <div class="from-bottom">
                                                <?php if($slider->logo): ?>
                                                    <img class="d-inline-block brand-logo"
                                                        src="<?php echo e(url('/core/public/storage/images/' . $slider->logo)); ?>" alt="logo">
                                                <?php endif; ?>
                                                <div class="title text-body"><?php echo e($slider->title); ?></div>
                                                <div class="subtitle text-body"><?php echo e($slider->details); ?></div>
                                            </div>
                                            <?php if($slider->link != '#'): ?>
                                                <a class="btn btn-primary scale-up delay-1" href="<?php echo e($slider->link); ?>">
                                                    <span><?php echo e(__('Buy Now')); ?></span>
                                                </a>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                        </div>
                    </div>

                    <?php if(isset($hero_banner)): ?>
                        <div class="col-lg-4 d-none d-lg-block">
                            <a href="<?php echo e($hero_banner['url1']); ?>" class="sright-image">
                                <img src="<?php echo e(url('/core/public/storage/images/' . $hero_banner['img1'])); ?>" alt="">
                                <div class="inner-content">

                                    <?php if(isset($hero_banner['subtitle1'])): ?>
                                        <p><?php echo e($hero_banner['subtitle1']); ?></p>
                                    <?php endif; ?>

                                    <?php if(isset($hero_banner['title1'])): ?>
                                        <h4><?php echo e($hero_banner['title1']); ?></h4>
                                    <?php endif; ?>
                                </div>
                            </a>
                            <a href="<?php echo e($hero_banner['url2']); ?>" class="sright-image mb-0">
                                <img src="<?php echo e(url('/core/public/storage/images/' . $hero_banner['img2'])); ?>" alt="">
                                <div class="inner-content">
                                    <?php if(isset($hero_banner['subtitle2'])): ?>
                                        <p><?php echo e($hero_banner['subtitle2']); ?></p>
                                    <?php endif; ?>
                                    <?php if(isset($hero_banner['title2'])): ?>
                                        <h4><?php echo e($hero_banner['title2']); ?></h4>
                                    <?php endif; ?>
                                </div>
                            </a>
                        </div>
                    <?php endif; ?>

                </div>
            </div>
        </div>
    <?php endif; ?>


    <?php if($setting->is_service == 1): ?>
        <section class="service-section">
            <div class="container">
                <div class="row">
                    <?php $__currentLoopData = $services; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $service): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="col-lg-3 col-sm-6 text-center mb-30">
                            <div class="single-service single-service2">
                                <img src="<?php echo e(url('/core/public/storage/images/' . $service->photo)); ?>" alt="Shipping">
                                <div class="content">
                                    <h6 class="mb-2"><?php echo e($service->title); ?></h6>
                                    <p class="text-sm text-muted mb-0"><?php echo e($service->details); ?></p>
                                </div>
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </section>
    <?php endif; ?>


    <?php if($setting->campaign_status == 1): ?>
        <div class="deal-of-day-section mt-20">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="section-title">
                            <h2 class="h3"><?php echo e($setting->campaign_title); ?></h2>
                            <div class="right-area">
                                <div class="countdown countdown-alt" data-date-time="<?php echo e($setting->campaign_end_date); ?>">
                                </div>
                                <a class="right_link" href="<?php echo e(route('front.campaign')); ?>"><?php echo e(__('View All')); ?> <i
                                        class="icon-chevron-right"></i></a>

                            </div>
                        </div>
                    </div>
                </div>
                <div class="row g-3">

                    <div class="col-lg-12">
                        <div class="popular-category-slider owl-carousel">
                            <?php $__currentLoopData = $campaign_items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $compaign_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="slider-item">
                                    <div class="product-card">
                                        <div class="product-thumb">
                                            <?php if(!$compaign_item->item->is_stock()): ?>
                                                <div
                                                    class="product-badge bg-secondary border-default text-body
                                        ">
                                                    <?php echo e(__('out of stock')); ?></div>
                                            <?php endif; ?>

                                            <?php if($compaign_item->item->previous_price && $compaign_item->item->previous_price != 0): ?>
                                                <div class="product-badge product-badge2 bg-info">
                                                    -<?php echo e(PriceHelper::DiscountPercentage($compaign_item->item)); ?></div>
                                            <?php endif; ?>
                                            <img class="lazy"
                                                data-src="<?php echo e(url('/core/public/storage/images/' . $compaign_item->item->thumbnail)); ?>"
                                                alt="Product">
                                            <div class="product-button-group"><a class="product-button wishlist_store"
                                                    href="<?php echo e(route('user.wishlist.store', $compaign_item->item->id)); ?>"
                                                    title="<?php echo e(__('Wishlist')); ?>"><i class="icon-heart"></i></a>
                                                <a data-target="<?php echo e(route('fornt.compare.product', $compaign_item->item->id)); ?>"
                                                    class="product-button product_compare" href="javascript:;"
                                                    title="<?php echo e(__('Compare')); ?>"><i class="icon-repeat"></i></a>
                                                <?php if($compaign_item->item->is_stock()): ?>
                                                    <a class="product-button add_to_single_cart"
                                                        data-target="<?php echo e($compaign_item->item->id); ?>" href="javascript:;"
                                                        title="<?php echo e(__('To Cart')); ?>"><i class="icon-shopping-cart"></i>
                                                    </a>
                                                <?php else: ?>
                                                    <a class="product-button"
                                                        href="<?php echo e(route('front.product', $compaign_item->item->slug)); ?>"
                                                        title="<?php echo e(__('Details')); ?>"><i class="icon-arrow-right"></i></a>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                        <div class="product-card-body">

                                            <div class="product-category"><a
                                                    href="<?php echo e(route('front.catalog') . '?category=' . $compaign_item->item->category->slug); ?>"><?php echo e($compaign_item->item->category->name); ?></a>
                                            </div>
                                            <h3 class="product-title"><a
                                                    href="<?php echo e(route('front.product', $compaign_item->item->slug)); ?>">
                                                    <?php echo e(Str::limit($compaign_item->item->name, 35)); ?>

                                                </a></h3>
                                            <div class="rating-stars">
                                                <?php echo Helper::renderStarRating($compaign_item->item->reviews->avg('rating')); ?>

                                            </div>
                                            <h4 class="product-price">
                                                <?php if($compaign_item->item->previous_price != 0): ?>
                                                    <del><?php echo e(PriceHelper::setPreviousPrice($compaign_item->item->previous_price)); ?></del>
                                                <?php endif; ?>

                                                <?php echo e(PriceHelper::grandCurrencyPrice($compaign_item->item)); ?>

                                            </h4>

                                        </div>

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

                    </div>

                </div>
            </div>
        </div>
    <?php endif; ?>


    <?php if($setting->is_three_c_b_first == 1): ?>
        <div class="bannner-section mt-60">
            <div class="container ">
                <div class="row gx-3">
                    <div class="col-md-4">
                        <a href="<?php echo e($banner_first['firsturl1']); ?>" class="genius-banner">
                            <img src="<?php echo e(url('/core/public/storage/images/' . $banner_first['img1'])); ?>" alt="">
                            <div class="inner-content">
                                <?php if(isset($banner_first['subtitle1'])): ?>
                                    <p><?php echo e($banner_first['subtitle1']); ?></p>
                                <?php endif; ?>
                                <?php if(isset($banner_first['title1'])): ?>
                                    <h4><?php echo e($banner_first['title1']); ?></h4>
                                <?php endif; ?>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-4">
                        <a href="<?php echo e($banner_first['firsturl2']); ?>" class="genius-banner">
                            <img src="<?php echo e(url('/core/public/storage/images/' . $banner_first['img2'])); ?>" alt="">
                            <div class="inner-content">
                                <?php if(isset($banner_first['subtitle2'])): ?>
                                    <p><?php echo e($banner_first['subtitle2']); ?></p>
                                <?php endif; ?>
                                <?php if(isset($banner_first['title2'])): ?>
                                    <h4><?php echo e($banner_first['title2']); ?></h4>
                                <?php endif; ?>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-4">
                        <a href="<?php echo e($banner_first['firsturl3']); ?>" class="genius-banner">
                            <img src="<?php echo e(url('/core/public/storage/images/' . $banner_first['img3'])); ?>" alt="">
                            <div class="inner-content">
                                <?php if(isset($banner_first['subtitle3'])): ?>
                                    <p><?php echo e($banner_first['subtitle3']); ?> </p>
                                <?php endif; ?>
                                <?php if(isset($banner_first['title3'])): ?>
                                    <h4><?php echo e($banner_first['title3']); ?></h4>
                                <?php endif; ?>
                            </div>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    <?php endif; ?>


    <?php if($setting->is_popular_category == 1): ?>
        <section class="newproduct-section popular-category-sec mt-50">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="section-title">
                            <h2 class="h3"><?php echo e($popular_category_title); ?></h2>
                            <div class="links">
                                <?php $__currentLoopData = $popular_categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $popular_categorie): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <a class="category_get <?php echo e($loop->first ? 'active' : ''); ?>"
                                        data-target="popular_category_view"
                                        data-href="<?php echo e(route('front.popular.category', [$popular_categorie->slug, 'popular_category', 'slider'])); ?>"
                                        href="javascript:;"
                                        class="<?php echo e($loop->first ? 'active' : ''); ?>"><?php echo e($popular_categorie->name); ?></a>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="popular_category_view d-none">
                    <img src="<?php echo e(url('/core/public/storage/images/ajax_loader.gif')); ?>" alt="">
                </div>

                <div class="row" id="popular_category_view">
                    <div class="col-lg-12">
                        <div class="popular-category-slider  owl-carousel">
                            <?php $__currentLoopData = $popular_category_items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $popular_category_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="slider-item">
                                    <div class="product-card">
                                        <div class="product-thumb">

                                            <?php if(!$popular_category_item->is_stock()): ?>
                                                <div
                                                    class="product-badge bg-secondary border-default text-body
                                            ">
                                                    <?php echo e(__('out of stock')); ?></div>
                                            <?php endif; ?>
                                            <?php if($popular_category_item->previous_price && $popular_category_item->previous_price != 0): ?>
                                                <div class="product-badge product-badge2 bg-info">
                                                    -<?php echo e(PriceHelper::DiscountPercentage($popular_category_item)); ?></div>
                                            <?php endif; ?>
                                            <img class="lazy"
                                                data-src="<?php echo e(url('/core/public/storage/images/' . $popular_category_item->thumbnail)); ?>"
                                                alt="Product">
                                            <div class="product-button-group">
                                                <a class="product-button wishlist_store"
                                                    href="<?php echo e(route('user.wishlist.store', $popular_category_item->id)); ?>"
                                                    title="<?php echo e(__('Wishlist')); ?>"><i class="icon-heart"></i></a>
                                                <a data-target="<?php echo e(route('fornt.compare.product', $popular_category_item->id)); ?>"
                                                    class="product-button product_compare" href="javascript:;"
                                                    title="<?php echo e(__('Compare')); ?>"><i class="icon-repeat"></i></a>
                                                <?php echo $__env->make('includes.item_footer', [
                                                    'sitem' => $popular_category_item,
                                                ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                            </div>
                                        </div>
                                        <div class="product-card-body">
                                            <div class="product-category"><a
                                                    href="<?php echo e(route('front.catalog') . '?category=' . $popular_category_item->category->slug); ?>"><?php echo e($popular_category_item->category->name); ?></a>
                                            </div>
                                            <h3 class="product-title"><a
                                                    href="<?php echo e(route('front.product', $popular_category_item->slug)); ?>">
                                                    <?php echo e(Str::limit($popular_category_item->name, 35)); ?>

                                                </a></h3>
                                            <div class="rating-stars">
                                                <?php echo Helper::renderStarRating($popular_category_item->reviews->avg('rating')); ?>

                                            </div>
                                            <h4 class="product-price">
                                                <?php if($popular_category_item->previous_price != 0): ?>
                                                    <del><?php echo e(PriceHelper::setPreviousPrice($popular_category_item->previous_price)); ?></del>
                                                <?php endif; ?>
                                                <?php echo e(PriceHelper::grandCurrencyPrice($popular_category_item)); ?>

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

                </div>
            </div>
        </section>
    <?php endif; ?>

    <?php if($setting->is_three_c_b_second == 1): ?>
        <div class="bannner-section mt-60">
            <div class="container ">
                <div class="row gx-3">
                    <div class="col-md-4">
                        <a href="<?php echo e($banner_secend['url1']); ?>" class="genius-banner">
                            <img class="lazy" data-src="<?php echo e(url('/core/public/storage/images/' . $banner_secend['img1'])); ?>"
                                alt="">
                            <div class="inner-content">
                                <?php if(isset($banner_secend['subtitle1'])): ?>
                                    <p><?php echo e($banner_secend['subtitle1']); ?></p>
                                <?php endif; ?>

                                <?php if(isset($banner_secend['title1'])): ?>
                                    <h4><?php echo e($banner_secend['title1']); ?></h4>
                                <?php endif; ?>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-4">
                        <a href="<?php echo e($banner_secend['url2']); ?>" class="genius-banner">
                            <img class="lazy" data-src="<?php echo e(url('/core/public/storage/images/' . $banner_secend['img2'])); ?>"
                                alt="">
                            <div class="inner-content">
                                <?php if(isset($banner_secend['subtitle2'])): ?>
                                    <p><?php echo e($banner_secend['subtitle2']); ?></p>
                                <?php endif; ?>

                                <?php if(isset($banner_secend['title2'])): ?>
                                    <h4> <?php echo e($banner_secend['title2']); ?></h4>
                                <?php endif; ?>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-4">
                        <a href="<?php echo e($banner_secend['url3']); ?>" class="genius-banner">
                            <img class="lazy" data-src="<?php echo e(url('/core/public/storage/images/' . $banner_secend['img3'])); ?>"
                                alt="">
                            <div class="inner-content">
                                <?php if(isset($banner_secend['subtitle3'])): ?>
                                    <p><?php echo e($banner_secend['subtitle3']); ?> </p>
                                <?php endif; ?>

                                <?php if(isset($banner_secend['title3'])): ?>
                                    <h4><?php echo e($banner_secend['title3']); ?></h4>
                                <?php endif; ?>
                            </div>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    <?php endif; ?>

    <?php if($setting->is_highlighted == 1): ?>
        <section class="selected-product-section speacial-product-sec mt-50">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="section-title">
                            <div class="links">
                                <a data-href="<?php echo e(route('front.get.product', 'feature')); ?>" data-target="type_product_view"
                                    href="javascript:;" class="product_get active"><?php echo e(__('Featured')); ?></a>
                                <a data-href="<?php echo e(route('front.get.product', 'best')); ?>" data-target="type_product_view"
                                    class="product_get" href="javascript:;"><?php echo e(__('Best Seller')); ?></a>
                                <a data-href="<?php echo e(route('front.get.product', 'top')); ?>" data-target="type_product_view"
                                    class="product_get" href="javascript:;"><?php echo e(__('Top Rated')); ?></a>
                                <a data-href="<?php echo e(route('front.get.product', 'new')); ?>" data-target="type_product_view"
                                    class="product_get" href="javascript:;"><?php echo e(__('New Product')); ?></a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="type_product_view d-none">
                        <img src="<?php echo e(url('/core/public/storage/images/ajax_loader.gif')); ?>" alt="">
                    </div>
                    <div class="col-lg-12" id="type_product_view">

                        <div class="features-slider  owl-carousel">
                            <?php $__currentLoopData = $products->orderBy('id', 'DESC')->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if($item->is_type == 'feature'): ?>
                                    <div class="slider-item">
                                        <div class="product-card ">
                                            <div class="product-thumb">
                                                <?php if(!$item->is_stock()): ?>
                                                    <div
                                                        class="product-badge bg-secondary border-default text-body
                                                    ">
                                                        <?php echo e(__('out of stock')); ?></div>
                                                <?php endif; ?>
                                                <?php if($item->previous_price && $item->previous_price != 0): ?>
                                                    <div class="product-badge product-badge2 bg-info">
                                                        -<?php echo e(PriceHelper::DiscountPercentage($item)); ?></div>
                                                <?php endif; ?>
                                                <img class="lazy"
                                                    data-src="<?php echo e(url('/core/public/storage/images/' . $item->thumbnail)); ?>"
                                                    alt="Product">
                                                <div class="product-button-group"><a class="product-button wishlist_store"
                                                        href="<?php echo e(route('user.wishlist.store', $item->id)); ?>"
                                                        title="<?php echo e(__('Wishlist')); ?>"><i class="icon-heart"></i></a>
                                                    <a data-target="<?php echo e(route('fornt.compare.product', $item->id)); ?>"
                                                        class="product-button product_compare" href="javascript:;"
                                                        title="<?php echo e(__('Compare')); ?>"><i class="icon-repeat"></i></a>
                                                    <?php echo $__env->make('includes.item_footer', ['sitem' => $item], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                                </div>
                                            </div>
                                            <div class="product-card-inner">
                                                <div class="product-card-body">
                                                    <div class="product-category"><a
                                                            href="<?php echo e(route('front.catalog') . '?category=' . $item->category->slug); ?>"><?php echo e($item->category->name); ?></a>
                                                    </div>
                                                    <h3 class="product-title"><a
                                                            href="<?php echo e(route('front.product', $item->slug)); ?>">
                                                            <?php echo e(Str::limit($item->name, 35)); ?>

                                                        </a></h3>
                                                    <div class="rating-stars">
                                                        <?php echo Helper::renderStarRating($item->reviews->avg('rating')); ?>

                                                    </div>
                                                    <h4 class="product-price">
                                                        <?php if($item->previous_price != 0): ?>
                                                            <del><?php echo e(PriceHelper::setPreviousPrice($item->previous_price)); ?></del>
                                                        <?php endif; ?>
                                                        <?php echo e(PriceHelper::grandCurrencyPrice($item)); ?>

                                                    </h4>
                                                </div>

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

                </div>
            </div>
        </section>
    <?php endif; ?>

    <?php if($extra_settings->is_t1_falsh == 1): ?>
        <div class="flash-sell-new-section mt-50">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12 ">
                        <div class="section-title">
                            <h2 class="h3"><?php echo e(__('Flash Deal')); ?></h2>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-12">
                        <div class="main-content">
                            <div class="flash-deal-slider owl-carousel">
                                <?php $__currentLoopData = $products->orderBy('id', 'DESC')->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php if($item->is_type == 'flash_deal' && $item->date != null): ?>
                                        <div class="slider-item">
                                            <div class="product-card ">
                                                <div class="product-thumb">
                                                    <?php if(!$item->is_stock()): ?>
                                                        <div
                                                            class="product-badge bg-secondary border-default text-body
                                            ">
                                                            <?php echo e(__('out of stock')); ?></div>
                                                    <?php endif; ?>
                                                    <?php if($item->previous_price && $item->previous_price != 0): ?>
                                                        <div class="product-badge product-badge2 bg-info">
                                                            -<?php echo e(PriceHelper::DiscountPercentage($item)); ?></div>
                                                    <?php endif; ?>
                                                    <img class="lazy"
                                                        data-src="<?php echo e(url('/core/public/storage/images/' . $item->thumbnail)); ?>"
                                                        alt="Product">
                                                    <div class="product-button-group"><a
                                                            class="product-button wishlist_store"
                                                            href="<?php echo e(route('user.wishlist.store', $item->id)); ?>"
                                                            title="<?php echo e(__('Wishlist')); ?>"><i class="icon-heart"></i></a>
                                                        <a data-target="<?php echo e(route('fornt.compare.product', $item->id)); ?>"
                                                            class="product-button product_compare" href="javascript:;"
                                                            title="<?php echo e(__('Compare')); ?>"><i class="icon-repeat"></i></a>
                                                        <?php echo $__env->make('includes.item_footer', [
                                                            'sitem' => $item,
                                                        ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                                    </div>
                                                </div>
                                                <div class="product-card-inner">
                                                    <div class="product-card-body">

                                                        <div class="product-category"><a
                                                                href="<?php echo e(route('front.catalog') . '?category=' . $item->category->slug); ?>"><?php echo e($item->category->name); ?></a>
                                                        </div>
                                                        <h3 class="product-title"><a
                                                                href="<?php echo e(route('front.product', $item->slug)); ?>">
                                                                <?php echo e(Str::limit($item->name, 50)); ?>

                                                            </a></h3>
                                                        <div class="rating-stars">
                                                            <?php echo Helper::renderStarRating($item->reviews->avg('rating')); ?>

                                                        </div>
                                                        <h4 class="product-price">
                                                            <?php if($item->previous_price != 0): ?>
                                                                <del><?php echo e(PriceHelper::setPreviousPrice($item->previous_price)); ?></del>
                                                            <?php endif; ?>

                                                            <?php echo e(PriceHelper::grandCurrencyPrice($item)); ?>

                                                        </h4>
                                                        <?php if(date('d-m-y') != \Carbon\Carbon::parse($item->date)->format('d-m-y')): ?>
                                                            <div class="countdown countdown-alt mb-3"
                                                                data-date-time="<?php echo e($item->date); ?>">
                                                            </div>
                                                        <?php endif; ?>
                                                    </div>

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

    <?php if($setting->is_two_column_category == 1): ?>
        <div class="flash-sell-area mt-50">
            <div class="container">
                <div class="row gx-3 justify-content-center">
                    <?php $__currentLoopData = $two_column_categoriess; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $two_column_key => $two_column_category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="col-xl-4 col-lg-6">
                            <div class="section-title">
                                <h2 class="h3"><?php echo e($two_column_category['name']->name); ?></h2>
                            </div>
                            <div class="main-content">
                                <div class="newproduct-slider owl-carousel">
                                    <?php $__currentLoopData = $two_column_categoriess[$two_column_key]['items']->chunk(4); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $two_column_category_itemt): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div class="slider-item">
                                            <?php $__currentLoopData = $two_column_category_itemt; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $two_column_category_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <div class="product-card p-col">
                                                    <a class="product-thumb"
                                                        href="<?php echo e(route('front.product', $two_column_category_item->slug)); ?>">
                                                        <?php if(!$two_column_category_item->is_stock()): ?>
                                                            <div
                                                                class="product-badge bg-secondary border-default text-body
                                                    ">
                                                                <?php echo e(__('out of stock')); ?></div>
                                                        <?php endif; ?>

                                                        <img class="lazy"
                                                            data-src="<?php echo e(url('/core/public/storage/images/' . $two_column_category_item->thumbnail)); ?>"
                                                            alt="Product">
                                                    </a>
                                                    <div class="product-card-body">
                                                        <h3 class="product-title"><a
                                                                href="<?php echo e(route('front.product', $two_column_category_item->slug)); ?>">
                                                                <?php echo e(Str::limit($two_column_category_item->name, 40)); ?>

                                                            </a></h3>
                                                        <div class="rating-stars">
                                                            <?php echo Helper::renderStarRating($two_column_category_item->reviews->avg('rating')); ?>

                                                        </div>
                                                        <h4 class="product-price">
                                                            <?php if($two_column_category_item->previous_price != 0): ?>
                                                                <del><?php echo e(PriceHelper::setPreviousPrice($two_column_category_item->previous_price)); ?></del>
                                                            <?php endif; ?>
                                                            <?php echo e(PriceHelper::grandCurrencyPrice($two_column_category_item)); ?>

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

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

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

                </div>
            </div>
        </div>
    <?php endif; ?>

    <?php if($setting->is_two_c_b == 1): ?>
        <div class="bannner-section mt-50">
            <div class="container ">
                <div class="row gx-3">
                    <div class="col-md-6">
                        <a href="<?php echo e($banner_third['url1']); ?>" class="genius-banner">
                            <img class="lazy" data-src="<?php echo e(url('/core/public/storage/images/' . $banner_third['img1'])); ?>"
                                alt="">
                            <div class="inner-content">
                                <?php if(isset($banner_third['subtitle1'])): ?>
                                    <p><?php echo e($banner_third['subtitle1']); ?></p>
                                <?php endif; ?>
                                <?php if(isset($banner_third['title1'])): ?>
                                    <h4><?php echo e($banner_third['title1']); ?></h4>
                                <?php endif; ?>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-6">
                        <a href="<?php echo e($banner_third['url2']); ?>" class="genius-banner">
                            <img class="lazy" data-src="<?php echo e(url('/core/public/storage/images/' . $banner_third['img2'])); ?>"
                                alt="">
                            <div class="inner-content">
                                <?php if(isset($banner_third['subtitle2'])): ?>
                                    <p><?php echo e($banner_third['subtitle2']); ?> </p>
                                <?php endif; ?>
                                <?php if(isset($banner_third['title2'])): ?>
                                    <h4><?php echo e($banner_third['title2']); ?></h4>
                                <?php endif; ?>
                            </div>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    <?php endif; ?>

    <?php if($setting->is_featured_category == 1): ?>
        <section class="selected-product-section featured_cat_sec sps-two mt-50">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="section-title">
                            <h2 class="h3"><?php echo e($feature_category_title); ?></h2>
                            <div class="links">
                                <?php $__currentLoopData = $feature_categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $feature_category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <a class="category_get <?php echo e($loop->first ? 'active' : ''); ?>"
                                        data-target="feature_category_view"
                                        data-href="<?php echo e(route('front.popular.category', [$feature_category->slug, 'feature_category', 'normal'])); ?>"
                                        href="javascript:;"
                                        class="<?php echo e($loop->first ? 'active' : ''); ?>"><?php echo e($feature_category->name); ?></a>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="feature_category_view d-none">
                    <img src="<?php echo e(url('/core/public/storage/images/ajax_loader.gif')); ?>" alt="">
                </div>
                <div class="row g-3" id="feature_category_view">
                    <?php $__currentLoopData = $feature_category_items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $feature_category_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="col-gd">
                            <div class="product-card">
                                <div class="product-thumb">

                                    <?php if(!$feature_category_item->is_stock()): ?>
                                        <div
                                            class="product-badge bg-secondary border-default text-body
                                    ">
                                            <?php echo e(__('out of stock')); ?></div>
                                    <?php endif; ?>
                                    <?php if($feature_category_item->previous_price && $feature_category_item->previous_price != 0): ?>
                                        <div class="product-badge product-badge2 bg-info">
                                            -<?php echo e(PriceHelper::DiscountPercentage($feature_category_item)); ?></div>
                                    <?php endif; ?>
                                    <img class="lazy"
                                        data-src="<?php echo e(url('/core/public/storage/images/' . $feature_category_item->thumbnail)); ?>"
                                        alt="Product">
                                    <div class="product-button-group"><a class="product-button wishlist_store"
                                            href="<?php echo e(route('user.wishlist.store', $feature_category_item->id)); ?>"
                                            title="<?php echo e(__('Wishlist')); ?>"><i class="icon-heart"></i></a>
                                        <a data-target="<?php echo e(route('fornt.compare.product', $feature_category_item->id)); ?>"
                                            class="product-button product_compare" href="javascript:;"
                                            title="<?php echo e(__('Compare')); ?>"><i class="icon-repeat"></i></a>

                                        <?php echo $__env->make('includes.item_footer', [
                                            'sitem' => $feature_category_item,
                                        ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

                                    </div>
                                </div>
                                <div class="product-card-body">
                                    <div class="product-category"><a
                                            href="<?php echo e(route('front.catalog') . '?category=' . $feature_category_item->category->slug); ?>"><?php echo e($feature_category_item->category->name); ?></a>
                                    </div>
                                    <h3 class="product-title"><a
                                            href="<?php echo e(route('front.product', $feature_category_item->slug)); ?>">
                                            <?php echo e(Str::limit($feature_category_item->name, 35)); ?>

                                        </a></h3>
                                    <div class="rating-stars">
                                        <?php echo Helper::renderStarRating($feature_category_item->reviews->avg('rating')); ?>

                                    </div>
                                    <h4 class="product-price">
                                        <?php if($feature_category_item->previous_price != 0): ?>
                                            <del><?php echo e(PriceHelper::setPreviousPrice($feature_category_item->previous_price)); ?></del>
                                        <?php endif; ?>
                                        <?php echo e(PriceHelper::grandCurrencyPrice($feature_category_item)); ?>

                                    </h4>
                                </div>

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

                </div>
            </div>
        </section>
    <?php endif; ?>

    <?php if($setting->is_blogs == 1): ?>
        <div class="blog-section-h page_section mt-50 mb-30">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="section-title">
                            <h2 class="h3"><?php echo e(__('Our Blog')); ?></h2>
                        </div>
                    </div>
                </div>
                <div class="row justify-content-center">
                    <div class="col-lg-12">
                        <div class="home-blog-slider owl-carousel">
                            <?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="slider-item">
                                    <a href="<?php echo e(route('front.blog.details', $post->slug)); ?>" class="blog-post">
                                        <div class="post-thumb">
                                            <img class="lazy"
                                                data-src="<?php echo e(url('/core/public/storage/images/' . json_decode($post->photo, true)[array_key_first(json_decode($post->photo, true))])); ?>"
                                                alt="Blog Post">
                                        </div>
                                        <div class="post-body">

                                            <h3 class="post-title"> <?php echo e(Str::limit($post->title, 55)); ?>

                                            </h3>
                                            <ul class="post-meta">

                                                <li><i class="icon-user"></i><?php echo e(__('Admin')); ?></li>
                                                <li><i
                                                        class="icon-clock"></i><?php echo e(date('jS F, Y', strtotime($post->created_at))); ?>

                                                </li>
                                            </ul>
                                            <p><?php echo e(Str::limit(strip_tags($post->details), 120)); ?>

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

    <?php if($setting->is_popular_brand == 1): ?>
        <section class="brand-section mt-30 mb-60">
            <div class="container ">
                <div class="row">
                    <div class="col-lg-12 ">
                        <div class="section-title">
                            <h2 class="h3"><?php echo e(__('Popular Brands')); ?></h2>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-12">
                        <div class="brand-slider owl-carousel">
                            <?php $__currentLoopData = $brands; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $brand): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="slider-item">
                                    <a class="text-center"
                                        href="<?php echo e(route('front.catalog') . '?brand=' . $brand->slug); ?>">
                                        <img class="d-block hi-50 lazy"
                                            data-src="<?php echo e(url('/core/public/storage/images/' . $brand->photo)); ?>"
                                            alt="<?php echo e($brand->name); ?>" title="<?php echo e($brand->name); ?>">
                                    </a>
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    <?php endif; ?>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('master.front', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tnllabmy/public_html/core/resources/views/front/themes/theme1.blade.php ENDPATH**/ ?>