/* ── Dellanonna Popup ── */

/* Overlay */
#dnp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .3s ease;
}
#dnp-overlay.dnp-visible { opacity: 1; }

/* Popup box */
#dnp-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 32px 28px;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  transform: translateY(20px) scale(.97);
  transition: transform .35s ease, opacity .35s ease;
  opacity: 0;
  text-align: center;
}
#dnp-overlay.dnp-visible #dnp-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Logo */
#dnp-logo {
  max-width: 140px;
  max-height: 70px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}

/* Título */
#dnp-titulo {
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 10px;
  line-height: 1.25;
}

/* Leyenda */
#dnp-leyenda {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 24px;
}
#dnp-leyenda a { color: inherit; }

/* Botones */
#dnp-botones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dnp-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  transition: filter .15s, transform .1s;
  letter-spacing: .2px;
}
.dnp-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #ffffff;
  text-decoration: none;
}
.dnp-btn:active { transform: translateY(0); }

/* Cerrar */
#dnp-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 20px;
  color: #aaa;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .15s, color .15s;
  padding: 0;
  line-height: 1;
}
#dnp-close:hover { background: #f0f0f0; color: #333; }

/* Responsive */
@media (max-width: 480px) {
  #dnp-box { padding: 28px 20px 22px; border-radius: 12px; }
  #dnp-titulo { font-size: 18px; }
}
