Three leftists backed by New York Mayor Zohran Mamdani won their races, including two who unseated incumbents.
The ruling dealt with legal technicalities but is a departure from a series of decisions by the justices expanding religious freedoms in recent terms.
Ohio-based ScottsMiracle-Gro said it is donating “a combination of monetary and product support.” A government watchdog said the arrangement raises ethics questions.