Replace local signal-based state management with the dedicated `InventoryItemState` class to encapsulate item properties and logic.
Replace local signal-based state management with the dedicated `InventoryItemState` class to encapsulate item properties and logic.