:root {
    --order-customer-bg: #f4f6f3;
    --order-customer-card: #fff;
    --order-customer-text: #1f2925;
    --order-customer-muted: #65716b;
    --order-customer-line: #dfe5e1;
    --order-customer-accent: #207857;
    --order-customer-accent-dark: #15583f;
}

.order-customer {
    min-height: 100vh;
    margin: 0;
    color: var(--order-customer-text);
    background: var(--order-customer-bg);
}

.order-customer__shell {
    width: min(100% - 32px, 980px);
    margin-inline: auto;
}

.order-customer__main {
    min-height: calc(100vh - 154px);
    padding-block: 48px 72px;
}

.order-customer__footer {
    border-top: 1px solid var(--order-customer-line);
    color: var(--order-customer-muted);
    background: #fff;
}

.order-customer__footer-inner {
    min-height: 80px;
}

.order-customer__footer nav {
    display: flex;
    gap: 20px;
}

.order-customer__footer a,
.order-customer__logout {
    color: inherit;
}

.order-customer__logout {
    border: 0;
    padding: 8px;
    background: transparent;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.order-customer__card {
    border: 1px solid var(--order-customer-line);
    border-radius: 18px;
    background: var(--order-customer-card);
    box-shadow: 0 12px 36px rgba(28, 49, 39, .06);
}

.order-customer__eyebrow {
    color: var(--order-customer-accent);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.order-customer__button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--order-customer-accent);
    border-radius: 10px;
    padding: 10px 18px;
    color: #fff;
    background: var(--order-customer-accent);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.order-customer__button:hover,
.order-customer__button:focus-visible {
    border-color: var(--order-customer-accent-dark);
    background: var(--order-customer-accent-dark);
}

.order-customer__button--secondary {
    color: var(--order-customer-accent-dark);
    background: #fff;
}

.order-customer__notice {
    display: grid;
    gap: 6px;
    margin-bottom: 22px;
    border-radius: 12px;
    padding: 16px 18px;
}

.order-customer__notice--success {
    color: #174f3b;
    background: #e3f4ec;
}

.order-customer__notice--error {
    color: #7d2929;
    background: #fbe9e8;
}

.order-customer__notice--info {
    color: #33455f;
    background: #edf2f8;
}

.order-customer-access {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 56px;
    align-items: center;
    min-height: 540px;
}

.order-customer-access__intro h1,
.order-customer-history__headline h1 {
    margin: 10px 0 14px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.06;
}

.order-customer-access__intro p {
    max-width: 600px;
    color: var(--order-customer-muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.order-customer-access__card {
    padding: 30px;
}

.order-customer-access__form {
    display: grid;
    gap: 20px;
}

.order-customer-access__form .form-row {
    display: grid;
    gap: 8px;
}

.order-customer-access__form input[type="email"] {
    min-height: 48px;
    border: 1px solid #bac5bf;
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--order-customer-text);
    background: #fff;
    caret-color: var(--order-customer-text);
    font: inherit;
}

.order-customer-access__form input[type="email"]:hover {
    border-color: #8ca399;
    color: var(--order-customer-text);
    background: #fff;
}

.order-customer-access__form input[type="email"]:focus,
.order-customer-access__form input[type="email"]:focus-visible {
    border-color: var(--order-customer-accent);
    outline: 3px solid rgba(32, 120, 87, .16);
    outline-offset: 1px;
    color: var(--order-customer-text);
    background: #fff;
}

.order-customer-access__form input[type="email"]:-webkit-autofill,
.order-customer-access__form input[type="email"]:-webkit-autofill:hover,
.order-customer-access__form input[type="email"]:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--order-customer-text);
    box-shadow: 0 0 0 1000px #fff inset;
    caret-color: var(--order-customer-text);
}

.order-customer-access__form .hz-form-field__control {
    min-height: 56px;
    border-color: #bac5bf;
    border-radius: 10px;
    background: #fff;
    color: var(--order-customer-text);
}

.order-customer-access__form .hz-form-label {
    color: var(--order-customer-muted);
}

.order-customer-access__form .hz-form-field__control:hover {
    border-color: #8ca399;
}

.order-customer-access__form .hz-form-field__control:focus-within {
    border-color: var(--order-customer-accent);
    outline: 3px solid rgba(32, 120, 87, .16);
}

.order-customer-access__form .hz-form-field__control:has([aria-invalid="true"]) {
    border-color: #b42318;
}

.order-customer-access__form .hz-form-field__control > input[type="email"],
.order-customer-access__form .hz-form-field__control > input[type="email"]:is(:hover, :focus, :focus-visible) {
    min-height: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--order-customer-text);
    box-shadow: none;
}

.order-customer-access__privacy {
    margin: 18px 0 0;
    color: var(--order-customer-muted);
    font-size: .88rem;
    line-height: 1.5;
}

.order-customer-access__honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.order-customer-history__headline {
    display: flex;
    min-height: 0;
    align-items: end;
    justify-content: space-between;
    position: static;
    top: auto;
    z-index: auto;
    width: auto;
    gap: 30px;
    margin-bottom: 32px;
    border: 0;
    padding: 0;
    background: transparent;
    flex-direction: row;
}

.order-customer-history__headline h1 {
    margin-bottom: 4px;
}

.order-customer-history__headline p,
.order-customer-history__security {
    margin: 0;
    color: var(--order-customer-muted);
}

.order-customer-history {
    display: grid;
    gap: 20px;
}

.order-customer-order {
    padding: 26px;
}

.order-customer-order__header,
.order-customer-order__footer,
.order-customer-order__item,
.order-customer-order__totals div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.order-customer-order__header {
    min-height: 0;
    position: static;
    top: auto;
    z-index: auto;
    width: auto;
    border: 0;
    padding: 0;
    background: transparent;
    flex-direction: row;
}

.order-customer-order__number {
    display: block;
    font-weight: 800;
}

.order-customer-order__date,
.order-customer-order__item span,
.order-customer-order__status-description,
.order-customer-order__empty {
    color: var(--order-customer-muted);
}

.order-customer-order__status {
    border-radius: 999px;
    padding: 7px 11px;
    color: #385047;
    background: #edf1ef;
    font-size: .84rem;
    font-weight: 800;
}

.order-customer-order__status--received {
    color: #6d4f10;
    background: #fff0c7;
}

.order-customer-order__status--confirmed,
.order-customer-order__status--processing {
    color: #174f3b;
    background: #e3f4ec;
}

.order-customer-order__status--shipped,
.order-customer-order__status--completed {
    color: #204f78;
    background: #e5f1fb;
}

.order-customer-order__status--cancelled {
    color: #7d2929;
    background: #fbe9e8;
}

.order-customer-order__shipments {
    margin-top: 20px;
    border: 1px solid #cfe1d8;
    border-radius: 14px;
    padding: 18px;
    background: #f5faf7;
}

.order-customer-order__shipments-heading,
.order-customer-shipment__header,
.order-customer-shipment__dates div,
.order-customer-shipment__tracking-row,
.order-customer-shipment__items li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.order-customer-order__shipments-heading {
    margin-bottom: 14px;
}

.order-customer-order__shipments-heading h3 {
    margin: 2px 0 0;
    font-size: 1.08rem;
}

.order-customer-order__shipments-eyebrow {
    color: var(--order-customer-accent);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.order-customer-order__shipment-count {
    border-radius: 999px;
    padding: 5px 9px;
    color: var(--order-customer-accent-dark);
    background: #dfeee6;
    font-size: .78rem;
    font-weight: 800;
}

.order-customer-order__shipment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 12px;
}

.order-customer-shipment {
    min-width: 0;
    border: 1px solid var(--order-customer-line);
    border-radius: 12px;
    padding: 15px;
    background: #fff;
}

.order-customer-shipment__header {
    position: static;
    top: auto;
    z-index: auto;
    width: auto;
    min-height: 0;
    border: 0;
    padding: 0;
    background: transparent;
    flex-direction: row;
}

.order-customer-shipment__header > div {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.order-customer-shipment__header > div span,
.order-customer-shipment__dates dt,
.order-customer-shipment__tracking-row > span,
.order-customer-shipment__items > span {
    color: var(--order-customer-muted);
    font-size: .78rem;
}

.order-customer-shipment__status {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 5px 9px;
    color: #385047;
    background: #edf1ef;
    font-size: .76rem;
    font-weight: 800;
}

.order-customer-shipment__status--shipped,
.order-customer-shipment__status--in-transit {
    color: #204f78;
    background: #e5f1fb;
}

.order-customer-shipment__status--delivered {
    color: #174f3b;
    background: #e3f4ec;
}

.order-customer-shipment__status--delayed {
    color: #6d4f10;
    background: #fff0c7;
}

.order-customer-shipment__status--returned,
.order-customer-shipment__status--cancelled {
    color: #7d2929;
    background: #fbe9e8;
}

.order-customer-shipment__dates {
    display: grid;
    gap: 4px;
    margin: 12px 0 0;
}

.order-customer-shipment__dates dt,
.order-customer-shipment__dates dd {
    margin: 0;
}

.order-customer-shipment__dates dd {
    font-size: .86rem;
    font-weight: 700;
}

.order-customer-shipment__tracking {
    display: grid;
    gap: 7px;
    margin-top: 12px;
    border-radius: 9px;
    padding: 10px 12px;
    background: #edf6f1;
}

.order-customer-shipment__tracking-row {
    min-width: 0;
}

.order-customer-shipment__tracking-row a,
.order-customer-shipment__tracking-row > strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--order-customer-accent-dark);
    text-align: right;
    text-underline-offset: 3px;
}

.order-customer-shipment__tracking-row a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.order-customer-shipment__items {
    margin-top: 12px;
}

.order-customer-shipment__items ul {
    display: grid;
    gap: 5px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.order-customer-shipment__items li {
    align-items: baseline;
    font-size: .82rem;
}

.order-customer-shipment__items li > span {
    min-width: 0;
}

.order-customer-shipment__items li > strong {
    flex: 0 0 auto;
}

.order-customer-order__items {
    margin-top: 20px;
    border-block: 1px solid var(--order-customer-line);
}

.order-customer-order__item {
    padding-block: 14px;
}

.order-customer-order__item + .order-customer-order__item {
    border-top: 1px solid var(--order-customer-line);
}

.order-customer-order__item div {
    display: grid;
    gap: 3px;
}

.order-customer-order__footer {
    align-items: end;
    position: static;
    width: auto;
    margin: 20px 0 0;
    border: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    font-size: inherit;
    text-align: left;
}

.order-customer-order__totals {
    display: grid;
    gap: 5px;
    min-width: 260px;
    margin: 0;
}

.order-customer-order__totals dt,
.order-customer-order__totals dd {
    margin: 0;
}

.order-customer-order__total {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--order-customer-line);
    font-weight: 800;
}

.order-customer-history__empty {
    padding: 40px;
    text-align: center;
}

@media (max-width: 720px) {
    .order-customer-access {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
    }

    .order-customer__main {
        padding-block: 34px 52px;
    }

    .order-customer-history__headline,
    .order-customer-order__header,
    .order-customer-order__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .order-customer-order__item {
        align-items: start;
    }

    .order-customer-order__shipments-heading,
    .order-customer-shipment__header {
        align-items: flex-start;
    }

    .order-customer__footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-block: 20px;
    }
}
.order-customer-pages {
    margin-bottom: 1.5rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.order-customer-pages__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.order-customer-pages__header h2 {
    margin: .25rem 0 .4rem;
}

.order-customer-pages__header p {
    margin: 0;
    color: var(--order-customer-muted, #63706b);
}

.order-customer-pages__count {
    display: grid;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--order-customer-accent, #267052);
    font-weight: 800;
}

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

.order-customer-page {
    display: grid;
    gap: .4rem;
    padding: 1rem 1.1rem;
    border: 1px solid #d8e1dc;
    border-radius: .8rem;
    color: inherit;
    background: #fff;
    text-decoration: none;
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.order-customer-page:hover {
    border-color: #9ac5b3;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(21, 45, 34, .08);
}

.order-customer-page > span {
    color: var(--order-customer-accent, #267052);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.order-customer-page p {
    margin: 0;
    color: var(--order-customer-muted, #63706b);
    font-size: .84rem;
    line-height: 1.45;
}

.order-customer-page small {
    margin-top: .25rem;
    color: var(--order-customer-accent, #267052);
    font-weight: 750;
}

@media (max-width: 700px) {
    .order-customer-pages__grid {
        grid-template-columns: 1fr;
    }
}
