I don’t think “slacks” is a word in the UK.
The GB forget there is a world outside of the US. As SBF said we don't use "slacks", we use the the word "trousers" here, both for men and women. As for "pants", I am currently wearing some very racy ones my wife bought me recently, but UNDER my trousers I hasten to add!
George