.checkout {
  min-height: calc(100vh - 76px);
  padding: 48px 0 88px;
  background: #faf8f4;
}

.checkout__container {
  max-width: 1040px;
}

.checkout__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #200829;
  font-size: 13px;
  font-weight: 700;
}

.checkout__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
  border: 1px solid rgba(32, 8, 41, .08);
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(32, 8, 41, .11);
}

.checkout__summary {
  padding: clamp(30px, 5vw, 52px);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(212, 154, 42, .2), transparent 40%),
    #200829;
}

.checkout__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #d49a2a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.checkout__summary h1 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.checkout__summary > p {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.7;
}

.checkout__amount {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 32px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.checkout__amount span { color: rgba(255,255,255,.68); }
.checkout__amount strong { color: #d49a2a; font-size: 21px; }

.checkout__trust {
  display: grid;
  gap: 12px;
}

.checkout__trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.78);
  font-size: 12.5px;
}

.checkout__trust i {
  width: 18px;
  color: #d49a2a;
  text-align: center;
}

.checkout__form-card {
  padding: clamp(30px, 5vw, 52px);
}

.checkout__form-card h2 {
  margin-bottom: 8px;
  color: #200829;
  font-family: var(--font-display);
  font-size: 28px;
}

.checkout__intro {
  margin-bottom: 24px;
  color: #6c626e;
  font-size: 13.5px;
  line-height: 1.65;
}

.checkout__form {
  display: grid;
  gap: 17px;
}

.checkout__form label > span {
  display: block;
  margin-bottom: 7px;
  color: #200829;
  font-size: 12px;
  font-weight: 700;
}

.checkout__form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(32, 8, 41, .16);
  border-radius: 11px;
  color: #200829;
  background: #fff;
  font: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.checkout__form input:focus {
  border-color: #d49a2a;
  box-shadow: 0 0 0 3px rgba(212, 154, 42, .14);
}

.checkout__form small {
  display: block;
  margin-top: 5px;
  color: #766c79;
  font-size: 11px;
}

.checkout__submit {
  justify-content: center;
  width: 100%;
  margin-top: 4px;
}

.checkout__submit:disabled {
  cursor: not-allowed;
  opacity: .5;
  transform: none;
}

.checkout__legal {
  color: #817783;
  font-size: 10.5px;
  line-height: 1.5;
  text-align: center;
}

.checkout__alert {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(173, 49, 49, .2);
  border-radius: 10px;
  color: #812f2f;
  background: #fff5f4;
  font-size: 12.5px;
}

.checkout__alert--warning {
  color: #71500f;
  border-color: rgba(212, 154, 42, .3);
  background: #fff9e9;
}

.checkout__alert a { font-weight: 700; text-decoration: underline; }

.checkout__unavailable {
  max-width: 620px;
  margin: 0 auto;
  padding: 52px 30px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(32, 8, 41, .1);
  text-align: center;
}

.checkout__unavailable > i { color: #d49a2a; font-size: 50px; }
.checkout__unavailable h1 { margin: 18px 0 8px; color: #200829; }
.checkout__unavailable p { margin-bottom: 22px; color: #6c626e; }

@media (max-width: 820px) {
  .checkout__grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .checkout { padding-top: 30px; }
  .checkout__grid { border-radius: 20px; }
  .checkout__amount { align-items: flex-end; flex-direction: column; }
}

