.address-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px
}

.member-subnav {
    display: flex;
    gap: 8px;
    margin: 18px 0 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dfd4c9
}

.member-subnav button {
    background: #fff;
    color: #6d5c32
}

.member-subnav button.is-active {
    background: #6d5c32;
    color: #fff
}

.member-save-bar {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin: 28px -30px -30px;
    padding: 16px 30px;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid #dfd4c9;
    box-shadow: 0 -5px 18px rgba(67, 57, 47, .08);
    z-index: 5
}

.member-save-bar button {
    min-width: 190px
}

.save-all-message {
    margin: 0;
    color: #285c2d;
    font-weight: 900
}

.save-all-message.error {
    color: #a22
}

.unsaved-dialog {
    max-width: 520px
}

.unsaved-dialog .profile-actions {
    justify-content: flex-end
}

.order-detail-dialog {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fffaf5;
    color: #43392f
}

.order-detail-dialog::backdrop {
    background: rgba(37, 31, 24, .55)
}

.order-detail-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: #fff;
    border-bottom: 1px solid #dfd4c9;
    z-index: 2
}

.order-detail-header h2 {
    margin: 0
}

.order-detail-header button {
    border: 0;
    background: transparent;
    color: #43392f;
    font-size: 30px;
    padding: 2px 10px
}

.order-detail-content,
#orderDetailContent {
    max-width: 920px;
    margin: auto;
    padding: 24px
}

.order-detail-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px
}

.order-detail-summary p {
    margin: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid #dfd4c9
}

.order-items {
    width: 100%;
    border-collapse: collapse;
    background: #fff
}

.order-items th,
.order-items td {
    padding: 12px 10px;
    border-bottom: 1px solid #dfd4c9;
    text-align: left
}

.order-items .number {
    text-align: right
}

.order-detail-totals {
    margin: 18px 0 0 auto;
    max-width: 360px
}

.order-detail-totals p {
    display: flex;
    justify-content: space-between;
    margin: 8px 0
}

.order-detail-totals .grand-total {
    font-size: 1.2rem;
    font-weight: 900;
    border-top: 2px solid #6d5c32;
    padding-top: 10px
}

@media(max-width:620px) {
    .member-subnav {
        display: grid;
        grid-template-columns: repeat(3, 1fr)
    }

    .member-subnav button {
        padding: 10px 6px
    }

    .member-save-bar {
        margin: 24px -20px -20px;
        padding: 14px 20px;
        flex-direction: column;
        align-items: stretch
    }

    .member-save-bar button {
        width: 100%
    }

    .order-detail-summary {
        grid-template-columns: 1fr
    }

    .order-items {
        font-size: 13px
    }

    .order-items th,
    .order-items td {
        padding: 9px 5px
    }
}