.rw-purchases-page main.wrap {
    width: 100%;
    max-width: none;
    padding: 0;
}

.rw-purchases-shell {
    min-height: 630px;
    padding: 72px 24px 86px;
    background:
        radial-gradient(circle at 12% 14%, rgba(172, 221, 250, .55), transparent 28%),
        radial-gradient(circle at 88% 85%, rgba(210, 238, 143, .35), transparent 26%),
        #edf8ff;
}

.rw-purchases-list,
.rw-restore-card {
    width: min(100%, 720px);
    margin-inline: auto;
}

.rw-purchases-list {
    margin-bottom: 28px;
}

.rw-purchases-list > h1,
.rw-restore-card > h1 {
    margin: 8px 0 10px;
    font-family: "Unbounded", Manrope, sans-serif;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: -.035em;
    color: #09223b;
}

.rw-purchases-list > p:not(.rw-kicker) {
    margin: 0 0 24px;
    color: #527086;
}

.rw-kicker {
    margin: 0;
    color: #0875c9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
}

.rw-restore-card {
    padding: 46px 48px 42px;
    text-align: center;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(138, 188, 218, .45);
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(27, 92, 132, .15);
}

.rw-restore-card--secondary {
    padding-block: 35px;
}

.rw-restore-card--secondary > h1 {
    font-size: clamp(23px, 3vw, 32px);
}

.rw-restore-icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    margin: 0 auto 22px;
    color: #0875c9;
    background: #e3f4ff;
    border-radius: 24px;
    transform: rotate(-3deg);
}

.rw-restore-icon svg {
    width: 45px;
    height: 45px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rw-restore-lead {
    max-width: 555px;
    margin: 0 auto 28px;
    color: #527086;
    font-size: 16px;
    line-height: 1.65;
}

.rw-restore-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    max-width: 560px;
    margin-inline: auto;
    text-align: left;
}

.rw-restore-form label {
    grid-column: 1 / -1;
    color: #17334b;
    font-size: 13px;
    font-weight: 800;
}

.rw-restore-form input {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    color: #102b43;
    background: #f8fcff;
    border: 1px solid #b8cfdf;
    border-radius: 10px;
}

.rw-restore-form input:focus {
    border-color: #0875c9;
    box-shadow: 0 0 0 3px rgba(8, 117, 201, .12);
    outline: none;
}

.rw-restore-form .rw-button {
    min-height: 52px;
    padding-inline: 24px;
    border-radius: 10px;
}

.rw-restore-hint,
.rw-restore-success,
.rw-restore-form .rw-form-error {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    font-size: 12px;
}

.rw-restore-hint {
    color: #718493;
}

.rw-restore-hint a,
.rw-back-catalog {
    color: #0875c9;
}

.rw-restore-success {
    padding: 12px 14px;
    color: #255f20;
    background: #eff9e7;
    border-radius: 9px;
    font-weight: 700;
}

.rw-back-catalog {
    display: inline-flex;
    gap: 8px;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.rw-back-catalog:hover {
    text-decoration: underline;
}

.rw-purchase-program {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 12px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #d5e5ef;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(27, 92, 132, .08);
}

.rw-purchase-program h2 {
    margin: 6px 0 4px;
    font-family: Manrope, sans-serif;
    font-size: 19px;
}

.rw-purchase-program p {
    margin: 0;
    color: #61798a;
    font-size: 13px;
}

.rw-purchase-badge {
    display: inline-flex;
    padding: 4px 8px;
    color: #2f681f;
    background: #eaf6df;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

@media (max-width: 650px) {
    .rw-purchases-shell {
        min-height: 540px;
        padding: 38px 14px 56px;
    }

    .rw-restore-card {
        padding: 34px 20px 30px;
        border-radius: 22px;
    }

    .rw-restore-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 18px;
    }

    .rw-restore-lead {
        font-size: 14px;
    }

    .rw-restore-form {
        grid-template-columns: 1fr;
    }

    .rw-restore-form label,
    .rw-restore-hint,
    .rw-restore-success,
    .rw-restore-form .rw-form-error {
        grid-column: auto;
    }

    .rw-purchase-program {
        align-items: stretch;
        flex-direction: column;
        padding: 19px;
    }
}
