.checkout-shell {
  max-width: 1110px;
  min-height: 80vh;
  margin: auto;
  padding: clamp(22px, 5vw, 56px) clamp(16px, 4vw, 32px) 60px;
  color: #f8f5ff;
}
.checkout-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-bottom: 22px;
  font-size: 14px;
}
.checkout-nav a, .checkout-aside-links a, .checkout-text-link,
.checkout-inset a, .checkout-agreement a {
  color: #d6baff;
}
.checkout-nav a:hover, .checkout-aside-links a:hover, .checkout-text-link:hover,
.checkout-inset a:hover, .checkout-agreement a:hover { text-decoration: underline; }
.checkout-session { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.checkout-session span { color: #c3bbd0; overflow-wrap: anywhere; }
.checkout-session button { padding: 7px 10px; background: transparent; cursor: pointer; width: auto; }
.checkout-auth-error, #checkout-title + .checkout-muted + .checkout-inset { margin-top: 15px; }
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 310px);
  align-items: start;
  gap: 22px;
}
.checkout-card, .checkout-aside {
  min-width: 0;
  border: 1px solid #3c304a;
  border-radius: 22px;
  background: linear-gradient(145deg, #20182c, #15121d 60%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .27);
}
.checkout-card { padding: clamp(19px, 4vw, 38px); }
.checkout-aside { padding: 25px; }
.checkout-card h1 {
  margin: 0 0 15px;
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.13;
  overflow-wrap: anywhere;
}
.checkout-aside h2 { font-size: 20px; line-height: 1.35; overflow-wrap: anywhere; }
.checkout-eyebrow {
  margin-bottom: 11px;
  color: #d6baff;
  font-size: 13px;
  font-weight: 700;
}
.checkout-muted { color: #c3bbd0; font-size: 15px; line-height: 1.6; }
.checkout-price { margin: 13px 0 4px; font-size: 32px; font-weight: 800; }
.checkout-aside-links { margin-top: 19px; padding-top: 17px; border-top: 1px solid #3c304a; }
.checkout-aside-links p { margin-top: 8px; font-size: 13px; }
.checkout-choices, .checkout-form { display: grid; gap: 12px; margin-top: 23px; }
fieldset.checkout-choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.checkout-choice, .checkout-inset, .checkout-upload {
  border: 1px solid #443650;
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
}
.checkout-choice {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
}
.checkout-choice:hover, .checkout-choice:has(:checked) {
  border-color: #bc84ff;
  background: rgba(138, 43, 226, .13);
}
.checkout-choice i { font-size: 20px; color: #d6baff; }
.checkout-choice span { flex: 1; }
.checkout-choice input, .checkout-agreement input { width: 17px; height: 17px; accent-color: #ac70fb; }
.checkout-agreement { display: flex; gap: 10px; align-items: start; margin: 8px 0; font-size: 14px; }
.checkout-agreement input { flex: 0 0 auto; margin-top: 1px; }
.checkout-agreement a { text-decoration: underline; }
.checkout-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 9px; margin-top: 8px; }
.checkout-actions > .btn-more-outline, .checkout-secondary button { background: transparent; cursor: pointer; }
.checkout-secondary { margin-top: 13px; }
.checkout-form > .btn-buy-large { justify-self: start; }
.checkout-order-list { list-style: none; padding: 0; margin-bottom: 18px; }
.checkout-order-list small { display: block; margin-top: 3px; color: #c3bbd0; }
.checkout-alert {
  margin-bottom: 15px;
  padding: 13px 15px;
  border: 1px solid #7b4558;
  border-radius: 12px;
  background: #3a1e2a;
  color: #ffd7e0;
  line-height: 1.5;
}
.checkout-phases {
  display: flex;
  gap: 7px;
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
}
.checkout-phases li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1;
  padding: 8px 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  color: #c3bbd0;
  font-size: 13px;
  font-weight: 700;
}
.checkout-phases [aria-current="step"] {
  background: #493169;
  color: #fff;
  box-shadow: inset 0 0 0 1px #8652c0;
}
.checkout-phases .is-done { color: #d0c4f5; }
.checkout-inset { padding: 17px; margin: 0 0 16px; overflow-wrap: anywhere; }
.checkout-inset strong { display: block; }
.checkout-inset a { display: inline-block; margin-top: 7px; }
.checkout-account { margin-top: 7px; white-space: pre-line; line-height: 1.6; }
.checkout-upload {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  padding: 18px;
  border-style: dashed;
}
.checkout-upload i { color: #d6baff; font-size: 27px; }
.checkout-upload small { display: block; color: #c3bbd0; margin-top: 4px; }
.checkout-upload input {
  width: 100%;
  color: #e9e0f5;
  font: inherit;
  font-size: 14px;
}
.checkout-upload input::file-selector-button {
  border: 1px solid #59456b;
  border-radius: 8px;
  padding: 7px 10px;
  margin: 0 9px 0 0;
  background: #30253c;
  color: #fff;
  cursor: pointer;
}
.checkout-progress { display: block; width: 100%; height: 8px; margin-bottom: 17px; accent-color: #ac70fb; }
.checkout-text-link { display: inline-block; margin: 12px 0 0; font-size: 14px; }
.checkout-image {
  position: relative;
  display: block;
  margin-top: 13px;
  overflow: hidden;
  border: 1px solid #4b3b5e;
  border-radius: 14px;
  background: #0e0b13;
}
.checkout-image img { display: block; width: 100%; max-height: 365px; object-fit: contain; }
.checkout-image span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 9px;
  border-radius: 7px;
  color: #fff;
  background: #211830;
  font-size: 12px;
}
.checkout-field { display: grid; gap: 7px; font-size: 14px; font-weight: 700; }
.checkout-field input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #59456b;
  border-radius: 10px;
  color: #fff;
  background: #110d17;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}
.checkout-field input::placeholder { color: #ae9fbb; }
.checkout-shell :focus-visible, .nav-orders:focus-visible { outline: 2px solid #d6baff; outline-offset: 3px; }
.checkout-summary { margin-top: 16px; }
.checkout-summary > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #392e45;
  font-size: 14px;
}
.checkout-summary dt { color: #c3bbd0; }
.checkout-summary dd { margin: 0; overflow-wrap: anywhere; }
.checkout-state { text-align: center; padding: 16px 0 8px; }
.checkout-state > i { display: inline-block; margin-bottom: 10px; color: #d6baff; font-size: 44px; }
.checkout-state a { display: inline-flex; margin-top: 20px; }
.checkout-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

@media (max-width: 760px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .checkout-aside { padding: 19px; }
}
@media (max-width: 440px) {
  .checkout-actions > *, .checkout-form > .btn-buy-large { width: 100%; }
}
