.payment-container {
  max-width: 560px;
  margin: 120px auto 80px;
  padding: 0 20px;
}
.payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
}
.payment-card h2 {
  font-size: 1.5rem; font-weight: 700; margin-bottom: 8px;
}
.payment-subtitle {
  color: var(--text-dim); font-size: 0.9rem; margin-bottom: 28px;
}

.order-summary {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; margin-bottom: 32px;
}
.order-summary .row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.95rem; padding: 6px 0;
}
.order-summary .row.total {
  border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px;
  font-size: 1.15rem; font-weight: 700;
}
.order-summary .row.total .amount {
  background: var(--gradient-1); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  font-size: 1.4rem;
}
.order-summary .row.total .amount-usd {
  background: var(--gradient-2); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  font-size: 1.4rem;
}

.method-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px;
}
.method-tab {
  padding: 14px; border-radius: 12px; border: 2px solid var(--border);
  background: transparent; color: var(--text-dim); cursor: pointer;
  font-size: 1rem; font-weight: 600; text-align: center; transition: all 0.2s;
  font-family: inherit;
}
.method-tab:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }
.method-tab.active {
  border-color: var(--cyan); color: var(--cyan);
  background: rgba(0,212,255,0.06); box-shadow: var(--glow-cyan);
}
.method-tab.paypal-active {
  border-color: #0070ba; color: #0070ba;
  background: rgba(0,112,186,0.06); box-shadow: 0 0 20px rgba(0,112,186,0.15);
}
.method-tab.wechat-active {
  border-color: #07C160; color: #07C160;
  background: rgba(7,193,96,0.06); box-shadow: 0 0 20px rgba(7,193,96,0.15);
}

.pay-panel { display: none; }
.pay-panel.active { display: block; }

.alipay-qr-wrap {
  text-align: center; padding: 24px 0 8px;
}
.alipay-qr-wrap iframe {
  width: 100%; height: 420px; border: 1px solid var(--border);
  border-radius: 12px; background: #fff;
}
.qr-loading {
  display: flex; align-items: center; justify-content: center;
  height: 420px; color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 12px;
  font-size: 0.9rem;
}
.qr-hint {
  color: var(--text-dim); font-size: 0.85rem; margin-top: 14px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.qr-hint svg { flex-shrink: 0; }

.paypal-placeholder {
  text-align: center; padding: 40px 20px; color: var(--text-dim);
  border: 1px dashed var(--border); border-radius: 12px;
}
.paypal-placeholder svg { margin-bottom: 12px; opacity: 0.4; }

.paypal-wrap {
  text-align: center; padding: 32px 20px;
}
.paypal-wrap .paypal-desc {
  color: var(--text-dim); font-size: 0.9rem; margin-bottom: 24px;
}
.paypal-wrap form { display: inline-block; }
.paypal-secure {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  color: var(--text-dim); font-size: 0.8rem; margin-top: 16px;
}

.btn-paypal {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 40px; border-radius: 12px; font-size: 1rem;
  font-weight: 600; background: #ffc439; color: #111;
  border: none; cursor: pointer; font-family: inherit;
  transition: all 0.2s; margin-top: 20px;
}
.btn-paypal:hover { background: #f0b72e; transform: translateY(-1px); }

.back-link {
  display: block; text-align: center; margin-top: 24px;
  color: var(--text-dim); font-size: 0.9rem; text-decoration: none;
}
.back-link:hover { color: var(--text); }

.order-form { margin-bottom: 24px; }
.order-form label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--text-dim); margin-bottom: 4px;
}
.order-form input, .order-form textarea {
  width: 100%; padding: 10px 14px; border-radius: 8px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.03);
  color: var(--text); font-size: 0.95rem; font-family: inherit;
  margin-bottom: 12px; resize: vertical;
}
.order-form input:focus, .order-form textarea:focus {
  outline: none; border-color: var(--cyan);
}

.usd-note {
  font-size: 0.8rem; color: var(--text-dim); margin-top: 4px;
}

@media (max-width: 600px) {
  .payment-card { padding: 28px 22px; }
}
