{"title":"Home page","description":null,"products":[{"product_id":"recetario","title":"💚🌿 +1000 Recetas Saludables +6 Bonus Premium 🎁","description":"\u003cdiv class=\"checkout-deal-container\"\u003e\n  \u003cdiv class=\"review-stars\"\u003e\n    \u003cspan class=\"rating-number\"\u003e4.8\/5\u003c\/span\u003e\n    \u003cspan class=\"stars\"\u003e★★★★★\u003c\/span\u003e\n    \u003cspan id=\"text-reviews\" class=\"review-count\"\u003eRecensioni\u003c\/span\u003e\n  \u003c\/div\u003e\n\n  \u003cdiv class=\"viewing-square-box\"\u003e\n    \u003cspan class=\"dot green-pulse\"\u003e\u003c\/span\u003e\n    \u003cp\u003e\u003cstrong id=\"viewing-count\"\u003e87\u003c\/strong\u003e \u003cspan id=\"text-viewing\"\u003epersone stanno guardando l'offerta ora\u003c\/span\u003e\u003c\/p\u003e\n  \u003c\/div\u003e\n\n  \u003cdiv class=\"scarcity-row\"\u003e\n    \u003cspan class=\"dot red-pulse\"\u003e\u003c\/span\u003e\n    \u003cp id=\"text-offer-badge\" style=\"font-weight: 700; color: #d9534f;\"\u003eUltimi posti con Bonus Inclusi\u003c\/p\u003e\n  \u003c\/div\u003e\n\n  \u003cdiv class=\"persuasive-box\"\u003e\n    \u003cp id=\"text-persuasive\"\u003e👉🏼 Per meno di quello che spendi per un pasto fuori, hai accesso a tutto il contenuto + Bonus 🎁\u003c\/p\u003e\n  \u003c\/div\u003e\n\u003c\/div\u003e\n\n\u003cstyle\u003e\n  .checkout-deal-container {\n    font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;\n    max-width: 100%;\n    margin: 20px auto;\n    padding: 20px;\n    background-color: #ffffff;\n    border: 1px solid #eaeaea;\n    border-radius: 12px;\n    box-shadow: 0 4px 15px rgba(0,0,0,0.02);\n    text-align: center;\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    gap: 15px;\n    box-sizing: border-box;\n  }\n\n  \/* Estrellas y Nota *\/\n  .review-stars {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    gap: 6px;\n    flex-wrap: wrap;\n  }\n  .rating-number {\n    font-weight: 700;\n    color: #333333;\n    font-size: 15px;\n  }\n  .review-stars .stars {\n    color: #f39c12;\n    font-size: 16px;\n    letter-spacing: 1px;\n  }\n  .review-stars .review-count {\n    color: #555555;\n    font-size: 14px;\n    font-weight: 600;\n  }\n\n  \/* Caja cuadrada con puntas redondeadas para el contador *\/\n  .viewing-square-box {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    background-color: #ffffff;\n    border: 1px solid #e0e0e0;\n    border-radius: 6px;\n    padding: 8px 16px;\n    box-shadow: 0 2px 5px rgba(0,0,0,0.04);\n    max-width: 100%;\n  }\n  .viewing-square-box p {\n    margin: 0;\n    font-size: 13px;\n    color: #555555;\n  }\n\n  \/* Fila de Escasez *\/\n  .scarcity-row {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    font-size: 13px;\n    margin: 0;\n  }\n  .scarcity-row p {\n    margin: 0;\n  }\n\n  \/* Caja Persuasiva *\/\n  .persuasive-box {\n    border-left: 4px solid #27ae60;\n    background-color: #f9f9f9;\n    padding: 12px 15px;\n    border-radius: 0 8px 8px 0;\n    width: 100%;\n    text-align: left;\n    box-sizing: border-box;\n  }\n  .persuasive-box p {\n    margin: 0;\n    font-size: 13px;\n    color: #4a4a4a;\n    line-height: 1.4;\n    font-weight: 600;\n  }\n\n  \/* Puntos animados *\/\n  .dot {\n    height: 8px;\n    width: 8px;\n    border-radius: 50%;\n    display: inline-block;\n    margin-right: 10px;\n    flex-shrink: 0;\n  }\n  .green-pulse {\n    background-color: #2ecc71;\n    animation: pulse-green 2s infinite;\n  }\n  .red-pulse {\n    background-color: #e74c3c;\n    animation: pulse-red 2s infinite;\n  }\n\n  @keyframes pulse-green {\n    0% { box-shadow: 0 0 0 0px rgba(46, 204, 113, 0.7); }\n    70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }\n    100% { box-shadow: 0 0 0 0px rgba(46, 204, 113, 0); }\n  }\n  @keyframes pulse-red {\n    0% { box-shadow: 0 0 0 0px rgba(231, 76, 60, 0.7); }\n    70% { box-shadow: 0 0 0 8px rgba(231, 76, 60, 0); }\n    100% { box-shadow: 0 0 0 0px rgba(231, 76, 60, 0); }\n  }\n\n  \/* Adaptabilidad Móvil *\/\n  @media (max-width: 480px) {\n    .viewing-square-box p, .scarcity-row p, .persuasive-box p { font-size: 12px; }\n    .viewing-square-box { padding: 6px 12px; }\n  }\n\u003c\/style\u003e\n\n\u003cscript\u003e\n  \/\/ Traducciones automáticas (Italiano corregido)\n  const translations = {\n    it: {\n      reviews: \"Recensioni\",\n      viewing: \"persone stanno guardando l'offerta ora\",\n      offerBadge: \"Ultimi posti con Bonus Inclusi\",\n      persuasive: \"👉🏼 Per meno di quello che spendi per un pasto fuori, hai accesso a tutto il contenuto + Bonus 🎁\"\n    },\n    es: {\n      reviews: \"Calificaciones\",\n      viewing: \"personas están viendo la oferta ahora\",\n      offerBadge: \"Ultimos cupos con Bonos Incluidos\",\n      persuasive: \"👉🏼 Por menos de lo que gastas en una comida fuera, tienes acceso a todo el contenido + Bonos 🎁\"\n    },\n    en: {\n      reviews: \"Ratings\",\n      viewing: \"people are viewing this offer right now\",\n      offerBadge: \"Last spots left with Bonuses Included\",\n      persuasive: \"👉🏼 For less than what you spend on a meal out, you get access to all content + Bonuses 🎁\"\n    },\n    fr: {\n      reviews: \"Évaluations\",\n      viewing: \"personnes regardent l'offre en ce moment\",\n      offerBadge: \"Dernières places avec Bonus Inclus\",\n      persuasive: \"👉🏼 Pour moins que ce que vous dépensez pour un repas au restaurant, vous avez accès à tout le contenu + Bonus 🎁\"\n    }\n  };\n\n  function applyLanguage() {\n    const userLang = navigator.language || navigator.userLanguage; \n    let lang = 'it';\n\n    if (userLang.startsWith('es')) {\n      lang = 'es';\n    } else if (userLang.startsWith('en')) {\n      lang = 'en';\n    } else if (userLang.startsWith('fr')) {\n      lang = 'fr';\n    }\n\n    document.getElementById('text-reviews').innerText = translations[lang].reviews;\n    document.getElementById('text-viewing').innerText = translations[lang].viewing;\n    document.getElementById('text-offer-badge').innerText = translations[lang].offerBadge;\n    document.getElementById('text-persuasive').innerText = translations[lang].persuasive;\n  }\n\n  \/\/ Contador mejorado: cambios aleatorios más variados (-5 a +8)\n  function simulateLiveViewing() {\n    const viewElement = document.getElementById('viewing-count');\n    if(!viewElement) return;\n    \n    let current = parseInt(viewElement.innerText);\n    \n    \/\/ Cambios más variados: puede subir o bajar entre -5 y +8\n    const posiblesCambios = [-5, -4, -3, -2, -1, 1, 2, 3, 4, 5, 6, 7, 8];\n    const cambio = posiblesCambios[Math.floor(Math.random() * posiblesCambios.length)];\n    \n    let newValue = current + cambio;\n    \n    \/\/ Mantener entre 17 y 97\n    if (newValue \u003c 17) newValue = 17;\n    if (newValue \u003e 97) newValue = 97;\n    \n    \/\/ A veces hace cambios más drásticos (10% de probabilidad de un salto extra)\n    if (Math.random() \u003c 0.1 \u0026\u0026 newValue \u003e= 30 \u0026\u0026 newValue \u003c= 85) {\n      const saltoExtra = Math.floor(Math.random() * 7) - 3; \/\/ -3 a +3\n      newValue = newValue + saltoExtra;\n      \/\/ Re-limitar\n      if (newValue \u003c 17) newValue = 17;\n      if (newValue \u003e 97) newValue = 97;\n    }\n    \n    viewElement.innerText = newValue;\n  }\n\n  \/\/ Carga segura\n  if (document.readyState === 'loading') {\n    document.addEventListener('DOMContentLoaded', () =\u003e {\n      applyLanguage();\n      setInterval(simulateLiveViewing, 3200);\n    });\n  } else {\n    applyLanguage();\n    setInterval(simulateLiveViewing, 3200);\n  }\n\u003c\/script\u003e","brand":"Libro Digital","offers":[{"title":"Default Title","offer_id":63764079772025,"sku":null,"price":12.0,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1017\/6167\/9737\/files\/ESPANOL.jpg?v=1781507101"}],"url":"https:\/\/www.digitals.lat\/collections\/frontpage.oembed","provider":"Libro Digital","version":"1.0","type":"link"}