/*mini cart*/
.header-cart {
    position: relative;
}
.header-cart .cart{
    display: none;
    position: absolute;
    top: 22px;
    right: -50px;
    background: #fff;
    padding: 0;
    text-align: left;
    z-index: 10000;
    box-shadow:0 0 15px -5px rgba(0, 0, 0, 0.4);
    color: #333;
}
.header-cart:hover .cart{
    display: block;
}
.header-cart .btn-show-cart img{
    height: 50px;
    width: 50px;
    object-fit: contain;
}
.cart-header .minicart-body{
    padding: 5px 0px;
    margin: 0;
    max-height: 582px;
    width: 290px;
}
.cart-header .minicart-body a{
    color: #333;
    display: flex;
}
.cart-header .woocommerce-mini-cart{
    padding: 0 10px !important;
    overflow-y:auto; 
    max-height: 400px;
}
.cart-header .woocommerce-mini-cart__total.total,
.woocommerce .cart-header .woocommerce-mini-cart__total.total{
    margin:20px 0;
    padding:0 20px;
}
.cart-header li{
    list-style: none;
    overflow: hidden;
    border-bottom: 1px solid #ebebeb; 
    padding: 10px 0 !important; 
    font-size: 14px;
    font-weight: normal;
}
.cart-header li+li{
    padding-top: 20px;
}
.woocommerce ul.cart_list li a, .woocommerce ul.product_list_widget li a{
    font-weight: normal !important;
}
.woocommerce .cart-header a.remove:hover {
    color: inherit;
    background: inherit;
}
.cart-header .minicart-body a.remove {
    float: right;
    text-align: right;
    font-size: 17px;
    line-height: 18px;
    padding-left: 5px;
    font-weight: 700 !important;
    color: #7b8395 !important;
}
.cart-header .minicart-body a.remove:hover{
    color: #226fe9 !important;
}
.cart-header .minicart-body .attachment-woocommerce_thumbnail  {
    float: left !important;
    width: 60px !important;
    min-height: 60px;
    height: auto;
    margin-right: 15px;
} 
.cart-header .quantity {
    display: block;
    font-size: 13px;
}
.nd-quantity {
    width: 50px;
    padding: 6px 18px;
    border: 1px solid #eaebf3;
    border-radius: 20px;
    display: block;
}
.cart-header .amount {
    font-weight: bold;
    color: #dd3333;
    margin-bottom: 5px;
    font-size: 15px;
}
.cart-header  .total .amount {
    font-weight: bold;
    float: right;
}
.cart-header .total{
    font-size: 16px;
}
.cart-header .total strong{
    font-size: 14px;
    font-weight: 500;
}
.cart-header .woocommerce-mini-cart__buttons{
    padding:0 20px;
}
.woocommerce ul.cart_list li dl, .woocommerce ul.product_list_widget li dl{
    border:0 !important;
}
.woocommerce ul.cart_list li dl.variation::before{
    display: none !important;
}
.cart-header .minicart-body .variation dt{
/*    display: none;  */
}
.cart-header .minicart-body .variation dt,
.cart-header .minicart-body .variation dd,
.cart-header .minicart-body .variation dd p{
    display: inline-block;
    margin:0;
    float: none;
}
.cart-header .minicart-body .variation dd{
    margin-right: 5px;
}
.cart-header .minicart-body .variation {
    border-top: 1px solid #ececec !important;
     border-left: 1px solid #ececec !important; 
    display: block;
    color: #999;
    margin-bottom: 0;
    padding: 0;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    line-height: normal;
}

.woocommerce .cart-header .cart .button.checkout.wc-forward,
 .cart-header .cart .button.checkout.wc-forward{
    padding: 8px 20px;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    transition: color 300ms ease-in-out 0s, background-color 300ms ease-in-out 0s, background-position 300ms ease-in-out 0;
    /*background: #226fe9;*/
    text-align: center;
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
    height: auto;
    width: auto;
}
.woocommerce .cart-header .cart .button.wc-forward ,
.cart-header .cart .button.wc-forward {
    background: #cd1818;
    color: #fff !important;
    border: 0;
    font-size: 14px;
    padding: 8px 20px !important;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    transition: color 300ms ease-in-out 0s, background-color 300ms ease-in-out 0s, background-position 300ms ease-in-out 0;
    text-align: center;
    display: block;
    height: auto !important; 
    width: auto ;
    margin-bottom: 10px;
    font-weight: 500;
}
.woocommerce-mini-cart__buttons.buttons .button:first-child{
    display: none;
}
.woocommerce-mini-cart__empty-message{
    padding:0 20px;
}

.cart-header .minicart-body p.woocommerce-mini-cart__empty-message{
    float: none;
    margin-bottom: 0;
}
/**/
@media only screen and (max-width: 1300px) {
    .header-cart .cart {
        right: -20px;
    }
}