// pdp-buy.jsx — pdp-buy.html (own-checkout PDP)

function readPdpItem(fallbackId) {
  const p = new URLSearchParams(location.search);
  const id = p.get("item");
  return (id && getItem(id)) || getItem(fallbackId);
}

function PdpBuyPage() {
  const item = readPdpItem("agent-context-engine");
  return <ProductDetail item={item} />;
}

window.__PAGE__ = PdpBuyPage;
