Scientific Reports, Published online: 15 June 2026; doi:10.1038/s41598-026-43484-x Sustainable closed-loop supply chain management for a two-warehouse system with trade-credit and emissions constraints under dynamic demand