Since pantalones is a masculine noun, you should go with lo.
Hope this helps!
9.4m questions
12.2m answers