.account-page {
    padding: 24px 76px 38px;
    background: #fff;
}

.account-card {
    width: min(100%, 760px);
    margin-inline: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.account-card--narrow {
    width: min(100%, 560px);
}

.account-card h1 {
    margin: 0 0 12px;
    color: var(--agu-text);
    font-size: 27px;
    font-weight: 500;
    line-height: 1.3;
}

.account-lead,
.account-note,
.account-secondary {
    color: var(--agu-muted);
}

.account-lead {
    margin: 0 0 24px;
    line-height: 1.65;
}

.account-lead--compact {
    margin-bottom: 0;
}

.account-note {
    margin: -8px 0 22px;
    font-size: 14px;
    line-height: 1.6;
}

.account-form,
.account-consent-form {
    display: grid;
    gap: 18px;
}

.account-form label {
    display: grid;
    gap: 7px;
}

.account-form label > span {
    font-size: 14px;
    font-weight: 500;
}

.account-form input,
.account-form select,
.account-form textarea {
    width: 100%;
    border: 1px solid #dfe3e6;
    border-radius: 5px;
    background: #fff;
    color: var(--agu-text);
    font: inherit;
    padding: 11px 12px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.account-form textarea {
    resize: vertical;
}

.account-form input:focus,
.account-form select:focus,
.account-form textarea:focus {
    border-color: var(--agu-lime-dark);
    box-shadow: 0 0 0 3px rgba(190, 214, 0, .14);
}

.account-form .button,
.account-consent-form .button {
    justify-self: start;
    min-width: 150px;
}

.account-form--code input {
    max-width: 220px;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: 5px;
    text-align: center;
}

.account-alert {
    margin: 0 0 22px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.55;
}

.account-alert--info {
    background: #f5f7eb;
    border-left: 3px solid var(--agu-lime);
}

.account-alert--success {
    background: #eff8ef;
    border-left: 3px solid #4e9b56;
}

.account-alert--error {
    background: #fff1f1;
    border-left: 3px solid #c65a5a;
}

.account-field-error {
    display: block;
    margin-top: 2px;
    color: #b34747;
    font-size: 13px;
}

.account-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid var(--agu-border);
    border-radius: 6px;
    line-height: 1.55;
}

.account-check input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: 0 0 auto;
    accent-color: var(--agu-lime-dark);
}

.account-check a,
.account-links a,
.account-secondary a,
.account-back a {
    color: #718000;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.account-check--optional {
    background: #fafafa;
}

.account-links {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    font-size: 14px;
}

.account-secondary {
    margin: 22px 0 0;
    text-align: center;
}

.account-inline-form {
    margin-top: 14px;
}

.account-text-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #718000;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}















.account-back {
    margin-bottom: 18px;
    font-size: 14px;
}

.account-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 1100px) {
    .account-page {
        padding-right: 44px;
        padding-left: 44px;
    }
}

@media (max-width: 720px) {
    .account-page {
        padding: 20px 20px 30px;
    }

    .account-card,
    .account-card--narrow {
        padding: 0;
    }

    .account-card h1 {
        font-size: 23px;
    }

    

    

    .account-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

.account-password-rules {
    margin: 0 0 22px;
    padding: 14px 16px;
    border: 1px solid #e1e6c2;
    border-radius: 6px;
    background: #f8faee;
    color: #66717c;
    font-size: 13.5px;
    line-height: 1.55;
}

.account-password-rules strong {
    display: block;
    margin-bottom: 6px;
    color: var(--agu-text);
    font-size: 14px;
}

.account-password-rules ul {
    margin: 0;
    padding-left: 20px;
}

.account-consent-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.account-consent-actions__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-consent-actions .button {
    min-width: 150px;
}

.account-button--cancel {
    min-width: 150px;
    border-color: #bd6a6a;
    background: #fff;
    color: #a94e4e;
}

.account-button--cancel:hover,
.account-button--cancel:focus-visible {
    border-color: #a94e4e;
    background: #fff3f3;
    color: #8d3f3f;
}

.account-dashboard {
    width: min(100%, 920px);
}

.account-dashboard__header {
    margin-bottom: 26px;
}

.account-dashboard__hello {
    margin: 0 0 5px;
    color: var(--agu-lime-dark);
    font-size: 17px;
    font-weight: 700;
}

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

.account-dashboard__menu-card {
    display: grid;
    min-height: 132px;
    align-content: center;
    gap: 7px;
    padding: 22px;
    border: 1px solid #dfe3e6;
    border-radius: 8px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.account-dashboard__menu-card:hover,
.account-dashboard__menu-card:focus-visible {
    border-color: var(--agu-lime-dark);
    box-shadow: 0 0 0 3px rgba(190, 214, 0, .1);
    transform: translateY(-1px);
}

.account-dashboard__menu-card strong {
    color: var(--agu-text);
    font-size: 16px;
}

.account-dashboard__menu-card span {
    color: var(--agu-muted);
    font-size: 13px;
    line-height: 1.45;
}

.account-dashboard__logout {
    margin-top: 20px;
}

@media (max-width: 720px) {
    .account-consent-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .account-consent-actions__right {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .account-consent-actions .button {
        width: 100%;
    }

    .account-dashboard__menu-grid {
        grid-template-columns: 1fr;
    }

    .account-dashboard__menu-card {
        min-height: 0;
    }
}



/* Shared EKATTE settlement autocomplete for registration and profile forms. */
.account-settlement-picker {
    position: relative;
    display: block;
}

.account-settlement-suggestions {
    position: absolute;
    z-index: 60;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    overflow-y: auto;
    max-height: 280px;
    border: 1px solid #d9dde1;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 28px rgb(0 0 0 / 14%);
}

.account-settlement-suggestion {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #eceef0;
    background: #fff;
    color: inherit;
    padding: 10px 12px;
    text-align: left;
    font: inherit;
    font-size: 14px;
    line-height: 1.35;
    cursor: pointer;
}

.account-settlement-suggestion:last-child {
    border-bottom: 0;
}

.account-settlement-suggestion:hover,
.account-settlement-suggestion:focus {
    background: #f6f8f8;
}

.account-field-help {
    color: #747b80;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.account-orders-page,
.account-order-detail-page {
    width: min(100%, 980px);
}

.account-orders-heading,
.account-order-detail__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.account-orders-heading {
    margin-bottom: 24px;
}

.account-orders-count {
    flex: 0 0 auto;
    margin-top: 4px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f4f6e5;
    color: #6f7d00;
    font-size: 12px;
    font-weight: 600;
}

.account-orders-empty {
    display: grid;
    gap: 6px;
    padding: 28px;
    border: 1px solid #e4e7e9;
    border-radius: 8px;
    background: #fafbfb;
    text-align: center;
}

.account-orders-empty strong {
    color: var(--agu-text);
}

.account-orders-empty span {
    color: var(--agu-muted);
    font-size: 14px;
    line-height: 1.5;
}

.account-orders-list {
    display: grid;
    gap: 10px;
}

.account-order-row {
    display: grid;
    grid-template-columns: minmax(210px, 1.4fr) minmax(180px, 1fr) minmax(120px, .7fr) 145px;
    gap: 18px;
    align-items: center;
    min-height: 82px;
    padding: 15px 18px;
    border: 1px solid #e1e5e7;
    border-radius: 8px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.account-order-row:hover {
    border-color: var(--agu-lime-dark);
    box-shadow: 0 0 0 3px rgba(190, 214, 0, .09);
    transform: translateY(-1px);
}

.account-order-row__identity,
.account-order-row__total {
    display: grid;
    gap: 4px;
}

.account-order-row__identity-link {
    min-width: 0;
    text-decoration: none;
}

.account-order-row__identity-link:hover strong,
.account-order-row__identity-link:focus-visible strong {
    color: #718000;
}

.account-order-row__identity strong,
.account-order-row__total strong {
    color: var(--agu-text);
}

.account-order-row__identity small,
.account-order-row__total small {
    color: var(--agu-muted);
    font-size: 12px;
}

.account-order-row__total {
    text-align: right;
}

.account-order-row__actions {
    display: grid;
    justify-items: end;
    gap: 7px;
}

.account-order-row__open {
    color: #718000;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.account-order-row__open:hover,
.account-order-row__open:focus-visible {
    text-decoration: underline;
}

.account-order-status {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.account-order-status.is-new {
    background: #f5f7eb;
    color: #6f7d00;
}

.account-order-status.is-shipped {
    background: #eef4fb;
    color: #426d93;
}

.account-order-status.is-completed {
    background: #eff8ef;
    color: #397541;
}

.account-order-status.is-cancelled {
    background: #fff1f1;
    color: #a34d4d;
}

.account-order-status.is-neutral {
    background: #f2f3f3;
    color: #6c7478;
}

.account-orders-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e5e8ea;
    font-size: 13px;
}

.account-orders-pagination__next {
    text-align: right;
}

.account-orders-pagination__pages {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.account-orders-pagination a,
.account-orders-pagination__current {
    display: inline-flex;
    min-width: 30px;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border: 1px solid #dfe4e6;
    border-radius: 6px;
    color: #718000;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.account-orders-pagination__previous a,
.account-orders-pagination__next a {
    width: fit-content;
    min-width: 0;
    border-color: transparent;
    padding-inline: 0;
}

.account-orders-pagination__next a {
    margin-left: auto;
}

.account-orders-pagination a:hover,
.account-orders-pagination a:focus-visible {
    border-color: var(--agu-lime-dark);
    background: rgba(190, 214, 0, .08);
}

.account-orders-pagination__previous a:hover,
.account-orders-pagination__previous a:focus-visible,
.account-orders-pagination__next a:hover,
.account-orders-pagination__next a:focus-visible {
    background: transparent;
}

.account-orders-pagination__current {
    border-color: var(--agu-lime-dark);
    background: var(--agu-lime);
    color: #374000;
}

.account-orders-pagination__ellipsis {
    min-width: 18px;
    color: var(--agu-muted);
    text-align: center;
}

.account-order-detail__header {
    align-items: center;
    margin-bottom: 24px;
}

.account-order-detail__eyebrow {
    margin: 0 0 3px;
    color: var(--agu-lime-dark);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.account-order-detail__header h1 {
    margin-bottom: 5px;
}

.account-order-detail__created {
    margin: 0;
    color: var(--agu-muted);
    font-size: 13px;
}

.account-order-detail__summary {
    display: grid;
    justify-items: end;
    gap: 9px;
    flex: 0 0 auto;
}

.account-order-detail__summary > strong {
    color: var(--agu-text);
    font-size: 20px;
}

.account-order-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid #e2e6e8;
    border-radius: 8px;
    background: #fafbfb;
}

.account-order-timeline--cancelled {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-order-timeline__step {
    position: relative;
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    min-width: 0;
    color: #a1a7aa;
}

.account-order-timeline__step:not(:last-child)::after {
    position: absolute;
    top: 8px;
    left: 17px;
    right: -1px;
    height: 2px;
    background: #e0e4e6;
    content: '';
}

.account-order-timeline__marker {
    position: relative;
    z-index: 1;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    border: 3px solid #d8dddf;
    border-radius: 50%;
    background: #fff;
}

.account-order-timeline__step > div {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 4px;
    padding-right: 14px;
    background: #fafbfb;
}

.account-order-timeline__step strong {
    color: inherit;
    font-size: 13px;
}

.account-order-timeline__step span:not(.account-order-timeline__marker) {
    font-size: 12px;
}

.account-order-timeline__step.is-done {
    color: var(--agu-text);
}

.account-order-timeline__step.is-done .account-order-timeline__marker {
    border-color: var(--agu-lime-dark);
    background: var(--agu-lime);
}

.account-order-timeline__step.is-done:not(:last-child)::after {
    background: #dce5a5;
}

.account-order-timeline__step.is-cancelled {
    color: #a34d4d;
}

.account-order-timeline__step.is-cancelled .account-order-timeline__marker {
    border-color: #bf6262;
    background: #fff1f1;
}

.account-order-cancellation {
    margin: -8px 0 24px;
    padding: 15px 18px;
    border: 1px solid #efcccc;
    border-radius: 8px;
    background: #fff8f8;
    color: var(--agu-text);
}

.account-order-cancellation strong {
    display: block;
    margin-bottom: 5px;
    color: #934747;
    font-size: 13px;
}

.account-order-cancellation p {
    margin: 0;
    line-height: 1.55;
}

.account-order-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: 18px;
    align-items: start;
}

.account-order-detail__side {
    display: grid;
    gap: 18px;
}

.account-order-panel {
    padding: 20px;
    border: 1px solid #e1e5e7;
    border-radius: 8px;
    background: #fff;
}

.account-order-panel h2 {
    margin: 0 0 16px;
    color: var(--agu-text);
    font-size: 17px;
    font-weight: 600;
}

.account-order-items {
    display: grid;
}

.account-order-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid #eceeef;
}

.account-order-item:first-child {
    padding-top: 0;
}

.account-order-item__main,
.account-order-item__price {
    display: grid;
    gap: 4px;
}

.account-order-item__main > strong,
.account-order-item__price > strong {
    color: var(--agu-text);
}

.account-order-item__main > span,
.account-order-item__main > small,
.account-order-item__price > small {
    color: var(--agu-muted);
    font-size: 12px;
}

.account-order-item__price {
    justify-items: end;
    align-content: start;
    text-align: right;
}

.account-order-bundle-components {
    margin: 6px 0 0;
    padding: 8px 10px 8px 24px;
    border-radius: 6px;
    background: #f7f8f8;
    color: #687176;
    font-size: 12px;
    line-height: 1.5;
}

.account-order-bundle-components span {
    color: #8b9296;
}

.account-order-totals {
    display: grid;
    gap: 9px;
    margin: 16px 0 0;
}

.account-order-totals > div,
.account-order-details-list > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
}

.account-order-totals dt,
.account-order-details-list dt {
    color: var(--agu-muted);
    font-size: 13px;
}

.account-order-totals dd,
.account-order-details-list dd {
    margin: 0;
    color: var(--agu-text);
    text-align: right;
}

.account-order-totals__grand {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid #e4e7e9;
    font-weight: 700;
}

.account-order-totals__grand dd {
    font-size: 18px;
}

.account-order-details-list {
    display: grid;
    gap: 11px;
    margin: 0;
}

.account-order-details-list > div {
    grid-template-columns: minmax(110px, .8fr) minmax(0, 1.2fr);
}

.account-order-details-list dd {
    overflow-wrap: anywhere;
}

.account-order-bank-payment {
    margin-top: 15px;
    padding: 14px;
    border-radius: 7px;
    background: #f7f8f2;
    color: var(--agu-text);
    font-size: 13px;
    line-height: 1.55;
}

.account-order-bank-payment p,
.account-order-payment-note {
    margin: 0;
}

.account-order-bank-payment p + p,
.account-order-bank-payment div + p,
.account-order-bank-payment p + div {
    margin-top: 9px;
}

.account-order-payment-note {
    color: var(--agu-muted);
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 820px) {
    .account-order-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .account-order-row__total {
        text-align: left;
    }

    .account-order-row__open {
        text-align: right;
    }

    .account-order-detail__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .account-orders-heading,
    .account-order-detail__header {
        display: grid;
        gap: 14px;
    }

    .account-orders-count {
        justify-self: start;
    }

    .account-order-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px;
    }

    .account-order-row__total,
    .account-order-row__open {
        text-align: left;
    }

    .account-order-row__actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        justify-items: initial;
        gap: 9px 14px;
    }

    .account-order-detail__summary {
        justify-items: start;
    }

    .account-order-timeline,
    .account-order-timeline--cancelled {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .account-order-timeline__step:not(:last-child)::after {
        top: 16px;
        bottom: -15px;
        left: 7px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .account-order-timeline__step > div {
        padding-right: 0;
    }

    .account-order-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .account-order-item__price {
        justify-items: start;
        text-align: left;
    }

    .account-order-details-list > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .account-order-details-list dd {
        text-align: left;
    }

    .account-orders-pagination {
        grid-template-columns: 1fr 1fr;
        gap: 10px 14px;
    }

    .account-orders-pagination__pages {
        grid-column: 1 / -1;
        grid-row: 1;
        flex-wrap: wrap;
    }

    .account-orders-pagination__previous {
        grid-column: 1;
        grid-row: 2;
    }

    .account-orders-pagination__next {
        grid-column: 2;
        grid-row: 2;
    }
}

/* Customer return status and actions on order history. */
.account-order-entry {
    min-width: 0;
}

.account-order-row__statuses {
    display: grid;
    justify-items: start;
    gap: 5px;
}

.account-return-status {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 700;
}

.account-return-status.is-pending {
    background: #fff3d9;
    color: #8a6418;
}

.account-return-status.is-approved {
    background: #eef5d0;
    color: #607000;
}

.account-return-status.is-rejected {
    background: #fff0f0;
    color: #a24242;
}

.account-return-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid #bccf00;
    border-radius: 5px;
    background: #fff;
    padding: 7px 12px;
    color: #657100;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.account-return-button:hover {
    background: #fafce9;
}



@media (max-width: 760px) {
    .account-order-detail__summary .account-return-button {
        width: 100%;
    }

    .account-order-row__actions .account-return-button {
        width: auto;
    }
}









.account-return-status.is-partial {
    background: #fff3d9;
    color: #8a6418;
}


.account-return-archive {
    margin: 26px 0 0;
}

.account-return-archive h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.account-return-archive__list {
    display: grid;
    gap: 14px;
}

.account-return-archive__item {
    border: 1px solid #dfe5e8;
    border-radius: 8px;
    background: #fff;
    padding: 16px;
}

.account-return-archive__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.account-return-archive__header > div {
    display: grid;
    gap: 3px;
}

.account-return-archive__header small,
.account-return-archive__product small {
    color: #7b858b;
}

.account-return-archive__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 0;
}

.account-return-archive__details > div {
    min-width: 0;
}

.account-return-archive__details dt {
    margin-bottom: 3px;
    color: #7b858b;
    font-size: 12px;
    font-weight: 700;
}

.account-return-archive__details dd {
    margin: 0;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.account-return-archive__wide {
    grid-column: 1 / -1;
}

.account-return-archive__products {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    border-top: 1px solid #edf0f2;
    padding-top: 14px;
}

.account-return-archive__product {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #f0f2f3;
    padding: 7px 0;
    line-height: 1.45;
}

.account-return-archive__product > span:first-child {
    display: grid;
    gap: 2px;
}

.account-return-archive__product > span:last-child {
    flex: 0 0 auto;
    text-align: right;
}

.account-return-archive__decision {
    display: grid;
    gap: 5px;
    margin-top: 14px;
    border-left: 4px solid #bccf00;
    background: #fafce9;
    padding: 11px 13px;
    line-height: 1.5;
}

.account-return-archive__decision strong {
    color: #657100;
}

@media (max-width: 760px) {
    .account-return-archive__header,
    .account-return-archive__product {
        display: grid;
    }

    .account-return-archive__details {
        grid-template-columns: 1fr;
    }

    .account-return-archive__wide {
        grid-column: auto;
    }

    .account-return-archive__product > span:last-child {
        text-align: left;
    }
}

