Supermarkets will be banned from displaying unhealthy snacks near tills or on their website homepages from next year after the Senedd narrowly approved obesity-tackling plans.
The new rules mean junk foods including pizza, chocolate, and cereal will have to be removed from shop entrances and the end of aisles, while sugary drink refills and some buy-one-get-one-free deals will also end.
The restrictions are aimed at stopping impulse buys at key selling spots in businesses with 50 or more employees, with shops found breaching them to face a fine.
Health Secretary Jeremy Miles said the rules, which will come into force in March 2026, would help "tackle Wales' growing obesity problem".