{"product_id":"poudre-dube","title":"Premium Ube Powder","description":"\u003cdiv class=\"ube-offer-header\" id=\"ube-offer-header\"\u003e\n\u003cspan class=\"ube-offer-header__current\" id=\"bundle-price-current\"\u003e€22.90\u003c\/span\u003e \u003cspan class=\"ube-offer-header__compare\" id=\"bundle-price-compare\"\u003e€29.90\u003c\/span\u003e \u003cspan class=\"ube-offer-header__badge\" id=\"bundle-price-note\"\u003eMother’s Day offer\u003c\/span\u003e\n\u003c\/div\u003e\n\u003cp style=\"font-size: 17px; line-height: 1.7; font-family: 'TitleFont'; color: #6d407b;\"\u003eThe wellness drink that brings together pleasure and benefits.\u003c\/p\u003e\n\u003cp style=\"line-height: 1.7; margin-top: 0 !important;\"\u003eUbe, sourced from the heart of the Philippines.\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cspan class=\"ube-info\" tabindex=\"0\"\u003e A natural concentrate of benefits \u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0931\/1803\/8283\/files\/information.svg?v=1771092121\" alt=\"Info\"\u003e \u003cspan class=\"ube-tooltip\"\u003e • A source of steady energy with no crash\u003cbr\u003e• Supports digestion and satiety\u003cbr\u003e• Helps boost skin and hair\u003cbr\u003e• Contributes to reducing stress\u003cbr\u003e\u003cbr\u003e\u003ca href=\"#shopify-section-template--25389555613963__custom_liquid_MiAkyF\" class=\"ube-tooltip__link\"\u003e Learn more \u003c\/a\u003e \u003c\/span\u003e \u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003eSoft vanilla\/hazelnut taste\u003c\/li\u003e\n\u003cli\u003eCaffeine-free with no added sugar\u003c\/li\u003e\n\u003cli\u003eReady in 2 minutes, hot or iced\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp id=\"rituel-dynamic-text\"\u003e1 pouch ≈ 16 to 22 drinks, around €1.20 per ritual.\u003c\/p\u003e\n\u003cp\u003e\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003cstyle\u003e\n  li::marker {\n    color: #6D407B;\n  }\n\n  .ube-offer-header {\n    display: flex;\n    align-items: center;\n    flex-wrap: wrap;\n    gap: 8px;\n    margin-bottom: 12px;\n    line-height: 1.2;\n  }\n\n  .ube-offer-header__current {\n  }\n\n  .ube-offer-header__compare {\n    color: #8f8f8f;\n    text-decoration: line-through;\n  }\n\n  .ube-offer-header__badge {\n    color: #2E9E5B;\n  }\n\n  .ube-info {\n    position: relative;\n    display: inline-flex;\n    align-items: center;\n    cursor: pointer;\n  }\n\n  .ube-info img {\n    width: 16px;\n    height: 16px;\n    display: block;\n    margin-left: 4px;\n  }\n\n  .ube-tooltip {\n    position: absolute;\n    left: 50%;\n    top: calc(100% + 8px);\n    transform: translateX(-50%);\n    background: #fff;\n    color: #111;\n    border: 1px solid #ddd;\n    padding: 10px 12px;\n    font-size: 12px;\n    line-height: 1.5;\n    white-space: nowrap;\n    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);\n    border-radius: 6px;\n    opacity: 0;\n    visibility: hidden;\n    transition: opacity 200ms ease, visibility 200ms ease;\n    z-index: 10;\n    pointer-events: auto;\n  }\n\n  .ube-tooltip__link {\n    color: rgb(var(--color-button-background)) !important;\n    text-decoration-thickness: initial !important;\n  }\n\n  .ube-info:hover .ube-tooltip,\n  .ube-info:focus-within .ube-tooltip,\n  .ube-tooltip:hover {\n    opacity: 1;\n    visibility: visible;\n  }\n\u003c\/style\u003e\n\u003cstyle\u003e\n  \/* Replace the ID with the one from your custom liquid block if necessary *\/\n  #shopify-block-TON_ID_DU_BLOC {\n    margin: 0 !important;\n    padding: 0 !important;\n    min-height: 0 !important;\n  }\n\u003c\/style\u003e\n\n\u003cscript\u003e\n  (function () {\n    const TEXT_ID = \"rituel-dynamic-text\";\n    const PRICE_CURRENT_ID = \"bundle-price-current\";\n    const PRICE_COMPARE_ID = \"bundle-price-compare\";\n    const PRICE_NOTE_ID = \"bundle-price-note\";\n\n    const DRINKS_MIN_PER_SACHET = 16;\n    const DRINKS_MAX_PER_SACHET = 22;\n\n    const BUNDLE_DATA_BY_INDEX = {\n      0: {\n        qty: 1,\n        currentPrice: \"€22.90\",\n        comparePrice: \"€29.90\",\n        note: \"Mother’s Day offer\",\n        pricePerRituel: \"€1.20\"\n      },\n      1: {\n        qty: 2,\n        currentPrice: \"€41.90\",\n        comparePrice: \"€59.80\",\n        note: \"Free shipping\",\n        pricePerRituel: \"€1.10\"\n      },\n      2: {\n        qty: 3,\n        currentPrice: \"€59.90\",\n        comparePrice: \"€89.70\",\n        note: \"Free shipping\",\n        pricePerRituel: \"€1.00\"\n      }\n    };\n\n    function getBundleItems() {\n      return Array.from(document.querySelectorAll(\".Avada-Volume__Item\"));\n    }\n\n    function getSelectedIndex(items) {\n      if (!items.length) return 0;\n\n      let index = items.findIndex(function (item) {\n        return (\n          item.classList.contains(\"Avada-Volume__Item--Selected\") ||\n          item.getAttribute(\"aria-checked\") === \"true\" ||\n          item.getAttribute(\"aria-selected\") === \"true\"\n        );\n      });\n\n      if (index !== -1) return index;\n\n      index = items.findIndex(function (item) {\n        return item.querySelector(\".Avada-Volume__Item--Selected\");\n      });\n\n      return index !== -1 ? index : 0;\n    }\n\n    function updateBundleContent() {\n      const output = document.getElementById(TEXT_ID);\n      const currentPriceEl = document.getElementById(PRICE_CURRENT_ID);\n      const comparePriceEl = document.getElementById(PRICE_COMPARE_ID);\n      const noteEl = document.getElementById(PRICE_NOTE_ID);\n\n      if (!output || !currentPriceEl || !comparePriceEl || !noteEl) return;\n\n      const items = getBundleItems();\n      if (!items.length) return;\n\n      const selectedIndex = getSelectedIndex(items);\n      const bundleData = BUNDLE_DATA_BY_INDEX[selectedIndex] || BUNDLE_DATA_BY_INDEX[0];\n      const qty = bundleData.qty;\n      const totalMinDrinks = qty * DRINKS_MIN_PER_SACHET;\n      const totalMaxDrinks = qty * DRINKS_MAX_PER_SACHET;\n\n      currentPriceEl.textContent = bundleData.currentPrice;\n      comparePriceEl.textContent = bundleData.comparePrice;\n      noteEl.textContent = bundleData.note;\n\n      output.textContent =\n        qty + \" pouch\" + (qty \u003e 1 ? \"es\" : \"\") +\n        \" ≈ \" + totalMinDrinks + \" to \" + totalMaxDrinks +\n        \" drinks, around \" + bundleData.pricePerRituel + \" per ritual.\";\n    }\n\n    function bindBundleEvents() {\n      const root =\n        document.querySelector(\".Avada-Bundle-Offer__Volume\") ||\n        document.querySelector(\".Avada-Bundle-Offer\");\n\n      if (!root || root.dataset.ubeDynamicBound === \"true\") return !!root;\n      root.dataset.ubeDynamicBound = \"true\";\n\n      root.addEventListener(\"click\", function () {\n        setTimeout(updateBundleContent, 50);\n        setTimeout(updateBundleContent, 150);\n        setTimeout(updateBundleContent, 300);\n      });\n\n      root.addEventListener(\"change\", function () {\n        setTimeout(updateBundleContent, 50);\n        setTimeout(updateBundleContent, 150);\n      });\n\n      const observer = new MutationObserver(function () {\n        updateBundleContent();\n      });\n\n      observer.observe(root, {\n        childList: true,\n        subtree: true,\n        attributes: true,\n        attributeFilter: [\"class\", \"aria-checked\", \"aria-selected\"]\n      });\n\n      updateBundleContent();\n      return true;\n    }\n\n    function initWithRetry() {\n      let attempts = 0;\n      const maxAttempts = 50;\n\n      function tryInit() {\n        attempts += 1;\n        const ready = bindBundleEvents();\n        updateBundleContent();\n\n        if (!ready \u0026\u0026 attempts \u003c maxAttempts) {\n          setTimeout(tryInit, 300);\n        }\n      }\n\n      tryInit();\n    }\n\n    if (document.readyState === \"loading\") {\n      document.addEventListener(\"DOMContentLoaded\", initWithRetry);\n    } else {\n      initWithRetry();\n    }\n  })();\n\u003c\/script\u003e","brand":"Maori de Lilaya","offers":[{"title":"Default Title","offer_id":52848970170635,"sku":"LIL-UBE-80G","price":30.0,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0931\/1803\/8283\/files\/PHOTO_PACKSHOT___OFFICIEL___LILAYA.jpg?v=1774345447","url":"https:\/\/lilaya.co\/en\/products\/ube-powder","provider":"Lilaya","version":"1.0","type":"link"}