.checkout-wrap {
  max-width: 1120px;
  margin: 60px auto 100px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.checkout-intro h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  margin: 24px 0;
}
.checkout-intro p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 440px;
}
.checkout-card {
  background: #fff;
  border: 1px solid #d8dfd1;
  padding: 36px;
  min-width: 0;
}
.checkout-card h2 {
  font-size: 26px;
  margin: 12px 0 22px;
}
.checkout-card label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 18px 0;
  font-weight: 600;
  font-size: 16px;
}
.checkout-card input,
.checkout-card select {
  font: inherit;
  padding: 13px 12px;
  border: 1px solid #aebbad;
  background: #fff;
  color: #1c332d;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0;
}
.checkout-card input:focus,
.checkout-card select:focus {
  outline: 2px solid #1c332d;
  outline-offset: 2px;
}
.checkout-card small,
.checkout-note {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  color: #535f56;
}
.checkout-card .button {
  font: inherit;
  cursor: pointer;
  margin-top: 12px;
  border: 1px solid #1c332d;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.checkout-card .primary {
  background: #1c332d;
  color: #fff;
}
.checkout-card .secondary {
  background: #fff;
  color: #1c332d;
}
.checkout-card button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checkout-price {
  font-size: 28px;
  font-weight: 600;
  background: #edf1e6;
  padding: 20px;
}
.text-button {
  display: block;
  background: none;
  border: 0;
  padding: 16px 0 0;
  color: #1c332d;
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
}
.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#message {
  line-height: 1.55;
  color: #8b3028;
}
#message:empty {
  display: none;
}
#progress {
  color: #535f56;
  font-size: 14px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .checkout-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }
  .checkout-card {
    padding: 24px;
  }
  .checkout-intro h1 {
    font-size: 40px;
  }
  .checkout-intro p {
    max-width: none;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.password-field {
  position: relative;
}
.password-field input {
  width: 100%;
  padding-right: 4.5rem;
}
.password-toggle {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  min-width: 4rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}
.password-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}
