{"product_id":"d-serum","title":"D SERUM","description":"\u003cstyle\u003e\n.variant-option__dynamic-val {\n  font-weight: 500;\n  margin-left: 6px;\n  color: var(--color-foreground, #000);\n}\n\u003c\/style\u003e\n\u003cscript\u003e\n(function() {\n  function getSelectedVariantTitle() {\n    const checked = document.querySelector(\"variant-picker input[type=\\\"radio\\\"]:checked\");\n    if (checked \u0026\u0026 checked.value) return checked.value.trim();\n    const select = document.querySelector(\"variant-picker select\");\n    if (select \u0026\u0026 select.selectedOptions \u0026\u0026 select.selectedOptions[0]) {\n      return select.selectedOptions[0].text.trim();\n    }\n    return null;\n  }\n\n  function applyTitle(title) {\n    if (!title) return;\n    \n    \/\/ Update main H1\n    const h1 = document.querySelector(\"h1\");\n    if (h1 \u0026\u0026 h1.textContent.trim() !== title) {\n      h1.textContent = title;\n    }\n    \n    \/\/ Update document title\n    if (!document.title.startsWith(title)) {\n      document.title = title + \" | Fenisa\";\n    }\n    \n    \/\/ Update legend\n    const legend = document.querySelector(\"variant-picker legend\");\n    if (legend) {\n      let dynSpan = legend.querySelector(\".variant-option__dynamic-val\");\n      if (!dynSpan) {\n        dynSpan = document.createElement(\"span\");\n        dynSpan.className = \"variant-option__dynamic-val\";\n        legend.appendChild(dynSpan);\n      }\n      dynSpan.textContent = \"– \" + title;\n    }\n\n    \/\/ Update breadcrumbs if present\n    const breadcrumbCurrent = document.querySelector(\".breadcrumbs__item--current, nav[aria-label=\\\"breadcrumbs\\\"] li:last-child\");\n    if (breadcrumbCurrent \u0026\u0026 breadcrumbCurrent.textContent.trim() !== title) {\n      breadcrumbCurrent.textContent = title;\n    }\n  }\n\n  function sync() {\n    const title = getSelectedVariantTitle();\n    if (title) applyTitle(title);\n  }\n\n  if (document.readyState === \"loading\") {\n    document.addEventListener(\"DOMContentLoaded\", sync);\n  } else {\n    sync();\n  }\n\n  \/\/ Periodic check to ensure title stays synced with selected variant\n  let count = 0;\n  const interval = setInterval(function() {\n    sync();\n    count++;\n    if (count \u003e 30) clearInterval(interval);\n  }, 100);\n\n  document.addEventListener(\"change\", function(e) {\n    if (e.target \u0026\u0026 e.target.closest(\"variant-picker\")) {\n      setTimeout(sync, 10);\n      setTimeout(sync, 80);\n      setTimeout(sync, 250);\n    }\n  });\n\n  \/\/ Observe DOM in case theme replaces parts on variant change\n  const target = document.querySelector(\"main\") || document.body;\n  const observer = new MutationObserver(function() {\n    sync();\n  });\n  observer.observe(target, { childList: true, subtree: true });\n})();\n\u003c\/script\u003e","brand":"Fenisa","offers":[{"title":"D SERUM","offer_id":67844983259288,"sku":null,"price":2000.0,"currency_code":"TRY","in_stock":false},{"title":"F SERUM","offer_id":67844984930456,"sku":null,"price":2000.0,"currency_code":"TRY","in_stock":true},{"title":"G SERUM","offer_id":67844984963224,"sku":null,"price":2000.0,"currency_code":"TRY","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0780\/3958\/0824\/files\/elasty_d.jpg?v=1793362033","url":"https:\/\/fenisa.net\/products\/d-serum","provider":"Fenisa","version":"1.0","type":"link"}