/* Ensure overlay covers the whole body and centers content */
.vsp-popup {
  display: none;
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999; /* very high so it sits above everything */
}

/* Keep the responsive video wrapper */
/* Responsive popup content */
.vsp-popup-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  animation: popupZoom 0.3s ease;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 9; /* keeps proper ratio */
}

/* Video iframe fills parent */
.vsp-popup-content iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}


/* Close button */
.vsp-close {
    top: 0;
    right: 0;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    text-align: center;
    background: red;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    display: flex;
    position: fixed;
}
.swiper-button-next, .swiper-button-prev{
        display: none !important;
}

/* Robust scroll lock:
   Using fixed positioning on body and negative top keeps the page visually
   in the same place while preventing scrolling. */
body.vsp-no-scroll {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

/* Zoom animation */
@keyframes popupZoom {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* Small mobile adjustment */
@media (max-width: 480px) {
  .vsp-popup-content { width: 95%; padding-top: 56.25%; }
}
