Nearly 40 percent of sales came via online channels, and shoes and men’s categories powered ahead.