Add ``restoreStock()``, ``decreaseStockForOrder()``, and ``checkStockForOrder()`` to ``OfferStocks``. When an order is cancelled (status 4), stock is restored. When un-cancelling, stock availability is checked first—insufficient stock blocks the transition with an error message—then decremented.