/* What the site's JavaScript did, done in CSS for the static site (with bin/static_fixes.py).
   Installed as /css/static.css by wordpress_to_static_html's add_static_css.py. */

/* Phone menu: the blue bar is now a <label> for #wprm-toggle; ticking it slides the menu in
   (the script added .cbp-spmenu-open, which moved it from left:-390px to 0). */
#wprmenu_bar { cursor: pointer; }
#mg-wprm-wrap { transition: left 0.3s ease; }
.wprm-toggle:checked ~ #mg-wprm-wrap { left: 0 !important; }

/* "Sorry, we're closed" notice, as Popup Builder drew it: a 521px image in a white frame
   (35px strip below it for the close button), centred over black at 80% opacity. */
.closed-notice { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.closed-notice-shut:checked + .closed-notice { display: none; }
.closed-notice-overlay { position: absolute; inset: 0; background: #000 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAAAAAAeW/F+AAAAOklEQVR4Ae3QIQrAUADD0Lj2AIV//5uO+RE59asKz4U177rz9VAdqkU1qAbVoBpUg2pR3V/VbrVb7QHULigVcx3ZmQAAAABJRU5ErkJggg==); opacity: 0.8; cursor: pointer; }
/* Popup Builder's theme 1, from its theme.css: 6px corners, a 14px dark frame. */
.closed-notice-box { position: relative; top: 18px; z-index: 1; width: 521px; max-width: calc(100vw - 32px); background: #fff; padding-bottom: 35px; border-radius: 6px; box-shadow: rgba(0, 0, 0, 0.6) 0 0 0 14px; }
.closed-notice-box > img { display: block; width: 100%; height: auto; }
.closed-notice-close { position: absolute; right: 9px; bottom: 9px; width: 21px; height: 21px; cursor: pointer; }
.closed-notice-close img { display: block; }

/* WooCommerce product gallery: invisible (opacity 0) until its script fades it in. */
.woocommerce-product-gallery { opacity: 1 !important; }

/* "Download now" menu modal (bin/static_fixes.py): the buttons are inside <label>s for
   #menu-pop, so ticking it shows the overlay, the X and the box, as the jQuery did. */
.show-label { display: inline-block; cursor: pointer; }
.show-label .show { pointer-events: none; }
.menu-pop-toggle:checked ~ .kkk, .menu-pop-toggle:checked ~ .close, .menu-pop-toggle:checked ~ .pop { display: block !important; }
.kkk, .close { cursor: pointer; }
