.cart * {
    position: relative;
}
.cart {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    position: fixed;
    top: 0px;
    right: 0px;
    margin-right: 50px;
    z-index: 9999;
    text-align: center;
}
.cart.updating {
    opacity: 0.5;
}
.cart .content {
	background: #e7e7e7;
	color: #969696;
	font-size: 12px;
    padding-bottom: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    margin-top: 20px;
}
.cart .content:after {
	bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(231, 231, 231, 0);
	border-bottom-color: #e7e7e7;
	border-width: 10px;
	margin-left: -10px;
}
.cart.closed .content {
    height: 0;
    padding: 0;
    overflow: hidden;
    margin-top: 0;
}
.cart .head {
    display: inline-block;
    cursor: pointer;
    white-space: nowrap;
    padding: 10px 35px 5px 65px;
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
    position: relative;
    background-image: url(../images/bag.png);
    background-position: 10px 5px;
    background-repeat: no-repeat;
    background-size: 35px auto;
    text-align: center;
}

.cart .head:before {
    position: absolute;
    display: block;
    top: 5px;
    left: 10px;
    width: 35px;
    height: 35px;
    border-radius: 25px;
    font-family: "FontAwesome";
    font-weight: 400;
    content: "\f07a";
    font-size: 25px;
    line-height: 35px;
    padding-left: 5px;
    text-align: left;
}

.cart .head:after {
	content: "";
	display: block;
	position: absolute;
	top: 100%;
    bottom: inherit;
	left: 0;
	right: 0;
	height: 20px;
	margin-top: -10px;
    margin-bottom: inherit;
	z-index: -1;
}

.cart .head .number {
    position: absolute;
    top: 0px;
    right: 15px;
    margin-top: 10px;
    width: 24px;
    height: 24px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    background: #64c140;
    color: white;
    font-size: 13px;
    font-weight: 800;
}
.cart .head .number .inner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    line-height: 24px;
    text-align: center;
}
.cart .list {
    padding: 10px;
}
.cart .list .item {
    margin-right: 15px;
    border-bottom: 1px dashed #8a8a8a;
    padding-bottom: 10px;
    padding-top: 10px;
}
.cart .list .item .deleter {
    position: absolute;
    width: 20px;
    height: 20px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    background: #f50026;
    color: black;
    font-size: 13px;
    font-weight: 800;
    top: 50%;
    left: 100%;
    margin-top: -25px;
    cursor: pointer;
}
.cart .list .item .deleter .inner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    line-height: 15px;
    text-align: center;
    font-size: 30px;
    color: white;
}
.cart .list .item .image {
    background-color: white;
    background-position: top center;
    background-size: cover;
    width: 46px;
    height: 46px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px;
    float: left;
}
.cart .list .item .image .qty {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 20px;
    height: 20px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background: #ffcc03;
    color: black;
    font-size: 12px;
    font-weight: 800;
}
.cart .list .item .image .qty .inner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    line-height: 20px;
    text-align: center;
}
.cart .list .item .description {
    float: left;
    width: 200px;
    padding-left: 5px;
    color: #969696;
}
.cart .list .item .description .name {
    line-height: 13px;
    font-size: 12px;
    margin-bottom: 4px;
}
.cart .list .item .description .price {
    font-size: 18px;
    color: #525252;
}
.cart .list .item:last-child {
    border-bottom: 1px dashed #8a8a8a;
}
.cart .total {
    color: #525252;
    line-height: 18px;
    height: auto;
    text-align: center;
    font-size: 18px;
    line-height: 1;
}
.cart .total .totalwrapper {
	background: #eeffbf;
	padding: 15px 5px;
	font-size: 23px;
}
.cart .total .totaliva {
	font-size: 10px;
}
.cart .total .total {
    font-size: 23px;
}
.cart .total .checkout {
    display: inline-block;
    background: #64c140;
    padding: 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: none;
    color: white;
    margin-top: 10px;
    text-decoration: none;
}
.cart .vacum {
    text-align: center;
    font-size: 16px;
    color: #969696;
}
.cart .vacum .go-shop {
    background: white;
    padding: 6px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: none;
    color: #5188b9;
    margin-top: 10px;
}

@media(max-width: 768px){
    .cart {
        top: inherit;
        bottom: 0;
        right: inherit;
        left: 0;
        margin-right: 0;
        margin-left: 5px;
    }
    .cart .head {
        padding-bottom: 20px;
    }

    .cart .head:after {
        content: "";
        display: block;
        position: absolute;
        top: inherit;
        bottom: 100%;
        left: 0;
        right: 0;
        height: 20px;
        margin-top: inherit;
        margin-bottom: -10px;
        border-top-left-radius: 50%;
        border-top-right-radius: 50%;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        z-index: -1;
    }

    .cart .content {
        margin-top: 0;
    }

    .cart .content:after {
        display: none;
    }
}