While still-high cotton costs weighed on first quarter profit at sock, T-shirt and underwear maker Hanesbrands Inc, the company still managed to beat forecasts and says it believes the worst of the cotton price inflation is now over.