/* TL_ACCOUNT_DESKTOP_EQUAL_BUTTONS_V2 */
@media screen and (min-width: 841px) {
    body.customer-account-body > .checkout-secondary-header .customer-account-official-header__side:has(.customer-account-section-back),
    body.customer-account-body > .checkout-secondary-header .customer-account-section-header__side:has(.customer-account-section-back),
    body.customer-account-body > .checkout-secondary-header .customer-account-official-header__side:has(.tl-account-home-native),
    body.customer-account-body > .checkout-secondary-header .customer-account-section-header__side:has(.tl-account-home-native),
    body.customer-account-body > .checkout-secondary-header *:has(> .tl-account-home-only-button) {
        box-sizing: border-box !important;
        width: 128px !important;
        min-width: 128px !important;
        max-width: 128px !important;
        flex: 0 0 128px !important;
        overflow: visible !important;
    }

    body.customer-account-body > .checkout-secondary-header .customer-account-section-back,
    body.customer-account-body > .checkout-secondary-header .tl-account-home-native,
    body.customer-account-body > .checkout-secondary-header .tl-account-home-only-button {
        box-sizing: border-box !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 128px !important;
        min-width: 128px !important;
        max-width: 128px !important;
        inline-size: 128px !important;
        min-inline-size: 128px !important;
        max-inline-size: 128px !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        block-size: 42px !important;
        min-block-size: 42px !important;
        max-block-size: 42px !important;
        flex: 0 0 128px !important;
        padding: 0 12px !important;
        gap: 7px !important;
        border-radius: 11px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    body.customer-account-body > .checkout-secondary-header .customer-account-section-back span,
    body.customer-account-body > .checkout-secondary-header .tl-account-home-native span,
    body.customer-account-body > .checkout-secondary-header .tl-account-home-only-button span {
        display: inline-block !important;
        width: auto !important;
        min-width: max-content !important;
        max-width: none !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap !important;
        flex: 0 0 auto !important;
    }

    body.customer-account-body > .checkout-secondary-header .customer-account-section-back svg,
    body.customer-account-body > .checkout-secondary-header .tl-account-home-native svg,
    body.customer-account-body > .checkout-secondary-header .tl-account-home-only-button svg {
        width: 17px !important;
        min-width: 17px !important;
        max-width: 17px !important;
        height: 17px !important;
        min-height: 17px !important;
        max-height: 17px !important;
        flex: 0 0 17px !important;
    }
}
/* TL_ORDER_DETAIL_DESKTOP_HEADER_LIVE_PROBE_FIX_START */
@media screen and (min-width: 841px) {
    html body.customer-account-section:has(.tl-order-detail-page)
    > header.checkout-secondary-header.customer-account-section-header
    .customer-account-official-header {
        box-sizing: border-box !important;

        /* Do not reserve Back space on the positioned parent. */
        padding: 7px !important;
    }

    html body.customer-account-section:has(.tl-order-detail-page)
    > header.checkout-secondary-header.customer-account-section-header
    .customer-account-official-header__side:has(.customer-account-section-back) {
        position: absolute !important;
        top: 50% !important;
        right: 8px !important;
        left: auto !important;
        width: 128px !important;
        min-width: 128px !important;
        max-width: 128px !important;
        transform: translateY(-50%) !important;
        z-index: 8 !important;
    }

    html body.customer-account-section:has(.tl-order-detail-page)
    > header.checkout-secondary-header.customer-account-section-header
    .customer-account-section-header__identity--order-detail {
        grid-area: identity !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;

        /*
           Reserve the Back lane on the identity itself.
           128px button + 16px safety gap = 144px.
        */
        padding-top: 0 !important;
        padding-right: 144px !important;
        padding-bottom: 0 !important;
        padding-left: 8px !important;

        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: row !important;
        direction: rtl !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 16px !important;
    }

    html body.customer-account-section:has(.tl-order-detail-page)
    > header.checkout-secondary-header.customer-account-section-header
    .customer-account-section-header__identity--order-detail > strong {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: right !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    html body.customer-account-section:has(.tl-order-detail-page)
    > header.checkout-secondary-header.customer-account-section-header
    .customer-account-section-header__identity--order-detail
    > .customer-account-order-status {
        flex: 0 0 auto !important;
        max-width: 42% !important;
        margin: 0 !important;
    }
}
/* TL_ORDER_DETAIL_DESKTOP_HEADER_LIVE_PROBE_FIX_END */
