While the store has the authorization to reasonably detain a suspected shoplifter for a reasonable time, I doubt that the store personnel has the authorization to handcuff anyone.
Your stealing is wrong, both legally and morally. However, the actions of the store's personnel may give you a way to solve your legal problems.
You should promptly contact attorneys in your area to see what your legal options are. You can look up "false imprisonment".
Given the facts, this situation may help negate your shoplifting charge.
Any accident and legal information provided by Davis Law Group to non-clients is for general information purposes only. It is not a substitute for legal advice. No attorney-client relationship is created or maintained without a signed written agreement between the client and the law firm.