.order-summary {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
}

.order-summary-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.order-summary-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.order-summary-desc {
  font-size: 0.85rem;
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.order-summary-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.order-summary-price span:first-child {
  font-size: 0.8rem;
  color: var(--c-muted);
}

.order-summary-price strong {
  font-size: 1.15rem;
  color: var(--c-accent);
}

.order-summary-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.order-summary-list li {
  font-size: 0.8rem;
  color: var(--c-text);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.order-summary-list li::before {
  content: "✓";
  color: var(--c-success);
  font-weight: 800;
  flex-shrink: 0;
}

.popup-steps {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.popup-step {
  flex: 1;
  text-align: center;
  font-size: 0.68rem;
  color: var(--c-muted);
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--c-border);
}

.popup-step.active {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
  font-weight: 700;
}

.popup-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-muted);
  margin: 1.1rem 0 0.75rem;
  letter-spacing: 0.04em;
}

.popup-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--c-muted);
  margin-top: 1rem;
  line-height: 1.8;
}

.pricing-hint {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 14px;
  color: var(--c-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.pricing-hint strong {
  color: var(--c-text);
}

#pricing {
  scroll-margin-top: 5rem;
}

.payment-failed-banner {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--c-card);
  border: 1px solid #f87171;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  max-width: 92%;
  text-align: center;
}

.payment-failed-banner p {
  color: #f87171;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.payment-failed-banner .btn-secondary {
  font-size: 0.85rem;
  padding: 0.55rem 1.2rem;
}

[data-theme="light"] .order-summary {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(124, 58, 237, 0.06));
  border-color: rgba(14, 165, 233, 0.18);
}

[data-theme="light"] .order-summary-price {
  border-top-color: rgba(148, 163, 184, 0.18);
}

[data-theme="light"] .pricing-hint {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.16);
}

[data-theme="light"] .payment-failed-banner {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.16);
}
