Honestly, the best fix is to stop odor before it starts, because summer heat turbocharges anything wet or organic. In a small city apartment, I’d use a smaller bin—something you’re forced to empty every day or two—and keep it out of direct sun. Put a liner in it, and double-bag meat, fish, dairy, and takeout leftovers before they go in. If you can, freeze smelly food scraps in a sealed container until trash day; that one habit cuts urban trash bin odors fast.
Keep liquids out: rinse bottles and cans, drain food containers, and never pour sauces or soup into the bin. Sprinkle baking soda in the bottom and lid area, or set a small charcoal pouch inside; replace it weekly. Wipe the lid and rim every few days, and do a fuller clean weekly with vinegar and hot water, then let it dry completely before putting a new bag in.
Take trash out more often in summer, especially on hot days, and keep the bin in shade if possible. If the bin has a vent or tight lid, choose the tight lid for smell but let it air dry after cleaning so mold doesn’t take over. A consistent routine matters more than one miracle product: dry waste, sealed food waste, frequent emptying, and a clean rim will keep your trash bin fresh even in a heatwave—and that’s the simplest way to beat summer trash smell.