Cart Enhancement Subtask
https://bito.atlassian.net/browse/QP-10
Summary by Bito
This pull request adds a new thread-safe cart implementation to ensure safe concurrent modifications in a multi-threaded environment. It introduces a dedicated class that manages cart data using re-entrant locks and context managers for resource safety. The changes enhance system reliability and prepare the application for increased concurrency.Edited by Akshay Samal