/* ============================================================
   plan-selector.css — Cards con fondo BLANCO
   ============================================================ */

/* ── Bloque inferior de cada tarjeta ──────────────────────── */
.plan-cta-block {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #e8edf5;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}

/* ── Fila selector (label + select) ───────────────────────── */
.plan-selector-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.plan-selector-label {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .06em;
  flex-shrink: 0;
}

.plan-period-select {
  flex: 1;
  padding: 8px 28px 8px 12px;
  border-radius: 8px;
  border: 1.5px solid #c8d4e8;
  background: #fff;
  color: #1a1a2e;
  font-size: 13px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a1a2e' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px 8px;
  transition: border-color .2s, box-shadow .2s;
}
.plan-period-select:hover {
  border-color: #1a73e8;
}
.plan-period-select:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26,115,232,.12);
}
.plan-period-select option {
  background: #fff;
  color: #1a1a2e;
}

/* ── Card featured — mismos colores (cuerpo blanco) ─────────── */
.plan-card.featured .plan-cta-block   { border-top-color: #e8edf5; }
.plan-card.featured .plan-selector-label { color: #888; }
.plan-card.featured .plan-period-select {
  background: #fff;
  border-color: #c8d4e8;
  color: #1a1a2e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a1a2e' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px 8px;
}
.plan-card.featured .plan-period-select:hover,
.plan-card.featured .plan-period-select:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26,115,232,.12);
}
.plan-card.featured .plan-period-select option { background: #fff; color: #1a1a2e; }
.plan-card.featured .plan-price-display .price-main { color: #1a1a2e; }
.plan-card.featured .plan-price-display .price-per  { color: #888; }
.plan-card.featured .price-period-note              { color: #1a73e8; }

/* ── Bloque de precio ──────────────────────────────────────── */
.plan-price-display {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 5px;
  line-height: 1;
  margin: 0;
  padding: 14px 14px 6px;
  background: #f4f7fb;
  border-radius: 10px 10px 0 0;
  border: 1px solid #e4eaf4;
  border-bottom: none;
}
.plan-price-display .price-main {
  font-size: 2.6rem;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -.02em;
  transition: opacity .15s;
}
.plan-price-display .price-per {
  font-size: 13px;
  color: #999;
  font-weight: 500;
  padding-bottom: 3px;
}

/* ── Nota de período ───────────────────────────────────────── */
.price-period-note {
  font-size: 11.5px;
  color: #1a73e8;
  margin: 0 0 12px;
  min-height: 32px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 6px 14px 8px;
  text-align: center;
  background: #f4f7fb;
  border-radius: 0 0 10px 10px;
  border: 1px solid #e4eaf4;
  border-top: none;
  transition: opacity .15s;
}

/* ── Animación fade al cambiar ─────────────────────────────── */
.plan-price-display .price-main.updating,
.price-period-note.updating {
  opacity: 0;
}