McDonald’s ended 2021 on a high note with U.S. customers spending more and fewer restaurant closures in Europe from coronavirus restrictions. But higher costs for food and labor weighed on profits, and the company said it expects that pressure to continue this year. McDonald’s reported adjusted earnings of $2.23 per share, 11 cents short of Wall Street expectations, according to analysts polled by FactSet. Global same-store sales or sales at restaurants open at least a year rose 12.3 percent in the quarter, the Chicago burger giant said Thursday. That’s better than the 10.5 percent increase that Wall Street was expecting. In the United States, same-store sales rose 7.5 percent as limited-time products like the McRib and new options like a revamped chicken sandwich drew customers despite higher menu prices. McDonald’s said U.S. prices climbed just over 6 percent in 2021. A rapidly growing U.S. loyalty program also help draw in …