Preflop
In this spot ICM is very important, because there are big payjumps now, and two players have at least twice as many chips as the other two. The player with 7BB is likely to either bust or dubble shortly. With that in mind I dont love the 3-bet. You dont want to "battle" this guy, you want to avoid him, and when that is not possible, you want to play for a lot of pot control. If he is clever, he will do the same, and it can almost become a kind of silent collusion between you, until someone has busted, or stacks sizes changed. I am not folding to a mini-raise in position, but I am just calling not only with this hand but a lot of other hands as well.
Flop
Same story on the flop. No need to bet here with top pair meh kicker. Just check back and try to get to showdown as cheaply as possible. As played I like your fold. Its a disaster to get it in here against a better made hand, which will at the bare minimum have you kicker dominated and drawing to 3 outs.
__________________
|