{"product_id":"palcalm","title":"PalmCalm: Calma Tu Mente 🧠 Relaja Tu Cuerpo 😴","description":"\u003cstyle\u003e\n    .trustoo-reviews-wrapper {\n        display: none;\n    }\n\n    .product__accordion {\n        display: none;\n    }\n\n    .section-divider {\n        display: none;\n    }\n\n    .benefits-list li .icon {\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        width: 40px;\n    }\n\n    .benefits-list {\n        list-style: none;\n        padding: 0;\n        margin: 0;\n        text-align: var(--text-alignment, left);\n    }\n\n    .benefits-list li {\n        display: flex;\n        align-items: center;\n        gap: 12px;\n        font-size: var(--text-size-px, 18px);\n        margin-bottom: 10px;\n        padding: 10px 0;\n        border-bottom: 1px solid #ccc;\n        color: var(--text-color, #333);\n        font-weight: var(--text-weight, normal);\n        font-style: var(--text-style, normal);\n    }\n\n    .big-point {\n        color: white !important;\n    }\n\n    .reviews-num {\n        color: white !important;\n    }\n\n    body {\n        color: white !important;\n    }\n\n    .tt-head-title {\n        color: white !important;\n    }\n\n    .number {\n        color: white !important;\n        margin-right: 4px;\n    }\n\n    .star-classify {\n        color: white !important;\n    }\n\n    .reviews-text {\n        color: black !important;\n    }\n\n    .author-name {\n        color: black !important;\n    }\n\n    .verified-text {\n        color: black !important;\n    }\n\n    .reviews-date {\n        color: black !important;\n    }\n\n    .custom-saving-box {\n        display: none;\n    }\n\n    .mas-vendido {\n        color: white !important;\n    }\n\n    .raiting-perso {\n        color: white !important;\n    }\n\n    #rating {\n        color: white !important;\n    }\n\n    #reviews-count {\n        color: white !important;\n    }\n\n    #viewer-class {\n        color: white !important;\n    }\n\n    .viewer-class {\n        color: white !important;\n    }\n\n    .shopify-section section {\n        background-color: black !important;\n    }\n\n    .trustoo-reviews-wrapper {\n        background-color: black !important;\n    }\n\n    .content-for-layout {\n        background-color: black;\n    }\n\n    .custom-price-box {\n        background-color: black;\n    }\n\n    .custom-product-title {\n        background-color: black;\n        padding-top: 16px;\n        color: white;\n    }\n\n    .title1 {\n        display: flex;\n        justify-content: center;\n        color: white;\n    }\n\n    .title {\n        font-size: 3rem;\n        font-weight: 700;\n        display: flex;\n        justify-content: center;\n        padding: 0px 16px !important;\n        margin: 0px !important;\n        text-align: center;\n    }\n\n    .hook {\n        font-size: 1.5rem;\n        font-weight: 600;\n        display: flex;\n        justify-content: center;\n        padding: 0px 16px !important;\n        margin: 4px 0px !important;\n    }\n\n    .title,\n    .title-wrapper-with-link {\n        margin: 2rem 0px;\n    }\n\n    p {\n        text-align: justify;\n        padding: 4px 16px;\n        margin: 0px;\n    }\n\n    h3 {\n        padding: 4px 16px;\n        text-align: center;\n    }\n\n    img {\n        border-radius: 0px !important;\n        width: 100vw;\n    }\n\n    video {\n        border-radius: 0px !important;\n        width: 100vw;\n    }\n\n    .texto-amarillo {\n        color: #ff0;\n    }\n\n    .texto-naranja {\n        color: #f5a623;\n    }\n\n    .horizontal-ticker {\n        display: none;\n    }\n\n    \/* ========== Carrusel de videos (manual) ========== *\/\n    .sv-section {\n        padding: 24px 0 8px;\n        background: #000;\n    }\n\n    .sv-slider-wrap {\n        position: relative;\n        padding: 0 36px;\n    }\n\n    .sv-slider {\n        overflow: hidden;\n    }\n\n    .sv-slide {\n        aspect-ratio: 9 \/ 16;\n        min-height: 320px;\n        border-radius: 8px;\n        overflow: hidden;\n        background: #1a1a1a;\n        cursor: pointer;\n        box-sizing: border-box;\n    }\n\n    .sv-slide video {\n        display: block;\n        width: 100% !important;\n        height: 100% !important;\n        object-fit: cover;\n        border-radius: 0 !important;\n        pointer-events: none;\n    }\n\n    .sv-btn {\n        position: absolute;\n        top: 50%;\n        transform: translateY(-50%);\n        z-index: 2;\n        width: 32px;\n        height: 32px;\n        border: none;\n        border-radius: 50%;\n        background: #ebebeb;\n        color: #7b7b7b;\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        cursor: pointer;\n        padding: 0;\n        -webkit-appearance: none;\n    }\n\n    .sv-btn:disabled {\n        opacity: 0.4;\n    }\n\n    .sv-btn--prev {\n        left: 4px;\n    }\n\n    .sv-btn--next {\n        right: 4px;\n    }\n\n    .sv-btn__icon {\n        width: 10px;\n        height: 10px;\n        border-style: solid;\n        border-width: 0 2px 2px 0;\n        display: inline-block;\n    }\n\n    .sv-btn--prev .sv-btn__icon {\n        transform: rotate(135deg);\n        margin-left: 3px;\n    }\n\n    .sv-btn--next .sv-btn__icon {\n        transform: rotate(-45deg);\n        margin-right: 3px;\n    }\n\n    \/* Modal *\/\n    .sv-modal {\n        position: fixed;\n        inset: 0;\n        z-index: 9999;\n        background: rgba(0, 0, 0, 0.92);\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        padding: 16px;\n        opacity: 0;\n        pointer-events: none;\n        transition: opacity 0.25s ease;\n    }\n\n    .sv-modal.is-open {\n        opacity: 1;\n        pointer-events: auto;\n    }\n\n    .sv-modal__inner {\n        position: relative;\n        width: 100%;\n        max-width: 360px;\n        height: min(80vh, 640px);\n        border-radius: 10px;\n        overflow: hidden;\n        background: #111;\n    }\n\n    .sv-modal__slider {\n        width: 100%;\n        height: 100%;\n    }\n\n    .sv-modal__slide {\n        position: relative;\n        width: 100%;\n        height: 100%;\n        background: #111;\n    }\n\n    .sv-modal__slide video {\n        display: block;\n        width: 100% !important;\n        height: 100% !important;\n        object-fit: cover;\n        border-radius: 0 !important;\n    }\n\n    .sv-modal__ui {\n        position: absolute;\n        inset: 0;\n        z-index: 2;\n        display: flex;\n        flex-direction: column;\n        justify-content: space-between;\n        padding: 12px;\n        pointer-events: none;\n    }\n\n    .sv-modal__ui \u003e * {\n        pointer-events: auto;\n    }\n\n    .sv-modal__top,\n    .sv-modal__side {\n        display: flex;\n        flex-direction: column;\n        gap: 10px;\n    }\n\n    .sv-modal__row {\n        display: flex;\n        justify-content: space-between;\n        align-items: flex-start;\n    }\n\n    .sv-modal__ctrl {\n        width: 40px;\n        height: 40px;\n        border: none;\n        border-radius: 50%;\n        background: rgba(0, 0, 0, 0.35);\n        backdrop-filter: blur(4px);\n        -webkit-backdrop-filter: blur(4px);\n        color: #fff;\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        cursor: pointer;\n        padding: 0;\n        -webkit-appearance: none;\n    }\n\n    .sv-modal__ctrl svg {\n        width: 20px;\n        height: 20px;\n        fill: #fff;\n        display: block;\n    }\n\n    .sv-modal__progress {\n        position: absolute;\n        top: 0;\n        left: 0;\n        width: 100%;\n        height: 3px;\n        appearance: none;\n        border: none;\n        background: rgba(255, 255, 255, 0.25);\n        z-index: 3;\n    }\n\n    .sv-modal__progress::-webkit-progress-bar {\n        background: rgba(255, 255, 255, 0.25);\n    }\n\n    .sv-modal__progress::-webkit-progress-value {\n        background: #fff;\n        transition: width 0.2s linear;\n    }\n\n    .sv-modal__progress::-moz-progress-bar {\n        background: #fff;\n    }\n\n    .sv-modal__mute-on {\n        display: none;\n    }\n\n    .sv-modal__sound.is-unmuted .sv-modal__mute-off {\n        display: none;\n    }\n\n    .sv-modal__sound.is-unmuted .sv-modal__mute-on {\n        display: block;\n    }\n\n    body.sv-modal-open {\n        overflow: hidden;\n    }\n\u003c\/style\u003e\n\n\u003clink rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/swiper@11\/swiper-bundle.min.css\"\u003e\n\n\u003cdiv style=\"margin: 0px -16px -16px;\"\u003e\n    \u003cdiv class=\"normal-visitor-content\"\u003e\n        \u003cdiv class=\"product-normal-section\"\u003e\n            \u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0795\/0070\/5941\/files\/img2_430x.avif?v=1784321289#\" alt=\"\"\u003e\n\n            \u003ca href=\"\/rsi-btn-hook\"\u003e\u003c\/a\u003e\n            \u003ch3 class=\"mas-vendido\"\u003e\u003cstrong\u003e 🎁 Lleva tu Smartwatch T-930 y recibe Gafas 3 en 1 + 2 correas intercambiables. \u003c\/strong\u003e\u003c\/h3\u003e\n\n            \u003c!-- ========== CARRUSEL DE VIDEOS ========== --\u003e\n            \u003c!-- Para agregar otro video: copia un bloque .sv-slide y cambia el data-src --\u003e\n            \u003csection class=\"sv-section\" id=\"sv-videos\"\u003e\n                \n                \u003cdiv class=\"sv-slider-wrap\"\u003e\n                    \u003cdiv class=\"sv-slider swiper\"\u003e\n                        \u003cdiv class=\"swiper-wrapper\"\u003e\n                            \u003c!-- Video 1 --\u003e\n                            \u003cdiv class=\"swiper-slide sv-slide\" data-index=\"0\"\u003e\n                                \u003cvideo autoplay=\"autoplay\" loop=\"loop\" data-src=\"https:\/\/cdn.shopify.com\/videos\/c\/o\/v\/2e4b51ab98744c699b4608bebdc9ddc4.mp4\" muted playsinline preload=\"none\"\u003e\u003c\/video\u003e\n                            \u003c\/div\u003e\n                            \u003c!-- Video 2 --\u003e\n                            \u003cdiv class=\"swiper-slide sv-slide\" data-index=\"1\"\u003e\n                                \u003cvideo autoplay=\"autoplay\" loop=\"loop\" data-src=\"https:\/\/cdn.shopify.com\/videos\/c\/o\/v\/e9f637d754044b3482d9b051adfd4f8f.mp4\" muted playsinline preload=\"none\"\u003e\u003c\/video\u003e\n                            \u003c\/div\u003e\n                            \u003c!-- Video 3 --\u003e\n                            \u003cdiv class=\"swiper-slide sv-slide\" data-index=\"2\"\u003e\n                                \u003cvideo autoplay=\"autoplay\" loop=\"loop\" data-src=\"https:\/\/cdn.shopify.com\/videos\/c\/o\/v\/c6f8a39d61674e9fb5fc3bde645e705e.mp4\" muted playsinline preload=\"none\"\u003e\u003c\/video\u003e\n                            \u003c\/div\u003e\n                        \u003c\/div\u003e\n                    \u003c\/div\u003e\n                    \u003cbutton type=\"button\" class=\"sv-btn sv-btn--prev\" aria-label=\"Anterior\"\u003e\n                        \u003cspan class=\"sv-btn__icon\"\u003e\u003c\/span\u003e\n                    \u003c\/button\u003e\n                    \u003cbutton type=\"button\" class=\"sv-btn sv-btn--next\" aria-label=\"Siguiente\"\u003e\n                        \u003cspan class=\"sv-btn__icon\"\u003e\u003c\/span\u003e\n                    \u003c\/button\u003e\n                \u003c\/div\u003e\n            \u003c\/section\u003e\n\n            \u003c!-- Modal pantalla completa --\u003e\n            \u003c!-- Al agregar un video: copia un .sv-modal__slide y pon la misma URL que en el carrusel --\u003e\n            \u003cdiv class=\"sv-modal\" id=\"sv-modal\" aria-hidden=\"true\"\u003e\n                \u003cdiv class=\"sv-modal__inner\"\u003e\n                    \u003cdiv class=\"sv-modal__slider swiper\"\u003e\n                        \u003cdiv class=\"swiper-wrapper\"\u003e\n                            \u003cdiv class=\"swiper-slide sv-modal__slide\"\u003e\n                                \u003cprogress class=\"sv-modal__progress\" max=\"100\" value=\"0\"\u003e\u003c\/progress\u003e\n                                \u003cvideo data-src=\"https:\/\/cdn.shopify.com\/videos\/c\/o\/v\/2e4b51ab98744c699b4608bebdc9ddc4.mp4\" muted playsinline preload=\"none\"\u003e\u003c\/video\u003e\n                            \u003c\/div\u003e\n                            \u003cdiv class=\"swiper-slide sv-modal__slide\"\u003e\n                                \u003cprogress class=\"sv-modal__progress\" max=\"100\" value=\"0\"\u003e\u003c\/progress\u003e\n                                \u003cvideo data-src=\"https:\/\/cdn.shopify.com\/videos\/c\/o\/v\/e9f637d754044b3482d9b051adfd4f8f.mp4\" muted playsinline preload=\"none\"\u003e\u003c\/video\u003e\n                            \u003c\/div\u003e\n                            \u003cdiv class=\"swiper-slide sv-modal__slide\"\u003e\n                                \u003cprogress class=\"sv-modal__progress\" max=\"100\" value=\"0\"\u003e\u003c\/progress\u003e\n                                \u003cvideo data-src=\"https:\/\/cdn.shopify.com\/videos\/c\/o\/v\/c6f8a39d61674e9fb5fc3bde645e705e.mp4\" muted playsinline preload=\"none\"\u003e\u003c\/video\u003e\n                            \u003c\/div\u003e\n                        \u003c\/div\u003e\n                    \u003c\/div\u003e\n\n                    \u003cdiv class=\"sv-modal__ui\"\u003e\n                        \u003cdiv class=\"sv-modal__row\"\u003e\n                            \u003cbutton type=\"button\" class=\"sv-modal__ctrl sv-modal__close\" aria-label=\"Cerrar\"\u003e\n                                \u003csvg viewbox=\"0 0 24 24\"\u003e\u003cpath d=\"M18.3 5.7a1 1 0 0 0-1.4-1.4L12 9.17 7.1 4.3A1 1 0 0 0 5.7 5.7L10.59 10.6 5.7 15.5a1 1 0 1 0 1.4 1.4L12 12l4.9 4.9a1 1 0 0 0 1.4-1.4L13.41 10.6l4.9-4.9z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\n                            \u003c\/button\u003e\n                            \u003cdiv class=\"sv-modal__side\"\u003e\n                                \u003cbutton type=\"button\" class=\"sv-modal__ctrl sv-modal__prev\" aria-label=\"Anterior\"\u003e\n                                    \u003csvg viewbox=\"0 0 24 24\"\u003e\u003cpath d=\"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\n                                \u003c\/button\u003e\n                                \u003cbutton type=\"button\" class=\"sv-modal__ctrl sv-modal__next\" aria-label=\"Siguiente\"\u003e\n                                    \u003csvg viewbox=\"0 0 24 24\"\u003e\u003cpath d=\"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\n                                \u003c\/button\u003e\n                                \u003cbutton type=\"button\" class=\"sv-modal__ctrl sv-modal__sound\" aria-label=\"Sonido\"\u003e\n                                    \u003csvg class=\"sv-modal__mute-off\" viewbox=\"0 0 24 24\"\u003e\u003cpath d=\"M16.5 12a4.5 4.5 0 0 0-2.25-3.9l1.06-1.6A6.5 6.5 0 0 1 18.5 12a6.5 6.5 0 0 1-3.19 5.5l-1.06-1.6A4.5 4.5 0 0 0 16.5 12zM4 9v6h4l5 4V5L8 9H4zm15.07-3.54 1.41 1.41L4.93 22.43 3.52 21.02 19.07 5.46z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\n                                    \u003csvg class=\"sv-modal__mute-on\" viewbox=\"0 0 24 24\"\u003e\u003cpath d=\"M3 9v6h4l5 4V5L7 9H3zm13.5 3a4.5 4.5 0 0 0-2.25-3.9l1.06-1.6A6.5 6.5 0 0 1 18.5 12a6.5 6.5 0 0 1-3.19 5.5l-1.06-1.6A4.5 4.5 0 0 0 16.5 12z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\n                                \u003c\/button\u003e\n                            \u003c\/div\u003e\n                        \u003c\/div\u003e\n                    \u003c\/div\u003e\n                \u003c\/div\u003e\n            \u003c\/div\u003e\n          \n            \u003cvideo src=\"https:\/\/cdn.shopify.com\/videos\/c\/o\/v\/2e4b51ab98744c699b4608bebdc9ddc4.mp4\" autoplay=\"autoplay\" loop=\"loop\" muted=\"\" playsinline=\"\" preload=\"metadata\"\u003e\n            \u003c\/video\u003e\n            \n            \u003cimg alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0795\/0070\/5941\/files\/img3_430x.avif?v=1784321289#\"\u003e\n            \u003ca href=\"\/rsi-btn-hook\"\u003e\u003c\/a\u003e\n            \u003ch3 class=\"mas-vendido\"\u003e\u003cstrong\u003e⚡ Cambia de look en segundos y mantente conectado todo el día. \u003c\/strong\u003e\u003c\/h3\u003e\n            \u003cimg alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0795\/0070\/5941\/files\/img4_430x.avif?v=1784321290#\"\u003e\n            \u003cvideo src=\"https:\/\/cdn.shopify.com\/videos\/c\/o\/v\/e9f637d754044b3482d9b051adfd4f8f.mp4\" autoplay=\"autoplay\" loop=\"loop\" muted=\"\" playsinline=\"\" preload=\"metadata\"\u003e\n            \u003c\/video\u003e\n            \n            \u003cimg alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0795\/0070\/5941\/files\/img5_430x.avif?v=1784321289#\"\u003e\n            \u003ch3 class=\"mas-vendido\"\u003e\n\u003cstrong\u003e 📱 Compatible con Android y iOS para que lo conectes fácilmente con tu celular. \u003c\/strong\u003e\n            \u003c\/h3\u003e\n            \u003cimg alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0795\/0070\/5941\/files\/img6_430x.avif?v=1784321289#\"\u003e\n            \u003ca href=\"\/rsi-btn-hook\"\u003e\u003c\/a\u003e\n            \n            \u003cimg alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0795\/0070\/5941\/files\/img7_430x.avif?v=1784321289#\"\u003e\n\n            \u003cvideo src=\"https:\/\/cdn.shopify.com\/videos\/c\/o\/v\/c6f8a39d61674e9fb5fc3bde645e705e.mp4\" autoplay=\"autoplay\" loop=\"loop\" muted=\"\" playsinline=\"\" preload=\"metadata\"\u003e\n            \u003c\/video\u003e\n            \n            \u003ch3 class=\"mas-vendido\"\u003e\u003cstrong\u003e 📲 Consulta mensajes, notificaciones y alertas desde su amplia pantalla de 2.1 pulgadas. \u003c\/strong\u003e\u003c\/h3\u003e\n            \n            \u003cimg alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0795\/0070\/5941\/files\/img8_430x.avif?v=1784321289#\"\u003e\n\n            \u003cimg alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0795\/0070\/5941\/files\/img9_430x.avif?v=1784321289#\"\u003e\n        \u003c\/div\u003e\n    \u003c\/div\u003e\n\u003c\/div\u003e\n\n\u003cscript src=\"https:\/\/cdn.jsdelivr.net\/npm\/swiper@11\/swiper-bundle.min.js\"\u003e\u003c\/script\u003e\n\u003cscript\u003e\n(function () {\n  function lazyLoadVideo(video) {\n    if (!video || video.dataset.loaded === '1') return;\n    var src = video.getAttribute('data-src');\n    if (!src) return;\n    video.src = src;\n    video.dataset.loaded = '1';\n    video.load();\n  }\n\n  function lazyLoadVisible(root) {\n    root.querySelectorAll('video[data-src]').forEach(function (video) {\n      lazyLoadVideo(video);\n    });\n  }\n\n  function initSvVideos() {\n    var section = document.getElementById('sv-videos');\n    var modal = document.getElementById('sv-modal');\n    if (!section || !modal || typeof Swiper === 'undefined') return;\n\n    var sliderEl = section.querySelector('.sv-slider');\n    var modalSliderEl = modal.querySelector('.sv-modal__slider');\n    var soundBtn = modal.querySelector('.sv-modal__sound');\n\n    var carousel = new Swiper(sliderEl, {\n      slidesPerView: 1.25,\n      spaceBetween: 12,\n      loop: false,\n      watchSlidesProgress: true,\n      navigation: {\n        nextEl: section.querySelector('.sv-btn--next'),\n        prevEl: section.querySelector('.sv-btn--prev')\n      },\n      on: {\n        init: function () {\n          lazyLoadVisible(sliderEl);\n          playActiveCarouselVideos(this);\n        },\n        slideChange: function () {\n          lazyLoadVisible(sliderEl);\n          playActiveCarouselVideos(this);\n        }\n      }\n    });\n\n    function playActiveCarouselVideos(swiper) {\n      swiper.slides.forEach(function (slide) {\n        var video = slide.querySelector('video');\n        if (!video) return;\n        lazyLoadVideo(video);\n        if (slide.classList.contains('swiper-slide-visible') || slide.classList.contains('swiper-slide-active')) {\n          video.muted = true;\n          var playPromise = video.play();\n          if (playPromise \u0026\u0026 playPromise.catch) playPromise.catch(function () {});\n        } else {\n          video.pause();\n        }\n      });\n    }\n\n    var modalSlider = new Swiper(modalSliderEl, {\n      direction: 'vertical',\n      slidesPerView: 1,\n      spaceBetween: 0,\n      loop: false,\n      mousewheel: true,\n      navigation: {\n        nextEl: modal.querySelector('.sv-modal__next'),\n        prevEl: modal.querySelector('.sv-modal__prev')\n      },\n      on: {\n        slideChange: function () {\n          syncModalPlayback(this);\n        }\n      }\n    });\n\n    function syncModalPlayback(swiper) {\n      swiper.slides.forEach(function (slide, i) {\n        var video = slide.querySelector('video');\n        var progress = slide.querySelector('progress');\n        if (!video) return;\n        if (i === swiper.activeIndex) {\n          lazyLoadVideo(video);\n          video.muted = !soundBtn.classList.contains('is-unmuted');\n          var playPromise = video.play();\n          if (playPromise \u0026\u0026 playPromise.catch) playPromise.catch(function () {});\n        } else {\n          video.pause();\n          video.currentTime = 0;\n          if (progress) progress.value = 0;\n        }\n      });\n    }\n\n    function openModal(index) {\n      document.body.classList.add('sv-modal-open');\n      modal.classList.add('is-open');\n      modal.setAttribute('aria-hidden', 'false');\n      modalSlider.slideTo(index, 0);\n      syncModalPlayback(modalSlider);\n    }\n\n    function closeModal() {\n      document.body.classList.remove('sv-modal-open');\n      modal.classList.remove('is-open');\n      modal.setAttribute('aria-hidden', 'true');\n      modal.querySelectorAll('video').forEach(function (video) {\n        video.pause();\n        video.muted = true;\n      });\n      soundBtn.classList.remove('is-unmuted');\n    }\n\n    section.querySelectorAll('.sv-slide').forEach(function (slide, index) {\n      slide.addEventListener('click', function () {\n        openModal(index);\n      });\n    });\n\n    modal.querySelectorAll('.sv-modal__close').forEach(function (btn) {\n      btn.addEventListener('click', closeModal);\n    });\n\n    modal.addEventListener('click', function (e) {\n      if (e.target === modal) closeModal();\n    });\n\n    soundBtn.addEventListener('click', function () {\n      soundBtn.classList.toggle('is-unmuted');\n      var active = modalSlider.slides[modalSlider.activeIndex];\n      var video = active \u0026\u0026 active.querySelector('video');\n      if (video) video.muted = !soundBtn.classList.contains('is-unmuted');\n    });\n\n    modal.querySelectorAll('.sv-modal__slide video').forEach(function (video) {\n      var slide = video.closest('.sv-modal__slide');\n      var progress = slide.querySelector('progress');\n\n      video.addEventListener('timeupdate', function () {\n        if (!progress || !video.duration || !isFinite(video.duration)) return;\n        progress.value = Math.round((video.currentTime \/ video.duration) * 100);\n      });\n\n      video.addEventListener('ended', function () {\n        if (modalSlider.activeIndex \u003c modalSlider.slides.length - 1) {\n          modalSlider.slideNext();\n        } else {\n          video.currentTime = 0;\n          video.play();\n        }\n      });\n    });\n\n    document.addEventListener('keydown', function (e) {\n      if (e.key === 'Escape' \u0026\u0026 modal.classList.contains('is-open')) closeModal();\n    });\n  }\n\n  if (document.readyState === 'loading') {\n    document.addEventListener('DOMContentLoaded', initSvVideos);\n  } else {\n    initSvVideos();\n  }\n})();\n\u003c\/script\u003e","brand":"Tienda Julio","offers":[{"title":"Default Title","offer_id":49766784368882,"sku":null,"price":79900.0,"currency_code":"COP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0840\/8288\/4850\/files\/PalCalm01.avif?v=1783390986","url":"https:\/\/www.terecomienda.shop\/products\/palcalm","provider":"Tienda Julio","version":"1.0","type":"link"}