.mb3 { margin-bottom: 3px; }
.mb10 { margin-bottom: 10px; }
.mb20 { margin-bottom: 20px; }
.mb30 { margin-bottom: 30px; }

.ea_cart_wr {
  z-index: 10000;
  position: fixed;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0;
  bottom: 15px;
  right: 15px;
  width: 60px;
  height: 60px;
  transition: all 600ms;
  font-family: 'Montserrat', serif;
  line-height: 1.3;
}
.ea_cart_wr.opened {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  padding: 10px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
}

.ea_cart_bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0.8;
}
.ea_cart_close {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 1;
  right: 20px;
  top: 27px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.ea_cart {
  position: relative;
  width: 100%;
  max-width: 700px;
  min-height: 60px;
}
.ea_cart_wr.opened .ea_cart {
  background-color: #fff;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

.ea_cart_icon {
  z-index: 10;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 30px;
  width: 100%;
  height: 100%;
  background: rgb(0,169,204);
  background: -moz-linear-gradient(0deg, rgba(0,169,204,1) 0%, rgba(0,90,234,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(0,169,204,1) 0%, rgba(0,90,234,1) 100%);
  background: linear-gradient(0deg, rgba(0,169,204,1) 0%, rgba(0,90,234,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00a9cc",endColorstr="#005aea",GradientType=1);
}
.ea_cart_icon_img {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 50%;
  left: 50%;
  margin: -16px -15px;
}
.ea_cart_icon_num {
  pointer-events: none;
  background-color: #fff;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold;
  font-family: 'Montserrat', serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 15px;
  width: 30px;
  position: absolute;
  right: 2px;
  bottom: 2px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  transition: opacity 0.1s;
}
.ea_cart_wr.opened .ea_cart_icon {
  border-radius: 20px;
}
.ea_cart_wr.opened .ea_cart_icon_num {
  opacity: 0;
}

.ea_cart_content {
  display: none;
  padding: 30px;
  overflow: hidden;
}
.ea_cart_wr.opened .ea_cart_content {
  display: block;
}

.ea_cart_title {
  font-size: 21px;
  text-align: center;
  padding: 0 0 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 21px;
}

.ea_cart_products {

}
.ea_cart_upsales {

}
.ea_cart_buttons {
  padding-top: 10px;
  display: flex;
  justify-content: right;
}
.ea_cart_button {
  border: none;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
  padding: 0 30px;
  height: 46px;
  border-radius: 7px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  background: rgb(0,169,204);
  background: -moz-linear-gradient(0deg, rgba(0,169,204,1) 0%, rgba(0,90,234,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(0,169,204,1) 0%, rgba(0,90,234,1) 100%);
  background: linear-gradient(0deg, rgba(0,169,204,1) 0%, rgba(0,90,234,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00a9cc",endColorstr="#005aea",GradientType=1);
  color: #fff;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 200ms;
}
.ea_cart_button:hover {
  transform: scale(0.9);
}
.ea_cart_button.disabled {
  opacity: 0.5;
  pointer-events: none;
}


.ea_cart_product {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.ea_cart_product_image_wr {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 50px;
}
.ea_cart_product_image_wr img {
  width: 100%;
  height: auto;
}
.ea_cart_product_title_wr {

}
.ea_cart_product_title {
  font-size: 18px;
  margin: 0 0 2px;
}
.ea_cart_product_prices {
  font-size: 16px;
  color: rgb(0,169,234);
}
.ea_cart_product_prices s {
  color: #888;
}
.ea_cart_product_amount_wr {
  margin-left: auto;
  display: flex;
  flex: 0 0 120px;
  align-items: center;
  justify-content: center;
}
.ea_cart_product_amount_wr > * {
  flex: 0 0 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}
.ea_cart_product_amount_minus,
.ea_cart_product_amount_plus {
  font-family: Arial, serif;
  font-weight: bold;
  font-size: 17px;
  color: #6d6d6d;
  cursor: pointer;
}
.ea_cart_product_amount_num {
  border-radius: 4px;
  line-height: 1;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
}

.ea_cart_product_total_wr {
  flex: 0 0 86px;
  font-size: 16px;
  font-weight: 600;
  text-align: right;
}
.ea_cart_product_total {

}
.ea_cart_product_delete {
  display: flex;
  flex: 0 0 40px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: transform 300ms;
}
.ea_cart_product_delete:hover {
  transform: scale(0.9);
}
.ea_cart_product_delete img {
  opacity: 0.6;
  margin-top: -2px;
}

.ea_cart_upsales_wr {
  box-sizing: border-box;
  padding: 20px 20px 4px;
  border-radius: 12px;
  /*background: rgb(0,169,204);
  background: -moz-linear-gradient(0deg, rgba(0,169,204,1) 0%, rgba(0,90,234,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(0,169,204,1) 0%, rgba(0,90,234,1) 100%);
  background: linear-gradient(0deg, rgba(0,169,204,1) 0%, rgba(0,90,234,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00a9cc",endColorstr="#005aea",GradientType=1);*/
  border: 2px solid rgb(0,169,234);
  margin: 30px 0 16px;
}
.ea_cart_upsales_title {
  color: rgb(0,169,234);
  font-weight: 400;
  text-align: center;
  font-size: 18px;
  margin-bottom: 10px;
}
.ea_cart_upsales_prod {
  border-radius: 10px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  padding: 10px;
}
.ea_cart_upsales_prod .ea_cart_product_title_wr .ea_cart_button {
  height: 26px;
  max-width: 200px;
  background: transparent;
  border: 2px solid rgb(0,169,234);
  margin-top: 4px;
  color: rgb(0,169,234);
  box-shadow: none;
}

.ea_cart_total_wr {
  text-align: right;
  padding: 20px 0 0;
}


.ea_checkout_form {

}
.ea_cart_input_wr {
  display: block;
  position: relative;
}
.ea_cart_input {
  background-color: #fff;
  border: 1px solid #eeeeee;
  border-radius: 4px;
  box-sizing: border-box;
  padding: 0 13px !important;
  display: block;
  height: 40px;
  font-size: 14px;
  width: 100%;
}
.ea_cart_input.error {
  border-color: #c30303;
}

.ea_cart_input_title {
  display: block;
  font-size: 14px;
  color: #6d6d6d;
  margin-bottom: 4px;
}

.ea_checkout_delivery_wr {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.ea_checkbox_label {
  display: flex;
  position: relative;
  gap: 10px;
  cursor: pointer;
  align-items: center;
}
.ea_checkbox_label input {
  opacity: 0;
  display: block;
  position: absolute;
}
.ea_checkbox_box {
  display: block;
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid rgb(0,169,234);
  background-color: transparent;
}
.ea_checkbox_label input:checked ~ .ea_checkbox_box {
  background-color: rgb(0,169,234);
}
.ea_checkbox_title {
  font-size: 14px;
}



@media screen and (max-width: 660px) {
  .ea_cart_content {
    padding: 18px;
  }
  .ea_cart_close {
    right: 9px;
    top: 11px;
  }
  .ea_cart_title {
    padding: 0 0 15px;
  }
  .ea_cart_product {
    flex-wrap: wrap;
    margin-bottom: 24px;
  }
  .ea_cart_product_amount_wr {
    margin-left: 0;
  }
  .ea_cart_product_total_wr {
    margin-left: auto;
  }
  .ea_cart_product_title_wr {
    width: calc(100% - 60px);
  }
  .ea_cart_upsales_prod_buttons {
    width: 100%;
    padding-top: 3px;
  }
  .ea_cart_upsales_wr {
    padding: 20px 10px 0;
  }
  .ea_cart_upsales_wr .ea_cart_product {
    margin-bottom: 10px;
  }

  .ea_checkout_delivery_wr .ea_cart_input_title {
    width: 100%;
  }
  .ea_checkout_delivery_wr {
    gap: 6px 20px;
  }
}