Borrowed from Sanskrit महाराज्ञी (mahārājñī). By surface analysis, ਮਹਾਰਾਜਾ (mahārājā) + -ਣੀ (-ṇī).
ਮਹਾਰਾਣੀ • (mahārāṇī) f (male equivalent ਮਹਾਰਾਜਾ, Shahmukhi spelling مہارانی)