.jws-cart-animating {
    transition: 0.35s ease;
}
.elementor-menu-cart--show-quantity-bt-button-yes {
    .jws_mini_cart .jws_cart_content .jws-cart-panel .jws-cart-panel-list-wrap .cart_list li .jws_cart_item_inner {
        .quanty-ajax {
            display:block;
        }  
    }
}
.elementor-menu-cart--show-quantity-count-item-yes {
    .jws_mini_cart .jws_cart_content .jws-cart-panel .jws-cart-panel-list-wrap .jws_mini_cart_item {
            display:block; 
    }
}
.jws-mini-cart-wrapper {
  &.active {
       .jws-cart-overlay {
            opacity: 1;
            visibility: visible;
       } 
       .jws-cart-sidebar {
            .transformx(0%); 
       }
  }  
}

.jws-cart-overlay {
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        background: rgba(0,0,0,0.73);
        transition: 0.3s all;
        visibility: hidden;
        z-index: 9998;  
        opacity: 0;
    }
    .jws-cart-sidebar {
            position: fixed;
            top: 0;
            right: 0;
            z-index: 9999;
            -webkit-transition: -webkit-transform 0.5s;
            transition: transform 0.5s;
            .transformx(105%);
            background-color: #ffffff;
            .box-shadow(0 0 5px rgba(0,0,0,.05));
            height: 100%;
            width: 320px;
        }
        .jws_cart_content {
            display: flex;
            flex-direction: column;
            flex: 1;
            overflow: auto;
            height: 100%;
            .variation {
                dt , dd {
                 display: inline-block;   
                 margin:0;
                 p {
                   margin:0; 
                 }
                }
            }
            .jws-cart-panel {
                    display: flex;
                    flex-direction: column;
                    flex: 1;
                 &.jws-cart-panel-empty {
                   .jws-cart-panel-list-wrap {
                    .cart_list {
                        li {
                            display:block;
                        }
                    }
                   } 
                 }   
                .jws-cart-panel-summary {
                        margin-top: auto;
                        padding: 25px;
                    .jws-cart-panel-summary-inner {
                       .total-cart {
                            .jws-cart-panel-summary-subtotal {
                                float:right;
                            }
                            strong {
                                font-weight:600;
                                color:var(--heading);
                            }
                            margin-bottom:25px;
                       }
                       .woocommerce-mini-cart__buttons {
                        margin-bottom: 10px;
                         a {
                            display: block;
                            text-align: center;
                            padding: 10px 10px; 
                            background: #101010;
                            color: #ffffff;
                            &:hover {
                              background:var(--main);
                              -webkit-transform: translateY(-3px);
                                transform: translateY(-3px);
                                box-shadow: 0px 1px 1px rgba(0,0,0,0.05), 0px 2px 2px rgba(0,0,0,0.05), 0px 4px 4px rgba(0,0,0,0.05), 0px 8px 8px rgba(0,0,0,0.05), 0px 16px 16px rgba(0,0,0,0.05);  
                            }
                         }
                       } 
                    }
                }
                .jws-cart-panel-list-wrap {
                    padding:25px;
                    .jws_mini_cart_item {
                        margin-bottom:25px;
                        display:none;
                    }
                   .cart_list  {
                        padding:0;
                        .cart_empty {
                            text-align: center;
                            padding-top: 20px;
                            span {
                                color: #ececec;
                                display: block;
                                margin-bottom: 10px;
                                &:before {
                                  font-size:85px; 
                                  line-height:85px; 
                                }
                            }
                        }
                        li {
                                display: -ms-flexbox;
                                display: flex;
                                -webkit-align-items: center;
                              align-items: center;
                              margin-bottom: 20px;
                              position: relative;
                              .jws_cart_item_inner {
                                 position: relative;
                                 width: 100%;
                                 display: -ms-flexbox;
                                display: flex;
                                 -webkit-align-items: center; /* Safari 7.0+ */
                                  align-items: center;
                              }  
                    
                              &:last-child {
                                margin-bottom:0;
                              }
                            .jws-cart-panel-item-thumbnail {
                                   flex: 0 0 90px;
                                   max-width: 90px;
                                   margin-right: 30px;
                                   position: relative;
                              }  
                              .jws-cart-panel-item-content {
                                .jws-cart-panel-product-title {
                                    color:var(--heading);
                                    display: inline-block;
                                    line-height: 22px;
                                    font-weight: 500;
                                    &:hover {
                                        color:var(--main);
                                    }
                                }
                              }
                            .remove {
                                 width: 30px;
                                height: 30px;
                                line-height: 30px;
                                text-align: center;
                                border-radius: 100%;
                                background: #333333;
                                left: 30px;
                                top: 39%;
                                display: inline-block;
                                position: absolute;
                                opacity: 0;
                                color: #ffffff;
                                font-size: 20px;
                                z-index: 1;
                            }
                            &.loading .remove {
                                   opacity: 1;
                                   span {
                                    opacity:0;
                                   }  
                                   &:after {
                                        font-family: "jws_icon";
                                        content: '\e834';
                                        top: 0px;
                                        animation: MoveCircle360 0.38s infinite linear;
                                        display: inline-block;
                                        position: absolute;
                                        font-size: 18px;
                                        left: 50%;
                                        font-weight: bold;
                                      margin-left: -9px;
                                  }
                              }
                            .jws-cart-panel-item-content {
                               .quanty-ajax {
                                display:none;
                                 .quantity {
                                    > div {
                                        display:inline-block;
                                        > span {
                                            width: 24px;
                                            height: 24px;
                                            line-height: 21px;
                                            border: 1px solid #d8d8d8;
                                            display: block;
                                            border-radius: 100%;
                                            font-size: 10px;
                                            cursor: pointer;
                                            text-align: center;
                                        }
                                    }
                                 }
                               } 
                            }
                               &:hover {
                                
                                .remove {
                                 opacity: 1;
                                  
                                }
                                 
                            }
             
                        }
                     
                   } 
                }
            }
        }
.jws_mini_cart {
        > .jws-cart-nav a {
        color:var(--heading);    
        position:relative;
        display: block;
         .cart_icon { 
              display: inline-block;
              position: relative;
              font-size: 20px;
              color:var(--heading);
              margin-right: 17px;
              transition:0.3s all;
         }
        .cart_text {
            display: inline-block;
            letter-spacing: 0.5px;
            i {
                margin-left: 2px;
                display: inline-block;
                vertical-align: middle;   
            }
        }
        .jws_cart_count {
                width: 15px;
                height: 15px;
                line-height: 15px;
                display: block;
                text-align: center;
                font-size: 12px;
                .border-radius(100%);  
                top: 0px;
                right: -10px;
                position: absolute; 
                background:var(--main); 
                color:var(--light); 
        }
       } 

    .jws-cart-sidebar { 
        height:100%;
        min-width: 300px; 
    }
}
body[data-elementor-device-mode="tablet"] , body[data-elementor-device-mode="mobile"] { 
    .jws_mini_cart.content-skin1 .jws_cart_content .jws-cart-panel .jws-cart-panel-list-wrap .cart_list li .jws-cart-panel-item-thumbnail {
        margin-right:15px;
    }
}
.dark-mode-on {
    .jws-cart-sidebar {
      background-color: #1C1C1C;
    }
    .jws_cart_content .jws-cart-panel .jws-cart-panel-list-wrap .cart_list li .remove:before,
    .jws_cart_content .jws-cart-panel .jws-cart-panel-list-wrap .cart_list li .remove:after {
            background: #191919;
     }
     .jws_cart_content .jws-cart-panel .jws-cart-panel-summary .jws-cart-panel-summary-inner .woocommerce-mini-cart__buttons a:hover {
        color:#191919;
     }
}