/* Modal "Ver qué incluye" de /precios. */
.pr-modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: var(--space-4); }
.pr-modal[hidden] { display: none; }
.pr-modal__backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.55); }
.pr-modal__box { position: relative; z-index: 1; background: #fff; border-radius: var(--radius-lg); max-width: 880px; width: 100%; max-height: 86vh; overflow: auto; padding: var(--space-6); box-shadow: var(--shadow-xl); }
.pr-modal__title { margin: 0 0 var(--space-4); color: var(--color-trust); }
.pr-modal__close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--text-muted); }
.plan__more { display: inline-block; margin-top: var(--space-2); background: none; border: 0; color: var(--color-trust); font: inherit; font-size: var(--fs-sm); cursor: pointer; }
.plan__more:hover { text-decoration: underline; }

/* Detalle de UN plan (el clickeado) — ya no es la matriz ancha de los 3. */
.pr-modal__box { max-width: 460px; }
.pr-detail__badge { display: inline-block; background: var(--color-sell, #E85D2F); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: var(--space-3); }
.pr-detail__price { display: flex; align-items: baseline; gap: 4px; }
.pr-detail__price .amount { font-size: 2.2rem; font-weight: 800; color: var(--color-trust); line-height: 1; }
.pr-detail__price .unit { color: var(--text-muted); }
.pr-detail__total { margin: 4px 0 0; color: var(--text-muted); font-size: var(--fs-sm); }
/* Oferta de lanzamiento (plan-price.js): precio real tachado + badge + detalle desplegable. */
.launch-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 6px; }
.launch-offer__real { color: var(--text-muted, #6b7280); text-decoration: line-through; font-size: var(--fs-sm, .9rem); }
.launch-offer__badge { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs, .72rem); font-weight: 700; color: #b45309; background: #fef3c7; border: 1px solid #fde68a; padding: 2px 8px; border-radius: var(--radius-full, 999px); }
.launch-offer__info { cursor: pointer; font-weight: 700; line-height: 1; opacity: .85; }
.launch-offer__info:hover, .launch-offer__info:focus { opacity: 1; outline: none; }
.launch-offer__pop { flex-basis: 100%; font-size: var(--fs-xs, .78rem); color: var(--text-default, #374151); background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 8px 10px; margin-top: 2px; line-height: 1.4; text-align: left; }
.pr-detail__limits { margin: var(--space-3) 0 var(--space-4); color: var(--text-default); font-weight: 600; }
.pr-detail__feats { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.pr-detail__cta { width: 100%; }

/* Móvil: el modal pasa a hoja inferior (bottom sheet) full-width. */
@media (max-width: 560px) {
  .pr-modal { padding: 0; align-items: flex-end; }
  .pr-modal__box { max-width: 100%; max-height: 92vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: var(--space-5) var(--space-4) calc(var(--space-5) + env(safe-area-inset-bottom, 0px)); }
  .pr-detail__price .amount { font-size: 2rem; }
}
