.checkout-body {
  background: #f6eff5;
  color: var(--deep);
}
.checkout-header {
  color: var(--deep);
}
.checkout {
  min-height: 100svh;
  padding: 150px clamp(22px, 6vw, 90px) 100px;
  background:
    radial-gradient(circle at 75% 22%, #fff9, transparent 35%),
    linear-gradient(90deg, transparent 49.9%, #583fa11c 50%, transparent 50.1%), #f6eff5;
}
.checkout__intro {
  max-width: 920px;
  margin: auto auto 55px;
}
.checkout__eyebrow,
.checkout__book span {
  font: 11px var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #76599b;
}
.checkout h1,
.checkout h2 {
  font-family: var(--font-display);
  font-weight: 400;
}
.checkout h1 {
  font-size: clamp(64px, 9vw, 135px);
  line-height: 0.9;
  margin: 20px 0;
}
.checkout h1 em {
  font-style: normal;
  color: #a269b4;
}
.checkout__intro > p:last-child {
  max-width: 570px;
  line-height: 1.7;
}
.checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(40px, 8vw, 120px);
  max-width: 920px;
  margin: auto;
}
.checkout__steps {
  display: grid;
  gap: 18px;
}
.checkout__step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding: 27px;
  border: 1px solid #8f70a640;
  border-radius: 18px;
  background: #ffffffa8;
  box-shadow: 0 20px 50px #4a2c7010;
}
.checkout__step[hidden],
.checkout__button[hidden] {
  display: none;
}
.checkout__step > span {
  color: #9b6bad;
}
.checkout__step h2 {
  font-size: 36px;
  margin: 0 0 8px;
}
.checkout__step p {
  font-size: 14px;
  line-height: 1.6;
}
.checkout__step label {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  font-size: 13px;
}
.checkout__step select {
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid #8f70a660;
  border-radius: 8px;
  background: white;
  font: inherit;
}
.checkout__step .checkout__check {
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}
.checkout__check input {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: #6744a9;
}
.checkout__button {
  display: inline-flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  padding: 15px 19px;
  border: 0;
  border-radius: 999px;
  background: #583fa1;
  color: white;
  font: 13px var(--font-body);
  cursor: pointer;
}
.checkout__button:disabled {
  opacity: 0.6;
}
.checkout__book {
  align-self: start;
  position: sticky;
  top: 120px;
  padding: 20px;
  background: #35244f;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 70px #3d236744;
}
.checkout__book img {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}
.checkout__book div {
  padding: 20px 6px 8px;
}
.checkout__book span {
  color: #d9b8e7;
}
.checkout__book h2 {
  font-size: 34px;
  line-height: 1;
  margin: 10px 0;
}
.checkout__book p {
  font-size: 13px;
}
.checkout__book strong {
  display: block;
  padding-top: 15px;
  border-top: 1px solid #ffffff40;
  font-size: 14px;
}
html[data-theme='dark'] .checkout-body,
html[data-theme='dark'] .checkout {
  background: #241733;
  color: #f4e7f4;
}
html[data-theme='dark'] .checkout-header {
  color: #f4e7f4;
}
html[data-theme='dark'] .checkout__step {
  background: #38254d;
  border-color: #d8b1e255;
}
html[data-theme='dark'] .checkout__step select {
  background: #271934;
  color: white;
}
html[data-theme='dark'] .checkout__eyebrow {
  color: #d9b8e7;
}
@media (max-width: 750px) {
  .checkout {
    padding-top: 115px;
  }
  .checkout__layout {
    grid-template-columns: 1fr;
  }
  .checkout__book {
    position: static;
    grid-row: 1;
    display: flex;
    gap: 18px;
  }
  .checkout__book img {
    width: 110px;
  }
  .checkout__book div {
    padding: 0;
  }
  .checkout__book h2 {
    font-size: 25px;
  }
}
