:root {
  --dc-teal: #1a9aa8;
  --dc-navy: #0f1f3d;
  --dc-cream: #f6f1de;
}

body.dc-popup-lock { overflow: hidden; }

.dc-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .25s ease;
}
.dc-popup[hidden] { display: none; }
.dc-popup.is-open { opacity: 1; }

.dc-popup__box {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 100%;
  overflow-y: auto;           /* por si en móvil no cabe */
  background: var(--dc-cream);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  text-align: center;
  transform: translateY(16px) scale(.98);
  transition: transform .25s ease;
}
.dc-popup.is-open .dc-popup__box { transform: none; }

.dc-popup__close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  font-size: 34px;
  line-height: 1;
  color: var(--dc-navy);
  cursor: pointer;
}

.dc-popup__deco { display: block; width: 100%; height: auto; pointer-events: none; }

.dc-popup__content { padding: 8px 32px; }

.dc-popup__logo { width: 180px; max-width: 55%; height: auto; margin: 0 auto 18px; }

.dc-popup__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 1.1;
  color: var(--dc-navy);
}

.dc-popup__subtitle {
  margin: 6px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dc-teal);
}

.dc-popup__text { margin: 0 0 18px; font-size: 1.05rem; line-height: 1.5; color: #111; }

.dc-popup__price {
  margin: 0 0 20px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--dc-teal);
}

.dc-popup__btn {
  display: block;
  padding: 16px 20px;
  background: var(--dc-teal);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
  border-radius: 4px;
  transition: filter .2s;
}
.dc-popup__btn:hover { filter: brightness(.92); }

.dc-popup__note { margin: 12px 0 0; font-size: .9rem; color: #111; }

/* ---------- Móvil ---------- */
@media (max-width: 600px) {
  .dc-popup { padding: 12px; }
  .dc-popup__content { padding: 4px 20px; }
  .dc-popup__logo { width: 130px; margin-bottom: 10px; }
  .dc-popup__title { font-size: 1.5rem; }
  .dc-popup__subtitle { font-size: 1.15rem; margin-bottom: 12px; }
  .dc-popup__text { font-size: .95rem; margin-bottom: 12px; }
  .dc-popup__price { font-size: 1rem; margin-bottom: 14px; }
  .dc-popup__btn { padding: 14px; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .dc-popup, .dc-popup__box { transition: none; }
}