.wt-mini-cart {
    font-size: 20px;
    cursor: pointer;
    position: relative;
    float: right;
    padding: 15px 0px 0px 35px;
}

.wt-mini-cart:after {
    font-family: "Font Awesome 5 pro";
    content: "d";
    font-size: 24px;
    display: inline-block;
    vertical-align: bottom;
}

.wt-mini-cart span.number {
    color: #476EA6;
}

.wt-mini-cart small.tax_label {
    display: none;
}

span.free-shipping {
    position: relative;
    margin: 0 -20px 0px 20px;
    top: 5px;
    background: rgba(128, 128, 128, 0.2);
    padding: 5px 10px 6px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

span.free-shipping:after {
    content: " ";
    top: 8px;
    height: 10px;
    width: 10px;
    position: absolute;
    right: -5px;
    background: rgba(128, 128, 128, 0.2);
    transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
}

a.menu-link {
    float: right;
}

a.menu-link:hover,
a.menu-link:active {
    text-decoration: none !important;
}


/*
    Recommeded CSS
    ==============
*/
@media screen and (max-width: 767px) {
    body.cart-panel {
        position: fixed;
        /*right: -20em !important; /*or width of your navigation cart-panel*/
        max-width: 80%; /*should match the above value*/
    }

    nav.cart-panel a.button.wc-forward {
        width: 100% !important;
        margin-bottom: 10px;
    }

    nav.cart-panel ul.product_list_widget li.mini_cart_item img {
        width: 60px !important;
    }
}

@media screen and (min-width: 769px) {
    body.cart-panel {
        position: fixed;
        right: -35em; /*or width of your navigation cart-panel*/
        width: 35em; /*should match the above value*/
    }
}

/*
    Demo Specific Styles
    ====================
*/

.wrap {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

body.cart-panel {
    background: #494646;
    color: #fff;
    padding: 20px;
    border-radius: 0;
}

nav.cart-panel .panel-top {
    position: relative;
}

nav.cart-panel a.menu-link {
    position: absolute;
    top: 18px;
    right: 22px;
}

nav.cart-panel a.menu-link:before {
    font-family: "wetail-icons";
    content: "q";
    font-size: 22px;
}

nav.cart-panel a.menu-link:hover {
    text-decoration: none;
}

nav.cart-panel ul.cart_list.product_list_widget {
    overflow-y: auto;
    height: 75%;
    list-style: none;
    padding: 0;
    overflow-x: hidden;
}

nav.cart-panel ul.cart_list.product_list_widget li.mini_cart_item {
    position: relative;
    padding: 20px 0;
    width: 100%;
    overflow: hidden;
}

nav.cart-panel ul.product_list_widget li.mini_cart_item img {
    width: 50px !important;
    height: inherit;
    float: left !important;
    margin: 0 20px 0 0;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

nav.cart-panel ul.cart_list.product_list_widget li.mini_cart_item a.remove,
nav.cart-panel ul.cart_list.product_list_widget li.mini_cart_item a.remove:hover {
    position: absolute;
    right: 10px;
    z-index: 99;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    padding: 5px;
    color: #fff !important;
    background-color: transparent;
}

nav.cart-panel ul.cart_list.product_list_widget li.mini_cart_item a.remove::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: "0";
    font-family: "wetail-icons", sans-serif;
    font-size: 12px;
    color: #000000;
}

nav.cart-panel ul.cart_list.product_list_widget a {
    font-size: 1.2em;
}

nav.cart-panel ul.cart_list span.cart-item-title {
    display: block;
}

nav.cart-panel ul.cart_list span.cart-item-qty {
    float: left;
}

nav.cart-panel ul.cart_list span.cart-item-price {
    /*     font-size: 0.8em; */
    float: left;
}

nav.cart-panel ul.cart_list.product_list_widget a:hover {
    text-decoration: none;
}

nav.cart-panel ul.cart_list.product_list_widget li.mini_cart_item span.quantity {
    position: absolute;
    width: 100% !important;
    left: 120px;
    top: 55px;
    font-weight: 300;
}

nav.cart-panel ul.cart_list.product_list_widget li.mini_cart_item dl.variation {
    padding: 0;
    border-left: none;
    position: absolute;
    top: 75px;
    left: 120px;
    font-weight: 300;
}

nav.cart-panel p.total {
    font-size: 18px;
    text-align: center;
    margin: 0 0 20px 0;
}

nav.cart-panel strong {
    display: inline-table;
    font-size: 18px;
    font-weight: 500;
}

.wt-cart-total {
    position: absolute;
    bottom: 20px;
    padding: 20px;
    width: 100%;
    display: block;
    z-index: 300;
    background: #f1f1f1;
    margin: 0 -20px;
}


nav.cart-panel ul.cart_list.product_list_widget li.empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 20px;
    font-weight: 400;
    color: rgba(128, 128, 128, 0.5);
    text-align: center;
}

nav.cart-panel ul.cart_list.product_list_widget li.empty:before {
    font-family: "wetail-icons", sans-serif;
    content: "o";
    display: block;
    font-size: 70px;
    color: rgba(128, 128, 128, 0.5);
}

.cart_list.product_list_widget p.woocommerce-mini-cart__total.total, .cart_list.product_list_widget .woocommerce-mini-cart__buttons.buttons {
    display: none;
}
