
#popup-newsletter {display:none;}  

.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

  .popup {
    display: flex;
    width: 700px;
    max-width: 95%;
    background-color: #d9f0ea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    animation: fadeIn 0.4s ease-in-out;
  }

  .popup-image {
    width: 40%;
    background: url('../img/regalo.gif') center center no-repeat;
    background-size: cover;
  }

  .popup-content {
    width: 60%;
    padding: 30px;
    position: relative;
  }

  .popup h2 {
    margin-top: 0;
    color: #023c40;
    font-size: 2rem;
  }

  .popup ul {
    list-style: none;
    padding: 0;
  }

  .popup ul li {
    margin: 12px 0;
    display: flex;
    align-items: center;
    font-size: 1rem;
  }

  .popup ul li::before {
    content: "✔";
    color: black;
    font-weight: bold;
    margin-right: 10px;
  }

  .popup input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    border: 1px solid #aaa;
    border-radius: 4px;
    font-size: 1rem;
  }

  .popup button {
    background-color: #004466;
    color: white;
    padding: 10px 20px;
    border: none;
    margin-top: 10px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
  }

  .popup button:hover {
    background-color: #006080;
  }

  .close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 1.2rem;
    cursor: pointer;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
  }

  @media (max-width: 600px) {
    .popup {
      flex-direction: column;
    }
    .popup-image {
      width: 100%;
      height: 200px;
    }
    .popup-content {
      width: 100%;
    }
  }
  
  
  .input-error {
    border: 2px solid red !important;
    outline: none;
  }
