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

    <!-- Begin: Main Slider -->
    <div class="innerBan">
        <img src="<?php echo e(asset('front/images/innerbnr1.png')); ?>" class="w-100" alt="">
        <div class="overlay">
            <div class="container">
                <div class="row justify-content-center">
                    <div class="col-md-12">
                        <h2>product detail</h2>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- End: Main Slider -->

    <section class="Proreview">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-md-6">
                    <div class="productNav">
                        <div class="swiper mySwiper2">
                            <div class="swiper-wrapper">
                                <div class="swiper-slide">
                                    <img src="<?php echo e($product->getFirstMediaUrl('product_image') ?? ''); ?>" />
                                </div>
                            </div>
                        </div>
                        <div thumbsSlider="" class="swiper mySwiper">
                            <div class="swiper-wrapper">
                                <?php $__currentLoopData = $product->getMedia('product_gallery_image'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $file): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="swiper-slide">
                                        <img src="<?php echo e($file->getUrl()); ?>" alt="Product Image" />
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                        </div>

                    </div>
                </div>
                <div class="col-md-5 productSIDE">
                    <div class="prodtl-txt">
                        <h2><?php echo e($product->product_name ?? ''); ?></h2>
                        <div class="rating-box">
                            <div class="rating-container">
                                <input type="radio" name="rating" value="5" id="star-5"> <label for="star-5">★</label>
                                <input type="radio" name="rating" value="4" id="star-4"> <label for="star-4">★</label>
                                <input type="radio" name="rating" value="3" id="star-3"> <label for="star-3">★</label>
                                <input type="radio" name="rating" value="2" id="star-2"> <label for="star-2">★</label>
                                <input type="radio" name="rating" value="1" id="star-1"> <label for="star-1">★</label>
                            </div>
                            <span>(62)</span>
                        </div>
                        <ul class="stckst">
                            <li><span>Price:</span>$<?php echo e($product->price ?? ''); ?></li>
                        </ul>
                        <p>
                            <?php echo e($product->description ?? ''); ?></a>
                        </p>
                        <ul class="stckst flex-column justify-content-start align-items-start">
                            <li><span>Status:</span><?php echo e($product->stock >= 1 ? 'In Stock' : 'Out Of Stock'); ?></li>
                            <li><span>Glass Cans :</span>16 oz ombré (yellow, blue, pink, red, orange)</li>
                            <li><span>Glass Cans :</span>16 oz iridescent (blue, pink, purple,red)</li>
                        </ul>
                        <?php if($product->stock >=1): ?>
                            <form action="<?php echo e(route('admin.add.cart',$product->id)); ?>">
                        <div class="quantitySec">
                            <h4>Quantity</h4>
                            <ul>
                                <li>
                                    <div class="number">
                                        <span id="minus" class="minus">-</span>
                                        <input type="text" id="quantity" name="quantity" value="1">
                                        <span id="plus" class="plus">+</span>
                                    </div>
                                </li>
                            </ul>
                            <div class="cardbutton">

                                <button type="submit" class="themeBtn">Add To Cart</button>
                            </div>
                        </div>
                            </form>
                        <?php endif; ?>
                    </div>

                </div>
            </div>

            <div class="row reviewSec">
                <h2 class="sectionHeading">Product Reviews</h2>
                <div class="col-12">
                    <div class="reviewImg">
                        <figure>
                            <img src="images/seller1.webp" alt="">
                        </figure>
                        <div class="content-wraper">
                            <div class="d-flex align-items-center">
                                <h3>Anny Smith</h3>
                                <span><i class="fas fa-calendar-alt"></i> 04-08-2022 | <i class="far fa-clock"></i>
                                    04-08-2022</span>
                            </div>
                            <h4>Color: Black</h4>
                            <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum
                                has been the industry's standard dummy text ever since the 1500s, when an unknown
                                printer took a galley of type and scrambled it to make a type specimen book.</p>
                        </div>
                    </div>
                    <hr>
                    <div class="reviewImg">
                        <figure>
                            <img src="images/seller1.webp" alt="">
                        </figure>
                        <div class="content-wraper">
                            <div class="d-flex align-items-center">
                                <h3>Anny Smith</h3>
                                <span><i class="fas fa-calendar-alt"></i> 04-08-2022 | <i class="far fa-clock"></i>
                                    04-08-2022</span>
                            </div>
                            <h4>Color: Black</h4>
                            <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum
                                has been the industry's standard dummy text ever since the 1500s, when an unknown
                                printer took a galley of type and scrambled it to make a type specimen book.</p>
                        </div>
                    </div>
                    <hr>
                    <div class="reviewImg">
                        <figure>
                            <img src="images/seller1.webp" alt="">
                        </figure>
                        <div class="content-wraper">
                            <div class="d-flex align-items-center">
                                <h3>Anny Smith</h3>
                                <span><i class="fas fa-calendar-alt"></i> 04-08-2022 | <i class="far fa-clock"></i>
                                    04-08-2022</span>
                            </div>
                            <h4>Color: Black</h4>
                            <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum
                                has been the industry's standard dummy text ever since the 1500s, when an unknown
                                printer took a galley of type and scrambled it to make a type specimen book.</p>
                        </div>
                    </div>
                    <hr>
                    <h2 class="sectionHeading">Comment</h2>
                    <textarea placeholder="Comment"></textarea>
                    <a href="#" class="themeBtn mt-3">comment</a>
                </div>
            </div>
        </div>
    </section>
    <script>

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

<?php echo $__env->make('front.include.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/vagrant/projects/upsence/resources/views/front/product-detail.blade.php ENDPATH**/ ?>