Nogales, a city of roughly 20,000 residents on the U.S.-Mexico border, has long relied on cross-border shoppers to support its local economy.