.cart-widget-side{
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}
.cart-widget-side.cart-widget-opened{
    display: block;
}

.cart-widget-wrapper {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 9999;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: min(340px, 100vw);
    background-color: #FFF;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    right: 0;
    left: auto;
    height: 100%;
    top: 0;
    transform: translate3d(100%, 0, 0);
}

.cart-widget-opened .cart-widget-wrapper {
    transform: none;
}


.cart-widget-wrapper .widget_shopping_cart{
    display: flex;
    position: relative;
    flex: 1 1 100%;
}
.cart-widget-wrapper .widget_shopping_cart_content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
}
.cart-widget-wrapper .widget_shopping_cart_body {
    position: relative;
    flex: 1 1 auto;
}
.widget_shopping_cart_body .widget-scroll-content {
    position: absolute;
    inset: 0;
    max-height: 100%;
    overscroll-behavior: none;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}


.widget-scroll-content>.mini_cart_item:last-child {
    border-bottom: none !important;
}

.mini_cart_item img {
    position: relative;
    flex: 0 0 auto;
    overflow: hidden;
    margin-right: 15px;
    display: block;
    min-width: 65px;
    max-width: 65px;
}
.mini_cart_item .cart-info {
    flex: 1 1 auto;
}
.mini_cart_item .cart-info .quantity{
    color: #bbb;
    font-size: 90%;
}
.remove_from_cart_button{
    text-decoration: underline;
}

.remove_from_cart_button:hover{
   color: red;
}
.cart-widget-side .amount{
   color: var(--bs-primary);
   font-weight: 600;
}
.cart-widget-side .shopping-cart-widget-footer>* {
    padding-inline: 15px;
}
.cart-widget-side .shopping-cart-widget-footer {
    flex: 0 0 auto;
    padding-bottom: 15px;
}
.widget_mini_cart_total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-block: 15px;
    font-size: 130%;
}
.widget-mini-cart_buttons {
    display: block;
    text-align: center;
}
.widget-mini-cart_buttons .btn-cart {
    padding:  5px 20px;
    min-height:  42px;
    font-size:  13px;
    background-color: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
}
.widget-mini-cart_buttons .btn-checkout {
    padding:  5px 20px;
    min-height:  42px;
    font-size:  13px;
    color: #FFF;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}
.m-cart-quantity--wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    border: 1px solid #dedede;
    padding: 0;
    width: 90px;
    overflow: hidden;
    margin-right: 10px;
}

.m-cart-quantity--button {
    background-color: #f0f0f0;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.m-cart-quantity--button:hover {
    background-color: #e0e0e0;
}

.m-cart-quantity--input {
    width: 40px;
    text-align: center;
    border: none;
    outline: none;
    font-size: 14px;
    line-height: 1;
    padding: 0px !important;
    margin: 0px !important;
}

.scd-item__quantity {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scd-item__btn {
    background-color: #f0f0f0;
    border: none;
    padding: 0px 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.scd-item__btn:hover {
    background-color: #e0e0e0;
}

.scd-item__qty_input {
    width: 40px;
    text-align: center;
    border: none;
    outline: none;
    font-size: 14px;
}

.scd-item__qty_input[type="number"]::-webkit-outer-spin-button,
.scd-item__qty_input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.scd-item__qty_input[type="number"] {
    -moz-appearance: textfield;
}
