It's been an awful year for Ulta Beauty ( ULTA -0.38% ). The cosmetics and fragrances retailer is struggling through the inflationary environment, which is eroding its margins. It got a boost from Warren Buffett when Berkshire Hathaway bought shares in the 2024 second quarter, and then it lost that vote of confidence when Berkshire dumped most of its shares in the third quarter.