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

        <!-- Product Details Section Starts Here -->
        <section class="product-details-section pb-50 pt-50">
            <div class="row gy-4 gy-sm-5">
                <div class="col-lg-4 col-md-8 col-sm-10">
                    <div class="product-thumb-wrapper">
                        <div class="sync1 owl-carousel owl-theme">
                            <div class="thumbs zoom ex1">
                                <img src="<?php echo e(getImage(imagePath()['product']['path'].'/'.$product->image,imagePath()['product']['size'])); ?>" alt="products-details">
                            </div>

                            <?php $__currentLoopData = $product->images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $img): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="thumbs zoom ex1">
                                <img src="<?php echo e(getImage(imagePath()['product']['path'].'/'.$img->image,imagePath()['product']['size'])); ?>" alt="products-details">
                            </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                        </div>
                        <div class="sync2 owl-carousel owl-theme">
                            <div class="thumbs">
                                <img src="<?php echo e(getImage(imagePath()['product']['path'].'/'.$product->image,imagePath()['product']['size'])); ?>" alt="products-details">
                            </div>
                            <?php $__currentLoopData = $product->images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $image): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="thumbs">
                                <img src="<?php echo e(getImage(imagePath()['product']['path'].'/'.$image->image,imagePath()['product']['size'])); ?>" alt="products-details">
                            </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                        </div>
                        <h4 class="product-price"><?php echo app('translator')->get('Price'); ?> <?php echo e($general->cur_sym); ?><?php echo e(getAmount($product->price())); ?></h4>
                    </div>
                </div>

                <div class="col-lg-8">
                    <div class="product-details">
                        <h3 class="title"><?php echo app('translator')->get($product->name); ?></h3>
                        <h6 class="mt-1"><?php echo app('translator')->get('Brand'); ?>: <?php echo e($product->brand->name); ?></h6>
                        <h6 class="mt-1"><?php echo app('translator')->get('Category'); ?>: <?php echo e($product->category->name); ?></h6>
                        <h6 class="mt-1"><?php echo app('translator')->get('SKU'); ?>: <?php echo e($product->sku); ?></h6>
                        <p class="mt-3">
                            <?php echo $product->description; ?>
                        </p>

                        <a href="<?php echo e(route('checkout',[$product->id,$product->slug])); ?>" class="cmn--btn mt-4 bg--base text--white"><?php echo app('translator')->get('Order Now'); ?></a>
                    </div>
                </div>
            </div>
        </section>
        <!-- Product Details Section Ends Here -->


        <!-- Latest Products Section Starts Here -->
        <section class="products-section">
            <h3 class="section-title mt-0"><?php echo app('translator')->get('Related Products'); ?></h3>
            <div class="row g-3">
                <?php $__currentLoopData = $relatedProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="col-lg-4 col-xl-3 col-md-4 col-sm-6">
                    <div class="product-item">
                        <div class="thumb"><img src="<?php echo e(getImage(imagePath()['product']['path'].'/'.$item->image,imagePath()['product']['size'])); ?>" alt="products"></div>
                        <div class="content">
                            <h5 class="product-name"><a href="<?php echo e(route('product.details',[$item->id,$item->slug])); ?>"><?php echo app('translator')->get($item->name); ?></a></h5>
                            <span class="price"><?php echo e($general->cur_sym); ?><?php echo e(getAmount($item->price)); ?></span>
                            <div class="button-wrapper">
                                <a href="<?php echo e(route('checkout',[$item->id,$item->slug])); ?>" class="cmn--btn btn--md bg--primary"><?php echo app('translator')->get('Order Now'); ?></a>
                                <a href="<?php echo e(route('product.details',[$item->id,$item->slug])); ?>" class="cmn--btn btn--md bg--base"><?php echo app('translator')->get('View Details'); ?></a>
                            </div>
                        </div>
                    </div>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        </section>
        <!-- Latest Products Section Ends Here -->

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

<?php echo $__env->make($activeTemplate.'layouts.frontend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/fkyiliss/evangel-ace.com.ng/core/resources/views/templates/basic/product_details.blade.php ENDPATH**/ ?>