Olivia Wilde and Harry Styles cheer on a crowd of

Olivia Wilde and Harry Styles cheer on a crowd of fans as they exit an Italian restaurant in NYC

They were spotted earlier in the day strolling through Manhattan’s West Village.

And Olivia Wilde, 38, and Harry Styles, 28, couldn’t get enough of each other later that night as they stopped by popular Italian eatery Rubirosa in New York City.

The lovebirds were greeted by a crowd of adoring fans as they exited the restaurant after dinner later that evening.

Dinner date: Olivia Wilde, 38, and Harry Styles, 28, couldn't get enough of each other Thursday night as they ate dinner in New York City

Dinner date: Olivia Wilde, 38, and Harry Styles, 28, couldn’t get enough of each other Thursday night as they ate dinner in New York City

The couple in love arrived at the restaurant in an SUV and wore black exam-style masks as they entered the building.

Olivia looked cool and casual in her blue ensemble, which paired a boho-chic skirt with sporty sneakers.

She wore a ribbed navy blue blouse that she tucked into a long white skirt adorned with pale blue floral designs.

Great performance: The couple in love arrived at the restaurant together with an SUV Safety first: They wore exam-style black masks as they entered the building

Grand entrance: The couple in love arrived at the restaurant in an SUV and wore black exam-style masks as they entered the building

Out and about: Harry and Olivia were spotted around Manhattan several times earlier in the day

Out and about: Harry and Olivia were spotted around Manhattan several times earlier in the day

Yummy: The pair were spotted leaving popular Italian restaurant Rubirosa

Yummy: The pair were spotted leaving popular Italian restaurant Rubirosa

Blue vibes: Olivia looked cool and casual in her mostly blue ensemble

Blue vibes: Olivia looked cool and casual in her mostly blue ensemble

It reached almost to her ankles, revealing her black and white Adidas trainers with red accents on the heel.

The Booksmart director kept her accessories to a minimum and wore her brunette hair parted in the middle and draped over her shoulders in thick waves.

Harry opted for a lighter, more flamboyant outfit for the evening.

Casual: Her look married a boho-chic skirt with sporty sneakers

Casual: Her look married a boho-chic skirt with sporty sneakers

Low key: She wore a ribbed navy blue blouse which she wore tucked into a long white skirt embellished with light blue floral designs

Low key: She wore a ribbed navy blue blouse which she wore tucked into a long white skirt embellished with light blue floral designs

Long: It reached almost to her ankles, revealing her black and white Adidas trainers, which had red accents on the heel

Long: It reached almost to her ankles, revealing her black and white Adidas trainers, which had red accents on the heel

He managed to beat the heat in his white lace shirt embellished with flower-like patterns and enlivened with splashes of yellow and purple.

The hitmaker-turned-actor wore it with multiple buttons at the top to show off his muscular chest and tattoos, and he rolled up the long sleeves.

The Dunkirk actor contrasted the shirt with a more demure brown striped pair of pants, paired with crisp white trainers.

He had his shaggy brown hair pulled back into a messy bun thanks to a barrette, and he kept his mask on as he and Olivia exited the restaurant.

Long hair, never mind: The Booksmart director kept her accessories to a minimum and wore her brunette hair parted in the middle and draped over her shoulders in thick waves

Long hair, never mind: The Booksmart director kept her accessories to a minimum and wore her brunette hair parted in the middle and draped over her shoulders in thick waves

Flower Power: Harry opted for a lighter, more flamboyant outfit for the evening.  He managed to beat the heat in his white lace shirt embellished with flower-like patterns and enlivened with splashes of yellow and purple

Flower Power: Harry opted for a lighter, more flamboyant outfit for the evening. He managed to beat the heat in his white lace shirt embellished with flower-like patterns and enlivened with splashes of yellow and purple

When they left, a crowd of fans had come to take photos and ask the stars for autographs.

As they prepared to make their way through the crowd of fans, Harry turned sweetly to Olivia and held out his hand to lead her through the crowd to their waiting vehicle.

The pair have been enjoying their time in New York City after Olivia scored a win in her nasty custody battle with former partner Jason Sudeikis, 46.

The Ted Lasso star had tried to make New York – where Olivia was spending time with Harry after being in the UK days earlier – the home of her children Otis, eight; and Daisy, five.

However, a judge overseeing the conflict ruled in favor of Olivia, noting that the children’s home is California and not New York.

Toned: The Dunkirk actor contrasted the shirt with a more demure brown striped pair of pants, alongside crisp white trainers

Toned: The Dunkirk actor contrasted the shirt with a more demure brown striped pair of pants, alongside crisp white trainers

Ambush: When they left, a crowd of fans had arrived to take photos and ask the stars for autographs

Ambush: When they left, a crowd of fans had arrived to take photos and ask the stars for autographs

Protective: As they prepared to make their way through the crowd of fans, Harry turned sweetly to Olivia and held out his hand to lead her through the crowd to their waiting vehicle

Protective: As they prepared to make their way through the crowd of fans, Harry turned sweetly to Olivia and held out his hand to lead her through the crowd to their waiting vehicle

But court filings obtained exclusively by revealed that Sudeikis claimed Wilde told him she planned to uproot the children from the state she claimed was her home in order to look after them moving to London to be with her boyfriend who lives there.

In other court documents, Olivia complained that the public manner in which she was served custody papers on the stage at CinemaCon in Las Vegas was intended to “threaten me and catch me off guard.”

However, her ex claimed that he had intended to serve her at Heathrow Airport as he didn’t want her to be served at Harry’s home – where she lived – before the children or when she was picked up to pick up the children at school.

According to his defense, she was served on stage after logistical problems prevented her from being served at the airport and he was unaware of the new circumstances.

Olivia and Harry began their affair while she was directing him and Florence Pugh in their upcoming thriller Don’t Worry Darling, although their affection reportedly upset Florence as Olivia was still dating Jason at the time and he joins the set on several occasions had her children early in production.

Winning: The couple enjoyed their time in New York City after Olivia clinched a win in her nasty custody battle with former partner Jason Sudeikis, 46

Winning: The couple enjoyed their time in New York City after Olivia clinched a win in her nasty custody battle with former partner Jason Sudeikis, 46

Home territory: A judge overseeing the conflict ruled in favor of Olivia, noting that her children's home is California and not New York

Home territory: A judge overseeing the conflict ruled in favor of Olivia, noting that her children’s home is California and not New York