Tough Cookie

What does the expression “tough cookie” mean?

Definition: Someone who can endure hardship; especially: a strong negotiator

Example: Watch out—their buyer is a tough cookie. It’s very hard to get a good deal working with him.