/*mini cart css here*/
.mini_cart_wrapper {
  position: relative;
}
.mini_cart_wrapper span.item_count {
  position: absolute;
  top: -9px;
  right: -11px;
  width: 19px;
  height: 19px;
  line-height: 19px;
  background: #8dc122;
  border-radius: 100%;
  text-align: center;
  font-weight: 400;
  font-size: 11px;
  color: #fff;
}
.mini_cart_wrapper:hover .mini_cart {
  max-height: 500px;
  padding: 18px 28px 33px;
  visibility: visible;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .mini_cart_wrapper:hover .mini_cart {
    padding: 10px 11px 20px;
    visibility: inherit;
  }
}
@media only screen and (max-width: 767px) {
  .mini_cart_wrapper:hover .mini_cart {
    padding: 10px 11px 20px;
    visibility: inherit;
  }
}

.mini_cart {
  position: absolute;
  min-width: 355px;
  padding: 0 28px;
  background: #fff;
  z-index: 999;
  right: 0;
  top: 142%;
  max-height: 0;
  visibility: hidden;
  overflow: hidden;
  box-shadow: 0 3px 11px 0 rgba(0, 0, 0, 0.1);
  -webkit-transition: 0.5s;
  transition: 0.5s;
  border-radius: 4px;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .mini_cart {
    display: none;
    transition: unset;
    max-height: 500px;
    padding: 10px 11px 20px;
    min-width: 260px;
    border: 1px solid #e5e5e5;
    right: -116px;
    visibility: inherit;
    top: 130%;
  }
}
@media only screen and (max-width: 767px) {
  .mini_cart {
    display: none;
    transition: unset;
    max-height: 500px;
    padding: 10px 11px 20px;
    min-width: 260px;
    border: 1px solid #e5e5e5;
    right: -116px;
    visibility: inherit;
    top: 130%;
  }
}

.cart_img {
  width: 90px;
  margin-right: 10px;
  border: 1px solid transparent;
}
.cart_img:hover {
  border-color: #8dc122;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .cart_img {
    width: 63px;
    margin-right: 9px;
  }
}
@media only screen and (max-width: 767px) {
  .cart_img {
    width: 63px;
    margin-right: 9px;
  }
}

.cart_info {
  width: 63%;
}
.cart_info a {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  display: block;
  margin-bottom: 6px;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .cart_info a {
    font-size: 13px;
  }
}
@media only screen and (max-width: 767px) {
  .cart_info a {
    font-size: 13px;
  }
}
.cart_info a:hover {
  color: #8dc122;
}
.cart_info p {
  font-size: 12px;
}
.cart_info p span {
  font-weight: 600;
}

.cart_remove a {
  font-size: 20px;
  display: block;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
}
.cart_remove a:hover {
  color: #8dc122;
}

.cart_item {
  overflow: hidden;
  padding: 11px 0;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
}

.mini_cart_table {
  padding: 23px 0;
}

.cart_total {
  display: flex;
  justify-content: space-between;
}
.cart_total span {
  font-size: 14px;
  font-weight: 400;
}
.cart_total span.price {
  font-weight: 700;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .cart_total span {
    font-size: 13px;
  }
}
@media only screen and (max-width: 767px) {
  .cart_total span {
    font-size: 13px;
  }
}

.cart_button:first-child {
  margin-bottom: 15px;
}
.cart_button a {
  text-transform: uppercase;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  background: #eef0f1;
  display: block;
  text-align: center;
  line-height: 20px;
  margin-bottom: 0;
  padding: 13px 0px 11px;
  border: 1px solid #e5e5e5;
}
.cart_button a:hover {
  background: #8dc122;
  border-color: #8dc122;
  color: #fff;
}

/*mini cart css end*/
