Imprisoned Hollywood scion Cameron Douglas transfixed jurors yesterday with tales of his drug-fueled transgressions — including how he romanced a defense lawyer who got busted for smuggling him pills in jail.

Testifying against one of his alleged drug suppliers, the troubled son of actor Michael Douglas said he “got into a relationship” with the woman while she represented him following his 2009 arrest for narcotics trafficking.

The two shared clandestine kisses behind bars, he said, and she repeatedly used a balloon to sneak dozens of Xanax anti-anxiety pills into the Metropolitan Correctional Center in downtown Manhattan at his request.

“From what I can remember, I saw her take it out of her bra,” Douglas said.

Douglas, 32, said the relationship continued even after he was shipped off to prison in Pennsylvania, where he told her to lie on an official form so she could continue to visit him.

Douglas never named the woman, but sources identified her as Jennifer Ridha, 35, who at the time of the smuggling worked for the firm of Lankler, Siffert & Wohl.

Court records show she signed a confession and was arrested in January for providing contraband in prison, although federal prosecutors dropped the misdemeanor case in July.

Ridha, who now works for St. John’s University School of Law, didn’t return a phone call, but her defense lawyer, Fred Hafetz, called her an “an outstanding young attorney.”

Hafetz said prosecutors recognized “the unique circumstances surrounding Ms. Ridha’s actions” and “properly declined to prosecute her and entered into a deferred-prosecution agreement.”

A spokeswoman for the Manhattan US Attorney’s Office declined to comment.

Douglas was testifying against David Escalera, who is accused of conspiring with his brother, Eduardo, to supply Douglas with pounds of crystal meth between 2006 and 2009. Eduardo Escalera faces a separate trial later this month.

During four hours on the witness stand, Douglas — who looked like a scruffy and tattooed version of his dad — stammered and struggled with his drug-addled memory while detailing his behavior and squandered opportunities.

Douglas said he started smoking pot at age 15, and moved on to harder drugs within a year or two.