Boneheaded Move

What does the idiom “boneheaded move” mean?

Definition: a stupid action

Example: In a real boneheaded move, I didn’t secure the wheels of my car before jacking it up. It slipped off the jack and rolled, and I’m lucky I wasn’t killed.

Note: This is North American.