.sb-menu-right {
    position: fixed;
    top: 0;
    right: 0;
    width: 500px;
    height: 100%;
    max-height: 100%;
    z-index: 99999999;
    overflow-y: auto;
    background-color: #fff;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    display: flex;
    flex-direction: column;
}



@media screen and (max-width: 768px) {
    .sb-menu-right {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        height: 75vh;
        max-height: 75vh;
        -webkit-transform: translateY(100%);
        -ms-transform: translateY(100%);
        transform: translateY(100%);
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }

    .sb-open .sb-menu-right {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    .cart-dropdown-wrapper {
        display: flex;
        flex-direction: column;
        height: 100%;
        max-height: 75vh;
        min-height: 0;
    }

    .cart-scroll-zone {
        flex: 1 1 0;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        max-height: none;
    }

    .cart-action .btn {
        padding: 8px 12px;
        font-size: 14px;
    }
}

.sb-close-btn {
    position: absolute;
    top: 10px;
    right: 15px !important;
    cursor: pointer;
    z-index: 1000;
    font-family: inherit;
}

@media screen and (min-width: 768px) {
    #index > div.sb-menu-right > button.js-ansidebarcart-close{
        display: none !important;
    }
}