#addtocart {
  width: 250px;
}

.badge {
  background-color: #c51414;
  border-radius: 10px;
  color: white;
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  padding: 3px 7px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.shopping-cart {
  background: white;
  width: 320px;
  position: absolute;
  top: 50px;
  right: -10px;
  border-radius: 3px;
  padding: 20px;
  overflow: hidden;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26) !important;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
  -webkit-transform-origin: right top 0;
  -webkit-transform: scale(0);
  transform-origin: right top 0;
  transform: scale(0);
  z-index:1000000; text-align:left; line-height:normal;
}
.shopping-cart.active {
  opacity: 1;
  -webkit-transform-origin: right top 0;
  -webkit-transform: scale(1);
  transform-origin: right top 0;
  transform: scale(1);
}
.shopping-cart .shopping-cart-header {
  border-bottom: 1px solid #E8E8E8;
  padding-bottom: 15px;
}
.shopping-cart .shopping-cart-header .shopping-cart-total {
  float:right; font-weight:bold;
}
.shopping-cart .shopping-cart-items {
  padding-top: 20px; 
}
.shopping-cart .shopping-cart-items li {
  margin-bottom:10px;
}
.shopping-cart .shopping-cart-items img {
  float: left;
  margin-right: 12px;
  max-width: 70px;
  max-height: 70px;
}
.shopping-cart .shopping-cart-items .item-name {
  display:block;
  font-size:12px; padding-right:25px;
}
.shopping-cart .shopping-cart-items .item-detail {
  display: block;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.shopping-cart .shopping-cart-items .item-price {
  color: #c51414;
  margin-right: 8px; font-weight:bold; padding-top:5px!important; line-height:25px;
}
.shopping-cart .shopping-cart-items .item-quantity {
  color: #ABB0BE;
}

.shopping-cart:after {
  bottom: 100%;
  left: 89%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: white;
  border-width: 8px;
  margin-left: -8px;
}

.cart-icon {
  color:#000!important;
  font-size: 15px!important;
  margin-right: 7px;
  float:left;
  background:#fff!important; line-height:normal!important; height:auto!important; width:auto!important;
}

.shopping-cart .button {
    background: #191919;
    color: white !important;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    display: block;
    border-radius: 3px;
    font-size: 13px;
    margin: 25px 0 0px 0;
    text-transform: uppercase;
    color: #fff;
}
.shopping-cart .button:hover {
  background: #c51414;
}
.shopping-cart .button i {
    color: #515151 !important;
    background:
    #fff !important;
    width: 20px;
    height: 20px;
    line-height: 23px;
    font-size: 11px;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.shopping-cart .qty{float:none; position:relative; width:100%; height:100%}
.shopping-cart .qty .input-group{width:34%;}
.shopping-cart .qty button{height:30px; width:30px;}
.shopping-cart .qty input{height:30px; font-size:12px;}
.shopping-cart a:hover{color:#000;}
.quickcolse{position:absolute; top:-8px; left:180px; z-index:1}
.quickcolse .fa{background:none; color:#999999; font-weight:normal;}

.scrollcart .shopping-cart {
background: white;
width: 320px;
position: absolute;
top: 39px;
right: -10px;
border-radius: 3px;
padding: 20px;
overflow: hidden;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26) !important;
transition: none;
z-index: 1000000;
text-align: left;
line-height: normal;
transition: none;
transition-delay: unset;
transform-origin: unset;
transform: unset;
}

.dyn-height {
max-height: 190px;
width:100%;
overflow-y: scroll;
overflow-x: hidden;
scrollbar-color: #a9a9a9 #eaeaea;
scrollbar-width: thin;
}

.dyn-height::-webkit-scrollbar {
  width:7px;
}
 
.dyn-height::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
 
.dyn-height::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}