/* ========================================
   NEWSLETTER POPUP
   ======================================== */
#newsletterOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#newsletterOverlay.active {
  opacity: 1;
}

.nl-popup {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

#newsletterOverlay.active .nl-popup {
  transform: translateY(0) scale(1);
}

.nl-popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.nl-popup__close:hover {
  color: #333;
}

/* Left image panel */
.nl-popup__image {
  width: 45%;
  min-height: 380px;
  background: linear-gradient(135deg, #1E3A10, #0D1409);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nl-popup__image-placeholder {
  color: rgba(129, 190, 65, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Right content panel */
.nl-popup__content {
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nl-popup__crest {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 20px;
}

.nl-popup__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0D1409;
  line-height: 1.2;
  margin-bottom: 12px;
}

.nl-popup__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #6B7A63;
  line-height: 1.5;
  margin-bottom: 28px;
}

.nl-popup__form {
  display: flex;
  border: 1.5px solid #E8EDE4;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.nl-popup__form:focus-within {
  border-color: #81BE41;
}

.nl-popup__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #1A1A1A;
  background: transparent;
}

.nl-popup__input::placeholder {
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

.nl-popup__btn {
  background: #0D1409;
  border: none;
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}

.nl-popup__btn:hover {
  background: #1E3A10;
}

.nl-popup__privacy {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 16px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 640px) {
  .nl-popup {
    flex-direction: column;
    max-width: 400px;
  }

  .nl-popup__image {
    width: 100%;
    min-height: 140px;
  }

  .nl-popup__content {
    padding: 32px 24px;
  }

  .nl-popup__title {
    font-size: 1.4rem;
  }
}
