const productList = document.querySelector("#product-list"); const status = document.querySelector("#selection-status"); if (!productList || !status) { throw new Error("Plan selection markup is missing."); }