/* ===== Base popup container ===== */
.tryon-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.tryon-popup.is-visible {
  display: block;
}

/* ===== Glass / blur overlay ===== */
.tryon-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 25, 0.45);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

/* Centering wrapper */
.tryon-popup-box {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* ===== WHITE popup box ===== */
.tryon-popup-content {
  position: relative;
  pointer-events: auto;
  width: 92%;
  max-width: 960px;
  max-height: 88vh;
  padding: 24px;
  border-radius: 18px;
  background: #ffffff; /* PURE WHITE */
  box-shadow:
    0 30px 70px rgba(0,0,0,0.45),
    0 0 0 1px rgba(0,0,0,0.05);
  overflow: auto;
}

/* ===== Perfect black circular close button ===== */
.tryon-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px !important;
  height: 36px !important;
  padding: 8px !important;;
  border-radius: 50%;
  border: none;
  background: #000000; /* SOLID BLACK */
  color: #ffffff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .tryon-popup-content {
    width: 94%;
    max-height: 92vh;
    padding: 18px;
  }
  .tryon-popup-close {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
}
