.popup-overlay {
      position: fixed; inset: 0; display: none;
      background: rgba(0,0,0,.7); place-items: center; z-index: 9999;
    }
    .popup-overlay.show { display: grid; }
    .popup-box {
      position: relative; max-width: 49%; max-height: 100%;
    }
    .popup-box img { max-width: 100%; max-height:100%; border-radius: 2px; }
    .popup-close {
      position: absolute; top: -10px; right: -10px;
      background: #000; color: #fff; border: none; cursor: pointer;
      width: 30px; height: 30px; border-radius: 50%;
          
    }
