.sp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 16px;
}
.sp-card {
  --sp-muted: var(--muted, #aeb5c0);
  --sp-line: var(--line, #39404c);
  --sp-green: #6ee7b7;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--sp-line);
  border-radius: 16px;
  background: var(--panel, #1c2028);
  color: var(--text, #f1f5f9);
  font-size: 12px;
  line-height: 1.65;
}
.sp-card.sp-recommended {
  border-color: #10b981;
  background: color-mix(in srgb, var(--panel, #1c2028) 94%, #10b981);
}
.sp-header {
  padding: 28px 20px 16px;
}
.sp-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.sp-title h2 {
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.sp-badge {
  border: 1px solid var(--sp-line);
  border-radius: 8px;
  padding: 2px 7px;
  font-size: 10px;
}
.sp-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  background: #064e3b;
  color: #a7f3d0;
  border: 1px solid #10b981;
  border-radius: 20px;
  padding: 2px 10px;
  font-weight: 600;
}
.sp-description {
  min-height: 40px;
  margin: 12px 0;
  color: var(--sp-muted);
}
.sp-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.sp-price strong {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.sp-price > span,
.sp-total {
  color: var(--sp-muted);
}
.sp-total {
  min-height: 40px;
  margin: 8px 0 0;
}
.sp-total b {
  color: var(--text, #f1f5f9);
}
.sp-discount {
  display: flex;
  gap: 8px;
  margin: 8px 0;
  color: var(--sp-muted);
}
.sp-discount span {
  color: var(--sp-green);
}
.sp-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 0 20px 20px;
}
.sp-concurrency,
.sp-models {
  background: color-mix(in srgb, var(--sp-line) 35%, transparent);
  border-radius: 12px;
  padding: 16px;
}
.sp-concurrency p {
  margin: 0;
}
.sp-concurrency strong {
  color: var(--sp-green);
  font-size: 24px;
  font-weight: 700;
}
.sp-bars {
  display: flex;
  gap: 4px;
  margin: 12px 0;
}
.sp-bars span {
  height: 4px;
  flex: 1;
  background: var(--sp-line);
  border-radius: 8px;
}
.sp-bars .sp-filled {
  background: #10b981;
}
.sp-stream {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--sp-muted);
}
.sp-upsell {
  min-height: 40px;
  margin: 0;
  color: var(--sp-muted);
}
.sp-upsell .sp-icon {
  display: inline;
  vertical-align: middle;
  margin-right: 4px;
}
.sp-action {
  display: block;
  border: 1px solid var(--sp-line);
  border-radius: 8px;
  padding: 9px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}
.sp-action:hover {
  border-color: #10b981;
  background: #10b98118;
}
.sp-action:focus-visible {
  outline: 2px solid var(--sp-green);
  outline-offset: 4px;
}
.sp-recommended .sp-action {
  background: #10b981;
  border-color: #10b981;
  color: #052e22;
}
.sp-recommended .sp-action:hover {
  background: #34d399;
}
.sp-models,
.sp-features {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sp-models li,
.sp-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.sp-models li {
  font-weight: 600;
}
.sp-features {
  padding: 4px 0;
}
.sp-features li:nth-child(-n + 2) {
  font-weight: 500;
}
.sp-icon {
  flex-shrink: 0;
  color: var(--sp-green);
  margin-top: 2px;
}
.sp-popular .sp-icon {
  width: 12px;
  height: 12px;
}
.sp-empty {
  grid-column: 1/-1;
  text-align: center;
}
@media (max-width: 1100px) {
  .sp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .sp-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .sp-card {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }
}
