
<?php $__env->startSection('title', 'Menu'); ?>

<?php $__env->startSection('content'); ?>
<div class="mad-breadcrumb with-bg-image" data-bg-image-src="<?php echo e(asset('assets_front/images/header.webp')); ?>" style="background-image: url(&quot;assets_front/images/1920x392_bg1.jpg&quot;);">
  <div class="container">
    <h1 class="mad-page-title">Menu</h1>
    <nav class="mad-breadcrumb-path"><span><a href="<?php echo e(url('/')); ?>">Home</a></span> / <span>Menu</span>
    </nav>
  </div>
</div>
<div class="mad-content">
  <div class="container">
    <div class="content-element-17">
      <!--================ Team Members ================-->
      <div class="row vr-size-2">
        <div class="col-xl-9">
          <h2 class="mad-page-title">Menu</h2>
          <!--================ Tabs ================-->
          <div class="mad-tabs mad-tabs--tour-sections">
            <!--================ Tabs Navigation ================-->
            <div role="tablist" aria-label="Tour Sections v1" class="mad-tabs-nav">
              <!-- <span class="mad-active"><a id="" href="" role="tab" aria-selected="true" aria-controls="" class="mad-tab-link">All</a>
              </span> -->
              <?php $__currentLoopData = $category; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $home_categories): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
              <span class="<?php echo e($home_categories->id == 1 ? 'mad-active' : ''); ?>"><a id="tab-<?php echo e($home_categories->id); ?>-link" href="#tab-<?php echo e($home_categories->id); ?>" role="tab" aria-selected="false" aria-controls="tab-<?php echo e($home_categories->id); ?>" class="mad-tab-link"><?php echo e($home_categories->category); ?></a>
              </span> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
            <!--================ End of Tabs Navigation ================-->
            <!--================ Tabs Container ================-->
            <div class="mad-tabs-container">
              <!--================ Tab ================-->
              <?php $__currentLoopData = $category; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $home_categories): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
              <div id="tab-<?php echo e($home_categories->id); ?>" tabindex="0" role="tabpanel" aria-labelledby="tab-<?php echo e($home_categories->id); ?>-link" class="mad-tab">
                <?php $__currentLoopData = $home_categories->products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="mad-col">
                  <!-- Specification item -->
                  <div class="mad-spec-item">
                    <img src="<?php echo e(asset('storage/media/'.$list->image)); ?>" alt="" style=" height: 60px; width: 80px; margin-right: 20px; border-radius: 15px; ">
                    <div class="mad-spec-info">
                      <div class="mad-spec-header">
                        <div class="mad-spec-title"><?php echo e($list->name); ?></div>
                        <div class="mad-line"></div>
                        <div class="mad-spec-price"><?php echo e($list->product_price); ?></div>
                      </div>
                      <div class="mad-spec-tags">
                        <div class="mad-spec-el"><?php echo e($list->short_desc); ?></div>
                      </div>
                    </div>
                  </div>
                  <!-- End of Specification item -->
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
              </div>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
              <!--================ End of Tab ================-->
            </div>
            <!--================ End of Tabs Container ================-->
          </div>
          <!--================ End of Tabs ================-->
        </div>
        <?php
        $getAddToCartTotalItem=getAddToCartTotalItem();
        $totalCartItem=count($getAddToCartTotalItem);
        $totalPrice=0;
        ?>

        <aside id="sidebar" class="mad-sidebar col-xl-3">
          <div class="mad-widget">
            <div class="shopping-cart">
              <h5 class="mad-widget-title">Cart</h5>
              <div class="mad-products mad-product-small">
                <?php if($totalCartItem>0): ?>
                <?php $__currentLoopData = $cartdatas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cartItem): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                <div class="mad-col">
                  <!-- Product -->
                  <div class="mad-product">
                    <button class="mad-close-item"><i class="material-icons-outlined">cancel</i></button>
                    <a href="#" class="mad-product-image">
                      <img src="<?php echo e(asset('assets_front/images/72x72_img1.jpg')); ?>" alt="">
                    </a>
                    <!-- product-info -->
                    <div class="mad-product-description">
                      <h6 class="mad-product-title"><a href="#" class="mad-link"><?php echo e($cartItem->product_name); ?></a></h6>
                      <span class="mad-product-price"><?php echo e($cartItem->pqty); ?> * $ <?php echo e($cartItem->total_price/$cartItem->pqty); ?></span>
                    </div>
                    <!--/ product-info -->
                  </div>
                  <!-- End of Product -->
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
              </div>
              <div class="sc-footer">
                <div class="subtotal">Subtotal: <span class="mad-price"><?php echo e($cartdatas->sum('total_price')); ?></span></div>
                <a href="<?php echo e(url('checkout')); ?>" class="btn btn-small btn-style-3 w-100"><i class="material-icons">arrow_right_alt</i><span>Checkout</span></a>
              </div>
              <?php endif; ?>
            </div>
          </div>
        </aside>
      </div>
      <!--================ End Of Team Members ================-->
    </div>
  </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout.pageheader', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/salonbestmobilea/public_html/resources/views/front/menu.blade.php ENDPATH**/ ?>