/* Мини-корзина в шапке (видимая часть) */

#cart-punkt > a {
    display: flex;
    width: 100%;
    position: relative;
    text-align: center;
    border-radius: 3px;
    border: 1px solid #009eea;
    background-color: #fff;
}

#cart-punkt:hover > a {box-shadow: 2px 2px 20px rgba(33, 150, 243, 0.5);}

#cart-punkt > a .cart-ico {width: 30%; background-color: #009eea; color: #fff; display: flex; align-items: center; justify-content: center;}

span.cart-ico .fa {color: #fff !important;}

#cart-punkt > a .cart-txt {width: 70%; text-align: left; padding: 10px; font-size: 0.8rem; white-space: nowrap;}

@media screen and (max-device-width: 800px) { 
	#cart-punkt > a .cart-ico {width: 100%;}
	#cart-punkt > a .cart-txt {display: none;}
}

@media screen and (max-device-width: 480px) {
	#cart-punkt {width: 20%; margin: 0;}   
	#cart-punkt > a .cart-ico {width: 100%;}
	#cart-punkt > a .cart-txt {display: none;}
    .widget_shopping_cart {display: none !important;}
}

#cart-punkt > a br {display: none;}

#cart-punkt .fa {font-size: 30px; margin-right: 0; position: relative;}

#cart-punkt:hover .fa { color: #fff;}

.cart-ico small {
    font-size: 10px;
    background-color: #FF5722;
    position: absolute;
    left: 10px;
    top: -5px;
    border-radius: 50px;
    width: 18px;
    line-height: 18px;
    font-weight: bold;
    text-align: center;
    font-family: sans-serif;
}

.widget_shopping_cart {
    width: 400px !important;
    padding: 30px 30px 17px 30px !important;
    right: 20px;
    position: absolute;
    z-index: 99;
    top: 100%;
    background-color: whitesmoke;
    box-shadow: 1px 1px 6px rgb(0 0 0 / 20%) !important;
    border-radius: 0 0 5px 5px;
    display: none;
}

.widget_shopping_cart-open {display: block;}



/* Мини-корзина в шапке (скрытая часть) */

#cart-punkt .product_list_widget {max-height: 300px; overflow-x: hidden; overflow-y: scroll; font-size: 13px;}

#cart-punkt .product_list_widget::-webkit-scrollbar {width: 2px;}

.woocommerce-mini-cart li {display: flex; margin-bottom: 7px; align-items: center; justify-content: space-between;}
	
.woocommerce-mini-cart li a {display: flex; align-items: center; width: 480px;}
.woocommerce-mini-cart li a:hover {color: #2196f3;}

.woocommerce-mini-cart li img {width: 50px; margin-right: 7px; border-radius: 50px;}

.woocommerce-mini-cart li .quantity {text-align: right;}

.woocommerce-mini-cart li .remove_from_cart_button {order: 11; margin-left: 7px; color: red; font-size: 15px; width: auto !important;}

/*
.mini_cart_item td {padding: 5px; text-align: center; border: 1px solid #ccc;}
.mini_cart_item td a {font-weight: normal; color: #000 !important;}
.mini_cart_item td a:hover {text-decoration: none; color: #50AAFF !important;}
td.cart-product-name {text-align: left;}
td.cart-product-quantity {width: 30px;}
td.cart-product-image img {width: 40px;}
td.cart-product-remove {padding: 3px;}
td.cart-product-remove a {color: #ccc !important; font-size: 16px;}
td.cart-product-remove a:hover {color: red !important;}
*/


/* Сумма, кнопки */

.woocommerce .widget_shopping_cart .total, .woocommerce.widget_shopping_cart .total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ccc;
}

.woocommerce .widget_shopping_cart .total strong, .woocommerce.widget_shopping_cart .total strong {color: #ccc;}	  
	  
.widget_shopping_cart .total .amount {
    float: right;
    font-size: 30px;
    color: #111;
    line-height: 50px;
    font-weight: bold;
}
	  
.widget_shopping_cart .total .amount .rubl {font-size: 16px;}

.widget_shopping_cart .buttons {
    display: flex;
    margin: 5px 0 15px 0;
    float: left;
    width: 100%;
    justify-content: space-between;
}


.mini_cart_item a::after { border: none !important; }

.empty {width: 100%; color: #111; text-align: center;}

.widget_shopping_cart_content {border: none!important;}

.widget_shopping_cart_content .button.wc-forward {background-color: #019eeb !important; padding: 7px 25px;}
.widget_shopping_cart_content .button.wc-forward:hover {background-color: #0092e2 !important;}

.widget_shopping_cart .buttons > a {width: 48%; padding: 7px 10px !important;}


