Melanie Griffith, 58, Works Curves in Patterned Bikini in Mexico

This Working Girl still knows how to work it! Melanie Griffith lounged poolside in a teeny patterned bikini on May 21 in Mexico.

Hours before heading to Eva Longoria and Jose "Pepe" Baston's Valle de Bravo nuptials, Griffith, 58, showed off her svelte frame in the two-piece swimwear. An eye-catching pair of Fendi crystal-embellished shades completed her tropical outfit perfectly.

The star-studded wedding was also attended by Victoria Beckham (who took her husband, David Beckham, as a date) and Mario Lopez.

Longoria, 41, wore a custom-designed gown by Beckham for the outdoor ceremony at Baston's luxury estate, while the groom looked dapper in a Brunello Cucinelli suit.

For the celebration, the Oscar-nominated actress — who split from Antonio Banderas in 2015 after 20 years of marriage — changed into a sleeveless, lacy red dress that featured a shirt-collar neckline. Griffith accessorized the vibrant red number with a diamond necklace and statement diamond rings.

Soooo much fun!!! @evalongoria and Pepe Baston👋🏻👋🏻👋🏻👋🏻👋🏻

A photo posted by MELANIE (@melanie_griffith57) on

"Soooo much fun!!! @evalongoria and Pepe Baston👋🏻👋🏻👋🏻👋🏻👋🏻," she wrote via Instagram after the celebration, along with a photo of few of the other guests, including Ricky Martin.

What do you think of Melanie's suit style?

Tweet with @UsWeekly using the hashtag #stylebyUs!

Get celeb fashion, beauty tips, and more delivered directly to your inbox. Sign up for the Us Weekly Style & Beauty newsletter now!