:root {
  --ink: #37352f;
  --muted: #6b6b6b;
  --faint: #9ca3af;
  --border: #e3e2e0;
  --border-soft: #f0f0ef;
  --border-strong: #d3d1cb;
  --bg: #ffffff;
  --bg-subtle: #f7f7f5;
  --accent: #2383e2;
  --accent-hover: #0073d2;
  --accent-wash: #e8f1fc;
  --red: #e5484d;
  --green: #30a46c;
  --yellow: #f6c453;
  --radius: 8px;
  --radius-sm: 6px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 72rem;
  --shadow: 0 18px 50px rgba(55, 53, 47, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav a:hover {
  color: var(--ink);
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(ellipse 70% 80% at 85% 0%, rgba(35, 131, 226, 0.12), transparent 55%),
    linear-gradient(180deg, #f7f7f5 0%, #ffffff 78%);
  border-bottom: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
  }
}

.hero-content {
  text-align: left;
  max-width: 40rem;
}

.hero-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
}

.hero-panel-kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.hero-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-panel-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}

.hero-panel-list li:last-child {
  border-bottom: none;
}

.hero-panel-list strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.hero-panel-list span {
  color: var(--muted);
  font-size: 0.88rem;
  text-align: right;
}

.hero-panel-note {
  margin: 8px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
}

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.trust-inner span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.8vw, 3.6rem);
  font-weight: 650;
  letter-spacing: -0.038em;
  line-height: 1.05;
  margin: 0 0 18px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  font-family: var(--font);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.1s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

/* Sections */
.section {
  padding: 80px 0;
  border-bottom: none;
}

.section-kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-header {
  margin-bottom: 32px;
  max-width: 36rem;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section-aside {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.section-aside:hover {
  color: var(--ink);
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 10px;
}

.section-header p,
.guarantee-grid > div > p {
  color: var(--muted);
  margin: 0;
  max-width: 34rem;
  line-height: 1.65;
}

/* Products */
.products-section {
  padding-top: 72px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 20px 16px;
  min-height: 100%;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.product-card:hover {
  border-color: #c9d8ea;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(35, 131, 226, 0.1);
}

.product-card-link {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  color: inherit;
  text-decoration: none;
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.provider-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
}

.provider-name {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.provider-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.stock {
  font-size: 0.78rem;
  color: var(--faint);
  white-space: nowrap;
}

.stock-low {
  color: var(--red);
  font-weight: 600;
}

.product-name {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.credit-line {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 14px;
}

.credit-line strong {
  color: var(--ink);
  font-weight: 600;
}

.product-description {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0 0 18px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.price {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.price-unit {
  font-size: 0.75rem;
  color: var(--faint);
}

/* How it works */
.how-section {
  background:
    linear-gradient(180deg, #f7f7f5 0%, #ffffff 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.step-number {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 650;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.guarantee-band {
  padding: 72px 0;
  background: #1f1e1b;
  color: #f7f6f3;
}

.guarantee-band .section-kicker {
  color: #8eb7e8;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 860px) {
  .guarantee-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }
}

.guarantee-grid h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 12px;
}

.guarantee-grid > div > p {
  color: #c8c6c1;
}

.guarantee-points {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.guarantee-points div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.guarantee-points strong {
  font-weight: 650;
}

.guarantee-points span {
  color: #c8c6c1;
  font-size: 0.95rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 860px) {
  .faq-layout {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 48px;
  }

  .faq-layout .section-header {
    position: sticky;
    top: 88px;
    margin-bottom: 0;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
}

.faq-item.open {
  border-color: #c9d8ea;
  box-shadow: 0 8px 24px rgba(35, 131, 226, 0.06);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  font: inherit;
  font-weight: 550;
  font-size: 0.98rem;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background-color 0.15s;
}

.faq-question:hover {
  background: var(--bg-subtle);
}

.faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--faint);
  transition: transform 0.2s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer-inner {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Support */
.support-section {
  padding-top: 0;
  padding-bottom: 88px;
}

.support-card {
  background:
    radial-gradient(ellipse 50% 90% at 100% 0%, rgba(35, 131, 226, 0.16), transparent 52%),
    #f7f7f5;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 48px;
  text-align: left;
}

.support-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.support-card p {
  margin: 0 0 24px;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.support-card .btn {
  text-decoration: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--faint);
}

.footer-inner p {
  margin: 0;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(55, 53, 47, 0.4);
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(55, 53, 47, 0.08);
  animation: slideUp 0.2s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--faint);
  padding: 4px;
  display: grid;
  place-items: center;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-close:hover {
  color: var(--ink);
}

.modal-panel h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.hidden {
  display: none;
}

.modal-product {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 4px;
}

.modal-price {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 20px;
}

.checkout-form {
  text-align: left;
}

.checkout-form label {
  display: block;
  margin: 0 0 6px;
  font-weight: 500;
  font-size: 0.88rem;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  background: var(--bg-subtle);
  color: var(--ink);
  outline: none;
  transition: background-color 0.15s, border-color 0.15s;
  margin-bottom: 16px;
}

.checkout-form input:focus,
.checkout-form select:focus {
  background: var(--bg);
  border-color: var(--accent);
}

.delivery-note {
  margin: 0 0 20px;
  font-size: 0.82rem;
  color: var(--faint);
  line-height: 1.5;
}

.checkout-error {
  margin: 14px 0 0;
  color: var(--red);
  font-size: 0.88rem;
  min-height: 1.4em;
}

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.loading .btn-text {
  opacity: 0.85;
}

.loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Payment panel */
.qr-wrap {
  display: flex;
  justify-content: center;
  margin: 8px 0 20px;
}

.qr-wrap svg {
  width: 200px;
  height: 200px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  background: var(--bg);
}

.address-box {
  margin-bottom: 16px;
}

.address-label {
  display: block;
  font-size: 0.8rem;
  color: var(--faint);
  margin-bottom: 6px;
}

.address {
  display: block;
  padding: 10px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  word-break: break-all;
  margin-bottom: 10px;
}

.pay-amount {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.pay-amount strong {
  color: var(--ink);
}

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

.status-dot.complete {
  background: var(--green);
}

.status-dot.failed {
  background: var(--red);
}

.status-text {
  font-size: 0.9rem;
  color: var(--ink);
}

.pay-progress {
  margin: 0;
  font-size: 0.82rem;
  color: var(--faint);
  min-height: 1.3em;
}

/* Success panel */
.modal-panel .success-mark {
  width: 44px;
  height: 44px;
  color: var(--green);
  margin-bottom: 14px;
}

#panel-success p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.success-note {
  font-size: 0.82rem !important;
  color: var(--faint) !important;
  margin-bottom: 20px;
}

.error-text {
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

@media (max-width: 640px) {
  .hero {
    padding: 48px 0 36px;
  }

  .hero-panel-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .hero-panel-list span {
    text-align: left;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .nav {
    gap: 14px;
  }

  .product-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .guarantee-points div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 0.82rem;
  }

  .nav-how,
  .nav-support {
    display: none;
  }
}

/* Product detail page */
.product-detail {
  max-width: 58rem;
  margin: 0 auto;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1.4fr 0.6fr;
    gap: 48px;
  }
}

.product-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.product-detail-name {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.product-detail-credit {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 18px;
}

.product-detail-credit strong {
  color: var(--ink);
  font-weight: 600;
}

.product-detail-description {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 28px;
}

.product-detail-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
}

.feature-check {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.buy-card {
  position: sticky;
  top: 80px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.buy-price {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.buy-price-unit {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.buy-total {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 20px;
}

.buy-card label {
  display: block;
  margin: 0 0 8px;
  font-weight: 500;
  font-size: 0.9rem;
}

.qty-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 8px;
}

.qty-row input {
  width: 80px;
  text-align: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  background: var(--bg);
  color: var(--ink);
  outline: none;
  -moz-appearance: textfield;
}

.qty-row input::-webkit-outer-spin-button,
.qty-row input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-btn {
  width: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s;
}

.qty-btn:hover:not(:disabled) {
  background: var(--bg-subtle);
}

.qty-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.stock-note {
  font-size: 0.8rem;
  color: var(--faint);
  margin: 0 0 20px;
}

.buy-card .btn {
  margin-bottom: 10px;
}

/* Checkout page */
.checkout-layout {
  max-width: 520px;
  margin: 0 auto;
}

.checkout-main h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

.checkout-loading {
  text-align: center;
  padding: 48px 0;
}

.checkout-loading p {
  color: var(--muted);
  margin: 16px 0 0;
}

.spinner {
  width: 32px;
  height: 32px;
  margin: 0 auto;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.order-summary,
.pay-summary {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-soft);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-label {
  color: var(--muted);
}

.summary-value {
  font-weight: 500;
  text-align: right;
}

.summary-total {
  font-size: 1.05rem;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}

.summary-total .summary-value {
  font-weight: 600;
}

.payment-panel h1,
.success-panel h1 {
  margin-bottom: 16px;
}

.success-panel {
  text-align: center;
}

.success-panel .success-mark {
  width: 44px;
  height: 44px;
  color: var(--green);
  margin: 0 auto 14px;
}

.success-panel p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 12px;
}

.success-panel .success-note {
  font-size: 0.82rem;
  color: var(--faint);
  margin-bottom: 24px;
}

.error-page {
  text-align: center;
  padding: 32px 0;
}

.error-page .error-text {
  margin-bottom: 20px;
}

/* Asset selector */
.asset-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

@media (min-width: 480px) {
  .asset-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.asset-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.asset-option:hover {
  border-color: var(--border-strong);
  background: var(--bg-subtle);
}

.asset-option.selected {
  border-color: var(--accent);
  background: var(--accent-wash);
  box-shadow: 0 0 0 1px var(--accent);
}

.asset-option:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.asset-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-subtle);
}

.asset-logo-fallback {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-wash);
  flex-shrink: 0;
}

.asset-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.asset-symbol {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.asset-chain {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
