Position-dependent noncommutative products: Classical construction and field theory