.elwan-gw-popup:not([open]){display:none!important}
.elwan-gw-popup[open]{display:block;position:fixed;inset:0;margin:auto;padding:0;border:0;border-radius:12px;background:transparent;width:max-content;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);overflow:hidden;box-shadow:0 16px 60px #0006}
.elwan-gw-popup::backdrop{background:rgba(0,0,0,.65)}
.elwan-gw-popup .elwan-gw-popup-link{display:block;line-height:0}
.elwan-gw-popup .elwan-gw-popup-link img{display:block;width:auto;height:auto;max-width:min(500px,calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);object-fit:contain;margin:0}
.elwan-gw-popup .elwan-gw-popup-close{position:absolute;top:8px;right:8px;z-index:1;display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;margin:0;padding:0;border:1px solid #ddd;border-radius:50%;background:#fff;color:#16324a;font:30px/1 Arial,sans-serif;cursor:pointer;box-shadow:0 2px 10px #0003}
.elwan-gw-popup .elwan-gw-popup-close:focus-visible,.elwan-gw-popup .elwan-gw-popup-link:focus-visible{outline:3px solid #b68a2a;outline-offset:-3px}
