I'm in the process of developing a product page and I'd like to implement a feature where clicking on the Buy button triggers a pop-up menu to appear. I've been attempting to use the Checkbox hack to achieve this but have encountered some difficulties. While the buy button successfully toggles the checkbox, the input[type=checkbox]:checked functionality isn't working as expected. Any assistance would be greatly appreciated.
Specifically, I aim for the sizemenu section to remain hidden until the buy button is clicked, at which point it should become visible.
I hope my query is clear enough. Thank you in advance for any help or advice provided.
To view a preview of my code, please visit: http://codepen.io/anon/pen/mDqpw
UPDATE: Code has been minimized to essential elements.