Rachin Ravindra struck an impressive double century before South Africa's top order collapsed on Monday, leaving New Zealand in command of the first Test in Mount Maunganui.