14th Amendment makes it illegal only for the State to treat genders differently. A business can give a discount for almost anything they want. Age, school, military, social club, free ladies night...all sorts of discounts that aren't available to everyone.
Only thing they can not give a discount or treat different is for race, color, religion, or national origin. Those exclusions are due to the Civil Rights Act of '64.