Nicole bought a mattress priced at $938. Shipping and handling cost an additional 27% of the price. What was the total cost of the mattress, including shipping and handling?