/* ===== FLATSOME POPUP IFRAME FULLSCREEN ===== */
.fpopup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 999999;
}

.fpopup-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fpopup-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.fpopup-close {
  position: absolute;
  top: 20px;
  right: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000000;
  backdrop-filter: blur(4px);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.fpopup-close:hover {
  background-color: rgba(255, 0, 0, 0.9);
  transform: scale(1.15);
}

/* Hiệu ứng fade mượt */
.fpopup-overlay.fade-in {
  animation: fpopupFade 0.3s ease forwards;
}
@keyframes fpopupFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
