Thermax shares gain 2.70% to ₹4,154 amid positive sentiment