.sf-cart-continue, .sf-cart-swipe-hint { display: none; }
@media (max-width: 767.98px) {
    body .offcanvas.cart-offcanvas:has(.offcanvas-cart) {
        --bs-offcanvas-width: calc(100% - 36px);
        width: calc(100% - 36px);
        max-width: 480px;
        border-radius: 18px 0 0 18px;
        box-shadow: -8px 0 30px #0002;
    }
    body .cart-offcanvas .offcanvas-body { touch-action: pan-y pinch-zoom; }
    body .cart-offcanvas.sf-cart-dragging {
        transform: translateX(var(--sf-cart-drag-x, 0px)) !important;
        transition: none !important;
        user-select: none;
    }
    body .cart-offcanvas img, body .cart-offcanvas a { -webkit-user-drag: none; }
    body .offcanvas-cart .offcanvas-cart-header { padding-left: 16px; }
    body .offcanvas-cart .offcanvas-cart-header h4 { font-size: 22px; }
    body .offcanvas-cart .sf-cart-swipe-hint {
        display: block;
        margin-top: 5px;
        color: #62665e;
        font-size: 11px;
        line-height: 1.4;
    }
    body .offcanvas-cart .sf-cart-continue {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 44px;
        margin: 6px 0 0;
        padding: 8px 12px;
        border: 0;
        background: transparent;
        color: #30382c;
        font-size: 14px;
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
    body .offcanvas-cart .offcanvas-cart-actions { padding: 8px 14px max(8px, env(safe-area-inset-bottom)); }
}
@media (max-width: 359.98px) {
    body .offcanvas-cart .offcanvas-cart-items { padding-left: 14px; padding-right: 14px; }
    body .offcanvas-cart .line-item.is-offcanvas > .line-item-row {
        grid-template-columns: 48px minmax(0, 1fr) auto;
        column-gap: 8px;
    }
    body .offcanvas-cart .line-item-img { max-width: 46px; }
    body .offcanvas-cart .sf-cart-swipe-hint { max-width: 170px; }
}
@media (prefers-reduced-motion: reduce) {
    body .cart-offcanvas { transition-duration: 0ms !important; }
}
