<div class="sl-buybutton-1644489653451"></div>
    <script>
      (function() {
        document.addEventListener("shopline_sdk_loaded", renderButton);
        if(!window.ShoplineBuy) getSdk();
        else renderButton();
        function getSdk(){
          var elem = document.createElement("script");
          elem.src = "https://buy-button.shoplineapp.com/sdk.js?polyfill=true";
          elem.defer = true;
          elem.async = true;
          elem.id = "shopline-buy-sdk"
          elem.onload =  function () {
            var event;
            if (typeof CustomEvent === "function") {
              event = new CustomEvent("shopline_sdk_loaded");
            } else {
              var event = document.createEvent("Event");
              event.initEvent("shopline_sdk_loaded", true, true);
            }
            document.dispatchEvent(event);
          };
          
          if (!document.getElementById("shopline-buy-sdk")) {
            document.body.appendChild(elem);
          }
        }
        function renderButton(){
          window.ShoplineBuy.getClient({
            accessToken: "MTY0NDQ4OTYxMzE2MC02MDZlYzY5MzIzZWY1MzAwM2ViODVlZGY=",
            endpoint: "https://buy-button.shoplineapp.com"
          })
            .then(function (client){
              client.render(".sl-buybutton-1644489653451", {"productBrief":{"layout":"dense","callToAction":"checkout","text":{"button":"Buy Now"},"style":{"button":{"textAlign":"center","radius":0,"width":180,"backgroundColor":"#b8becc","color":"#363d4d","borderColor":"transparent","fontSize":16,"fontFamily":"Arial"},"type":"product","id":"61f3a38646c5f2002fecbb96"});
            })
            .catch(function (error) {
              console.error(error);
            });
        }
      })()
    </script>