.eisi-popup2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.eisi-popup2 .popup-content {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  width: 90%;
  max-width: 1000px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: width 0.3s ease;
}

/* Container de duas colunas */
.popup2-container {
  display: flex;
  flex-direction: row;
  min-height: 500px;
}

/* Colunas */
.popup2-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.popup2-col-images {
  background: #f9f9f9;
  padding: 0;
  overflow: hidden;
}

.popup2-col-form {
  padding: 40px;
  justify-content: center;
}

/* Imagens */
.popup2-col-images .image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup2-col-images .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.eisi-popup2 .desktop-image { display: block; }
.eisi-popup2 .mobile-image  { display: none; }

@media (max-width: 768px) {
  /* Mantém layout de duas colunas no mobile */
  .popup2-container {
    min-height: 400px;
  }
  
  .popup2-col-images {
    min-width: 40%;
  }
  
  .popup2-col-form {
    padding: 20px 15px;
    min-width: 60%;
  }
  
  /* Reduz tamanho do popup no mobile */
  .eisi-popup2 .popup-content {
    width: 95%;
    max-width: 600px;
  }
  
  .eisi-popup2 .desktop-image { display: none; }
  .eisi-popup2 .mobile-image  { display: block; }
  
  /* Ajusta tamanhos de fonte e inputs no mobile */
  .popup2-col-form input[type="text"],
  .popup2-col-form input[type="email"],
  .popup2-col-form input[type="tel"],
  .popup2-col-form select {
    height: 40px;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 6px;
  }
  
  .popup2-col-form .submit-button {
    height: 42px;
    font-size: 15px;
    letter-spacing: 0.3px;
  }
  
  .popup2-col-form .popup2-form-header h2 {
    font-size: 18px;
    text-transform: uppercase;
  }
  
  .popup2-col-form .popup2-form-header p {
    font-size: 14px;
  }
  
  .popup2-col-form .popup2-form-header {
    margin-bottom: 20px;
  }
}

/* botão fechar */
.eisi-popup2 #eisi-popup2-close {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
}

.eisi-popup2 #eisi-popup2-close:hover {
  background: rgba(255, 255, 255, 1);
}

/* botão abrir */
#eisi-popup2-open-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  padding: 10px 20px;
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#eisi-popup2-open-button:hover {
  background: #005a87;
}

/* Container do MailMunch */
.eisi-popup2 #mm-form-container {
  padding: 20px;
}

@media (max-width: 768px) {
  .eisi-popup2 #eisi-popup2-close {
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    font-size: 14px;
  }
}
