<style id="jvh-sticky-buttons">
/* JVH Sticky Buttons - Global CSS - works on all pages */

/* Reset parent overflow that breaks sticky */
.jvh-sticky-force { overflow: visible !important; }

/* Sticky container */
.sticky-container {
    position: sticky;
    bottom: 20px;
    z-index: 100;
    display: flex;
    justify-content: center;
    pointer-events: none;
    animation: jvh-sticky-fade-in 0.3s ease-out;
}

.sticky-container > * { pointer-events: auto; }

@keyframes jvh-sticky-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cyan (default) button variant */
.sticky-container .jvh-sticky-btn,
.sticky-container .my-button,
.sticky-container a.button,
.sticky-container button.button,
.sticky-container .woocommerce a.button,
.sticky-container .woocommerce button.button,
.sticky-container .wpcf7-submit {
    background: linear-gradient(135deg, #00e5ff 0%, #0099cc 100%) !important;
    color: #0a0a1a !important;
    padding: 14px 32px !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: Orbitron, Rajdhani, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

.sticky-container .jvh-sticky-btn:hover,
.sticky-container .my-button:hover,
.sticky-container a.button:hover,
.sticky-container button.button:hover,
.sticky-container .woocommerce a.button:hover,
.sticky-container .woocommerce button.button:hover,
.sticky-container .wpcf7-submit:hover {
    box-shadow: 0 6px 30px rgba(0, 229, 255, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* Gold variant */
.sticky-container.jvh-gold .jvh-sticky-btn,
.sticky-container.jvh-gold .my-button,
.sticky-container.jvh-gold a.button,
.sticky-container.jvh-gold button.button {
    background: linear-gradient(135deg, #c5a059 0%, #e8c87a 50%, #c5a059 100%) !important;
    color: #1a1a1a !important;
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.4) !important;
}
.sticky-container.jvh-gold .jvh-sticky-btn:hover,
.sticky-container.jvh-gold .my-button:hover,
.sticky-container.jvh-gold a.button:hover,
.sticky-container.jvh-gold button.button:hover {
    box-shadow: 0 6px 30px rgba(197, 160, 89, 0.6) !important;
}

/* Purple variant */
.sticky-container.jvh-purple .jvh-sticky-btn,
.sticky-container.jvh-purple .my-button,
.sticky-container.jvh-purple a.button,
.sticky-container.jvh-purple button.button {
    background: linear-gradient(135deg, #8d70ff 0%, #6b4eff 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(141, 112, 255, 0.4) !important;
}

/* Green variant */
.sticky-container.jvh-green .jvh-sticky-btn,
.sticky-container.jvh-green .my-button,
.sticky-container.jvh-green a.button,
.sticky-container.jvh-green button.button {
    background: linear-gradient(135deg, #00e676 0%, #00c853 100%) !important;
    color: #0a1a0a !important;
    box-shadow: 0 4px 20px rgba(0, 230, 118, 0.4) !important;
}

/* WooCommerce product buttons */
.sticky-container .woocommerce a.button.add_to_cart_button,
.sticky-container .woocommerce button.button.add_to_cart_button {
    width: auto !important;
    min-width: 200px !important;
}

/* Mobile */
@media (max-width: 768px) {
    .sticky-container { bottom: 12px; }
    .sticky-container .jvh-sticky-btn,
    .sticky-container .my-button,
    .sticky-container a.button,
    .sticky-container button.button,
    .sticky-container .woocommerce a.button,
    .sticky-container .woocommerce button.button,
    .sticky-container .wpcf7-submit {
        padding: 10px 20px !important;
        font-size: 13px !important;
        letter-spacing: 1px !important;
    }
}
</style><?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://jvh-rj-aicloser.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://jvh-rj-aicloser.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://jvh-rj-aicloser.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://jvh-rj-aicloser.com/wp-sitemap-posts-product-1.xml</loc></sitemap><sitemap><loc>https://jvh-rj-aicloser.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://jvh-rj-aicloser.com/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://jvh-rj-aicloser.com/wp-sitemap-taxonomies-product_cat-1.xml</loc></sitemap><sitemap><loc>https://jvh-rj-aicloser.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex><script id="jvh-sticky-buttons-js">
(function() {
    "use strict";
    var initCount = 0;
    var maxInits = 10;

    function isNavLink(el) {
        return el.closest("nav, .jvh-nav, .navigation, header, footer, .site-header, .site-footer, #wpadminbar") !== null;
    }

    function findButton(selectors, filterFunc) {
        var els = document.querySelectorAll(selectors);
        for (var i = 0; i < els.length; i++) {
            if (isNavLink(els[i])) continue;
            if (filterFunc && !filterFunc(els[i])) continue;
            return els[i];
        }
        return null;
    }

    function appendSticky(btn, variant) {
        if (!btn) return;
        var w = document.createElement("div");
        w.className = "sticky-container jvh-" + variant + " jvh-auto";
        var c = btn.cloneNode(true);
        c.classList.add("jvh-sticky-btn");
        c.removeAttribute("id");
        w.appendChild(c);
        var target = document.querySelector(".entry-content, main, .site-content, #content, .jvh-page-content, .jvh-shop-wrapper, body") || document.body;
        target.appendChild(w);
    }

    function initStickyButtons() {
        document.querySelectorAll(".sticky-container.jvh-auto").forEach(function(c) { c.remove(); });
        initCount++;

        var path = window.location.pathname;

        var singleBtn = document.querySelector(".single_add_to_cart_button");
        if (singleBtn) { appendSticky(singleBtn, "green"); return; }

        var shopWrapper = document.querySelector(".jvh-shop-wrapper");
        if (shopWrapper) {
            var sw = document.createElement("div");
            sw.className = "sticky-container jvh-green jvh-auto";
            var sb = document.createElement("a");
            sb.className = "jvh-sticky-btn";
            sb.href = "#top";
            sb.innerHTML = "Browse All Systems &#8593;";
            sb.style.cssText = "background:linear-gradient(135deg,#00e676,#00c853);color:#0a1a0a;padding:14px 32px;border-radius:8px;font-family:Orbitron,sans-serif;font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:2px;box-shadow:0 4px 20px rgba(0,230,118,0.3);text-decoration:none;display:inline-flex;align-items:center;justify-content:center;";
            sw.appendChild(sb);
            shopWrapper.appendChild(sw);
            return;
        }

        if (path.indexOf("lycan") !== -1) {
            var lb = findButton("a, button, input[type=submit]", function(el) {
                var t = (el.textContent || el.value || "").trim().toLowerCase();
                return t.includes("activate") || t.includes("enter") || t.includes("access");
            });
            if (lb) { appendSticky(lb, "gold"); return; }
        }

        if (path.indexOf("contact") !== -1) {
            var sb2 = document.querySelector(".wpcf7-submit, form input[type=submit], form button[type=submit]");
            if (sb2 && !isNavLink(sb2)) { appendSticky(sb2, "green"); return; }
        }

        if (path === "/" || path === "/home/") {
            var hb = findButton("a, button", function(el) {
                var t = el.textContent.trim().toLowerCase();
                return t.includes("deploy") || t.includes("explore") || t.includes("enter") || 
                       t.includes("start") || t.includes("arsenal") || t.includes("shop") || 
                       t.includes("discover") || t.includes("access now");
            });
            if (hb) { appendSticky(hb, "gold"); return; }
        }

        if (path.indexOf("arsenal") !== -1 && path.indexOf("shop") === -1) {
            var bb = findButton("a", function(el) {
                var t = el.textContent.trim().toLowerCase();
                var h = el.getAttribute("href") || "";
                return t.includes("buy") || t.includes("shop") || t.includes("get") || h.includes("shop") || h.includes("checkout");
            });
            if (bb) { appendSticky(bb, "green"); return; }
        }

        if (path.indexOf("about") !== -1) {
            var ab = findButton("a", function(el) {
                var t = el.textContent.trim().toLowerCase();
                return t.includes("contact") || t.includes("learn") || t.includes("explore");
            });
            if (ab) { appendSticky(ab, "green"); return; }
        }

        if (path.indexOf("apps") !== -1) {
            var apb = findButton("a", function(el) {
                var t = el.textContent.trim().toLowerCase();
                return t.includes("explore") || t.includes("learn") || t.includes("lycan") || t.includes("access");
            });
            if (apb) { appendSticky(apb, "gold"); return; }
        }

        var gCTAs = document.querySelectorAll(".jvh-cta, .cta-button, .hero-button, .jvh-btn-primary, .wp-block-button__link");
        for (var g = 0; g < gCTAs.length; g++) {
            if (!isNavLink(gCTAs[g])) { appendSticky(gCTAs[g], ""); return; }
        }
    }

    function scheduleRetry() {
        // Retry up to maxInits times with increasing delays (for JS-rendered content)
        if (initCount < maxInits) {
            setTimeout(initStickyButtons, initCount * 500);
        }
    }

    // Initial run
    if (document.readyState === "loading") {
        document.addEventListener("DOMContentLoaded", function() {
            initStickyButtons();
            scheduleRetry();
        });
    } else {
        initStickyButtons();
        scheduleRetry();
    }

    // Also retry at fixed intervals to catch dynamically loaded content
    setTimeout(initStickyButtons, 1000);
    setTimeout(initStickyButtons, 2000);
    setTimeout(initStickyButtons, 3500);
    setTimeout(initStickyButtons, 5000);

    // MutationObserver for dynamically added content
    if (typeof MutationObserver !== "undefined") {
        var observer = new MutationObserver(function(mutations) {
            var hasNewContent = false;
            for (var i = 0; i < mutations.length; i++) {
                if (mutations[i].addedNodes.length > 0) {
                    hasNewContent = true;
                    break;
                }
            }
            if (hasNewContent && initCount < maxInits) {
                initStickyButtons();
            }
        });
        if (document.body) {
            observer.observe(document.body, { childList: true, subtree: true });
        } else {
            document.addEventListener("DOMContentLoaded", function() {
                observer.observe(document.body, { childList: true, subtree: true });
            });
        }
    }

    if (typeof jQuery !== "undefined") {
        jQuery(document).on("wc_fragments_loaded updated_wc_div", function() {
            setTimeout(initStickyButtons, 100);
        });
    }
})();
</script>