:root {
  --checkout-color: var(--color-primary);
}

/* Content */

@media (min-width: 1025px) {
  .svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-billing-shipping__container {
    width: calc(100% - 840px);
    margin-right: 100px;
  }
}

.svetmagnetov-checkout-page .woocommerce-form-coupon-toggle {
  display: none;
}

.svetmagnetov-checkout-page .checkout_coupon.woocommerce-form-coupon {
  display: flex !important;
  margin: 10px 0 80px 0;
  border: 1px solid #f1f1f1;
  border-radius: 0;
  align-items: center;
}

@media only screen and (max-width: 768px) {
  .svetmagnetov-checkout-page .checkout_coupon.woocommerce-form-coupon {
    margin: 0 0 40px 0 !important;
  }
  .svetmagnetov-checkout-page .checkout_coupon.woocommerce-form-coupon .form-row-first {
    margin: 10px 0 !important;
  }

  .svetmagnetov-checkout-page .checkout_coupon.woocommerce-form-coupon {
    margin-top: 0;
    flex-direction: column;
  }

  .svetmagnetov-checkout-page .checkout_coupon.woocommerce-form-coupon p,
  .svetmagnetov-checkout-page .checkout_coupon.woocommerce-form-coupon input,
  .svetmagnetov-checkout-page .checkout_coupon.woocommerce-form-coupon button {
    width: 100% !important;
    max-width: 100% !important;
  }
  .webtim-cart--coupon__wrapper {
    margin-bottom: 20px !important;
  }
}

/***Uredi***/

@media screen and (max-width: 768px) {
  .svetmagnetov-checkout-page .checkout-shipping {
    display: none;
  }
}

/***Uredi***/

.checkout-page--wrapper .woocommerce-form-coupon-toggle {
  display: none;
}

.svetmagnetov-checkout-page .woocommerce form.checkout_coupon {
  padding: 15px 20px !important;
}

.svetmagnetov-checkout-page .checkout_coupon.woocommerce-form-coupon {
  color: #231f20;
  font-weight: normal;
  align-items: center;
}

.svetmagnetov-checkout-page .checkout_coupon.woocommerce-form-coupon p {
  margin: 0;
}

.svetmagnetov-checkout-page .checkout_coupon.woocommerce-form-coupon .form-row-first input {
  max-width: 350px;
  padding: 6px 10px;
  border: 1px dashed #f1f1f1;
  background-color: #f7f7f7;
}

.svetmagnetov-checkout-page .checkout_coupon.woocommerce-form-coupon .form-row-last {
  width: fit-content;
}

.svetmagnetov-checkout-page .checkout_coupon.woocommerce-form-coupon .form-row-first {
  display: flex;
  margin-right: 20px;
  flex-grow: 1;
  justify-content: flex-end;
}

.svetmagnetov-checkout-page .checkout_coupon.woocommerce-form-coupon .form-row-last button {
  display: flex;
  padding: 2px 35px;
  height: 35px;
  border: 1px solid var(--color-primary);
  border-radius: 0;  align-items: center;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1em;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--color-primary);
}

.svetmagnetov-checkout-page .checkout_coupon.woocommerce-form-coupon .form-row-last button:hover {
  border: 1px solid var(--color-primary);
  background-color: var(--color-primary);
  transition: 400ms ease-out;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-billing-shipping__container .checkout-billing .woocommerce-billing-fields h3 {
  display: none;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-billing-shipping__container .checkout-shipping .woocommerce-shipping-fields h3 {
  font-size: 1.4rem !important;
  font-weight: 500;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-billing-shipping__container .checkout-billing .woocommerce-billing-fields__field-wrapper label,
.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-billing-shipping__container .checkout-shipping .woocommerce-shipping-fields__field-wrapper label {
  font-size: 1.6rem;
  font-weight: 400;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-billing-shipping__container .checkout-billing .woocommerce-billing-fields__field-wrapper.woocommerce-input-wrapper input,
.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-billing-shipping__container .checkout-shipping .woocommerce-shipping-fields__field-wrapper .woocommerce-input-wrapper input,
.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-billing-shipping__container .woocommerce-billing-fields__field-wrapper .woocommerce-input-wrapper .select2-selection__rendered,
.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-billing-shipping__container .woocommerce-shipping-fields__field-wrapper .woocommerce-input-wrapper .select2-selection__rendered {
  height: 36px;
  border-radius: 0;
  border: 1px solid #eeeeee;
  font-size: 14px;
  line-height: 36px;
}

.svetmagnetov-checkout-page .woocommerce-account-fields {
  margin-top: 15px;
  text-transform: uppercase;
}

.svetmagnetov-checkout-page .checkout-shipping .woocommerce-shipping-fields {
  margin-bottom: 30px;
}

.svetmagnetov-checkout-page #ship-to-different-address-checkbox {
  margin-right: 10px;
}

.svetmagnetov-checkout-page .woocommerce form .form-row textarea {
  height: 4em;
}

/* ORDER Review */

@media (min-width: 1025px) {
  .svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container {
    max-width: 740px;
    width: 100%;
    margin-top: -13px;
    padding-top: 0;
  }
}

@media (max-width: 1024px) {
  .svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container div.woocommerce-checkout-review-order {
  display: block !important;
  padding: 32px 20px;
  margin-left: auto;
  margin-right: 0;
}

.svetmagnetov-checkout-page .webtim-checkout--order-review__table .table-header,
.svetmagnetov-checkout-page .webtim-checkout--order-review__table .table-body {
  border-bottom: none;
}

.svetmagnetov-checkout-page .webtim-checkout--order-review__table .table-body .cart_item .product-name,
.webtim-checkout--order-review__table .table-body .cart_item .product-total {
  width: 100%;
  font-size: 1.6rem;
  font-weight: bold;
}

.svetmagnetov-checkout-page .webtim-checkout--order-review__table .table-body .cart_item .product-name {
  max-width: 420px;
}

.svetmagnetov-checkout-page .webtim-checkout--order-review__table .table-body .cart_item .product-name .item-name,
.svetmagnetov-checkout-page .webtim-checkout--order-review__table .table-body .cart_item .product-name .product-quantity {
  font-weight: normal;
}

.svetmagnetov-checkout-page .webtim-checkout--order-review__table .table-body .cart_item .product-total {
  max-width: calc(100% - 420px);
  text-align: right;
}

.svetmagnetov-checkout-page .webtim-checkout--order-review__table .table-body .cart_item .product-total .tax_label {
  display: none;
}

.svetmagnetov-checkout-page .webtim-checkout--order-review__table .woocommerce-shipping-totals #shipping_method.woocommerce-shipping-methods li .tax_label {
  display: none;
}

.svetmagnetov-checkout-page .webtim-checkout--order-review__table .woocommerce-shipping-totals #shipping_method.woocommerce-shipping-methods li label {
  font-size: 16px;
  font-weight: normal;
}

.svetmagnetov-checkout-page .woocommerce ul#shipping_method .amount {
  font-weight: normal;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box .woocommerce-checkout-payment li.wc_payment_method {
  border-bottom: none;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box .woocommerce-checkout-payment .webtim-checkout--gdpr-privacy__wrapper {
  margin-bottom: 30px;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box .woocommerce-checkout-payment button#place_order.webtim-checkout--btn--place-order[type='submit'] {
  width: 300px;
  margin: 0 auto;
  border: 1px solid var(--color-primary);
  font-size: 1.8rem;
  font-weight: normal;
  color: #fff;
  background-color: var(--checkout-color);
  transition: all 0.4s ease;
}

.svetmagnetov-checkout-page .woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
  display: block;
  float: unset;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box .woocommerce-checkout-payment button#place_order.webtim-checkout--btn--place-order[type='submit']:hover {
  color: #fff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}


/* Stripe payment */
.wc_payment_method.payment_method_stripe img {
  width: 30px;
  margin: 0 5px;
}

.wc_payment_method.payment_method_stripe .woocommerce-SavedPaymentMethods-saveNew {
  display: block !important;
  margin-top: 15px !important;
}

#wc-stripe-new-payment-method {
  display: none;
}

.wc-credit-card-form.wc-payment-form label {
  padding: 0 !important;
}

/** WEBTIM CUSTOM CHECKOUT STYLES **/

.webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review {
  padding: 0;
  background: none;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review #payment {
  margin-top: 20px;
  background-color: #fff;
  border: none;
  border-radius: 0;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review .webtim-checkout--payment-gateways__wrapper {
  margin-top: 30px;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review .webtim-checkout--payment-gateways__wrapper ul.wc_payment_methods {
  border: none;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review .webtim-checkout--payment-gateways__wrapper .webtim-checkout--payment-gateways__title {
  margin: 0;
  padding: 15px 20px;
  border-bottom: 1px solid var(--color-primary);
  font-size: 1.8rem;
  font-weight: normal;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review .webtim-checkout--payment-gateways__wrapper ul.wc_payment_methods li label {
  display: block !important;
  padding: 20px 20px 20px 60px;
  background-color: #fff;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review .webtim-checkout--payment-gateways__wrapper ul.wc_payment_methods li .payment_box {
  padding: 0 20px;
}

.svetmagnetov-checkout-page .webtim-checkout--payment-gateways__wrapper li input:checked + label,
.svetmagnetov-checkout-page .webtim-checkout--order-totals__content {
  background-color: #f7f7f8 !important;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review .webtim-checkout--payment-gateways__wrapper ul.wc_payment_methods li .payment_box {
  margin: 15px 0;
  background-color: var(--color-white);
}

@media (max-width: 768px) {
  .svetmagnetov-checkout-page .webtim-checkout--order-review__table .table-body .cart_item .product-total {
    max-width: 100% !important;
  }
  .svetmagnetov-checkout-page .webtim-checkout--order-review__table .table-footer .content-inner .content-inner__title,
  .svetmagnetov-checkout-page .webtim-checkout--order-review__table .woocommerce-shipping-totals .shipping-totals__title {
    margin-bottom: 0;
  }
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review .webtim-checkout--payment-gateways__wrapper ul.wc_payment_methods li .payment_box  p {
  margin-left: 40px;
  background-color: #fff;
  font-size: 1.4rem;
}

.svetmagnetov-checkout-page .wc_payment_method.payment_method_paypal .about_paypal {
  display: none;
}

.svetmagnetov-checkout-page .wc_payment_method.payment_method_paypal img {
  float: right;
}

.svetmagnetov-checkout-page .table-footer .fee {
  display: flex;
  margin-bottom: 15px;
  font-weight: bold;
  justify-content: space-between;
}

.svetmagnetov-checkout-page .table-footer .fee .woocommerce-Price-amount {
  font-size: 14px;
  font-weight: 600;
}

.woocommerce .woocommerce-order  ul.order_details li {
  list-style-image: none;
}

.woocommerce .woocommerce-order  ul.order_details {
  padding-left: 0;
}

/*End of payment*/

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout  #order_review .webtim-checkout--order-review__table-custom .webtim-checkout--order-totals__wrapper .webtim-checkout--order-totals__content {
  border: none;
  background-color: #fff;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review .webtim-checkout--order-review__table-custom .webtim-checkout--shipping-totals__wrapper .woocommerce-shipping-totals .shipping-totals__body {
  border: none;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review .webtim-checkout--order-review__table-custom .webtim-checkout--shipping-totals__wrapper .woocommerce-shipping-totals  .shipping-totals__title {
  margin: 0;
  padding: 0 0 20px 20px;
  border-bottom: 1px solid var(--color-primary);
  font-size: 1.8rem;
  font-weight: normal;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review .webtim-checkout--order-review__table-custom .webtim-checkout--shipping-totals__wrapper .woocommerce-shipping-totals .shipping-totals__title ul li:not(:first-of-type),
.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review .webtim-checkout--order-review__table-custom .webtim-checkout--shipping-totals__wrapper .woocommerce-shipping-totals .shipping-totals__body ul li:not(:first-of-type) {
  border-top: none;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review .webtim-checkout--order-review__table-custom .webtim-checkout--shipping-totals__wrapper .woocommerce-shipping-totals .shipping-totals__title ul li input:checked + label,
.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review .webtim-checkout--order-review__table-custom .webtim-checkout--shipping-totals__wrapper .woocommerce-shipping-totals .shipping-totals__body ul li  input:checked + label {
  background-color: #f9faf4;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box.checkout-order-review__container.webtim-custom-checkout #order_review .webtim-checkout--order-review__table-custom .webtim-checkout--order-totals__wrapper .webtim-checkout--order-totals__title {
  margin: 0;
  padding: 20px 0 20px 20px;
  border-bottom: 1px solid var(--color-primary);
  font-size: 1.8rem;
  font-weight: normal;
}

.svetmagnetov-checkout-page .woocommerce-privacy-policy-text {
  margin-bottom: 5px;
  line-height: 1.45em;
}

.svetmagnetov-checkout-page .woocommerce-terms-and-conditions-link {
  color: #231f20;
  text-decoration: underline;
}

.svetmagnetov-checkout-page .woocommerce-terms-and-conditions-link:hover {
  color: var(--color-primary) !important;
  transition: 0.4s ease-in-out;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box .woocommerce-checkout-payment .webtim-checkout--gdpr-privacy__wrapper .woocommerce-input-wrapper a,
.svetmagnetov-checkout-page .webtim-checkout--content-box .woocommerce-checkout-payment .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text a {
  color: #231f20;
  text-decoration: underline;
}

.svetmagnetov-checkout-page .webtim-checkout--content-box .woocommerce-checkout-payment .webtim-checkout--gdpr-privacy__wrapper .woocommerce-input-wrapper a:hover,
.svetmagnetov-checkout-page .webtim-checkout--content-box .woocommerce-checkout-payment .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text a:hover {
  color: var(--color-primary) !important;
  transition: 0.4s ease-in-out;
}

.svetmagnetov-checkout-page .woocommerce .woocommerce-customer-details address {
  width: fit-content;
}

/* added for VAT plugin */
.woocommerce form .form-row .woocommerce-input-wrapper #vat_number-description {
  padding: 0 10px !important;
}
