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

[data-checkout-section] .checkout-section__auth,
[data-checkout-section] .checkout-section__empty {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 1rem;
  border: 1px dashed color-mix(in srgb, var(--color-stroke-1, #e5e5e5) 100%, transparent);
  background: color-mix(in srgb, var(--color-background-2, #f5f5f5) 50%, transparent);
}

[data-checkout-section] .checkout-section__auth-message,
[data-checkout-section] .checkout-section__empty-text {
  margin: 0 0 1.5rem;
  color: color-mix(in srgb, var(--color-secondary, #1a1a1a) 70%, transparent);
}

[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 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

[data-checkout-section] .checkout-section__table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-stroke-1, #e5e5e5) 100%, transparent);
  background: var(--color-background-1, #fff);
}

[data-checkout-section] .checkout-section__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

[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 color-mix(in srgb, var(--color-stroke-1, #e5e5e5) 60%, transparent);
}

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

[data-checkout-section] .checkout-section__product-image {
  width: 56px;
  height: 56px;
  border-radius: 0.5rem;
  object-fit: cover;
  flex-shrink: 0;
}

[data-checkout-section] .checkout-section__product-name {
  font-weight: 600;
}

[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 {
  padding: 1rem;
  margin-bottom: 0.75rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-stroke-1, #e5e5e5) 100%, transparent);
  background: var(--color-background-1, #fff);
}

[data-checkout-section] .checkout-section__mobile-meta {
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--color-secondary, #1a1a1a) 65%, transparent);
}

[data-checkout-section] .checkout-section__panel {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-stroke-1, #e5e5e5) 100%, transparent);
  background: var(--color-background-1, #fff);
}

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

[data-checkout-section] .checkout-section__hint,
[data-checkout-section] .checkout-section__loading {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-secondary, #1a1a1a) 65%, transparent);
}

[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 color-mix(in srgb, var(--color-stroke-1, #e5e5e5) 100%, transparent);
  cursor: pointer;
}

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

[data-checkout-section] .checkout-section__address-lines {
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--color-secondary, #1a1a1a) 65%, transparent);
}

[data-checkout-section] .checkout-section__alert {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  border: 1px solid color-mix(in srgb, #ef4444 35%, transparent);
  background: color-mix(in srgb, #ef4444 8%, transparent);
  color: #b91c1c;
}

[data-checkout-section] .checkout-section__summary {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-stroke-1, #e5e5e5) 100%, transparent);
  background: var(--color-background-1, #fff);
}

[data-checkout-section] .checkout-section__summary-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

[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-size: 0.9375rem;
}

[data-checkout-section] .checkout-section__summary-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  margin-bottom: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--color-stroke-1, #e5e5e5) 100%, transparent);
  font-size: 1.0625rem;
  font-weight: 700;
}

[data-checkout-section] .checkout-section__currency {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--color-secondary, #1a1a1a) 65%, transparent);
}

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

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

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

[data-checkout-section] .checkout-section__link {
  font-size: 0.875rem;
  color: var(--color-primary-500, #6366f1);
  text-decoration: none;
}

[data-checkout-section] .checkout-section__link:hover {
  opacity: 0.85;
}
