.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 32, .42);
}

.checkout-panel {
  position: relative;
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px -34px rgba(16, 24, 32, .65);
  padding: 24px;
}

.checkout-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink-2);
  font-size: 24px;
}

.checkout-panel h2 {
  font-size: 28px;
}

.checkout-panel p {
  margin-top: 10px;
  color: var(--ink-2);
}

.checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
}

.checkout-message,
.checkout-form button,
.checkout-status {
  grid-column: 1 / -1;
}

.checkout-form button {
  min-height: 46px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.checkout-status {
  min-height: 20px;
  color: var(--ink-3);
  font-size: 13px;
}

.quote-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quote-actions .btn {
  justify-content: center;
  width: 100%;
}

@media (max-width: 560px) {
  .checkout-form,
  .quote-actions {
    grid-template-columns: 1fr;
  }
}
