/*//////// YAGIDKA CART ////////*/
/*///////////////////////////////*/

.woocommerce-message .restore-item {
  text-align: center;
  color: #522a6c !important;
  border: 2px solid #522a6c !important;
  transition: 0.3s;
  background-color: transparent !important;
  padding: 9.5px 20px !important;
  border-radius: 10px;
  order: 1;
  margin-left: auto;
  text-transform: uppercase;
  font-weight: 600 !important;
}

.woocommerce-message .restore-item:hover {
  color: #fff !important;
  background-color: #522a6c !important;
}

.cart-body {
  display: flex;
}

.cart-body .woocommerce-cart-form .shop_table {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 20px;
}

.cart-body .woocommerce-cart-form {
  width: 70%;
  margin-right: 20px;
  border-radius: 10px;
  -webkit-box-shadow: 0px 2px 6px 1px rgba(103, 61, 134, 0.7);
  -moz-box-shadow: 0px 2px 6px 1px rgba(103, 61, 134, 0.7);
  box-shadow: 0px 2px 6px 1px rgba(103, 61, 134, 0.7);
  background: #f9f3fc;
}

.cart-body .woocommerce-cart-form .cart-item-left {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cart-body .woocommerce-cart-form .shop_table .cart_item .cart-item-left .product-name,
.cart-body .woocommerce-cart-form .shop_table .cart_item .cart-item-left .product-price {
  padding: 5px;
}

.cart-body .woocommerce-cart-form .shop_table .cart_item .cart-item-left .product-name a,
.cart-body .woocommerce-cart-form .shop_table .cart_item .cart-item-left .product-price span {
  font-weight: 600;
}

.cart-body .woocommerce-cart-form .cart-item-right {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.cart-body .woocommerce-cart-form .cart-item-right .product-quantity {
  width: 45%;
}

.cart-body .woocommerce-cart-form .cart-item-right .product-subtotal {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 40%;
}

.cart-body .woocommerce-cart-form .cart-item-right .product-subtotal span {
  font-weight: 600;
}

.cart-body .woocommerce-cart-form .cart-item-right .product-remove {
  width: 15%;
  text-align: center;
}

.cart-body .woocommerce-cart-form .cart-item-right .product-remove .del-text {
  display: none;
}

.cart-body .woocommerce-cart-form .cart-item-right .product-remove a {
  color: #522a6c !important;
}

.cart-body .woocommerce-cart-form .cart-item-right .product-remove a:hover {
  color: #522a6c !important;
  background: transparent !important;
}

.cart-body .woocommerce-cart-form .shop_table .cart_item {
  display: flex;
  align-items: center;
  margin: 10px 0;
  padding: 10px 0;
  border-radius: 10px;
  -webkit-box-shadow: 0px 2px 6px 1px rgba(103, 61, 134, 0.7);
  -moz-box-shadow: 0px 2px 6px 1px rgba(103, 61, 134, 0.7);
  box-shadow: 0px 2px 6px 1px rgba(103, 61, 134, 0.7);
}

.cart-body .woocommerce-cart-form .shop_table .cart_item .product-quantity,
.cart-body .woocommerce-cart-form .shop_table .cart_item .product-subtotal,
.cart-body .woocommerce-cart-form .shop_table .cart_item .product-remove {
  padding: 10px;
}

.cart-body .woocommerce-cart-form .shop_table .cart_item .product-thumbnail {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  width: 80px;
  height: 80px;
  max-width: 80px;
  max-height: 80px;
  border-radius: 50%;
  border: 2px solid #522a6c;
}

.cart-body .woocommerce-cart-form .shop_table .cart_item .product-thumbnail img {
  width: 76px;
  height: 76px;
  max-width: 76px;
  max-height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.cart-body .woocommerce-cart-form .shop_table .cart_item .product-quantity .qib-container {
  display: flex !important;
}

.cart-body .woocommerce-cart-form .shop_table .actions .button {
  display: none;
}

.cart-body .cart-collaterals {
  width: 30%;
  margin-left: 20px;
}

.cart-body .cart-collaterals .cart_totals {
  display: flex;
  flex-direction: column;
  width: 100%;
  float: none;
  border-radius: 10px;
  padding: 20px;
  -webkit-box-shadow: 0px 2px 6px 1px rgba(103, 61, 134, 0.7);
  -moz-box-shadow: 0px 2px 6px 1px rgba(103, 61, 134, 0.7);
  box-shadow: 0px 2px 6px 1px rgba(103, 61, 134, 0.7);
}

.cart-body .cart-collaterals .cart_totals {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  background: #f9f3fc;
}

.free-delivery-body {
  width: 100%;
  height: 85px;
  margin-top: 70px;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  background-color: #522a6c;
  justify-content: center;
  align-items: center;
}

.free-delivery-body .free-delivery-image {
  margin-bottom: 50px;
  margin-right: 85px;
  margin-left: 35px;
}

.free-delivery-body .free-delivery-image img {
  max-width: 105px;
  width: 105px;
}

.free-delivery-info {
  color: #fff;
}

.free-delivery-info span {
  padding: 10px 0;
  font-size: 20px;
}

.free-delivery-info span .free-price {
  padding: 0;
  border-bottom: 1px solid #fff;
}

.cart-body .cart-collaterals .cart_totals .check-title {
  font-weight: 600;
}

.cart-body .cart-collaterals .cart_totals .check-info-item {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background: url("https://yagidka.in.ua/wp-content/uploads/2020/05/data_bg.png") 0 0 repeat-x;
  margin-bottom: 3px;
}

.cart-body .cart-collaterals .cart_totals .check-info-item .info-first,
.cart-body .cart-collaterals .cart_totals .check-info-item .info-second {
  font-size: 16px;
  font-weight: 500;
  background-color: #f9f3fc;
  color: #522a6c;
}

.cart-body .cart-collaterals .cart_totals .check-info-item .info-second {
  font-weight: 600;
}

.cart-body .cart-collaterals .cart_totals .invisible {
  display: none;
}

.cart-body .cart-collaterals .cart_totals .check-bottom {
  text-align: center;
  font-size: 23px;
  font-weight: 600;
  padding: 15px 0;
}

.cart-body .cart-collaterals .cart_totals .wc-proceed-to-checkout {
  padding: 0;
}

.cart-body .cart-collaterals .cart_totals .wc-proceed-to-checkout .checkout-button {
  margin: 0;
  padding: 13px 20px !important;
  font-size: 14.4px;
  text-transform: uppercase;
  font-weight: 600 !important;
}

@media screen and (max-width: 1199px) {
  .woocommerce-message .restore-item {
    width: 100%;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .free-delivery-body .free-delivery-image {
    margin-bottom: 50px;
    margin-right: 50px;
  }

  .free-delivery-body .free-delivery-image img {
    max-width: 95px;
    width: 95px;
  }

  .free-delivery-info span {
    font-size: 17px;
  }
}

@media screen and (max-width: 1000px) {
  .cart-body {
    flex-direction: column;
  }

  .cart-body .woocommerce-cart-form {
    width: 100%;
    margin-right: 0px;
    margin-bottom: 30px;
  }

  .cart-body .cart-collaterals {
    width: 100%;
    margin-left: 0px;
  }
}

@media screen and (max-width: 768px) {
  .free-delivery-body {
    height: 110px;
  }

  .free-delivery-body .free-delivery-image {
    margin-bottom: 10px;
    margin-right: 30px;
  }

  .free-delivery-info span {
    font-size: 16px;
  }
}

@media screen and (max-width: 650px) {
  .cart-body .woocommerce-cart-form .shop_table .cart_item {
    flex-direction: column;
    padding: 15px;
  }

  .cart-body .woocommerce-cart-form .cart-item-left {
    text-align: center;
  }

  .cart-body .woocommerce-cart-form .cart-item-right {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cart-body .woocommerce-cart-form .cart-item-right .product-quantity,
  .cart-body .woocommerce-cart-form .cart-item-right .product-subtotal,
  .cart-body .woocommerce-cart-form .cart-item-right .product-remove {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .cart-body .woocommerce-cart-form .cart-item-right .product-remove {
    flex-direction: column;
    align-items: center;
  }

  .cart-body .woocommerce-cart-form .cart-item-right .product-remove .del-text {
    display: block;
  }
}

@media screen and (max-width: 500px) {
  .free-delivery-body .free-delivery-image {
    margin-right: 25px;
    margin-left: 10px;
  }

  .free-delivery-info span {
    font-size: 15px;
  }
}

@media screen and (max-width: 400px) {
  .free-delivery-body {
    height: 120px;
  }

  .free-delivery-info span {
    font-size: 14px;
  }
}
