/*//////// YAGIDKA CHECKOUT ////////*/
/*///////////////////////////////*/

.woocommerce .col-1,
.woocommerce .col-2 {
  max-width: none;
}

.yagidka-custom-billing-form .woocommerce-billing-fields {
  padding: 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;
}

.yagidka-custom-billing-form .woocommerce-billing-fields .form-row {
  width: 100% !important;
}

.yagidka-custom-billing-form .woocommerce-billing-fields .form-row .woocommerce-input-wrapper {
  width: 100% !important;
}

.yagidka-custom-billing-form .woocommerce-billing-fields .form-row textarea {
  height: 10em !important;
}

.checkout-body {
  display: flex;
  flex-direction: column;
}

.checkout-body .woocommerce-checkout-review-order .shop_table {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  margin-bottom: 30px;
  padding: 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;
}

.checkout-body .woocommerce-checkout-review-order .shop_table h3 {
  margin: 0 !important;
}

.checkout-body .woocommerce-checkout-review-order .shop_table .cart_item {
  display: flex;
  align-items: center;
  margin-top: 20px;
  *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);
}

.checkout-body .woocommerce-checkout-review-order .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;
}

.checkout-body .woocommerce-checkout-review-order .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;
}

.checkout-body .woocommerce-checkout-review-order .shop_table .cart_item .cart-item-info {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 100%;
  padding: 10px 10px 10px 10px;
}

.checkout-body
  .woocommerce-checkout-review-order
  .shop_table
  .cart_item
  .cart-item-info
  .product-name {
  display: flex;
  width: 100%;
  padding-bottom: 10px;
}

.checkout-body
  .woocommerce-checkout-review-order
  .shop_table
  .cart_item
  .cart-item-info
  .cart-item-qty-sum {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.checkout-body
  .woocommerce-checkout-review-order
  .shop_table
  .cart_item
  .cart-item-info
  .cart-item-qty-sum
  .product-quantity,
.checkout-body
  .woocommerce-checkout-review-order
  .shop_table
  .cart_item
  .cart-item-info
  .cart-item-qty-sum
  .product-total {
  display: flex;
  width: 50%;
}

.checkout-body .woocommerce-checkout-review-order .shop_table .cart_item .product-name p,
.checkout-body .woocommerce-checkout-review-order .shop_table .cart_item .product-quantity p,
.checkout-body .woocommerce-checkout-review-order .shop_table .cart_item .product-total p {
  margin-bottom: 0px;
}

.checkout-body
  .woocommerce-checkout-review-order
  .shop_table
  .cart_item
  .product-name
  p:nth-child(2),
.checkout-body
  .woocommerce-checkout-review-order
  .shop_table
  .cart_item
  .product-quantity
  p:nth-child(2),
.checkout-body
  .woocommerce-checkout-review-order
  .shop_table
  .cart_item
  .product-total
  p:nth-child(2) {
  font-weight: 600;
}

.checkout-body .woocommerce-checkout-review-order .shop_table .cart_totals {
  margin-top: 20px;
}

.checkout-body .woocommerce-checkout-review-order .shop_table .cart_totals .check-title {
  font-weight: 600;
  margin-bottom: 5px !important;
}

.checkout-body .woocommerce-checkout-review-order .shop_table .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;
}

.checkout-body
  .woocommerce-checkout-review-order
  .shop_table
  .cart_totals
  .check-info-item
  .info-first,
.checkout-body
  .woocommerce-checkout-review-order
  .shop_table
  .cart_totals
  .check-info-item
  .info-second {
  font-size: 16px;
  font-weight: 500;
  background-color: #f9f3fc;
  color: #522a6c;
}

.checkout-body
  .woocommerce-checkout-review-order
  .shop_table
  .cart_totals
  .check-info-item
  .info-second {
  font-weight: 600;
}

.checkout-body .woocommerce-checkout-review-order .shop_table .cart_totals .invisible {
  display: none;
}

.checkout-body .woocommerce-checkout-review-order .shop_table .cart_totals .check-bottom {
  text-align: center;
  font-size: 23px;
  font-weight: 600;
  padding: 15px 0;
}

.checkout-body .woocommerce-checkout-review-order .shop_table .cart_totals .wc-proceed-to-checkout {
  padding: 0;
}

.checkout-body .woocommerce-checkout-payment {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 20px;
  border-radius: 10px !important;
  -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 !important;
}

.checkout-body .woocommerce-checkout-payment .wc_payment_methods {
  border-bottom: 1px solid #522a6c !important;
  padding: 0 !important;
}

.checkout-body .woocommerce-checkout-payment .wc_payment_methods .wc_payment_method .payment_box {
  border-radius: 10px !important;
  -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 !important;
}

.checkout-body
  .woocommerce-checkout-payment
  .wc_payment_methods
  .wc_payment_method
  .payment_box:before {
  border: none !important;
}

.checkout-body .woocommerce-checkout-payment .place-order {
  margin: 20px 0 0 0 !important;
  padding: 0 !important;
}

.checkout-body .woocommerce-checkout-payment .place-order .button {
  text-align: center;
  color: #522a6c !important;
  border: 2px solid #522a6c !important;
  transition: 0.3s;
  background-color: transparent !important;
  padding: 13px 20px !important;
  text-transform: uppercase;
  font-weight: 600 !important;
}

.checkout-body .woocommerce-checkout-payment .place-order .button:hover {
  color: #fff !important;
  background-color: #522a6c !important;
}

.yagidka-custom-order .woocommerce-thankyou-order-details {
  margin-bottom: 0px !important;
}

.yagidka-custom-order .woocommerce-thankyou-order-details .woocommerce-order-overview__order,
.yagidka-custom-order .woocommerce-thankyou-order-details .woocommerce-order-overview__date,
.yagidka-custom-order .woocommerce-thankyou-order-details .woocommerce-order-overview__email,
.yagidka-custom-order .woocommerce-thankyou-order-details .woocommerce-order-overview__total,
.yagidka-custom-order
  .woocommerce-thankyou-order-details
  .woocommerce-order-overview__payment-method {
  margin-bottom: 20px !important;
}

.yagidka-custom-order {
  padding: 20px !important;
  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 !important;
}

.yagidka-custom-customer {
  margin-bottom: 0px !important;
}

.yagidka-custom-customer address {
  padding: 20px !important;
  border: none !important;
  border-radius: 10px !important;
  -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 !important;
}

@media screen and (max-width: 1000px) {
  .yagidka-custom-billing-form {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .yagidka-custom-billing-form .woocommerce-billing-fields {
    margin-bottom: 30px;
  }

  .checkout-body
    .woocommerce-checkout-review-order
    .shop_table
    .cart_item
    .cart-item-info
    .product-name {
    flex-direction: row;
    padding-bottom: 10px;
  }

  .checkout-body
    .woocommerce-checkout-review-order
    .shop_table
    .cart_item
    .cart-item-info
    .cart-item-qty-sum
    .product-quantity,
  .checkout-body
    .woocommerce-checkout-review-order
    .shop_table
    .cart_item
    .cart-item-info
    .cart-item-qty-sum
    .product-total {
    flex-direction: column;
    width: 50%;
    padding-bottom: 5px;
  }
}

@media screen and (max-width: 768px) {
  .checkout-body
    .woocommerce-checkout-review-order
    .shop_table
    .cart_item
    .cart-item-info
    .cart-item-qty-sum
    .product-quantity,
  .checkout-body
    .woocommerce-checkout-review-order
    .shop_table
    .cart_item
    .cart-item-info
    .cart-item-qty-sum
    .product-total {
    flex-direction: row;
    width: 50%;
    padding-bottom: 5px;
  }
}

@media screen and (max-width: 550px) {
  .checkout-body .woocommerce-checkout-review-order .shop_table .cart_item {
    flex-direction: column;
  }

  .checkout-body
    .woocommerce-checkout-review-order
    .shop_table
    .cart_item
    .cart-item-info
    .product-name {
    flex-direction: column;
    padding-bottom: 5px;
    text-align: center;
  }
  .checkout-body
    .woocommerce-checkout-review-order
    .shop_table
    .cart_item
    .cart-item-info
    .cart-item-qty-sum {
    text-align: center;
  }

  .checkout-body
    .woocommerce-checkout-review-order
    .shop_table
    .cart_item
    .cart-item-info
    .cart-item-qty-sum
    .product-quantity,
  .checkout-body
    .woocommerce-checkout-review-order
    .shop_table
    .cart_item
    .cart-item-info
    .cart-item-qty-sum
    .product-total {
    flex-direction: column;
    width: 100%;
    padding-bottom: 5px;
  }
}
