Jalissa's mom purchased coffee from the local coffee shop. The first cup of coffee was $4.25. Each refill is $2.25. She also decided to get a bagel for $3.15. If Jalissa's mom had 2 refills and a $0.50 discount as part of the rewards program, how much did she spend at the coffee shop?