/* KYND Clean Popup — no frames, padding, white box, or image shadows. */
.kynd-popup[hidden] { display:none !important; }
.kynd-popup { position:fixed; inset:0; z-index:2147483000; display:flex; align-items:center; justify-content:center; padding:28px 18px; box-sizing:border-box; }
.kynd-popup__backdrop { position:absolute; inset:0; background:rgba(0,0,0,.73); }
.kynd-popup__dialog { position:relative; z-index:1; width:auto; max-width:min(var(--kynd-popup-max-width,760px), 94vw); max-height:calc(100dvh - 56px); padding:0 !important; margin:0; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; line-height:0; }
.kynd-popup__image-link { display:block; line-height:0; border:0 !important; box-shadow:none !important; }
.kynd-popup__image { display:block; width:auto; max-width:100%; max-height:calc(100dvh - 56px); height:auto; margin:0 auto; padding:0 !important; border:0 !important; border-radius:0 !important; outline:0; box-shadow:none !important; object-fit:contain; }
.kynd-popup__close { position:absolute; z-index:3; right:-14px; top:-16px; width:36px; height:36px; padding:0; display:grid; place-items:center; border:0; border-radius:50%; background:#fff; color:#111; font:normal 28px/1 Arial,sans-serif; box-shadow:0 2px 12px rgba(0,0,0,.3); cursor:pointer; }
.kynd-popup__close:hover,.kynd-popup__close:focus-visible { background:#e5bf75; }
body.kynd-popup-open { overflow:hidden !important; }
@media(max-width:600px){ .kynd-popup {padding:24px 12px;} .kynd-popup__dialog {max-width:calc(100vw - 24px);max-height:calc(100dvh - 48px);} .kynd-popup__image{max-height:calc(100dvh - 48px);} .kynd-popup__close{right:-6px;top:-16px;} }
