/* NosatoMobileFirst 1c pdpStickyCart: Fester Balken unten, nur auf dem Handy */
.nmf-sticky-cart {
    display: none;
}
@media (max-width: 767.98px) {
    .nmf-sticky-cart {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1030; /* unter Offcanvas (1045) und Modals (1055) */
        display: flex;
        align-items: center;
        gap: .75rem;
        padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom, 0px));
        background: var(--bs-body-bg, #fff);
        box-shadow: 0 -2px 12px rgba(0, 0, 0, .15);
        transform: translateY(110%);
        transition: transform .2s ease-out;
        visibility: hidden;
    }
    .nmf-sticky-cart.is-visible {
        transform: translateY(0);
        visibility: visible;
    }
    .nmf-sticky-cart-price {
        flex: 0 0 auto;
        font-weight: 700;
        font-size: 1.125rem;
        white-space: nowrap;
    }
    .nmf-sticky-cart-btn {
        flex: 1 1 auto;
        min-height: 48px;
        font-size: 1rem;
    }
    /* Platz schaffen, damit Footer und "Nach oben"-Button nicht verdeckt werden */
    body.nmf-sticky-active {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    }
    body.nmf-sticky-active .scroll-up-container,
    body.nmf-sticky-active .scroll-up-button {
        bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .nmf-sticky-cart { transition: none; }
}
