Mattel had hoped the holiday season would boost sales as inflationary pressures continue to squeeze consumer demand.