Mia and her mom went shopping to buy a present and party supplies for her dad's surprise birthday party. At the mall, they bought him a new watch for $511. Then, at the party supply store, they spent $338. How much money did Mia and her mom spend on her dad's birthday?