  category: "Electronics",
    price: "$49.99"
  },
  {
    id: 6,
    title: "Bamboo cutting board",
    description: "Sustainable bamboo cutting board with juice groove and non-slip feet.",
    category: "Kitchenware",
    price: "$34.99"
  }
];

// Get DOM elements
const itemList = document.getElementById("itemList");
const sidePanel = document.getElementById("sidePanel");
const closeButton = document.getElementById("closeDialog");
const itemDetails = document.getElementById("itemDetails");
const submitB