Courtesy in markets, cafés and small shops
At a food stall, thank the person who serves you rather than waiting until the whole transaction is finished. A friendly buenas tardes before asking a question and gracias afterwards make a useful pair. If the vendor goes out of their way to explain ingredients or recommend something, muy amable acknowledges that extra kindness. You do not need an elaborate compliment for each small purchase.
Choosing between tú and usted
Mexican Spanish offers both familiar and respectful ways of addressing someone. When speaking to a person you have just met, particularly in a formal setting, usted is a useful option; among friends, tú is common. Gracias avoids that grammatical choice completely. If you want to make the appreciation more personal, se lo agradezco uses the respectful form. Follow the way your conversation partner addresses you rather than treating age alone as a rule.
Gratitude for hospitality and thoughtful help
When a host invites you to eat, you can thank them for the invitation and later acknowledge the meal itself. Add por followed by what you appreciate: gracias por la invitación or gracias por la comida. Being specific makes the expression warmer than simply increasing the number of thanks. A short message after a visit, perhaps mentioning something you enjoyed, can be a thoughtful way to continue the exchange.
Accepting help and declining politely
Gracias can also appear when you turn something down. If you do not want another serving or are not interested in an offer, no, gracias gives a clear and courteous refusal. When accepting assistance, make your appreciation equally clear with sí, gracias. These tiny additions are important because a bare thank-you does not necessarily communicate whether you are accepting the offer or politely ending the exchange.