/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */



.woocommerce-cart #cd-cart-trigger,
.woocommerce-checkout #cd-cart-trigger {
	display: none;
}

#cd-cart {
  position: fixed;
  top: 0;
  height: 100%;
  width: 360px;
  /* header height */
  padding-top: 10px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  z-index: 99999999;
}

@media screen and (max-width: 480px) {
	#cd-cart {
		 width: 250px;
		 }
}


#cd-cart {
  right: -100%;
  background: #FFF;
  -webkit-transition: right 0.3s;
  -moz-transition: right 0.3s;
  transition: right 0.3s;
}


#cd-cart.speed-in {
  right: 0;
}

#cd-cart h2 {
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 1em 0;
  padding: 0 20px;
}
#cd-cart .cart_list {
  padding: 0;
}
#cd-cart .cart_list li {
  position: relative;
  padding: 15px 20px 15px 33px;
  border-bottom: 1px solid #e0e6ef;

}
#cd-cart .cart_list li:last-child {
  border-bottom: 1px solid #e0e6ef;
}
#cd-cart .cart_list li a {
	color: #222;
	font-weight: bold;
  line-height: 1.3;
  margin-bottom: 5px;
}
#cd-cart .cart_list li a.remove {
  color: #888;
  font-weight: normal;
  display: block;
  position: absolute;
  top: 14px;
  left: 13px;
}
#cd-cart .cart_list li a.remove:hover { text-decoration: none;}
#cd-cart .cd-qty, #cd-cart .cd-price {
  color: #a5aebc;
}
#cd-cart .cd-price {
  margin-top: .4em;
}
#cd-cart .cd-item-remove {
  position: absolute;
  right: 1em;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: url("../img/cd-remove-item.svg") no-repeat center center;
}
.no-touch #cd-cart .cd-item-remove:hover {
  background-color: #e0e6ef;
}
p.woocommerce-mini-cart__total {
  padding: 20px;
  text-align: right;
  margin-bottom: 0;
}

#cd-cart .woocommerce-mini-cart__total::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

.woocommerce-mini-cart__buttons { padding-bottom: 0;}
#cd-cart .woocommerce-mini-cart__buttons .button.wc-forward {
	text-align: center;
	font-weight: normal;
	display: block;
	margin: 0 20px 20px 20px;
	}
  #cd-cart .woocommerce-mini-cart__buttons .button.wc-forward.checkout { margin-bottom: 0;}
  #cd-cart .woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout) {color: #333;}
	#cd-cart .woocommerce-mini-cart__buttons .button.wc-forward:first-child:hover {
		/* background: none; */
    background: #f1f1f1;
	}

.woocommerce-mini-cart__empty-message {
	padding: 20px;
}

#cd-shadow-layer {
  position: fixed;
  min-height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(30, 30, 30, 0.6);
  cursor: pointer;
  z-index: 2;
  display: none;
}
#cd-shadow-layer.is-visible {
  display: block;
  -webkit-animation: cd-fade-in 0.3s;
  -moz-animation: cd-fade-in 0.3s;
  animation: cd-fade-in 0.3s;
}

/* -------------------------------- 

xkeyframes 

-------------------------------- */
@-webkit-keyframes cd-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@-moz-keyframes cd-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@keyframes cd-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
