On purely-maximal ideals with applications (International Electronic Journal of Algebra, 2026)