{"product_id":"vestido-malla-korime","title":"Vestido malla Korime","description":"\u003cscript\u003e\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n    \n    \/\/ --- CONFIGURACIÓN ---\n    \/\/ Nombres exactos de las imágenes\n    const targetImg2 = \"Brown_Minimalist_Casual_Fashion_Collection_Presentation_00002\"; \n    const targetImgLast = \"Brown_Minimalist_Casual_Fashion_Collection_Presentation_1__00003\"; \n\n    \/\/ Estilos \"Nucleares\" (Bloqueamos que el tema los deforme)\n    const estiloBoton = `\n        position: absolute !important;\n        z-index: 9999 !important;\n        display: inline-block !important;\n        width: auto !important; \n        height: auto !important;\n        min-width: 0 !important;\n        max-width: none !important;\n        padding: 10px 24px !important;\n        background-color: #000000 !important;\n        color: #ffffff !important;\n        border-radius: 50px !important;\n        font-size: 13px !important;\n        font-weight: 800 !important;\n        text-transform: uppercase !important;\n        text-decoration: none !important;\n        text-align: center !important;\n        line-height: 1 !important;\n        cursor: pointer !important;\n        box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;\n        white-space: nowrap !important;\n        top: auto !important;\n        right: auto !important;\n        transition: transform 0.2s !important;\n    `;\n\n    \/\/ Animación de titileo (Pulse)\n    const styleSheet = document.createElement(\"style\");\n    styleSheet.innerText = `\n      @keyframes pulse-nuclear { \n          0% {transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);} \n          50% {transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);} \n          100% {transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);} \n      }\n      .nuclear-btn { animation: pulse-nuclear 2s infinite ease-in-out; }\n      .nuclear-btn:active { transform: scale(0.95) !important; background-color: #666 !important; }\n    `;\n    document.head.appendChild(styleSheet);\n\n    \/\/ Función constructora\n    function crearBoton(texto, posicionStyles) {\n        const btn = document.createElement('span'); \n        btn.innerText = texto;\n        btn.className = \"nuclear-btn js-nuclear-scroll\";\n        btn.style.cssText = estiloBoton + posicionStyles;\n        return btn;\n    }\n\n    \/\/ --- LÓGICA PRINCIPAL ---\n    const images = document.querySelectorAll('img');\n\n    images.forEach(img =\u003e {\n        const src = img.src || img.dataset.src || \"\";\n        if (img.clientWidth \u003c 100) return; \/\/ Ignorar iconos\n\n        const parent = img.parentElement;\n\n        \/\/ --- BOTÓN 1 (IMAGEN 2) ---\n        if (src.includes(targetImg2)) {\n            parent.style.position = \"relative\"; \n            if (!parent.querySelector('.btn-nuc-1')) {\n                \/\/ CAMBIO APLICADO: bottom: 10%\n                const pos = \"bottom: 10% !important; left: 50% !important; transform: translateX(-50%) !important;\";\n                const btn = crearBoton(\"COMPRAR AHORA\", pos);\n                btn.classList.add('btn-nuc-1');\n                parent.appendChild(btn);\n            }\n        }\n\n        \/\/ --- BOTÓN 2 (ÚLTIMA IMAGEN) ---\n        if (src.includes(targetImgLast)) {\n            parent.style.position = \"relative\";\n            if (!parent.querySelector('.btn-nuc-2')) {\n                \/\/ CAMBIO APLICADO: bottom: 70%\n                const pos = \"bottom: 70% !important; left: 5% !important; transform: none !important;\";\n                const btn = crearBoton(\"LO QUIERO\", pos);\n                btn.classList.add('btn-nuc-2');\n                parent.appendChild(btn);\n            }\n        }\n    });\n\n    \/\/ --- SCROLL AL CARRITO ---\n    document.body.addEventListener('click', function(e) {\n        if (e.target.classList.contains('js-nuclear-scroll')) {\n            e.preventDefault();\n            \n            \/\/ Efecto visual instantáneo de click\n            e.target.style.backgroundColor = \"#888888\"; \n            \n            const form = document.querySelector('form[action*=\"\/cart\/add\"]') || document.querySelector('.product-form__buttons');\n            if (form) {\n                form.scrollIntoView({ behavior: 'smooth', block: 'center' });\n            }\n            \n            \/\/ Regresar al color negro después de 1 segundo\n            setTimeout(() =\u003e {\n                 e.target.style.backgroundColor = \"#000000\";\n            }, 1000);\n        }\n    });\n\n});\n\u003c\/script\u003e","brand":"Kulto®","offers":[{"title":"Negro \/ S","offer_id":52221302669578,"sku":"-0","price":135000.0,"currency_code":"COP","in_stock":true},{"title":"Negro \/ M","offer_id":52672802259210,"sku":null,"price":135000.0,"currency_code":"COP","in_stock":true},{"title":"Negro \/ L","offer_id":52672802291978,"sku":null,"price":135000.0,"currency_code":"COP","in_stock":true},{"title":"Negro \/ XL","offer_id":52672802324746,"sku":null,"price":135000.0,"currency_code":"COP","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0925\/1140\/4298\/files\/1757139202Korime_20_58000D-48M_20_1.jpg?v=1764949966","url":"https:\/\/kulto.com.co\/products\/vestido-malla-korime","provider":"Colombiatex","version":"1.0","type":"link"}