head over heels (adv.)youdaoicibaDictYouDict
1726, "a curious perversion" [Weekley] of Middle English heels over head (late 14c.). Head (n.) and heels long have been paired in alliterative phrases in English, and the whole image also was in classical Latin (per caput pedesque ire).