.account-page,
.order-help-page {
    min-height: 100vh;
    background: #f6f2ea;
    color: #101010;
}

.account-main,
.order-help-main {
    min-height: calc(100vh - 120px);
    padding: clamp(9rem, 15vh, 12rem) 0 5rem;
}

.account-shell,
.order-help-shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.account-heading p,
.order-help-heading p {
    margin: 0 0 .6rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .15em;
}

.account-heading h1,
.order-help-heading h1 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(2.6rem, 7vw, 5.8rem);
    line-height: .92;
}

.account-heading > span,
.order-help-heading > span {
    display: block;
    max-width: 680px;
    margin-top: 1rem;
    color: #686158;
}

.account-card,
.order-help-card {
    margin-top: 2rem;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid rgba(16, 16, 16, .1);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(37, 30, 20, .07);
}

.account-auth-required {
    text-align: center;
}

.account-auth-required button,
.account-primary-button,
.order-help-card button {
    min-height: 48px;
    padding: .8rem 1.25rem;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.account-field {
    display: grid;
    gap: .45rem;
}

.account-field--wide {
    grid-column: 1 / -1;
}

.account-field span {
    font-size: .82rem;
    font-weight: 650;
}

.account-field input,
.account-field select,
.order-help-card input {
    width: 100%;
    min-height: 48px;
    padding: .75rem .9rem;
    border: 1px solid rgba(16, 16, 16, .15);
    border-radius: 14px;
    background: #fbfaf7;
    color: #111;
    font: inherit;
}

.account-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0 1rem;
}

.account-section-heading h2 {
    margin: 0;
}

.account-address-list,
.account-history-list,
.account-order-list {
    display: grid;
    gap: .8rem;
}

.account-address,
.account-history-item,
.account-order-item {
    padding: 1rem;
    border: 1px solid rgba(16, 16, 16, .1);
    border-radius: 18px;
    background: #fbfaf7;
}

.account-address {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.account-address button {
    border: 0;
    background: transparent;
    text-decoration: underline;
    cursor: pointer;
}

.account-points-total {
    display: flex;
    align-items: baseline;
    gap: .65rem;
}

.account-points-total strong {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
}

.account-status {
    margin-top: 1rem;
    padding: .8rem 1rem;
    border-radius: 14px;
    background: #eef7ef;
}

.account-status[data-status-type="error"] {
    background: #fff0ed;
    color: #8b241d;
}

.order-help-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
}

.order-help-result {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(16, 16, 16, .1);
}

@media (max-width: 760px) {
    .account-grid,
    .order-help-form {
        grid-template-columns: 1fr;
    }

    .account-field--wide {
        grid-column: auto;
    }
}
