Nike said that surging online sales mostly offset lower foot traffic at reopened physical retail stores globally, offering a bullish outlook for the remainder of its fiscal year.

The worlds largest sportswear maker by revenue said digital sales nearly doubled in the three months to the end of august, reflecting increases in online shopping during the pandemic suggesting online shopping habits were becoming ingrained even as virtually all of its retail stores reopened from lockdown closures.

The results far exceeded wall street expectations, as polled by s&p capital iq, and nike shares rose more than 13 per cent in after-hours trading on tuesday to $132, a record.

Nike has worked to transform itself from primarily a wholesaler to a direct seller over the past few years, eschewing some bricks-and-mortar retail partners and investing in its own stores, its website and apps.

Still, nike executives said there was room for improvement, particularly in its home market.

The north america retail market is the most fragmented and least far along of where it needs to get to, of the major markets in the world, john donahoe, chief executive, said on tuesday on a call with analysts.

While other regions, especially china, report a higher proportion of digital sales, us consumers have not yet moved fully online, he said.

Whats happening in the [north american] retail market in the next four to five years, were going to try to drive it for our business in the next one to two years.

Overall, nike reported revenues of $10.6bn for the quarter just ended, down just 1 per cent from the same period a year ago, driven by a 82 per cent growth in digital sales. net income for the period rose 11 per cent to $1.5bn.

Since the onset of the pandemic, sales are growing again in big markets including china, japan, south korea, the uk and germany, executives said. sales in nikes north american market, its largest by revenues, fell 2 per cent in the quarter to $4.2bn.

The company said some of its best-selling products included its air max 90 shoe, and a newly launched line of yoga apparel.

In june, nike began restructuring its operations, streamlining its product categories and announcing lay-offs for hundreds of employees, including at least 500 at its headquarters in oregon in the coming months.

Matthew friend, nikes chief financial officer, said the restructuring would result in a one-time charge of between $200m and $250m, and would accelerate growth in its digital business.

He also forecasted revenue growth in the high single-digits to low double-digits over the remainder of the companys fiscal year, which began june 1.