The only free and comprehensive online etymological dictionary of the Spanish language
bonito (Adjective) "attractive"
16th cent. Vulgar Latin *bonittus, from Latin bonus "good" (see bueno) and Vulgar Latin diminutive suffix -ittus (see -ito).
Indo-European
Romance
Portuguese bonito, Galician bonito, Catalan bonic (< *bonicus)

The word is first attested in Latin as a name, Bonitta.