@font-face {
  font-family: Manrope;
  src: url(fonts/manrope-latin-variable.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url(fonts/manrope-latin-ext-variable.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-024F;
}
.checkout-body {
  display: flow-root;
  background: #fffcf7;
  color: #39233f;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  padding: 0;
}
.payment-header {
  width: min(1360px, calc(100% - 48px));
  min-height: 75px;
  margin: 22px auto 0;
  padding: 13px 20px;
  border: 1px solid #e8e0f0;
  background: #ffffffed;
  border-radius: 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 14px;
  z-index: 50;
  backdrop-filter: blur(18px);
}
.payment-header a {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #39233f;
  text-decoration: none;
  font-weight: 800;
}
.payment-header a:first-child {
  font-size: 20px;
  letter-spacing: -0.04em;
}
.payment-header img {
  width: 38px;
  height: 38px;
}
.payment-header a:last-child {
  font-size: 13px;
  font-weight: 600;
}
.checkout-shell {
  display: grid;
  width: min(1360px, calc(100% - 48px));
  max-width: none;
  min-height: 0;
  grid-template-columns: minmax(0, 1.58fr) minmax(340px, 0.95fr);
  align-items: start;
  gap: 16px;
  margin: 8px auto 0;
  padding: 0 0 28px;
}
.checkout-shell > * {
  min-width: 0;
}
.checkout-body:has(.checkout-form) .checkout-shell {
  padding-bottom: 8px;
}
.checkout-panel,
.checkout-summary {
  min-width: 0;
  border: 1px solid #eadfe8;
  border-radius: 25px;
  box-shadow: 0 12px 36px #59405b0b;
}
.checkout-panel {
  background: #fffefa;
  padding: 26px 30px 20px;
}
.checkout-panel .eyebrow,
.checkout-summary .eyebrow {
  margin: 0 0 12px;
  color: #865f91;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.checkout-panel h1 {
  margin: 0;
  color: #452044;
  font-family: Georgia, serif;
  font-size: clamp(44px, 3.8vw, 60px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.045em;
}
.checkout-intro {
  max-width: 580px;
  margin: 8px 0 0;
  color: #76647c;
  font-size: 13px;
  line-height: 1.55;
}
.checkout-panel .alert {
  margin-top: 18px;
}
.checkout-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 18px;
  margin-top: 14px;
}
.checkout-form input {
  margin-top: 0;
}
.checkout-form [hidden] {
  display: none !important;
}
.checkout-body .field {
  min-width: 0;
  gap: 5px;
}
.checkout-body .field label {
  color: #49324d;
  font-size: 13px;
  font-weight: 680;
}
.checkout-body .field-help {
  color: #78697f;
  font-size: 11px;
  line-height: 1.5;
}
.checkout-body input,
.checkout-body textarea,
.checkout-body select {
  border: 1px solid #dcd0df;
  border-radius: 10px;
  background: #fff;
  color: #3d2a45;
  box-shadow: none;
  font-family: inherit;
}
.checkout-body .field input {
  min-height: 42px;
}
.checkout-body textarea {
  min-height: 60px;
}
.checkout-body input:focus-visible,
.checkout-body textarea:focus-visible {
  outline: 2px solid #8d68aa;
  outline-offset: 2px;
  border-color: #8d68aa;
}
.checkout-body input[type="checkbox"],
.checkout-body input[type="radio"] {
  accent-color: #68416a;
}
.checkout-body .checkout-consents {
  gap: 5px;
  margin-top: 0;
  padding-top: 9px;
  border-top: 1px solid #eee5ee;
}
.checkout-body .checkout-consents label {
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: #54475a;
  font-size: 12px;
  line-height: 1.35;
}
.checkout-body .checkout-consents input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
}
.checkout-body .checkout-consents a {
  color: #65416d;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.checkout-summary {
  position: sticky;
  top: 20px;
  padding: clamp(28px, 2.5vw, 36px);
  background: #fbf4ff;
  color: #442b49;
}
.summary-illustration {
  display: block;
  width: min(100%, 340px);
  height: 160px;
  margin: -5px auto 9px;
  object-fit: contain;
}
.checkout-summary h2 {
  margin: 0;
  color: #452044;
  font-family: Georgia, serif;
  font-size: clamp(32px, 2.7vw, 43px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.checkout-product {
  margin: 7px 0 13px;
  color: #775f80;
  font-size: 12px;
}
.checkout-summary .checkout-price {
  margin: 0;
  color: #452044;
  font-family: Georgia, serif;
  font-size: clamp(40px, 3.5vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}
.checkout-summary .checkout-tax {
  margin: 6px 0 0;
  color: #786880;
  font-size: 11px;
}
.checkout-summary .checkout-points {
  display: grid;
  gap: 9px;
  margin: 18px 0 21px;
  padding: 0;
  list-style: none;
}
.checkout-summary .checkout-points li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #49334d;
  font-size: 13px;
  font-weight: 600;
}
.checkout-body .status-icon {
  flex: none;
  width: 21px;
  height: 21px;
  background: #eadcf0;
  color: #70477f;
}
.checkout-body .button-primary {
  border-color: #674ac2;
  border-radius: 13px;
  background: #674ac2;
  color: #fff;
}
.checkout-body .button {
  min-height: 38px;
  gap: 7px;
  padding: 8px 14px;
  line-height: 1.1;
}
.checkout-body .button-primary:hover {
  border-color: #553aa9;
  background: #553aa9;
}
.checkout-body .button-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}
.checkout-body .checkout-pay {
  min-height: 54px;
  justify-content: space-between;
  padding: 12px 19px;
  font-size: 15px;
}
.checkout-pay span:last-child {
  font-size: 22px;
  line-height: 0.8;
}
.checkout-pay-mobile {
  display: none;
}
.checkout-summary .checkout-note,
.checkout-summary .checkout-merchant {
  margin: 13px 0 0;
  color: #786880;
  font-size: 10px;
  line-height: 1.55;
}
.checkout-body .checkout-message {
  grid-column: 1/-1;
  width: min(820px, 100%);
  max-width: 820px;
  margin: auto;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid #eadff0;
  border-radius: 25px;
  background: #fffdfb;
  box-shadow: 0 20px 60px #3e205515;
  color: #362044;
}
.checkout-body .storefront-error h1 {
  margin: 0 0 13px;
  color: #452044;
  font-family: Georgia, serif;
  font-size: clamp(34px, 3.5vw, 46px);
  font-weight: 600;
  line-height: 1.1;
}
.preview-notice {
  grid-column: 1 / -1;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 10px 15px;
  border: 1px solid #e4d4bb;
  border-radius: 10px;
  background: #fff8e9;
  color: #76522a;
  font-size: 12px;
  font-weight: 700;
}
.checkout-body .result-card h1 {
  margin: 0;
  color: #452044;
  font-family: Georgia, serif;
  font-size: clamp(34px, 3.5vw, 46px);
  font-weight: 600;
  line-height: 1.1;
}
.result-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 106px;
}
.result-hero .eyebrow {
  margin: 0 0 9px;
  color: #865f91;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.license-delivery {
  margin: 17px 0;
  padding: 22px;
  border: 0;
  border-radius: 17px;
  background: #f0e8f8;
}
.license-delivery code {
  display: block;
  padding: 18px;
  border-radius: 10px;
  background: #fff;
  color: #4d3371;
  font-size: 20px;
  overflow-wrap: anywhere;
  white-space: normal;
}
.license-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.checkout-body .button-secondary {
  border-color: #cbb8d9;
  background: #fff;
  color: #5c3766;
}
.checkout-body .button-secondary:hover {
  border-color: #8c65a0;
  background: #faf6fc;
}
.license-delivery small {
  display: block;
  margin-top: 17px;
  color: #756184;
}
.license-delivery [data-download-status] {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.license-delivery [data-download-status]:empty {
  display: none;
}
.checkout-body .result-status {
  display: grid;
  gap: 4px;
  margin: 17px 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.checkout-body .result-status strong {
  font-size: 14px;
}
.result-guidance {
  padding: 16px;
  border-radius: 12px;
  background: #f5eef8;
  line-height: 1.55;
}
.result-detail {
  margin-top: 19px;
  padding-top: 19px;
  border-top: 1px solid #ebdfea;
}
.result-detail h2 {
  margin: 0 0 8px;
  color: #493259;
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 600;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 20px 0 15px;
}
.result-actions .refund-request {
  margin: 0;
}
.result-card > .checkout-note {
  max-width: none;
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid #ebdfea;
  line-height: 1.55;
}
.checkout-body .policy-document {
  grid-column: 1/-1;
  max-width: 800px;
  margin: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.checkout-body .policy-return {
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 700;
}
.checkout-body .policy-return a,
.checkout-body .policy-links a {
  color: #674ac2;
}
.checkout-body .policy-section p {
  color: #5d5264;
}
.checkout-body :focus-visible {
  outline-color: #9178cf;
}
.legal-storefront .checkout-shell {
  padding-bottom: 70px;
}
@media (max-width: 1100px) {
  .payment-header a:first-child {
    font-size: 18px;
  }
}
.checkout-body .policy-document > .eyebrow {
  margin: 0 0 13px;
  color: #865f91;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.checkout-body .policy-document h1 {
  margin: 0 0 25px;
  color: #452044;
  font-family: Georgia, serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.08;
}
.checkout-body .policy-section h2 {
  color: #493259;
  font-family: Georgia, serif;
  font-size: 28px;
}
.checkout-body .environment-production,
.checkout-body .brand-mark {
  display: none;
}
.checkout-body .definition-list {
  font-size: 14px;
}
.result-card {
  position: relative;
}
.result-illustration {
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  object-fit: contain;
  pointer-events: none;
}
@media (min-width: 901px) {
  .checkout-shell {
    align-items: stretch;
  }
  .checkout-panel,
  .checkout-summary {
    display: flex;
    flex-direction: column;
  }
  .checkout-form {
    flex: 1;
    align-content: space-between;
  }
  .checkout-summary {
    justify-content: space-between;
  }
}
@media (min-width: 1200px) {
  .checkout-form .field:has(#identity_number),
  .checkout-form .field:has(#address) {
    grid-column: auto;
  }
  .checkout-form-international {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .checkout-form-international .field {
    grid-column: span 2;
  }
  .checkout-form-international .field:has(#first_name),
  .checkout-form-international .field:has(#last_name) {
    grid-column: span 1;
    align-self: start;
  }
  .checkout-form-international .field:has(#identity_number),
  .checkout-form-international .field:has(#address) {
    grid-column: span 2;
  }
  .checkout-form-international .checkout-consents {
    grid-column: 1 / -1;
  }
}
@media (max-width: 1000px) {
  .checkout-shell {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.7fr);
  }
  .checkout-panel {
    padding: 30px;
  }
  .checkout-summary {
    padding: 28px;
  }
}
@media (max-width: 900px) {
  .payment-header {
    padding: 12px 15px;
    min-height: 56px;
    top: 8px;
  }
  .checkout-shell {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 16px;
  }
  .checkout-summary {
    position: static;
    order: -1;
  }
  .summary-illustration {
    display: none;
  }
  .checkout-summary .checkout-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    margin: 15px 0 0;
  }
  .checkout-pay-desktop {
    display: none;
  }
  .checkout-pay-mobile {
    display: flex;
  }
  .checkout-body .checkout-message {
    padding: 25px;
  }
  .checkout-body .result-card h1 {
    font-size: 30px;
  }
  .result-illustration {
    width: 82px;
    height: 82px;
  }
}
@media (min-width: 680px) and (max-width: 900px) {
  .checkout-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
  .checkout-summary .eyebrow,
  .checkout-summary h2,
  .checkout-product,
  .checkout-summary .checkout-price,
  .checkout-summary .checkout-tax {
    grid-column: 1;
  }
  .checkout-summary .checkout-points {
    grid-column: 2;
    grid-row: 1 / span 5;
    grid-template-columns: 1fr;
    margin: 0;
  }
  .checkout-summary .checkout-note,
  .checkout-summary .checkout-merchant {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .checkout-form {
    grid-template-columns: 1fr;
  }
  .checkout-body .field {
    grid-column: 1/-1;
  }
  .checkout-panel,
  .checkout-summary {
    padding: 23px 20px;
  }
  .checkout-panel h1 {
    font-size: 43px;
  }
  .checkout-summary .checkout-points li {
    font-size: 11px;
  }
  .license-actions .button {
    width: 100%;
  }
  .result-hero {
    gap: 8px;
  }
  .result-illustration {
    width: 65px;
    height: 65px;
  }
  .result-actions,
  .result-actions > .button,
  .result-actions .refund-request,
  .result-actions .refund-request .button {
    width: 100%;
  }
}
@media (max-width: 550px) {
  .payment-header {
    width: calc(100% - 24px);
    margin-top: 12px;
  }
  .payment-header a:first-child {
    font-size: 18px;
  }
  .payment-header img {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 360px) {
  .payment-header {
    padding: 10px 12px;
  }
  .payment-header a:first-child {
    font-size: 16px;
  }
  .payment-header img {
    width: 28px;
    height: 28px;
  }
  .result-illustration {
    width: 56px;
    height: 56px;
  }
  .result-hero {
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
