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