/* Frontend popup/modal */
.mw-overlay{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
}

.mw-modal{
  position: relative;
  width: min(98vw, 1600px);
  max-height: min(90vh, 900px);
  overflow: hidden;
overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.18);
}

.mw-inner{
  position: relative;
  width: 100%;
  height: 100%;
}

.mw-item{
  position:absolute;
  box-sizing:border-box;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  text-decoration:none;
  pointer-events: auto;
}

.mw-item.mw-button{ justify-content:center; cursor:pointer; }
.mw-item.mw-image img{ width:100%; height:100%; object-fit:cover; display:block; }

.mw-close{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.30);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 10000;
}

.mw-close:hover{ background: rgba(0,0,0,.42); }

.mw-overlay.is-hidden{ display:none; }
