/* PrivilegeFans · «Mis diamantes» ordenada y compacta (5-nov-2026) · azul noche y oro
 * Cabe entera en una pantalla de 17" al 100 %; los botones «Cerrar / Comprar» y la casilla de los términos quedan siempre a la vista abajo.
 * Solo se paga con tarjeta (sin Bizum). Ventanas en general: el alto máximo tiene en cuenta el zoom de la página (80 % / 88 %). */
@media (min-width: 761px) { html:root:root body .pfx-pop { max-height: calc(100dvh / .8 - 40px); } }
@media (min-width: 1700px) { html:root:root body .pfx-pop { max-height: calc(100dvh / .88 - 40px); } }

html:root:root body .dm-pop .pfx-pop { width: min(860px, 100%); border: 1.5px solid rgba(240, 193, 44, .85); border-radius: 24px; background: linear-gradient(180deg, #0f2f57 0%, #0a2342 100%); box-shadow: 0 0 0 1px rgba(240, 193, 44, .15), 0 24px 60px rgba(0, 0, 0, .55), 0 0 26px rgba(240, 193, 44, .2); }
html:root:root body .dm-pop .pfx-pop-body { padding: 0; display: flex; flex-direction: column; min-height: 0; }
html:root:root body .dm-pop .dm { display: block; padding: 0; background: none !important; color: #E8F0FA; }
/* cabecera */
html:root:root body .dm-pop .dm-hd { display: flex; align-items: center; gap: 18px; min-height: 0; padding: 18px 84px 18px 24px; background: radial-gradient(110% 160% at 80% 10%, #1D4378, #0B2347 55%, #07142B); border-bottom: 1px solid rgba(240, 193, 44, .25); }
html:root:root body .dm-pop .dm-emb { height: 78px; }
html:root:root body .dm-pop .dm-ht { max-width: none; }
html:root:root body .dm-pop .dm-ht h2 { margin: 0 0 4px; font: 800 34px/1.1 Lato, Arial, sans-serif; color: #fff; letter-spacing: -.01em; }
html:root:root body .dm-pop .dm-ht h2 i { font-size: 26px; }
html:root:root body .dm-pop .dm-ht p { margin: 0; max-width: 430px; font-size: 15px; line-height: 1.4; color: #C9D8EC; }
html:root:root body .dm-pop .dm-art { right: 74px; bottom: -4px; width: 170px; }
html:root:root body .dm-pop .dm-x { top: 16px; right: 18px; width: 44px; height: 44px; font-size: 19px; }
/* contenido (se desplaza si hace falta; los botones de abajo no) */
.dm-pop .dm > :not(.dm-hd):not(.dm-foot) { margin-left: 24px; margin-right: 24px; }
html:root:root body .dm-pop .dm-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; padding: 0; background: none; border-radius: 0; }
html:root:root body .dm-pop .dm-sum > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(6, 20, 44, .55); border: 1px solid rgba(255, 255, 255, .16); box-shadow: none; }
html:root:root body .dm-pop .dm-sum > div > i { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(240, 193, 44, .12); color: #F0C12C; font-size: 17px; }
html:root:root body .dm-pop .dm-sum span { font-size: 12.5px; color: #C9D8EC; } html:root:root body .dm-pop .dm-sum b { font: 900 22px/1.1 Lato, Arial, sans-serif; color: #fff; }
html:root:root body .dm-pop .dm-sum .t { border: 1.5px solid #F0C12C; background: linear-gradient(160deg, #14305A, #0A1A33); box-shadow: 0 0 14px rgba(240, 193, 44, .2); }
html:root:root body .dm-pop .dm-info { display: flex; gap: 8px; margin-top: 10px; margin-bottom: 0; padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; line-height: 1.45; color: #C9D8EC; }
html:root:root body .dm-pop .dm-info i { color: #F0C12C; margin-top: 2px; } html:root:root body .dm-pop .dm-info b { color: #fff; }
html:root:root body .dm-pop .dm-h { display: flex; align-items: center; gap: 10px; margin-top: 16px; margin-bottom: 10px; font: 800 17px/1.2 Lato, Arial, sans-serif; color: #fff; }
html:root:root body .dm-pop .dm-rate { margin: 0; padding: 3px 10px; border-radius: 999px; background: rgba(240, 193, 44, .12); border: 1px solid rgba(240, 193, 44, .55); color: #F0C12C; font-size: 12px; }
/* paquetes */
html:root:root body .dm-pop .dm-packs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; overflow: visible; padding-top: 8px; }
html:root:root body .dm-pop .dm-pack { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; min-width: 0; padding: 12px 6px 10px; border-radius: 16px; border: 1.5px solid rgba(255, 255, 255, .22); background: rgba(6, 20, 44, .55); color: #fff; box-shadow: none; cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s; }
html:root:root body .dm-pop .dm-pack:hover { transform: translateY(-2px); border-color: rgba(240, 193, 44, .8); }
html:root:root body .dm-pop .dm-pack.on { border-color: #F0C12C; background: linear-gradient(180deg, rgba(240, 193, 44, .16), rgba(6, 20, 44, .6)); box-shadow: 0 0 0 1px #F0C12C, 0 0 22px rgba(240, 193, 44, .35); }
html:root:root body .dm-pop .dm-pack img { height: 44px; mix-blend-mode: normal; filter: drop-shadow(0 4px 10px rgba(45, 140, 240, .35)); margin: 0 0 2px; }
html:root:root body .dm-pop .dm-pack b { font: 900 19px/1.1 Lato, Arial, sans-serif; color: #fff; } html:root:root body .dm-pop .dm-pack b i { color: #5BC0FF; font-size: 14px; }
html:root:root body .dm-pop .dm-pack .pr { padding: 3px 12px; border-radius: 999px; font: 800 14px/1.2 Lato, Arial, sans-serif; color: #F0C12C; background: none; }
html:root:root body .dm-pop .dm-pack.on .pr { background: linear-gradient(180deg, #FFD962, #F0C12C 60%, #D9A21B); color: #0A1A33; }
html:root:root body .dm-pop .dm-pack .fx-tag, html:root:root body .dm-pop .dm-pack small { font-size: 11.5px; color: #9FB7D4; }
html:root:root body .dm-pop .dm-pack .pop { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: linear-gradient(180deg, #FFD962, #F0C12C 60%, #D9A21B); color: #0A1A33; font: 800 11px/1 Lato, Arial, sans-serif; font-style: normal; white-space: nowrap; }
html:root:root body .dm-pop .dm-fee { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 8px; margin-top: 10px; margin-bottom: 0; font-size: 13px; color: #C9D8EC; }
html:root:root body .dm-pop .dm-fee b { color: #fff; } html:root:root body .dm-pop .dm-fee .sep { color: #9FB7D4; }
html:root:root body .dm-pop .dm-fee .tot { padding: 5px 14px; border-radius: 999px; background: linear-gradient(180deg, #FFD962, #F0C12C 60%, #D9A21B); color: #0A1A33; font-size: 16px; }
html:root:root body .dm-pop .fx-note, html:root:root body .dm-pop .dm > .pfx-note { margin-top: 6px; font-size: 12px; color: #9FB7D4; }
/* método de pago: solo tarjeta */
html:root:root body .dm-pop .dm-h2 { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; margin-bottom: 8px; }
html:root:root body .dm-pop .dm-h2 .dm-h { margin: 0; }
html:root:root body .dm-pop .dm-h2 .dm-secure { color: #4ADE80; font-size: 13px; font-weight: 800; }
html:root:root body .dm-pop .dm-pay.one { display: block; }
html:root:root body .dm-pop .dm-pay.one .dm-m { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid #F0C12C; background: rgba(240, 193, 44, .06); box-shadow: 0 0 14px rgba(240, 193, 44, .18); cursor: default; }
.dm-cardic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(180deg, #2D8CF0, #1559B5); color: #fff; font-size: 20px; }
html:root:root body .dm-pop .dm-pay.one .tx { flex: 1 1 auto; display: grid; gap: 2px; min-width: 0; } html:root:root body .dm-pop .dm-pay.one .tx b { color: #fff; font-size: 15px; } html:root:root body .dm-pop .dm-pay.one .tx small { color: #C9D8EC; font-size: 12.5px; }
html:root:root body .dm-pop .dm-pay.one .dm-cards { flex: none; height: 24px; width: auto; border-radius: 4px; background: #fff; padding: 2px 4px; }
.dm-ok { flex: none; color: #F0C12C; font-size: 20px; }
/* cobro automático */
html:root:root body .dm-pop .dm-auto { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; line-height: 1.45; color: #C9D8EC; }
html:root:root body .dm-pop .dm-auto b { color: #fff; } html:root:root body .dm-pop .dm-auto input { margin-top: 2px; accent-color: #F0C12C; flex: none; width: 16px; height: 16px; }
html:root:root body .dm-pop .dm-auto-hint { display: block; margin: 6px 24px 0; font-size: 12px; color: #FFD962; }
html:root:root body .dm-pop .dm-auto-hint:empty { display: none; }
html:root:root body .dm-pop .dm-auto-hint > * { margin: 0 !important; padding: 6px 12px !important; border-radius: 10px !important; font-size: 12px !important; }
/* pie fijo */
html:root:root body .dm-pop .dm-foot { position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 14px 0 0; padding: 12px 24px 14px; background: linear-gradient(180deg, rgba(10, 35, 66, .92), #0a2342 40%); border-top: 1px solid rgba(240, 193, 44, .3); backdrop-filter: blur(6px); }
html:root:root body .dm-pop .dm-terms { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #C9D8EC; }
html:root:root body .dm-pop .dm-terms input { accent-color: #F0C12C; width: 16px; height: 16px; flex: none; }
html:root:root body .dm-pop .dm-terms a { color: #F0C12C; }
html:root:root body .dm-pop .dm-btns { display: flex; gap: 10px; flex: none; }
html:root:root body .dm-pop .dm-close { height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .05); color: #fff; font: 700 15px/1 Lato, Arial, sans-serif; }
html:root:root body .dm-pop .dm-buy { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 24px; border-radius: 999px; border: 0; background: linear-gradient(180deg, #FFD962, #F0C12C 60%, #D9A21B); color: #0A1A33; font: 900 15.5px/1 Lato, Arial, sans-serif; box-shadow: 0 8px 20px rgba(240, 193, 44, .3); }
html:root:root body .dm-pop .dm-buy .am { padding-left: 10px; border-left: 1px solid rgba(10, 26, 51, .3); }
html:root:root body .dm-pop .dm-buy:disabled { opacity: .6; }
@media (max-width: 860px) {
  html:root:root body .dm-pop .dm-packs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  html:root:root body .dm-pop .dm-pack { flex: 0 0 132px; scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .dm-pop .dm > :not(.dm-hd):not(.dm-foot) { margin-left: 14px; margin-right: 14px; }
  html:root:root body .dm-pop .dm-hd { padding: 14px 64px 14px 14px; gap: 12px; } html:root:root body .dm-pop .dm-emb { height: 54px; }
  html:root:root body .dm-pop .dm-ht h2 { font-size: 24px; } html:root:root body .dm-pop .dm-ht p { font-size: 13px; }
  html:root:root body .dm-pop .dm-x { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 16px; }
  html:root:root body .dm-pop .dm-sum { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } html:root:root body .dm-pop .dm-sum > div { grid-template-columns: 1fr; padding: 8px; } html:root:root body .dm-pop .dm-sum > div > i { display: none; } html:root:root body .dm-pop .dm-sum span { font-size: 11px; } html:root:root body .dm-pop .dm-sum b { font-size: 17px; }
  html:root:root body .dm-pop .dm-pay.one .dm-cards { display: none; }
  html:root:root body .dm-pop .dm-foot { flex-direction: column; align-items: stretch; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); }
  html:root:root body .dm-pop .dm-btns > * { flex: 1 1 0; justify-content: center; } html:root:root body .dm-pop .dm-close { flex: 0 0 auto; }
}
html:root:root body .dm-pop .dm-buy .am::before, html:root:root body .dm-pop .dm-buy .am::after { content: none !important; display: none !important; }
html:root:root body .dm-pop .dm-hd { padding-top: 20px; padding-bottom: 20px; }
html:root:root body .dm-pop .dm-hd { padding-left: 26px !important; } html:root:root body .dm-pop .dm-emb { margin: 0 !important; }
html:root:root body .dm-pop .dm-hd { margin: 0 !important; border-radius: 22px 22px 0 0; }
