@media (max-width: 767px), (hover: none) and (pointer: coarse) and (max-height: 540px) {
    #gps-license-footer {
        /* The legacy host sets position:fixed inline, after the page has been rendered. */
        position: static !important;
        margin-bottom: calc(var(--lavka-footer-cart-space, 0px) + 44px + env(safe-area-inset-bottom, 0px));
        overflow-wrap: anywhere;
    }

    body.psu-mobile-cart-visible #gps-license-footer {
        --lavka-footer-cart-space: var(--psu-cart-bar-height, 105px);
    }
}
