If I am given a written estimate, is that what I’ll pay?

Yes. If you receive an estimate in writing, which you accept within 30 days, that is the price you’ll pay for the work specified on the estimate.