/*--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/
/*-------------------------------------@DEFAULT-----------------------------------*/
/*--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/
/*---------------------------------------@POPUP-----------------------------------*/
/*--------------------------------------------------------------------------------*/
html:has(.lightbox),
body:has(.lightbox) {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}

.lightbox {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 var(--gap-s);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999999;
  opacity: 0;
  transition: all 0.3333333333s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox .lightbox__container {
  position: relative;
  z-index: 9;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox .lightbox__container > img {
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox .lightbox__overlay {
  width: 100%;
  height: 100%;
  position: absolute;
}

@media (min-width: 1025px) {
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*-------------------------------------#DEFAULT-----------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
}
@media (min-width: 768px) and (max-width: 1024px) {
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*-------------------------------------$DEFAULT-----------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
}
@media (max-width: 767px) {
  .lightboxed::before {
    opacity: 1;
    visibility: visible;
  }
  .lightboxed::after {
    opacity: 1;
    visibility: visible;
  }
  .lightbox {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 20px var(--gap-s);
  }
  .lightbox .lightbox__container {
    margin: 0 auto;
  }
  .lightbox .lightbox__buttonClose {
    top: 20px !important;
    right: 20px !important;
  }
}
/* Short landscape screens: allow tall lightbox content to remain accessible */
@media (orientation: landscape) and (max-height: 600px) {
  .lightbox {
    align-items: flex-start;
    overflow-y: auto;
    padding: 20px var(--gap-s);
  }
  .lightbox .lightbox__container {
    margin: auto;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
  }
}
/* Mobile portrait: restore dedicated space above the popup for Close button */
@media (max-width: 767px) and (orientation: portrait) {
  .lightbox {
    display: block;
    overflow-y: auto;
    padding: 20px var(--gap-s);
  }
  .lightbox .lightbox__container {
    margin: 70px auto 30px;
  }
}
/* Keep WPForms international phone country selector above the lightbox */
.iti--fullscreen-popup.iti--container {
  z-index: 10000000;
}

/*# sourceMappingURL=lightbox.css.map */
