.badge.ACTIVE {
  background: #eafaf3;
  color: var(--green);
}

.badge.CANCELLED,
.badge.EXPIRED {
  background: #fff0f2;
  color: var(--red);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.plan-grid.compact {
  grid-template-columns: repeat(2, minmax(260px, 420px));
}

.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 7px 24px rgba(32, 24, 74, 0.04);
}

.plan-card.featured {
  border: 2px solid var(--purple2);
  box-shadow: var(--shadow);
}

.plan-card h3 {
  font-size: 21px;
  margin: 17px 0 8px;
}

.plan-card p {
  color: var(--muted);
}

.plan-label {
  display: inline-flex;
  background: #f0eafe;
  color: var(--purple);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
}

.plan-price {
  font-size: 31px;
  font-weight: 900;
  margin: 12px 0;
}

.plan-price small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 650;
}

.plan-card ul {
  padding-left: 20px;
  line-height: 1.9;
  color: var(--muted);
  min-height: 140px;
}

.plan-card button {
  width: 100%;
}

.plan-grid.compact .plan-card ul,
.plan-grid.compact .plan-card button {
  display: none;
}

.subscription-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 20px 22px;
  margin-bottom: 22px;
}

.subscription-strip.is-active {
  background: linear-gradient(135deg, #f1edff, #edfff7);
  border-color: #d8ccff;
}

.subscription-strip h2,
.subscription-strip p {
  margin: 4px 0;
}

.subscription-strip p {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .plan-grid,
  .plan-grid.compact {
    grid-template-columns: 1fr;
  }

  .subscription-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .subscription-strip button {
    width: 100%;
  }

  .plan-card ul {
    min-height: 0;
  }
}
