Formal:
* Obrigado, meu amigo. (Masculine) - This is the most common way to say "thank you, my friend" and is appropriate for any situation.
* Obrigada, minha amiga. (Feminine) - This is the feminine form of "obrigado."
Informal:
* Valeu, meu amigo! (Masculine) - This is a more casual and friendly way to say "thank you." It's similar to "thanks, buddy!" in English.
* Valeu, minha amiga! (Feminine) - The feminine form of "valeu."
* Obrigado, camarada! (Masculine) - This is a less common, but still acceptable, way to say "thank you." It literally means "thank you, comrade."
* Obrigada, camarada! (Feminine) - The feminine form of "camarada."
Adding a bit more warmth:
* Obrigado, amigo! (Masculine) - This is a very friendly way to say "thank you."
* Obrigada, amiga! (Feminine) - The feminine form of "amigo."
* Obrigado por tudo, meu amigo! (Masculine) - This means "thank you for everything, my friend."
* Obrigada por tudo, minha amiga! (Feminine) - The feminine form of "tudo."
In all these phrases, you can replace "meu amigo" or "minha amiga" with:
* meu querido/minha querida: (my dear)
* meu/minha irmão/irmã: (my brother/sister)
* meu/minha compadre/comadre: (my friend, used for a close friend, similar to "my buddy")
The best way to choose the right phrase depends on the context and your relationship with your friend.