/* Keep Stripe's mounted elements in their original DOM positions. */
body.woocommerce-checkout form.checkout.pk-express-layout:not(.pk-express-active) > #wc-stripe-express-checkout-button-separator {
  display: none !important;
}
body.woocommerce-checkout form.checkout.pk-express-active > #wc-stripe-express-checkout-element {
  grid-area: 1 / 1 / 2 / -1 !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}
body.woocommerce-checkout form.checkout.pk-express-active > #wc-stripe-express-checkout-button-separator {
  display: block !important;
  grid-area: 2 / 1 / 3 / -1 !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}
body.woocommerce-checkout form.checkout.pk-express-active > #wc-stripe-express-checkout-button-separator::before,
body.woocommerce-checkout form.checkout.pk-express-active > #wc-stripe-express-checkout-button-separator::after {
  content: none !important;
}
body.woocommerce-checkout form.checkout.pk-express-active > #customer_details {
  grid-row: 3 / auto !important;
}
body.woocommerce-checkout form.checkout.pk-express-active.pk-express-columns > #order_review_heading,
body.woocommerce-checkout form.checkout.pk-express-active.pk-express-columns > #order_review {
  grid-row: 3 / auto !important;
}
body.woocommerce-checkout form.checkout.pk-express-active:not(.pk-express-columns) > #customer_details {
  grid-column: 1 / -1 !important;
}
body.woocommerce-checkout form.checkout.pk-express-active:not(.pk-express-columns) > #order_review_heading {
  grid-area: 4 / 1 / 5 / -1 !important;
}
body.woocommerce-checkout form.checkout.pk-express-active:not(.pk-express-columns) > #order_review {
  grid-area: 4 / 1 / 5 / -1 !important;
}
body .pk-express-notice {
  display: block;
  box-sizing: border-box;
  margin: 12px 0 0 !important;
  padding: 12px 16px;
  border: 1px solid #F4E6DA;
  border-radius: 8px;
  background: #FFFDFC;
  color: #7A6A5E;
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 400;
  line-height: 1.6 !important;
  text-align: center;
}
body.woocommerce-cart #pk-express-cart-notice {
  margin-bottom: 20px !important;
}
body .pk-express-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 28px 0 16px;
  color: #6F6258;
  font-family: inherit;
  font-size: 20px !important;
  font-weight: 700;
  line-height: 1.5 !important;
}
body .pk-express-divider::before,
body .pk-express-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: #8B7768;
}
body .pk-express-notice[hidden] { display: none !important; }
