.novedades-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.novedades-popup.active {
  opacity: 1;
  visibility: visible;
}

.novedades-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
}

.novedades-popup-content {
  position: relative;
  width: 90%;
  max-width: 720px;
  background: var(--color-dark);
  border-radius: 0;
  padding: var(--space-12) var(--space-10);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  transform: translateY(30px);
  transition: transform var(--transition-slow);
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--color-gray-800);
}

.novedades-popup.active .novedades-popup-content {
  transform: translateY(0);
}

/* Close button */
.novedades-popup-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gray-500);
  padding: var(--space-1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.novedades-popup-close:hover {
  color: var(--color-light);
}

/* Icon */
.novedades-popup-icon {
  font-size: 2rem;
  color: var(--color-accent);
}

/* Label */
.novedades-popup-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

/* Divider */
.novedades-popup-divider {
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
}

/* Title */
.novedades-popup-content h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-light);
  margin: 0;
  line-height: var(--leading-snug);
  text-transform: uppercase;
}

/* Excerpt */
.novedades-popup-content p {
  font-size: var(--text-base);
  color: var(--color-gray-400);
  margin: 0;
  line-height: var(--leading-relaxed);
}

/* Image */
.novedades-popup-content img {
  width: 100%;
  object-fit: cover;
  max-height: 180px;
}

/* CTA Button */
.novedades-popup-content .btn-primary {
  margin-top: var(--space-2);
  width: 100%;
  text-align: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .novedades-popup-content {
    padding: var(--space-10) var(--space-6);
    max-width: 340px;
    gap: var(--space-4);
  }

  .novedades-popup-content h3 {
    font-size: var(--text-xl);
  }

  .novedades-popup-content p {
    font-size: var(--text-sm);
  }

  .novedades-popup-content img {
    max-height: 140px;
  }
}
