body.graham-product-order-purchase-first div.product.graham-product-detail-blocks > .summary > :is(.graham-purchase-panel, .graham-product-purchase-block, .graham-price-gated-order),
body.graham-product-order-purchase-first div.product.graham-mobile-sequence > .summary > :is(.graham-purchase-panel, .graham-product-purchase-block, .graham-price-gated-order) {
    order: 10 !important;
}

body.graham-product-order-purchase-first div.product.graham-product-detail-blocks > .summary > .graham-product-family,
body.graham-product-order-purchase-first div.product.graham-mobile-sequence > .summary > .graham-product-family {
    order: 11 !important;
}

body.graham-product-order-family-first div.product.graham-product-detail-blocks > .summary > .graham-product-family,
body.graham-product-order-family-first div.product.graham-mobile-sequence > .summary > .graham-product-family {
    order: 10 !important;
}

body.graham-product-order-family-first div.product.graham-product-detail-blocks > .summary > :is(.graham-purchase-panel, .graham-product-purchase-block, .graham-price-gated-order),
body.graham-product-order-family-first div.product.graham-mobile-sequence > .summary > :is(.graham-purchase-panel, .graham-product-purchase-block, .graham-price-gated-order) {
    order: 11 !important;
}

.graham-product-page-order-editor {
    align-items: center;
    background: #f4f8fb;
    border: 1px solid #b9cfdd;
    border-radius: 8px;
    display: grid;
    gap: 10px 14px;
    grid-template-columns: minmax(230px, 1fr) minmax(260px, auto) auto;
    margin: 14px auto 18px;
    max-width: var(--graham-product-desktop-max, 1180px);
    padding: 12px 14px;
    width: calc(100% - 28px);
}

.graham-product-page-order-copy {
    display: grid;
    gap: 2px;
}

.graham-product-page-order-copy strong {
    color: #17324a;
    font-size: 15px;
}

.graham-product-page-order-copy span,
.graham-product-page-order-editor [data-graham-product-page-order-status] {
    color: #526d80;
    font-size: 12px;
}

.graham-product-page-order-editor ol {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.graham-product-page-order-editor li {
    align-items: center;
    background: #fff;
    border: 1px solid #c7d8e3;
    border-radius: 6px;
    display: flex;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
    justify-content: space-between;
    min-height: 38px;
    padding: 4px 5px 4px 10px;
}

.graham-product-page-order-actions {
    display: flex;
    gap: 3px;
}

.graham-product-page-order-actions button {
    align-items: center;
    background: #eaf3f8;
    border: 0;
    border-radius: 4px;
    color: #075da8;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    font-weight: 800;
    height: 28px;
    justify-content: center;
    padding: 0;
    width: 28px;
}

.graham-product-page-order-actions button:disabled {
    cursor: default;
    opacity: .3;
}

.graham-product-page-order-actions button:focus-visible,
.graham-product-page-order-editor .button:focus-visible {
    outline: 3px solid #8ed9ac;
    outline-offset: 2px;
}

.graham-product-page-order-editor .button {
    background: #168a43;
    border: 1px solid #168a43;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    min-height: 38px;
    padding: 7px 13px;
    white-space: nowrap;
}

.graham-product-page-order-editor .button:disabled {
    cursor: progress;
    opacity: .65;
}

.graham-product-page-order-editor [data-graham-product-page-order-status] {
    grid-column: 1 / -1;
    margin: 0;
    min-height: 15px;
}

.graham-product-page-order-editor.has-unsaved-order [data-graham-product-page-order-status] {
    color: #8a5b00;
    font-weight: 700;
}

@media (max-width: 820px) {
    .graham-product-page-order-editor {
        align-items: stretch;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .graham-product-page-order-copy,
    .graham-product-page-order-editor ol {
        grid-column: 1 / -1;
    }

    .graham-product-page-order-editor ol {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .graham-product-page-order-editor {
        margin-top: 10px;
        width: calc(100% - 20px);
    }

    .graham-product-page-order-editor ol {
        grid-template-columns: minmax(0, 1fr);
    }
}
