The festive-goods supplier has struggled with changing consumer habits as Americans cut spending amid high inflation. The party is over for Party City, which is closing all its stores and going out of business after 40 years of supplying balloons, cups, candles, and tableware for everything from birthday and anniversary parties to Halloween and Super Bowl celebrations.