//     <style>
//     #eco-cart-toast {
//         position: fixed;
//         top: 20px;
//         right: 20px;
//         background: #393939;
//         color: #fff;
//         padding: 14px 22px;
//         border-radius: 6px;
//         font-size: 14px;
//         z-index: 99999;
//         opacity: 0;
//         transform: translateY(-10px);
//         transition: opacity 0.3s ease, transform 0.3s ease;
//         pointer-events: none;
//         box-shadow: 0 4px 12px rgba(0,0,0,0.15);
//     }
//     #eco-cart-toast.show {
//         opacity: 1;
//         transform: translateY(0);
//     }
//     .add_to_cart_button.loading {
//         opacity: 0.6;
//         pointer-events: none;
//     }
//     </style>
//     <script>
//     jQuery(function($) {
//         $('body').append('<div id="eco-cart-toast"></div>');

//         function ecoShowToast(message) {
//             var $toast = $('#eco-cart-toast');
//             $toast.stop(true, true).text(message).addClass('show');
//             setTimeout(function() { $toast.removeClass('show'); }, 2500);
//         }

//         $(document.body).on('click', 'a.add_to_cart_button', function(e) {
//             var $link = $(this);
//             var href = $link.attr('href');

//             if (!href || href.indexOf('add-to-cart=') === -1) {
//                 return;
//             }

//             e.preventDefault();
//             e.stopImmediatePropagation();

//             var url = new URL(href, window.location.origin);
//             var params = url.searchParams;

//             var data = {
//                 action: 'eco_add_to_cart',
//                 product_id: params.get('add-to-cart'),
//                 variation_id: params.get('variation_id') || 0,
//                 quantity: 1
//             };
//             params.forEach(function(value, key) {
//                 if (key.indexOf('attribute_') === 0) data[key] = value;
//             });

//             $link.addClass('loading');

//             $.ajax({
//                 type: 'POST',
//                 url: 'https://ecocolorstore.com/wp-admin/admin-ajax.php',
//                 data: data,
//                 success: function(response) {
//                     $link.removeClass('loading');
//                     if (!response || response.error) {
//                         ecoShowToast('Could not add item. Please try again.');
//                         return;
//                     }
//                     $link.addClass('added');
//                     $(document.body).trigger('added_to_cart', [response.fragments, response.cart_hash, $link]);
//                     ecoShowToast('Item has been added to cart');
//                 },
//                 error: function() {
//                     $link.removeClass('loading');
//                     ecoShowToast('Something went wrong. Please try again.');
//                 }
//             });

//             return false;
//         });
//     });
//     </script>
//     <?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://ecocolorstore.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://ecocolorstore.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://ecocolorstore.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://ecocolorstore.com/wp-sitemap-posts-product-1.xml</loc></sitemap><sitemap><loc>https://ecocolorstore.com/wp-sitemap-posts-wpm-testimonial-1.xml</loc></sitemap><sitemap><loc>https://ecocolorstore.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://ecocolorstore.com/wp-sitemap-taxonomies-product_cat-1.xml</loc></sitemap><sitemap><loc>https://ecocolorstore.com/wp-sitemap-taxonomies-product_tag-1.xml</loc></sitemap></sitemapindex>
