/* --- Base Styles --- */

.popup-no-scroll{
	overflow: hidden
}

.popup_4s {
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100%;
  min-height: 100vh;
  pointer-events: all;
  opacity: 0;
  overflow-y: auto;
  position: fixed;
  top: 0;
  bottom: 0;
  transition: all 0.5s ease;
  z-index: 0;
}

.popup_4s.active {
  opacity: 1;
  z-index: 9999;
}

.popup_4s .popup__close {
  background-color: #000000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  position: absolute;
  right: -20px;
  top: -20px;
  opacity: 1;
  cursor: pointer;
  z-index: 1;
}

.popup__container {
  color: #FFFFFF;
  background-color: #FDF7F4;
  background-image: url('../img/bg-desktop-2609.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "file";
  width: 930px;
  height: 503px;
  display: flex;
  position: relative;
  margin: 10px 0;
  line-height: 1.1;
}

.popup__container b, .popup__container strong {
  font-family: "termina";
}

.popup__container-left {
  color: #FAF2EE;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 55%;
  height: 100%;
  padding: 110px 105px 50px 70px;
}

.popup__container-left .text-wrapper {
  display: flex;
  justify-content: space-between;
}

.popup__container-left .text-wrapper div:nth-child(2) {
  border-left: 1px solid white;
  padding-left: 5px;
}

.popup__container-right {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 45%;
  height: 100%;
  padding: 40px 70px;
}

.popup__container-right .text-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.popup__container-right .text-wrapper img {
  /* Estas propiedades se anulan en móvil, pero aquí están las de desktop */
}


.popup__container-form {
  /* Estilos base */
}

.popup__container-form form .forminator-row {
  margin-bottom: 10px !important;
}

.popup__container-form form .forminator-col {
    margin-bottom: 20px !important;
}

.popup__container-form form .forminator-button {
  background-color: #CB6015;
  color: #FFFFFF;
  width: 100% !important;
  margin-top: 0px !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.popup__container-form form .iti__dropdown-content {
  color: black;
}

.popup_4s .text-1 {
  font-family: "termina";
  font-size: 27px;
  font-weight: 700;
  margin-bottom: 15px;
}

.popup_4s .text-2 {
  font-size: 18px;
}

.popup_4s .text-3 {
  font-size: 14px;
  text-align: center;
}

.popup_4s .text-4 {
  font-size: 15px;
}
.popup_4s .text-4 b {
  font-family: "termina";
  font-weight: 700;
}

.popup_4s .text-5 {
  color: black;
  font-size: 17px;
}

.popup_4s .text-small {
  font-size: 7px;
}

/* --- Media Queries (Asumiendo breakpoints estándar para LG y SM) --- */

/* Breakpoint Down LG (Max-width: 991.98px) */
@media (max-width: 991.98px) {
  .popup_4s {
    align-items: center;
    padding: 10px 0;
  }

  .popup_4s .popup__close {
    background-color: #000000;
    width: 45px;
    height: 45px;
    right: 20px;
    top: 20px;
  }

  .popup__container {
    background-image: url('../img/bg-movil-2609.jpg');
    background-size: cover;
    flex-direction: column;
    width: 336px;
    height: 731px;
  }

  .popup__container-left {
    justify-content: space-between;
    height: 376px;
    width: 100%;
    padding: 110px 40px 30px;
  }

  .popup__container-right {
    justify-content: space-evenly;
    height: 355px;
    width: 100%;
    padding: 30px 40px 35px;
  }

  .popup__container-right .text-wrapper {
    flex-direction: column;
    gap: 0;
  }

  .popup__container-right .text-wrapper img {
    width: 13px;
    height: 13px;
    transform: rotate(90deg);
    margin: 5px;
  }

  .popup_4s .text-3 {
    font-size: 12px;
  }

  .popup__container-form form .popup__container-form {
    margin-top: 20px;
  }

  .popup__container-form form .forminator-col {
    margin-bottom: 10px !important;
  }

  .popup__container-form form .forminator-row-last .forminator-col {
    margin-bottom: 0px !important;
  }

  .popup__container-form form .forminator-input {
    font-size: 11px !important;
  }

  .popup__container-form form .forminator-button {
    margin-top: 20px;
  }
}

/* Breakpoint Down SM (Max-width: 575.98px) - Dentro del @media (max-width: 991.98px) */
@media (max-width: 575.98px) {
  .popup_4s {
    align-items: center;
  }
}
