Explosion sets off series of multicoloured blasts caught on camera as market near capital destroyed.
A massive explosion gutted Mexico's biggest fireworks market on Tuesday, killing at least 31 people and injuring 72, the authorities said.
The conflagration in the Mexico City suburb of Tultepec set off a quick-fire series of multicolored blasts that sent a vast cloud of smoke billowing over the capital.
The market had been packed with customers buying pyrotechnics for traditional end-of-year festivities. Christmas and New Year parties in many Latin American countries often wrap up with clattering firework blasts.
"You just heard the blast. And everything started to be on fire. People came running out on fire," Walter Garduno said.
"People were alight - children," he added before trailing off.
From a few kilometers away, the multiple explosions that started at 2:50 pm (2050 GMT) almost looked festive, alight in blue, red and white. They were anything but.
Of the 31 confirmed dead, "26 (died) at the scene and five in hospitals," local media reported Mexico's chief prosecutor Milenio Alejandro Gomez as saying.
Forensic experts are working on genetic analyses of the bodies because "almost all of them are impossible" to identify, Mexico state's governor Eruviel Avila told the Televisa television network.
At least 72 were wounded, the authorities said. The injured were transported to emergency rooms, and 21 have since been released.
Fire crews struggled for three hours before bringing the blaze under control.
Entire market blown up
The head of the civil protection service, Luis Felipe Puente, said crews had to wait for all the fireworks to finish exploding before they could extinguish the flames.
"The entire market is gone," he said. It had 300 stands.
Several of the injured were in "delicate condition," he added, saying searches were under way for more casualties in the scorched area that looked like a scene from a post-apocalyptic film, with little left standing in the smoldering ruins.
Homes and vehicles nearby were also severely damaged. In some areas, emergency workers were gently probing for survivors under heaps of charred and twisted roofing material.
People desperately searching for family and friends shouted and gestured to rescuers about where they hoped the missing might be found.
Most of those picked up by rescuers suffered severe burns, many over their entire bodies.
The military, which is in charge of issuing fireworks sales permits, was deployed to help emergency crews transport casualties to hospitals by ambulance and helicopter.
Ambulances, fire trucks, police vehicles and army trucks all crowded the sprawling blast area.
Mexico's President Enrique Pena Nieto tweeted his condolences to the families of those killed and his wishes for the injured to recover.
The Attorney General's Office has opened an investigation into the cause of the conflagration, which was prompted by "six pyrotechnic explosions," it said in a statement.
Some speculated the mishandling of gunpowder or other fireworks components may have set them off.
That was the cause of an explosion in September 2005 at another fireworks market set up ahead of the Independence Day holiday. That market was destroyed.
The following year, another explosion destroyed more than 200 sellers' stands. Both incidents left dozens of injured, but no fatalities.
Alejandra Pretel, a resident in Tultepec, told AFP that she didn't realize at first that the explosions were coming from the large fireworks market.
"We thought it was a nearby fireworks workshop," she said.
Minutes later, it became evident the market was being destroyed.
"My neighbors said they felt everything shake," she said, "but I didn't realize because I was running away."