async function updateQuantity(lineId, delta) {
const line = openbridge.cart.lines().find((l) => l.id === lineId)
const newQuantity = line.quantity + delta
if (newQuantity > 0) {
await openbridge.cart.update(lineId, newQuantity)
} else {
await openbridge.cart.remove(lineId)
}
}