Male, female, and hermaphrodite are biological, not grammatical categories. The word “gender” is often, too often for my taste, as a squeamish euphemism for “sex”, as in the packaging you showed, but strictly speaking, gender is a grammatical, not a biological category, assuming the states of masculine, feminine and neuter. Male, female, and hermaphroditic are never gender categories.