Difference between 客气 and 礼貌
As a complement to other answers:

客气 means 'being polite unnecessarily'. It's often used between close friends, family members, who generally don't have to be that polite to each other.

礼貌 as an adjective simply means '(being) polite'.