Passing on rising costs to consumers has helped protect margins but there are limits to brand power