/home2/mshostin/carnival.ms-hostingladz.com/resources/views/ShopFrontend/Layouts/footer.blade.php
<!-- FOOTER -->
<footer class="site-footer footer-opt-1">

    <div class="container">
        <div class="footer-column">

            <div class="row">
                <div class="col-md-3 col-lg-3 col-xs-6 col">
                    <strong class="logo-footer">
                        <a href="/"><img style="width: 120px;"src="{{ asset('shopAssets/images/logo.png') }}"
                                alt="logo"></a>
                    </strong>

                    <table class="address">
                        <tr>
                            <td><b>Address: </b></td>
                            <td>Example Street 68, Mahattan,New York, USA</td>
                        </tr>
                        <tr>
                            <td><b>Phone: </b></td>
                            <td>+ 65 123 456 789</td>
                        </tr>
                        <tr>
                            <td><b>Email:</b></td>
                            <td>Support@ovicsoft.com</td>
                        </tr>
                    </table>
                </div>
                <div class="col-md-2 col-lg-2 col-xs-6 col">
                    <div class="links">
                        <h3 class="title">Company</h3>
                        <ul>
                            <li><a href="">About Us</a></li>
                            <li><a href="">Testimonials</a></li>
                            <li><a href="">Affiliate Program</a></li>
                            <li><a href="">Terms & Conditions</a></li>
                            <li><a href="">Terms & Conditions</a></li>
                        </ul>
                    </div>
                </div>
                <div class="col-md-2 col-lg-2 col-xs-6 col">
                    <div class="links">
                        <h3 class="title">My Account</h3>
                        <ul>
                            <li><a href="">My Order</a></li>
                            <li><a href="">My Wishlist</a></li>
                            <li><a href="">My Credit Slip</a></li>
                            <li><a href="">My Addresses</a></li>
                            <li><a href="">My Account</a></li>
                        </ul>
                    </div>
                </div>
                <div class="col-md-2 col-lg-2 col-xs-6 col">
                    <div class="links">
                        <h3 class="title">Support</h3>
                        <ul>
                            <li><a href="">New User Guide</a></li>
                            <li><a href="">Help Center</a></li>
                            <li><a href="">Refund Policy</a></li>
                            <li><a href="">Report Spam</a></li>
                            <li><a href="">FAQ</a></li>
                        </ul>
                    </div>
                </div>
                <div class="col-md-3 col-lg-3 col-xs-6 col">
                    <div class="block-newletter">
                        <div class="block-title">NEWSLETTER</div>
                        <div class="block-content">
                            <form>
                                <div class="input-group">
                                    <input type="text" class="form-control" placeholder="Your Email Address">
                                    <span class="input-group-btn">
                                        <button class="btn btn-subcribe" type="button"><span>ok</span></button>
                                    </span>
                                </div>
                            </form>
                        </div>
                    </div>
                    <div class="block-social">
                        <div class="block-title">Let’s Socialize </div>
                        <div class="block-content">
                            <a href="" class="sh-facebook"><i class="fa fa-facebook" aria-hidden="true"></i></a>
                            <a href="" class="sh-pinterest"><i class="fa fa-pinterest-p"
                                    aria-hidden="true"></i></a>
                            <a href="" class="sh-vk"><i class="fa fa-vk" aria-hidden="true"></i></a>
                            <a href="" class="sh-twitter"><i class="fa fa-twitter" aria-hidden="true"></i></a>
                            <a href="" class="sh-google"><i class="fa fa-google-plus" aria-hidden="true"></i></a>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="payment-methods">
            <div class="block-title">
                Accepted Payment Methods
            </div>
            <div class="block-content">
                <img alt="payment" src="{{ asset('ShopAssets/images/media/index1/payment1.png') }}">
                <img alt="payment" src="{{ asset('ShopAssets/images/media/index1/payment2.png') }}">
                <img alt="payment" src="{{ asset('ShopAssets/images/media/index1/payment3.png') }}">
                <img alt="payment" src="{{ asset('ShopAssets/images/media/index1/payment4.png') }}">
                <img alt="payment" src="{{ asset('ShopAssets/images/media/index1/payment5.png') }}">
                <img alt="payment" src="{{ asset('ShopAssets/images/media/index1/payment6.png') }}">
                <img alt="payment" src="{{ asset('ShopAssets/images/media/index1/payment7.png') }}">
                <img alt="payment" src="{{ asset('ShopAssets/images/media/index1/payment8.png') }}">
                <img alt="payment" src="{{ asset('ShopAssets/images/media/index1/payment9.png') }}">
                <img alt="payment" src="{{ asset('ShopAssets/images/media/index1/payment10.png') }}">
            </div>
        </div>

        <div class="footer-links">


            <ul class="links">
                <li><strong class="title">HOT SEARCHED KEYWORDS:</strong></li>
                <li><a href="">Xiaomi Mi3 </a></li>
                <li><a href="">Digiflip Pro XT 712 Tablet</a></li>
                <li><a href="">Mi 3 Phones </a></li>
                <li><a href="">Iphone 6 Plus </a></li>
                <li><a href="">Women's Messenger Bags</a></li>
                <li><a href="">Wallets </a></li>
                <li><a href="">Women's Clutches </a></li>
                <li><a href="">Backpacks Totes</a></li>
            </ul>



            <ul class="links">
                <li><strong class="title">tvs: </strong></li>
                <li><a href="">Sony TV </a></li>
                <li><a href=""> Samsung TV </a></li>
                <li><a href="">LG TV </a></li>
                <li><a href="">Panasonic TV </a></li>
                <li><a href=""> Onida TV </a></li>
                <li><a href=""> Toshiba TV </a></li>
                <li><a href=""> Philips TV</a></li>
                <li><a href="">Micromax TV</a></li>
                <li><a href="">LED TV </a></li>
                <li><a href=""> LCD TV </a></li>
                <li><a href="">Plasma TV </a></li>
                <li><a href="">3D TV </a></li>
                <li><a href="">Smart TV </a></li>
            </ul>



            <ul class="links">
                <li><strong class="title">MOBILES: </strong></li>
                <li><a href="">Moto E </a></li>
                <li><a href=""> Samsung Mobile </a></li>
                <li><a href="">Micromax Mobile</a></li>
                <li><a href="">Nokia Mobile </a></li>
                <li><a href=""> HTC Mobile </a></li>
                <li><a href="">Sony Mobile </a></li>
                <li><a href=""> Apple Mobile </a></li>
                <li><a href=""> LG Mobile </a></li>
                <li><a href="">Karbonn Mobile</a></li>
            </ul>


            <ul class="links">
                <li><strong class="title">LAPTOPS:</strong></li>
                <li><a href="">Apple Laptop </a></li>
                <li><a href="">Acer Laptop </a></li>
                <li><a href="">Samsung Laptop</a></li>
                <li><a href="">Lenovo Laptop </a></li>
                <li><a href="">Sony Laptop</a></li>
                <li><a href="">Dell Laptop</a></li>
                <li><a href="">Asus Laptop </a></li>
                <li><a href=""> Toshiba Laptop</a></li>
                <li><a href="">LG Laptop </a></li>
                <li><a href="">HP Laptop</a></li>
                <li><a href="">Notebook</a></li>
            </ul>



            <ul class="links">
                <li><strong class="title">WATCHES:</strong></li>
                <li><a href="">FCUK Watches</a></li>
                <li><a href="">Titan Watches </a></li>
                <li><a href=""> Casio Watches </a></li>
                <li><a href=""> Fastrack Watches </a></li>
                <li><a href="">Timex Watches </a></li>
                <li><a href="">Fossil Watches</a></li>
                <li><a href="">Diesel Watches </a></li>
                <li><a href=""> Luxury Watches</a></li>
            </ul>


            <ul class="links">
                <li><strong class="title">FOOTWEAR: </strong></li>
                <li><a href="">Shoes </a></li>
                <li><a href="">Casual Shoes </a></li>
                <li><a href=""> Sports Shoes </a></li>
                <li><a href="">Formal Shoes </a></li>
                <li><a href=""> Adidas Shoes </a></li>
                <li><a href="">Gas Shoes</a></li>
                <li><a href=""> Puma Shoes</a></li>
                <li><a href="">Reebok Shoes </a></li>
                <li><a href="">Woodland Shoes </a></li>
                <li><a href="">Red tape Shoes</a></li>
                <li><a href="">Nike Shoes</a></li>
            </ul>

        </div>

        <div class="footer-bottom">
            <div class="links">
                <ul>
                    <li><a href=""> Company Info – Partnerships </a></li>
                </ul>
                <ul>
                    <li><a href="">Online Shopping </a></li>
                    <li><a href="">Promotions </a></li>
                    <li><a href="">My Orders </a></li>
                    <li><a href="">Help </a></li>
                    <li><a href="">Site Map </a></li>
                    <li><a href="">Customer Service </a></li>
                    <li><a href="">Support </a></li>
                </ul>
                <ul>
                    <li><a href="">Most Populars </a></li>
                    <li><a href="">Best Sellers </a></li>
                    <li><a href="">New Arrivals </a></li>
                    <li><a href="">Special Products </a></li>
                    <li><a href=""> Manufacturers </a></li>
                    <li><a href="">Our Stores </a></li>
                    <li><a href="">Shipping </a></li>
                    <li><a href="">Payments </a></li>
                    <li><a href="">Payments </a></li>
                    <li><a href="">Refunds </a></li>
                </ul>
                <ul>
                    <li><a href="">Terms & Conditions </a></li>
                    <li><a href="">Policy </a></li>
                    <li><a href="">Policy </a></li>
                    <li><a href=""> Shipping </a></li>
                    <li><a href="">Payments </a></li>
                    <li><a href="">Returns </a></li>
                    <li><a href="">Refunds </a></li>
                    <li><a href="">Warrantee </a></li>
                    <li><a href="">FAQ </a></li>
                    <li><a href="">Contact </a></li>
                </ul>
            </div>
        </div>

        <div class="copyright">

            Copyright © 2016 KoolShop. All Rights Reserved. Designed by KoolShop

        </div>

    </div>

</footer><!-- end FOOTER -->

<!--back-to-top  -->
<a href="#" class="back-to-top">
    <i aria-hidden="true" class="fa fa-angle-up"></i>
</a>

</div>

<!-- jQuery -->
<script type="text/javascript" src="{{ asset('shopAssets/js/jquery.min.js') }}"></script>

<!-- sticky -->
<script type="text/javascript" src="{{ asset('shopAssets/js/jquery.sticky.js') }}"></script>

<!-- OWL CAROUSEL Slider -->
<script type="text/javascript" src="{{ asset('shopAssets/js/owl.carousel.min.js') }}"></script>

<!-- Boostrap -->
<script type="text/javascript" src="{{ asset('shopAssets/js/bootstrap.min.js') }}"></script>

<!-- Countdown -->
<script type="text/javascript" src="{{ asset('shopAssets/js/jquery.countdown.min.js') }}"></script>

<!--jquery Bxslider  -->
<script type="text/javascript" src="{{ asset('shopAssets/js/jquery.bxslider.min.js') }}"></script>

<!-- actual -->
<script type="text/javascript" src="{{ asset('shopAssets/js/jquery.actual.min.js') }}"></script>

<!-- jQuery UI -->
<script type="text/javascript" src="{{ asset('shopAssets/js/jquery-ui.min.js') }}"></script>

<!-- Chosen jquery-->
<script type="text/javascript" src="{{ asset('shopAssets/js/chosen.jquery.min.js') }}"></script>

<!-- parallax jquery-->
<script type="text/javascript" src="{{ asset('shopAssets/js/jquery.parallax-1.1.3.js') }}"></script>

<!-- elevatezoom -->
<script type="text/javascript" src="{{ asset('shopAssets/js/jquery.elevateZoom.min.js') }}"></script>

<!-- fancybox -->
<script src="{{ asset('shopAssets/js/fancybox/source/jquery.fancybox.pack.js') }}"></script>
<script src="{{ asset('shopAssets/js/fancybox/source/helpers/jquery.fancybox-media.js') }}"></script>
<script src="{{ asset('shopAssets/js/fancybox/source/helpers/jquery.fancybox-thumbs.js') }}"></script>

<!-- arcticmodal -->
<script src="{{ asset('shopAssets/js/arcticmodal/jquery.arcticmodal.js') }}"></script>

<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.4.22/dist/sweetalert2.min.js"></script>

<!-- Main -->
<script type="text/javascript" src="{{ asset('shopAssets/js/main.js') }}"></script>
<script>
    let viewMore = false;

    function showMore() {
        if (viewMore) {
            $('.detail-desc').css('height', '30px');
            viewMore = false;
            $('#view-btn').html('See More');
        } else {
            $('.detail-desc').css('height', 'auto');
            viewMore = true;
            $('#view-btn').html('See Less');

        }
    }
    (function($) {

        "use strict";

        $(document).ready(function() {

            /*  [ Filter by price ]

            - - - - - - - - - - - - - - - - - - - - */

            $('#slider-range').slider({

                range: true,

                min: 0,

                max: 500,

                values: [0, 300],

                slide: function(event, ui) {

                    $('#amount-left').text(ui.values[0]);
                    $('#amount-right').text(ui.values[1]);

                }

            });

            $('#amount-left').text($('#slider-range').slider('values', 0));

            $('#amount-right').text($('#slider-range').slider('values', 1));
        });

    })(jQuery);
</script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js"></script>
<script>
    $(document).ready(function() {

        $('.deals-slider').each(function(index, element) {
            $(element).slick({
                infinite: true,
                slidesToShow: 4,
                slidesToScroll: 1,
                prevArrow: $(element).siblings('.slick-prev'),
                nextArrow: $(element).siblings('.slick-next')
            });
        });
        // $('.slick-slider').slick({
        //     infinite: true,
        //     slidesToShow: 4,
        //     slidesToScroll: 1,
        //     prevArrow: $('.slick-prev'),
        //     nextArrow: $('.slick-next')
        // });
    });
</script>
{{-- <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $('.slick-slider').slick({
                infinite: true,
                slidesToShow: 3,
                slidesToScroll: 1,
                prevArrow: '<button type="button" class="slick-prev">Previous</button>',
                nextArrow: '<button type="button" class="slick-next">Next</button>'
            });
        });
    </script> --}}

@yield('script')
<script>
    $(document).ready(function() {
        $(document).on('click', '.delete-cart', function() {
            let id = $(this).data('id');

            $.ajax({
                type: 'GET',
                url: '{{ url('/remove/to/cart') }}/' + id,
                success: function(response) {
                    if (response.success) {
                        $('.cart-row-' + id).remove();

                        // recalc total
                        let netTotal = 0;
                        $('td.price span').each(function() {
                            let val = parseFloat($(this).text());
                            if (!isNaN(val)) netTotal += val;
                        });
                        $('#net-total strong').text(netTotal.toFixed(2) + ' $');
                        $('.net-total').data('val', netTotal.toFixed(2));

                        // optionally refresh mini-cart
                        console.log('Updated cart:', response.cart);
                    }
                }
            });
        });

        // Quantity +/- handler
        $(document).on('click', '.qty-btn', function() {
            let id = $(this).data('id');
            let type = $(this).data('type');
            let qtyInput = $('#qty-' + id);
            let current = parseInt(qtyInput.val());

            if (type === 'plus') current++;
            else if (type === 'minus' && current > 1) current--;

            // send AJAX to update DB
            $.ajax({
                type: 'POST',
                url: '{{ route('update.cart') }}',
                data: {
                    _token: '{{ csrf_token() }}',
                    id: id,
                    quantity: current
                },
                success: function(response) {
                    if (response.success) {
                        // update input value
                        qtyInput.val(current);

                        // update line total for this row
                        let cartItem = response.cart.find(item => item.id == id);
                        if (cartItem) {
                            let price = parseFloat(cartItem.details.price) || 0;
                            let lineTotal = (price * cartItem.quantity).toFixed(2);
                            $('.cart-row-' + id).find('td.price span').last().text(
                                lineTotal + ' $');
                        }

                        // recalc net total
                        let netTotal = 0;
                        response.cart.forEach(item => {
                            let price = parseFloat(item.details.price) || 0;
                            netTotal += price * item.quantity;
                        });
                        $('#net-total strong').text(netTotal.toFixed(2) + ' $');
                        $('.net-total').data('val', netTotal.toFixed(2));
                    }
                },
                error: function(err) {
                    console.error('Cart update failed', err);
                }
            });
        });
    });
</script>

</body>

</html>