.pnx-order-chat { display: none; }
@media (max-width: 1023px) {
    /* A greeting must not cover the page before the visitor opens the chat. */
    .b24-widget-button-wrapper .b24-widget-button-popup { display: none !important; }
    .b24-widget-button-wrapper.b24-widget-button-position-bottom-right {
        right: max(12px, env(safe-area-inset-right)) !important;
        bottom: max(var(--pnx-chat-bottom, 12px), env(safe-area-inset-bottom)) !important;
    }
    .pnx-chat-input .b24-widget-button-wrapper,
    .pnx-chat-checkout .b24-widget-button-wrapper { display: none !important; }
    .pnx-chat-checkout .pnx-order-chat {
        display: block;
        min-height: 44px;
        max-width: 100%;
        margin: 0 0 20px;
        padding: 10px 16px;
        border: 1px solid #009b4e;
        border-radius: 6px;
        background: #fff;
        color: #006d37;
        font: inherit;
        line-height: 1.4;
        text-align: left;
        cursor: pointer;
    }
    .pnx-order-chat:focus-visible { outline: 2px solid #006d37; outline-offset: 3px; }
    /* Narrow desktop windows also need to fit; native mobile sizing stays native. */
    .bx-livechat-wrapper:not(.bx-livechat-mobile):not(.bx-livechat-page-mode) {
        left: auto !important;
        right: 12px !important;
        top: auto !important;
        bottom: 12px !important;
        width: calc(100% - 24px) !important;
        max-width: 440px;
        height: min(557px, calc(100vh - 24px)) !important;
        height: min(557px, calc(100dvh - 24px)) !important;
    }
}
