Top shelf is a bar term that assumes that the best alcohol in the bar is literally on the top shelf. So, in a top-shelf margarita, you'd be choosing tequila and orange liqueur that is on display on a higher--or top--shelf of the bar.