body.tdo-sub-plans-page {
  background: linear-gradient(180deg, #fff 0%, #fdf2f8 40%, #fff 100%) !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.tdo-sub-plans {
  padding: 1rem 15px 2.5rem;
  box-sizing: border-box;
  width: 100%;
}

.tdo-sub-plans__shell {
  max-width: 1100px;
  margin: 0 auto;
}

.tdo-sub-plans__crumb {
  font-size: 0.82rem;
  color: #7a6b72;
  margin-bottom: 1rem;
}

.tdo-sub-plans__crumb a {
  color: #9d174d;
  text-decoration: none;
}

.tdo-sub-plans__head h1 {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  color: #0f172a;
}

.tdo-sub-plans__head p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.tdo-sub-plans__active {
  margin-top: 0.75rem !important;
  padding: 0.65rem 1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  color: #065f46;
}

.tdo-sub-plans__pay-hint,
.tdo-sub-plans__pay-warn {
  margin: 1rem 0 1.25rem;
  font-size: 0.88rem;
  color: #64748b;
}

.tdo-sub-plans__pay-warn {
  color: #b45309;
}

.tdo-sub-plans__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .tdo-sub-plans__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .tdo-sub-plans__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tdo-sub-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 1.35rem 1.25rem 1.5rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.tdo-sub-card.is-featured {
  border-color: #fbcfe8;
  box-shadow: 0 16px 40px rgba(219, 39, 119, 0.15);
}

.tdo-sub-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #db2777;
  color: #fff;
  white-space: nowrap !important;
}

.tdo-sub-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: #0f172a;
}

.tdo-sub-card__tagline {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
}

.tdo-sub-card__price {
  margin: 0 0 0.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.tdo-sub-card__price strong {
  font-size: 1.35rem;
  color: #be123c;
}

.tdo-sub-card__price span {
  font-size: 0.85rem;
  color: #94a3b8;
}

.tdo-sub-plans__period,
.tdo-sub-card__period {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

.tdo-sub-card__features {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.tdo-sub-card__features li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.4;
}

.tdo-sub-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #db4458;
  font-weight: 700;
}

.tdo-sub-card__cta {
  width: 100%;
  justify-content: center;
  white-space: nowrap !important;
}

.tdo-sub-plans__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #64748b;
  padding: 2rem;
}

.tdo-sub-plans__faq {
  margin-top: 2rem;
  padding: 1.25rem 1rem;
  background: #f8fafc;
  border-radius: 12px;
}

.tdo-sub-plans__faq h2 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.tdo-sub-plans__faq ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Trạng thái gói, thẻ Miễn phí, lịch sử */
.tdo-sub-plans__flash { margin: 0 0 1rem; padding: .65rem 1rem; border-radius: 10px; font-size: .92rem; }
.tdo-sub-plans__flash.is-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.tdo-sub-plans__flash.is-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; }
.tdo-sub-plans__flash.is-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.tdo-sub-status {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.tdo-sub-status h2 { margin: 0 0 .35rem; font-size: 1.05rem; }
.tdo-sub-status p { margin: 0; line-height: 1.55; font-size: .94rem; }
.tdo-sub-status.is-active { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.tdo-sub-status.is-expired { background: #fff8e6; border-color: #f3d38b; color: #6b4a07; }
.tdo-sub-card--free { border: 1px dashed #cbd5e1; box-shadow: none; }
.tdo-sub-card__cta.is-disabled { opacity: .6; pointer-events: none; text-align: center; }
.tdo-sub-history { margin-top: 2rem; }
.tdo-sub-history h2 { margin: 0 0 .65rem; font-size: 1.05rem; }
.tdo-sub-history__table { overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.tdo-sub-history table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 460px; }
.tdo-sub-history th,
.tdo-sub-history td { padding: .6rem .8rem; border-bottom: 1px solid #f1f5f9; text-align: left; white-space: nowrap; }
.tdo-sub-history th { background: #f8fafc; font-weight: 600; color: #475569; }
.tdo-sub-history tr:last-child td { border-bottom: 0; }