/* Popup post-alta — planes + módulos */
.psp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  background: rgba(20, 28, 22, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
}
.psp-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.psp-modal-card {
  width: min(720px, 100%);
  max-height: none;
  margin: auto 0 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
  padding: 24px 22px 20px;
  position: relative;
  font-family: 'Nunito', system-ui, sans-serif;
}
.psp-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: #f0f4f1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: #3d4a42;
}
.psp-modal-close:hover { background: #e2ebe5; }
.psp-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4b7462;
  background: #eef6f0;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.psp-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e2a22;
  margin: 0 0 8px;
  padding-right: 36px;
}
.psp-lead {
  margin: 0 0 18px;
  color: #5a6b62;
  font-size: 0.92rem;
  line-height: 1.45;
}
.psp-plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
@media (min-width: 560px) {
  .psp-plans-grid { grid-template-columns: repeat(4, 1fr); }
}
.psp-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px;
  border: 2px solid #e4ece7;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.psp-plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.psp-plan-card:has(input:checked) {
  border-color: #4b7462;
  box-shadow: 0 0 0 1px #4b7462;
  background: #f8fbf9;
}
.psp-plan-card--popular { border-color: #c5ddd0; }
.psp-plan-badge {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: #4b7462;
  align-self: flex-start;
  padding: 2px 6px;
  border-radius: 4px;
}
.psp-plan-name { font-weight: 800; font-size: 0.88rem; color: #1e2a22; }
.psp-plan-price { font-weight: 800; font-size: 0.95rem; color: #2d4a3a; }
.psp-plan-price small { font-weight: 600; font-size: 0.68rem; color: #6b7c72; }
.psp-plan-tagline { font-size: 0.72rem; color: #6b7c72; line-height: 1.3; }
.psp-section-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4b7462;
  margin: 0 0 10px;
}
.psp-addons-scroll {
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid #e8efe9;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 12px;
  background: #fafcfa;
}
.psp-addon-group {
  font-size: 0.72rem;
  font-weight: 700;
  color: #6b7c72;
  margin: 10px 0 6px;
}
.psp-addon-group:first-child { margin-top: 0; }
.psp-addon-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
}
.psp-addon-card:hover { background: #f0f6f2; }
.psp-addon-check { margin-top: 4px; flex-shrink: 0; accent-color: #4b7462; }
.psp-addon-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.psp-addon-title { font-size: 0.82rem; font-weight: 700; color: #1e2a22; }
.psp-addon-desc { font-size: 0.72rem; color: #6b7c72; line-height: 1.35; }
.psp-addon-price { font-size: 0.75rem; font-weight: 700; color: #2d4a3a; }
.psp-totals {
  font-size: 0.82rem;
  color: #3d4a42;
  margin-bottom: 14px;
}
.psp-totals p { margin: 4px 0; }
.psp-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.psp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  box-sizing: border-box;
}
.psp-btn--primary {
  background: #4b7462;
  color: #fff;
  border-color: #4b7462;
}
.psp-btn--primary:hover { background: #3d6150; }
.psp-btn--primary:disabled { opacity: 0.65; cursor: wait; }
.psp-btn--ghost {
  background: #fff;
  color: #4b7462;
  border-color: #c5ddd0;
}
.psp-btn--ghost:hover { background: #f4faf6; }
.psp-btn--link {
  background: transparent;
  color: #4b7462;
  border: none;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px;
}
.psp-total-grand {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(75, 116, 98, 0.1);
  border: 1px solid rgba(75, 116, 98, 0.25);
  font-size: 0.95rem;
}
.psp-total-grand span {
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #3d6150;
  margin-top: 4px;
}
.psp-total-note {
  font-size: 0.72rem;
  color: #7a8a80;
  margin: 8px 0 0;
  line-height: 1.4;
}
.psp-note {
  font-size: 0.72rem;
  color: #7a8a80;
  margin: 10px 0 0;
  line-height: 1.4;
}
.psp-success {
  text-align: center;
  padding: 24px 12px;
}
.psp-success-icon { font-size: 2.5rem; margin-bottom: 8px; }
.psp-success h3 { margin: 0 0 8px; font-family: Poppins, sans-serif; }
.psp-success p { color: #5a6b62; font-size: 0.92rem; }
