Sofia Vergara had a new look when in Pasadena, California on Tuesday.

Gone were the Colombian-born star's skintight minidresses and cropped tops that made her look like a Hollywood vixen. Instead the Modern Family veteran had on a more masculine look.

Vergara wore an oversized white linen men's button-down shirt with baggy worn-in light blue denim boyfriend jeans.

These two items looked like she snagged them from estranged husband Joe Manganiello's walk-in closet before he packed his bags and moved out of their sprawling Beverly Hills mansion.

But the Fading Gigolo star reminded fans that she has a fun side as she added 10-inch clear Perspex platform heels.

Boyish charm: Sofia Vergara had a new look on Tuesday. Gone were the Colombian-born star's skintight minidress that made her look like a Hollywood vixen. Instead the Modern Family veteran had on a more masculine look

Her accessories were an army green Christian Dior bag, black sunglasses and gold earrings.

The beauty was heading into a taping of America's Got Talent in Los Angeles.

This comes after DailyMail.com's exclusive report that she 'graciously' handed over her senior dog Bubbles, 10, to her estranged husband Joe Manganiello.

It is not known if Sofia will get visitation rights of Bubbles.

The couple announced their split on July 17 with a statement shared to social media.

Joe and Sofia were seven years.

Ten-year-old fuzzball Bubbles is a Chihuahua/Pomeranian mix.

The pair have famously argued over the pooch on social media, often joking the pet likes Joe more.

The two have no children together which will make the divorce proceedings a bit easier (Sofia's son Manolo was from her first marriage).

According to California law, a judge can weigh in on who should get pets.

Comfort first: Vergara wore an oversized white linen men's button-down shirt with baggy worn-in light blue denim boyfriend jeans. These two items looked like she snagged them from estranged husband Joe Manganiello's walk-in closet before he packed his bags and moved out of their sprawling Beverly Hills mansion

See ya Joe! But the Fading Gigolo star reminded fans that she has a fun side as she added 10-inch clear Perspex platform heels

In January 2019, a new California law changed the way pet custody is handled in divorce cases.

This new law gives judges the power to consider the care and the best interest of the pet when making decisions in separation or divorce matters.

Before 2019, California courts treated pets like property. The pet would be considered a part of the property to be divided when the marriage ended.

Often judges would base their decision on which party purchased or adopted the animal. Judges had a lot of say in who got the dog and who would just visit.

Pets are still technically classified as personal property, but this new law takes more into consideration.

There is an Animal Legal Defense Fund that can guide Sofia and Joe on animal protection laws.

In 2021 Sofia said her dream of adopting a dog went horribly wrong once she brought Bubbles home and she instantly preferred Manganiello.

Over: Sofia and Joe have split after seven years of marriage (pictured March 2023 - their last red carpet together)

The actress joked that the dog has 'stolen everything that was hers', after moving into the LA pad she shared with Joe.

Sofia discussed her pet - who she branded an 'idiot' - during a recent appearance on the Ellen Show, as she revealed the pooch has taken over her bed and husband.

When quizzed on her dog Bubbles, Sofia said: 'I don't have a dog it's not mine, it's Joe's dog,' despite revealing she originally bought the Chihuahua for herself.

When Ellen showed the audience a picture of the pup, Sofia said: 'Look at her, idiot.

'It doesn't even look like a Chihuahua, it looks like some sort of teddy bear. The dog was for me, I got the dog, but she arrived and completely ignored me. Went straight to Joe. She has taken everything that was mine.'

Joking about how Bubbles has made it clear who her favourite is, she said: 'It's not funny - it's horrible, she's taken my husband, my bed.

The little one: This comes after DailyMail.com's exclusive report that she handed over her senior dog Bubbles, 10, to her ex. It is not known if Sofia will get visitation rights of Bubbles

'She sleeps in bed with Joe, they sleep together and then I sleep on the other side. It has become something so weird.

'But I have to say it's not Joe's fault, it's her, she's obsessed with him.'

Ellen then admitted she can understand why someone would be obsessed with Joe, however Sofia quipped back: 'Yes, but not to that level. She hates me.

'If he has to go away for work and she knows she has to stay with me in the house and knows she has to deal with me, but won 't do eye contact.

'She's always looking out, every little noise she's looking for, she can't enjoy the time with me. It's like she knows she has to sit with me cos I'm the only other person in the house.

Ellen said: 'I have that with my three dogs, they prefer Portia.'

While Sofia joked: 'Oh so you must be worse than me!'

'So I was thinking maybe I'd get another dog, but it could happen that they'd also fall in love with him and not with me.' Sofia then told Ellen how she thought it was awful how she had renamed her rescue dogs, and that her and Joe kept Bubbles' rescue name.