.checkout-document {
    --checkout-ink: #171a22;
    --checkout-line: #e8ebf2;
    --checkout-blue: #245be7;
    --checkout-blue-dark: #1744bd;
    --checkout-blue-soft: #edf3ff;
    --checkout-green: #2daf4a;
    --checkout-card: rgba(255, 255, 255, .94);
    background: #fbfcff;
}

.checkout-document body {
    min-width: 320px;
    padding: 0;
    background: #fbfcff;
}

.checkout-document .navbar {
    position: relative;
    z-index: 30;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.checkout-document .navbar_content {
    width: 100%;
    max-width: 1320px;
    height: 76px;
    padding: 0 32px;
    justify-content: center;
}

.checkout-document .navbar .home_url {
    width: 156px;
    height: 32px;
    background-image: url("../../img/text-logo.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.checkout-document .donp,
.checkout-document footer {
    display: none !important;
}

.checkout-page {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 76px);
    min-height: calc(100svh - 76px);
    overflow: clip;
    color: var(--checkout-ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .9) 42%, rgba(250, 250, 255, .58) 100%),
        linear-gradient(112deg, #e2f6e6 3%, #e1e9ff 38%, #eee9ff 69%, #fff3cf 100%);
}

.checkout-page::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 31% 0 0;
    opacity: .72;
    background:
        radial-gradient(circle at 5% 100%, rgba(50, 191, 76, .26), transparent 36%),
        radial-gradient(circle at 37% 102%, rgba(28, 85, 229, .26), transparent 38%),
        radial-gradient(circle at 70% 98%, rgba(128, 99, 252, .24), transparent 36%),
        radial-gradient(circle at 100% 96%, rgba(255, 200, 0, .28), transparent 36%);
    filter: saturate(106%);
}

.checkout-page::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: -170px;
    width: min(1120px, 90vw);
    height: 310px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .48);
    filter: blur(80px);
}

.checkout-glow {
    position: absolute;
    z-index: -1;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    opacity: .2;
    filter: blur(74px);
    pointer-events: none;
}

.checkout-glow--blue {
    left: -180px;
    bottom: -100px;
    background: #32bf4c;
}

.checkout-glow--pink {
    left: 45%;
    bottom: -240px;
    background: #8063fc;
}

.checkout-glow--yellow {
    right: -170px;
    bottom: -120px;
    background: #ffc800;
}

.checkout-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0 34px;
}

.checkout-return-status {
    position: relative;
    z-index: 2;
    width: min(620px, 100%);
    margin: 20px auto 0;
    padding: 32px;
    overflow: hidden;
    border: 1px solid rgba(46, 53, 72, .08);
    border-radius: 26px;
    background: var(--checkout-card);
    box-shadow:
        0 30px 80px rgba(53, 44, 76, .13),
        0 8px 24px rgba(40, 45, 61, .08);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.checkout-return-status__banner {
    display: grid;
    padding: 22px;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    border: 1px solid #dce6f7;
    border-radius: 18px;
    background: rgb(234, 241, 255);
}

.checkout-return-status[data-state="succeeded"] .checkout-return-status__banner {
    border-color: #d5ecd9;
    background: #edf9f0;
}

.checkout-return-status__icon {
    display: grid;
    width: 64px;
    height: 64px;
    color: var(--checkout-blue);
    border-radius: 20px;
    background: rgba(255, 255, 255, .76);
    place-items: center;
}

.checkout-return-status__icon--success {
    color: var(--checkout-green);
}

.checkout-return-status__icon svg {
    width: 34px;
    height: 34px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.8;
}

.checkout-return-status__copy {
    min-width: 0;
}

.checkout-return-status__copy h1 {
    margin: 0;
    color: var(--checkout-ink);
    font-family: var(--header_font);
    font-size: 24px;
    font-weight: var(--header_weight);
    letter-spacing: -.025em;
    line-height: 1.25;
    text-align: left;
}

.checkout-return-status__copy p {
    margin: 7px 0 0;
    color: #626b79;
    font-size: 13px;
    line-height: 1.5;
}

.checkout-return-status__action {
    display: inline-flex;
    width: 100%;
    min-height: 54px;
    margin: 22px 0 0;
    align-items: center;
    justify-content: center;
}

.checkout-return-status__action[hidden] {
    display: none;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 370px);
    gap: 24px;
    align-items: start;
}

.checkout-return-status[hidden],
.checkout-layout[hidden] {
    display: none;
}

.checkout-order,
.checkout-summary {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(46, 53, 72, .08);
    border-radius: 26px;
    background: var(--checkout-card);
    box-shadow:
        0 30px 80px rgba(53, 44, 76, .13),
        0 8px 24px rgba(40, 45, 61, .08);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.checkout-summary {
    position: sticky;
    top: 24px;
    align-self: start;
    overflow: visible;
    box-shadow:
        0 24px 64px rgba(53, 44, 76, .11),
        0 6px 20px rgba(40, 45, 61, .07);
}

.checkout-details__header {
    display: flex;
    margin-bottom: 20px;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
}

.checkout-details__title {
    margin: 0;
    color: var(--checkout-ink);
    font-family: var(--header_font);
    font-size: 22px;
    font-weight: var(--header_weight);
    letter-spacing: -.02em;
    line-height: 1.25;
    text-align: left;
}

.checkout-back-link {
    display: inline-flex;
    min-height: 38px;
    padding: 7px 12px;
    gap: 7px;
    align-items: center;
    justify-content: center;
    color: #315fda;
    border: 2px solid #d8e2fb;
    border-bottom-width: 3px;
    border-radius: 12px;
    background: #f5f8ff;
    font-size: 12px;
    font-weight: var(--main_bolder_weight, 600);
    line-height: 1.2;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .12s ease;
}

.checkout-back-link:hover {
    color: #244dbb;
    border-color: #b9caf4;
    background: #eef3ff;
    transform: translateY(-1px);
}

.checkout-back-link:active {
    transform: translateY(1px);
}

.checkout-back-link:focus-visible {
    outline: 3px solid rgba(36, 91, 231, .26);
    outline-offset: 2px;
}

.checkout-back-link svg {
    width: 16px;
    height: 16px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.checkout-summary__header {
    display: flex;
    padding: 27px 28px 23px;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--checkout-line);
    border-radius: 25px 25px 0 0;
    background: rgba(255, 255, 255, .88);
}

.checkout-summary__header > div {
    min-width: 0;
}

.checkout-summary__header h2 {
    margin: 0;
    color: var(--checkout-ink);
    font-family: var(--header_font);
    font-size: 18px;
    font-weight: var(--header_weight);
    letter-spacing: -.02em;
    line-height: 1.25;
}

.checkout-summary__header > div > span {
    display: block;
    margin-top: 7px;
    color: #626b79;
    font-size: 11px;
    line-height: 1.4;
}

.checkout-summary__price {
    display: flex;
    min-width: max-content;
    margin: -1px 0 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    color: var(--checkout-ink);
    font-family: var(--header_font);
    font-size: 24px;
    font-weight: var(--header_weight);
    letter-spacing: -.035em;
    line-height: 1.2;
    text-align: right;
}

.checkout-summary .old_price {
    width: 100%;
    margin: 4px 0 0;
    color: #6f7783;
    font-family: var(--main_font);
    font-size: 13px;
    font-weight: var(--main_weight);
    letter-spacing: 0;
    text-decoration: line-through;
}

.checkout-order__body {
    padding: 29px 34px 34px;
}

.checkout-summary__body {
    --checkout-consent-spacing: 24px;
    padding: var(--checkout-consent-spacing) 28px 28px;
}

.checkout-summary__actions {
    display: grid;
    gap: 12px;
}

.checkout-summary__actions > .checkout-application-note,
.checkout-summary__actions > .checkout-consent,
.checkout-summary__actions > .checkout-pay-button,
.checkout-summary__actions > .checkout-payment-error {
    margin: 0;
}

.checkout-application-note {
    display: flex;
    margin-bottom: 15px;
    padding: 10px 12px;
    gap: 9px;
    align-items: center;
    color: #4d5c78;
    border: 1px solid #d5e2ff;
    border-radius: 12px;
    background: #eef4ff;
    font-size: 11px;
    font-weight: var(--main_bold_weight, 600);
    line-height: 1.4;
}

.checkout-application-note[hidden] {
    display: none;
}

.checkout-application-note__icon {
    display: grid;
    width: 20px;
    height: 20px;
    color: #fff;
    border-radius: 50%;
    background: var(--checkout-blue);
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    flex: 0 0 20px;
    place-items: center;
}

.checkout-plan {
    display: grid;
    padding: 16px;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    border: 1px solid #dce6f7;
    border-radius: 17px;
    background: rgb(234, 241, 255);
}

.checkout-plan__icon {
    display: grid;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: #245be7;
    background: rgba(255, 255, 255, .76);
    place-items: center;
}

.checkout-plan__icon svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.checkout-plan__copy {
    display: block;
    min-width: 0;
}

.checkout-plan__copy strong,
.checkout-plan__copy > span {
    display: block;
}

.checkout-plan__copy strong {
    overflow: hidden;
    color: #272b34;
    font-size: 14px;
    font-weight: var(--main_bolder_weight, 600);
    line-height: 1.35;
    text-overflow: ellipsis;
}

.checkout-plan__copy > span {
    margin-top: 3px;
    color: #66707e;
    font-size: 12px;
}

.checkout-plan__discount {
    padding: 6px 9px;
    color: #1f8e3a;
    border: 1px solid rgba(45, 175, 74, .14);
    border-radius: 999px;
    background: #ebf9ef;
    font-size: 11px;
    font-weight: var(--main_bolder_weight, 600);
    line-height: 1;
    white-space: nowrap;
}

.checkout-subjects {
    margin-top: 16px;
    border: 1px solid var(--checkout-line);
    border-radius: 16px;
    overflow: hidden;
}

.checkout-subjects__account {
    padding: 14px 16px;
}

.checkout-subjects__account + .checkout-subjects__account {
    border-top: 1px solid var(--checkout-line);
}

.checkout-subjects__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--checkout-ink);
    font-family: var(--main_font);
    font-size: 14px;
    font-weight: var(--main_bolder_weight, 600);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.checkout-subjects__number {
    display: grid;
    flex: 0 0 24px;
    height: 24px;
    border: 1px solid var(--checkout-line);
    border-radius: 50%;
    font-size: 11px;
    place-items: center;
}

.checkout-subjects__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkout-subjects__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    margin: 0;
    padding: 6px 10px 6px 6px;
    border: 1px solid var(--checkout-line);
    border-radius: 10px;
    background: color-mix(in srgb, var(--checkout-line) 22%, transparent);
    color: var(--checkout-ink);
    font-size: 13px;
    font-weight: var(--main_bold_weight, 600);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.checkout-subjects__item .sub_img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.checkout-upsell {
    display: grid;
    margin-top: 16px;
    padding: 12px 13px;
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    gap: 10px;
    align-items: center;
    color: #244aa9;
    border: 1px solid #dce7ff;
    border-radius: 15px;
    background: #f5f8ff;
    font-size: 12px;
    line-height: 1.4;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.checkout-upsell:hover {
    color: #244aa9;
    border-color: #bfd1ff;
    background: #eff4ff;
    transform: translateY(-1px);
}

.checkout-upsell__icon {
    display: grid;
    width: 28px;
    height: 28px;
    color: #fff;
    border-radius: 9px;
    background: linear-gradient(145deg, #6f8cff, #7b64e8);
    font-size: 15px;
    place-items: center;
}

.checkout-upsell__arrow {
    color: #6e86c4;
    font-size: 22px;
    line-height: 1;
    text-align: right;
}

.checkout-divider {
    height: 1px;
    margin: 25px -34px 25px;
    background: var(--checkout-line);
}

.checkout-section-heading {
    display: flex;
    margin-bottom: 12px;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.checkout-section-heading h3 {
    margin: 0;
    color: #2c3038;
    font-size: 18px;
    font-weight: var(--main_bolder_weight, 600);
    line-height: 1.3;
}

.checkout-payment {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.checkout-payment-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.checkout-payment-option {
    position: relative;
    display: block;
    min-width: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.checkout-payment-option > input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.checkout-payment-option__surface {
    display: grid;
    min-height: 92px;
    padding: 15px 16px;
    grid-template-columns: 44px minmax(0, 1fr) 22px;
    gap: 12px;
    align-items: center;
    border: 2px solid #e1e6ef;
    border-bottom-width: 4px;
    border-radius: var(--radius, 14px);
    background: var(--white, #fff);
    box-shadow: 0 1px 0 rgba(42, 48, 65, .02);
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, filter .18s ease, transform .12s ease;
}

.checkout-payment-option:hover > input:not(:disabled) + .checkout-payment-option__surface {
    border-color: #b8c7ef;
    filter: brightness(1.015);
    transform: translateY(-1px);
}

.checkout-payment-option > input:checked + .checkout-payment-option__surface {
    border-color: #86a4f2;
    background: var(--checkout-blue-soft);
    box-shadow: 0 0 0 3px rgba(36, 91, 231, .07);
}

.checkout-payment-option:active > input:not(:disabled) + .checkout-payment-option__surface {
    transform: translateY(2px);
}

.checkout-payment-option > input:focus-visible + .checkout-payment-option__surface {
    outline: 3px solid rgba(36, 91, 231, .24);
    outline-offset: 2px;
}

.checkout-payment-option > input:disabled + .checkout-payment-option__surface {
    cursor: not-allowed;
    opacity: .58;
    background: #f7f8fa;
}

.checkout-payment-option__logo {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
}

.checkout-payment-option__logo > img {
    display: block;
    width: 42px;
    height: 42px;
    max-width: none;
    border: 0;
    border-radius: 50%;
    object-fit: contain;
}

.checkout-payment-option > input[value="tbank_installment"] + .checkout-payment-option__surface .checkout-payment-option__logo > img,
.checkout-payment-option > input[value="sber_bnpl"] + .checkout-payment-option__surface .checkout-payment-option__logo > img {
    border-radius: 0;
}

.checkout-payment-option[data-application-payment-group] .checkout-payment-option__surface {
    grid-template-columns: 54px minmax(0, 1fr) 22px;
}

.checkout-payment-option[data-application-payment-group] .checkout-payment-option__logo {
    width: 54px;
}

.checkout-payment-option__card-logos {
    display: flex;
    width: 44px;
    height: 38px;
    align-items: center;
}

.checkout-payment-option__card-logos img {
    display: block;
    width: 29px;
    height: 29px;
    max-width: none;
    border-radius: 50%;
    flex: 0 0 29px;
    object-fit: contain;
    box-shadow: 0 0 0 2px #fff;
}

.checkout-payment-option__card-logos img + img {
    margin-left: -21px;
}

.checkout-payment-option__copy,
.checkout-payment-option__copy strong,
.checkout-payment-option__copy > span {
    display: block;
    min-width: 0;
}

.checkout-payment-option__copy strong {
    color: #292d35;
    font-size: 15px;
    font-weight: var(--main_bolder_weight, 600);
    line-height: 1.3;
}

.checkout-payment-option__copy > span {
    margin-top: 4px;
    color: #6a7280;
    font-size: 12px;
    line-height: 1.35;
}

.checkout-payment-option__check {
    display: grid;
    width: 22px;
    height: 22px;
    color: transparent;
    border: 1.5px solid #cbd2de;
    border-radius: 50%;
    background: #fff;
    place-items: center;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.checkout-payment-option > input:checked + .checkout-payment-option__surface .checkout-payment-option__check {
    color: #fff;
    border-color: var(--checkout-blue);
    background: var(--checkout-blue);
}

.checkout-credit-disclaimer {
    margin: 14px 0 0;
    color: #6c7280;
    font-size: 11px;
    line-height: 1.45;
}

.checkout-credit-disclaimer[hidden] {
    display: none;
}

.checkout-credit-disclaimer a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.checkout-payment-option__check svg,
.checkout-checkbox svg {
    width: 13px;
    height: 13px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.checkout-summary__actions > .checkout-consent {
    margin-bottom: calc(var(--checkout-consent-spacing) - 12px);
}

.checkout-consent__choice {
    display: grid;
    cursor: pointer;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
    color: #535c69;
    font-size: 13px;
    line-height: 1.45;
    -webkit-tap-highlight-color: transparent;
}

.checkout-consent input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.checkout-checkbox {
    display: grid;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: transparent;
    border: 1.5px solid #cfd4dc;
    border-radius: 6px;
    background: #fff;
    place-items: center;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.checkout-checkbox svg {
    width: 14px;
    height: 14px;
}

.checkout-consent input:checked + .checkout-consent__body .checkout-checkbox {
    color: #fff;
    border-color: var(--checkout-blue);
    background: var(--checkout-blue);
}

.checkout-consent input:focus-visible + .checkout-consent__body .checkout-checkbox {
    border-color: var(--checkout-blue);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--checkout-blue);
}

.checkout-consent__choice a {
    color: #315fda;
    text-decoration: underline;
    text-decoration-color: rgba(49, 95, 218, .28);
    text-underline-offset: 2px;
}

.checkout-pay-button {
    display: grid;
    width: 100%;
    min-height: 54px;
    margin-top: 18px;
    padding: 0 22px;
    background: transparent;
    box-shadow: none;
    place-items: center;
    transition: filter .2s ease;
}

.checkout-pay-button[hidden] {
    display: none;
}

.checkout-pay-button:focus-visible,
.checkout-promo__toggle:focus-visible,
.checkout-promo__form button:focus-visible {
    outline: 3px solid var(--checkout-blue);
    outline-offset: 3px;
}

.checkout-pay-button:disabled {
    cursor: not-allowed;
}

.checkout-pay-button:active,
.checkout-pay-button:disabled {
    transform: none;
}

.checkout-pay-button.is-loading:disabled {
    cursor: wait;
    color: #fff;
}

.checkout-pay-button.is-loading:disabled::before {
    background-color: var(--accent);
    box-shadow: 0 4px 0 var(--darker_accent);
}

.checkout-pay-button__content {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
}

.checkout-pay-button__content svg {
    width: 13px;
    height: 15px;
    fill: currentColor;
}

.checkout-pay-button__loading {
    display: none;
}

.checkout-pay-button.is-loading .checkout-pay-button__content {
    display: none;
}

.checkout-pay-button.is-loading .checkout-pay-button__loading {
    display: inline-flex;
    align-items: center;
}

.checkout-pay-button.is-loading .checkout-pay-button__loading::before {
    content: "";
    width: 15px;
    height: 15px;
    margin-right: 9px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: checkout-spin .7s linear infinite;
}

.checkout-tbank-terms {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.checkout-tbank-terms[hidden] {
    display: none;
}

.checkout-tbank-terms legend {
    margin-bottom: 8px;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
}

.checkout-tbank-terms__options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.checkout-tbank-terms__option {
    position: relative;
    cursor: pointer;
}

.checkout-tbank-terms__option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.checkout-tbank-terms__option span {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    border: 1px solid var(--checkout-line);
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
}

.checkout-tbank-terms__option:hover span,
.checkout-tbank-terms__option input:checked + span {
    border-color: var(--accent);
    color: var(--accent);
}

.checkout-tbank-terms__option input:checked + span {
    font-weight: 700;
}

.checkout-tbank-terms__option input:focus-visible + span {
    border-color: var(--blue3);
}

.checkout-tbank-terms__option input:disabled + span {
    opacity: .6;
    cursor: default;
}

.checkout-payment-error {
    margin-top: 10px;
    padding: 10px 12px;
    color: #b64735;
    border-radius: 11px;
    background: #fff1ee;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

.checkout-promo {
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid var(--checkout-line);
}

.checkout-promo__toggle {
    display: flex;
    width: 100%;
    padding: 7px 3px;
    cursor: pointer;
    color: #596270;
    border: 0;
    border-radius: 7px;
    background: transparent;
    font-size: 12px;
    align-items: center;
    justify-content: space-between;
}

.checkout-promo__toggle:hover {
    color: #315fda;
}

.checkout-promo__toggle > span:last-child {
    width: 20px;
    margin-left: 12px;
    color: #8c95a3;
    font-size: 20px;
    text-align: center;
    flex: 0 0 20px;
    line-height: 1;
}

.checkout-promo__form {
    display: grid;
    margin-top: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.checkout-promo__form.hide {
    display: none;
}

.checkout-promo__form input[type="text"] {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 13px;
    color: #2a2e36;
    border: 1px solid #dde1e8;
    border-radius: 12px;
    outline: 0;
    background: #fafbfc;
    font-size: 12px;
    text-transform: uppercase;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.checkout-promo__form input[type="text"]::placeholder {
    text-transform: none;
}

.checkout-promo__form input[type="text"]:focus {
    border-color: #8daaf4;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--checkout-blue);
}

.checkout-promo__form button {
    height: 44px;
    padding: 0 14px;
    cursor: pointer;
    color: #2856cb;
    border: 1px solid #d4def8;
    border-radius: 12px;
    background: #f0f4ff;
    font-size: 11px;
    font-weight: var(--main_bolder_weight, 600);
}

.checkout-promo__form button:disabled {
    cursor: wait;
    opacity: .6;
}

.checkout-promo__result {
    margin-top: 8px;
    padding: 9px 11px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.4;
}

.checkout-promo__result.is-success {
    color: #27753a;
    background: #edf9f0;
}

.checkout-promo__result.is-error {
    color: #b64735;
    background: #fff1ee;
}

.checkout-legal {
    display: flex;
    margin-top: 6px;
    padding-top: 0;
    gap: 2px;
    flex-direction: column;
}

.checkout-legal a {
    position: relative;
    display: flex;
    min-height: 36px;
    padding: 7px 3px;
    align-items: center;
    justify-content: space-between;
    color: #626976;
    font-size: 12px;
}

.checkout-legal a::after {
    content: "›";
    width: 20px;
    margin-left: 12px;
    color: #8c95a3;
    font-size: 20px;
    text-align: center;
    flex: 0 0 20px;
    line-height: 1;
}

.checkout-legal a:hover {
    color: #315fda;
}

.plan_overlay {
    position: absolute;
    z-index: 20;
    display: grid;
    inset: 0;
    padding: 28px;
    background: rgba(255, 255, 255, .76);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    place-items: center;
}

.plan_overlay__content {
    max-width: 340px;
    padding: 26px;
    color: #333841;
    border: 1px solid #e2e6ed;
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 50px rgba(42, 47, 60, .12);
    text-align: center;
}

.plan_overlay__icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    color: #fff;
    border-radius: 14px;
    background: #f2a93b;
    font-family: var(--header_font);
    font-size: 22px;
    place-items: center;
}

.plan_overlay p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.plan_overlay a {
    color: #245be7;
    font-weight: var(--main_bolder_weight, 600);
}

.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.checkout-document.darkmode body,
.checkout-document.darkmode {
    background: #101115;
}

.checkout-document.darkmode .checkout-page {
    --checkout-ink: #f7f8fb;
    --checkout-line: #343740;
    --checkout-card: rgba(28, 30, 36, .94);
    background:
        linear-gradient(180deg, rgba(16, 17, 21, .98) 0%, rgba(16, 17, 21, .91) 48%, rgba(23, 22, 31, .7) 100%),
        linear-gradient(110deg, #1d2844, #362444 50%, #49342a);
}

.checkout-document.darkmode .checkout-summary__header,
.checkout-document.darkmode .checkout-checkbox {
    background: rgba(28, 30, 36, .96);
}

.checkout-document.darkmode .checkout-details__title,
.checkout-document.darkmode .checkout-summary__header h2,
.checkout-document.darkmode .checkout-plan__copy strong,
.checkout-document.darkmode .checkout-section-heading h3,
.checkout-document.darkmode .checkout-payment-option__copy strong {
    color: #e9ebf1;
}

.checkout-document.darkmode .checkout-payment-option__surface {
    border-color: rgba(190, 202, 232, .16);
    background: rgba(255, 255, 255, .05);
}

.checkout-document.darkmode .checkout-plan {
    border-color: rgba(138, 163, 224, .2);
    background: rgba(65, 82, 122, .28);
}

.checkout-document.darkmode .checkout-return-status__banner {
    border-color: rgba(138, 163, 224, .2);
    background: rgba(65, 82, 122, .28);
}

.checkout-document.darkmode .checkout-return-status[data-state="succeeded"] .checkout-return-status__banner {
    border-color: rgba(98, 176, 115, .24);
    background: rgba(40, 88, 55, .28);
}

.checkout-document.darkmode .checkout-return-status__icon {
    background: rgba(255, 255, 255, .08);
}

.checkout-document.darkmode .checkout-return-status__copy h1 {
    color: #e9ebf1;
}

.checkout-document.darkmode .checkout-return-status__copy p {
    color: #b9c0cb;
}

.checkout-document.darkmode .checkout-plan__icon {
    background: rgba(255, 255, 255, .08);
}

.checkout-document.darkmode .checkout-back-link {
    color: #a9bfff;
    border-color: #46577f;
    background: #252c3c;
}

.checkout-document.darkmode .checkout-payment-option > input:checked + .checkout-payment-option__surface {
    border-color: #5876c8;
    background: #242936;
}

.checkout-document.darkmode .checkout-payment-option > input:disabled + .checkout-payment-option__surface {
    background: #202228;
}

.checkout-document.darkmode .checkout-payment-option__card-logos img {
    box-shadow: 0 0 0 2px #242936;
}

.checkout-document.darkmode .checkout-promo__form input[type="text"] {
    color: #eef0f5;
    border-color: #3a3d45;
    background: #202228;
}

.checkout-document.darkmode .checkout-summary__header > div > span,
.checkout-document.darkmode .checkout-plan__copy > span,
.checkout-document.darkmode .checkout-payment-option__copy > span,
.checkout-document.darkmode .checkout-consent__choice,
.checkout-document.darkmode .checkout-promo__toggle,
.checkout-document.darkmode .checkout-legal a {
    color: #b9c0cb;
}

.checkout-document.darkmode .checkout-summary .old_price {
    color: #9da5b2;
}

.checkout-document.darkmode .checkout-application-note {
    color: #c8d5f4;
    border-color: rgba(119, 151, 232, .3);
    background: rgba(55, 79, 137, .28);
}

.checkout-document.darkmode .checkout-credit-disclaimer {
    color: #aeb5c2;
}

.checkout-document.darkmode .checkout-pay-button:focus-visible,
.checkout-document.darkmode .checkout-promo__toggle:focus-visible,
.checkout-document.darkmode .checkout-promo__form button:focus-visible {
    outline-color: #8eabff;
}

.checkout-document.darkmode .checkout-consent input:focus-visible + .checkout-consent__body .checkout-checkbox,
.checkout-document.darkmode .checkout-promo__form input[type="text"]:focus {
    box-shadow: 0 0 0 2px #202228, 0 0 0 4px #8eabff;
}

.checkout-document.darkmode .plan_overlay {
    background: rgba(17, 18, 22, .76);
}

.checkout-document.darkmode .plan_overlay__content {
    color: #e7e9ee;
    border-color: #3a3d46;
    background: rgba(30, 32, 38, .98);
}

@keyframes checkout-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1050px) {
    .checkout-container {
        width: min(960px, calc(100% - 40px));
    }

    .checkout-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 20px;
    }
}

@media (max-width: 980px) {
    .checkout-document .navbar_content {
        height: 68px;
        padding: 0 24px;
    }

    .checkout-document .navbar .home_url {
        width: 144px;
        height: 29px;
    }

    .checkout-page {
        min-height: calc(100vh - 68px);
        min-height: calc(100svh - 68px);
    }

    .checkout-container {
        width: calc(100% - 32px);
        padding-top: 20px;
    }

    .checkout-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .checkout-summary {
        position: static;
    }
}

@media (max-width: 560px) {
    .checkout-document .navbar,
    .checkout-order,
    .checkout-summary {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .checkout-page::after,
    .checkout-glow {
        filter: blur(44px);
    }

    .checkout-document .navbar_content {
        height: 62px;
        padding: 0 18px;
        justify-content: center;
    }

    .checkout-document .navbar .home_url {
        width: 137px;
        height: 27px;
        background-position: center;
    }

    .checkout-page {
        min-height: calc(100vh - 62px);
        min-height: calc(100svh - 62px);
    }

    .checkout-container {
        width: calc(100% - 24px);
        padding-top: 4px;
        padding-bottom: 22px;
    }

    .checkout-return-status {
        margin-top: 0;
        padding: 20px;
        border-radius: 22px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .checkout-return-status__banner {
        padding: 18px;
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 14px;
    }

    .checkout-return-status__icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .checkout-return-status__icon svg {
        width: 29px;
        height: 29px;
    }

    .checkout-return-status__copy h1 {
        font-size: 19px;
    }

    .checkout-return-status__copy p {
        font-size: 12px;
    }

    .checkout-order,
    .checkout-summary {
        border-radius: 22px;
    }

    .checkout-details__header {
        margin-bottom: 16px;
        gap: 12px;
    }

    .checkout-details__title {
        font-size: 20px;
    }

    .checkout-back-link {
        min-height: 36px;
        padding: 6px 10px;
        font-size: 11px;
    }

    .checkout-summary__header {
        min-height: auto;
        padding: 22px 20px 19px;
        gap: 16px;
    }

    .checkout-summary__header h2 {
        font-size: 16px;
    }

    .checkout-summary__header > div > span {
        font-size: 10px;
    }

    .checkout-summary__price {
        font-size: 20px;
    }

    .checkout-order__body {
        padding: 21px 20px 23px;
    }

    .checkout-summary__body {
        --checkout-consent-spacing: 20px;
        padding: 20px;
    }

    .checkout-plan {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 11px;
    }

    .checkout-plan__icon {
        width: 40px;
        height: 40px;
    }

    .checkout-plan__copy strong {
        font-size: 12px;
    }

    .checkout-plan__discount {
        grid-column: 2;
        width: max-content;
        margin-top: -3px;
    }

    .checkout-divider {
        margin-right: -20px;
        margin-left: -20px;
    }

    .checkout-payment-options {
        grid-template-columns: minmax(0, 1fr);
    }

    .checkout-payment-option__surface {
        min-height: 82px;
        padding: 12px 14px;
    }

    .checkout-payment-option__copy > span {
        font-size: 11px;
    }

    .checkout-pay-button {
        min-height: 52px;
    }

    .checkout-promo__form {
        grid-template-columns: minmax(0, 1fr);
    }

    .checkout-promo__form button {
        width: 100%;
    }

    .checkout-legal {
        margin-top: 4px;
    }

    .checkout-legal a {
        font-size: 11px;
    }

    .plan_overlay {
        padding: 18px;
    }

    .plan_overlay__content {
        padding: 22px 18px;
    }
}

@media (max-width: 370px) {
    .checkout-container {
        width: calc(100% - 18px);
    }

    .checkout-order__body {
        padding-right: 16px;
        padding-left: 16px;
    }

    .checkout-return-status {
        padding: 16px;
    }

    .checkout-return-status__banner {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    .checkout-return-status__icon {
        margin: 0 auto;
    }

    .checkout-return-status__copy h1 {
        text-align: center;
    }

    .checkout-summary__header,
    .checkout-summary__body {
        padding-right: 16px;
        padding-left: 16px;
    }

    .checkout-divider {
        margin-right: -16px;
        margin-left: -16px;
    }

    .checkout-details__header {
        display: grid;
        justify-items: start;
    }

    .checkout-section-heading {
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .checkout-pay-button__loading::before {
        animation: none;
    }

    .checkout-pay-button,
    .checkout-payment-option__surface,
    .checkout-upsell {
        transition: none;
    }
}
.checkout-guest { display: grid; gap: 12px; margin-bottom: 24px; }
.checkout-guest input { box-sizing: border-box; min-width: 0; width: 100%; }
.checkout-guest input:focus-visible { outline: none; border-color: var(--gray); }
.checkout-guest p { font-size: 14px; line-height: 1.5; margin: 0; }
.checkout-guest [hidden] { display: none; }

.checkout-login { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; border: 0; border-radius: var(--radius); background: var(--white); color: var(--main); }
.checkout-login::backdrop { background-color: rgba(31, 31, 32, .649); }
.checkout-login h2 { margin: 0; font-size: 24px; }
.checkout-login__close { flex-shrink: 0; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--secondary); font-size: 28px; line-height: 1; cursor: pointer; }
.checkout-login form { display: grid; gap: 12px; }
.checkout-login label { display: block; font-weight: var(--main_bold_weight); }
.checkout-login input { box-sizing: border-box; width: 100%; min-width: 0; }
.checkout-login input:focus { outline: none; border-color: var(--gray); }
.checkout-login [data-checkout-login-password] input { margin-top: 12px; }
.checkout-login p { margin: 0; font-size: 14px; }
.checkout-login [hidden] { display: none; }

/* Only the checkout at phone widths uses this arrangement; desktop keeps its DOM order. */
.checkout-mobile-only { display: none; }

@media (max-width: 560px) {
    .checkout-mobile-compact {
        gap: 16px;
    }

    .checkout-mobile-compact .checkout-mobile-only {
        display: block;
    }

    .checkout-mobile-compact .checkout-order__body,
    .checkout-mobile-compact .checkout-summary__body {
        --checkout-consent-spacing: 16px;
        padding: 16px;
    }

    .checkout-mobile-compact .checkout-mobile-plan {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        margin: 0 0 16px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--checkout-line);
    }

    .checkout-mobile-compact .checkout-details__header {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 0;
    }

    .checkout-mobile-compact .checkout-details__title {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .checkout-document .checkout-mobile-compact .checkout-plan {
        padding: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        border: 0;
        background: transparent;
    }

    .checkout-mobile-compact .checkout-plan__icon,
    .checkout-mobile-compact .checkout-plan__copy > span {
        display: none;
    }

    .checkout-mobile-compact .checkout-plan__copy strong {
        font-size: 17px;
        line-height: 1.35;
    }

    .checkout-mobile-compact .checkout-plan__discount {
        grid-column: auto;
        margin: 0;
    }

    .checkout-document .checkout-mobile-compact .checkout-summary__header {
        padding: 16px;
        align-items: center;
    }

    .checkout-mobile-compact .checkout-summary__price {
        font-size: 24px;
    }

    .checkout-mobile-compact .old_price {
        width: 100%;
        margin-top: 4px;
        color: var(--secondary);
        font-family: var(--main_font);
        font-size: 12px;
        font-weight: var(--main_weight);
        letter-spacing: 0;
    }

    .checkout-mobile-compact .checkout-guest {
        gap: 8px;
        margin: 0 0 16px;
    }

    .checkout-mobile-compact .checkout-subjects + .checkout-guest {
        margin-top: 20px;
    }

    .checkout-mobile-compact .checkout-upsell {
        margin-bottom: 20px;
    }

    .checkout-mobile-compact .checkout-guest p {
        font-size: 12px;
    }

    .checkout-mobile-compact .checkout-guest input {
        font-size: 16px;
    }

    .checkout-mobile-compact .checkout-divider {
        display: none;
    }

    .checkout-mobile-compact .checkout-section-heading h3 {
        font-size: 18px;
    }

    .checkout-mobile-compact .checkout-payment-options {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .checkout-mobile-compact .checkout-payment-option__surface {
        min-height: 64px;
        padding: 12px;
        grid-template-columns: 32px minmax(0, 1fr) 22px;
        gap: 12px;
    }

    .checkout-mobile-compact .checkout-payment-option__logo,
    .checkout-mobile-compact .checkout-payment-option__logo > img {
        width: 32px;
        height: 32px;
    }

    .checkout-mobile-compact .checkout-payment-option__copy strong {
        font-size: 16px;
    }

    .checkout-mobile-compact .checkout-payment-option__copy > span {
        font-size: 13px;
    }

    .checkout-mobile-compact .checkout-payment-option__card-logos {
        width: 32px;
        height: 32px;
    }

    .checkout-mobile-compact .checkout-payment-option__card-logos img {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    .checkout-mobile-compact .checkout-payment-option__card-logos img + img {
        margin-left: -16px;
    }

    .checkout-mobile-compact .checkout-promo {
        margin-top: 14px;
        padding-top: 8px;
    }

    .checkout-mobile-compact .checkout-consent__choice {
        align-items: center;
    }

    .checkout-mobile-compact .checkout-checkbox {
        margin-top: 0;
    }
}
