/* ai-kw-generator 深色主题 — Checkout */

[data-checkout-section] .checkout-section__hidden {
  display: none !important;
}

[data-checkout-section] .checkout-section__auth,
[data-checkout-section] .checkout-section__empty {
  padding: 0;
}

[data-checkout-section] .checkout-section__auth-message,
[data-checkout-section] .checkout-section__empty-text {
  margin: 0;
}

[data-checkout-section] .checkout-section__layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  [data-checkout-section] .checkout-section__layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }
}

[data-checkout-section] .checkout-section__block-title {
  margin: 0;
}

[data-checkout-section] .checkout-section__table-wrap {
  overflow: hidden;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(52.78% 57.9% at 3.87% 7.86%, var(--color-background-3, #1a1a2e), var(--color-background-5, #0f0f1a));
}

[data-checkout-section] .checkout-section__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-inter-tight, inherit);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
}

[data-checkout-section] .checkout-section__table th,
[data-checkout-section] .checkout-section__table td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-checkout-section] .checkout-section__table tbody tr:last-child td {
  border-bottom: none;
}

[data-checkout-section] .checkout-section__table th {
  font-family: var(--font-ibm-plex-mono, inherit);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

[data-checkout-section] .checkout-section__product {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

[data-checkout-section] .checkout-section__product-image {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 0.5rem;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

[data-checkout-section] .checkout-section__product-name {
  font-family: var(--font-sora, inherit);
  font-weight: 400;
  color: #fff;
}

[data-checkout-section] .checkout-section__mobile-list {
  display: none;
  margin-bottom: 1.5rem;
}

@media (max-width: 1023px) {
  [data-checkout-section] .checkout-section__table-wrap {
    display: none;
  }

  [data-checkout-section] .checkout-section__mobile-list {
    display: block;
  }
}

[data-checkout-section] .checkout-section__mobile-item {
  margin-bottom: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(52.78% 57.9% at 3.87% 7.86%, var(--color-background-3, #1a1a2e), var(--color-background-5, #0f0f1a));
}

[data-checkout-section] .checkout-section__mobile-meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

[data-checkout-section] .checkout-section__panel {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
}

[data-checkout-section] .checkout-section__panel-title {
  margin: 0 0 1rem;
}

[data-checkout-section] .checkout-section__hint,
[data-checkout-section] .checkout-section__loading {
  margin: 0 0 0.75rem;
}

[data-checkout-section] .checkout-section__options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

[data-checkout-section] .checkout-section__radio,
[data-checkout-section] .checkout-section__address {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

[data-checkout-section] .checkout-section__radio:hover,
[data-checkout-section] .checkout-section__address:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

[data-checkout-section] .checkout-section__radio:has(input:checked),
[data-checkout-section] .checkout-section__address:has(input:checked) {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

[data-checkout-section] .checkout-section__radio input,
[data-checkout-section] .checkout-section__address input {
  margin-top: 0.2rem;
  accent-color: #fff;
}

[data-checkout-section] .checkout-section__address-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

[data-checkout-section] .checkout-section__address-body strong {
  color: #fff;
  font-weight: 500;
}

[data-checkout-section] .checkout-section__address-lines {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

[data-checkout-section] .checkout-section__alert {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
}

[data-checkout-section] .checkout-section__summary {
  padding: 1.5rem;
}

[data-checkout-section] .checkout-section__summary-title {
  margin: 0 0 1rem;
}

[data-checkout-section] .checkout-section__summary-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

[data-checkout-section] .checkout-section__summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  font-family: var(--font-inter-tight, inherit);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

[data-checkout-section] .checkout-section__summary-list li span:last-child {
  color: #fff;
}

[data-checkout-section] .checkout-section__summary-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-sora, inherit);
  font-size: 1.0625rem;
  font-weight: 400;
  color: #fff;
}

[data-checkout-section] .checkout-section__currency {
  margin: 0 0 1rem;
  font-family: var(--font-inter-tight, inherit);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

[data-checkout-section] .checkout-section__currency strong {
  color: #fff;
}

[data-checkout-section] .checkout-section__pay-btn {
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

[data-checkout-section] .checkout-section__pay-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

[data-checkout-section] .checkout-section__pay-btn--ready:not(:disabled) {
  opacity: 1;
}

[data-checkout-section] .checkout-section__pay-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

[data-checkout-section] .checkout-section__back-cart {
  margin-top: 1rem;
  text-align: center;
}

[data-checkout-section] .checkout-section__link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

[data-checkout-section] .checkout-section__link:hover {
  color: #fff;
}

[data-checkout-section] .checkout-section__cta {
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

[data-checkout-section] .checkout-section__cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}
