/* 1. Set up the parent container to layout children horizontally */
#wc-stripe-express-checkout-element {
  display: flex;
  gap: 10px; /* Optional: adds space between the elements if there are two */
  width: 100%;
}

/* 2. Default rule: If there's only 1 element, make it 100% width */
#wc-stripe-express-checkout-element .StripeElement {
  flex: 1 1 100%;
}

/* 3. The Magic Trick: If an element is BOTH the first-child AND the second-to-last-child, 
   it means exactly two elements exist. We target it and the element next to it. */
#wc-stripe-express-checkout-element .StripeElement:nth-child(1):nth-last-child(2),
#wc-stripe-express-checkout-element .StripeElement:nth-child(1):nth-last-child(2) + .StripeElement {
  flex: 1 1 calc(50% - 5px); /* 50% width (minus half the gap if you use one) */
  min-width:20px;
}



body:not(.logged-in) .woocommerce-billing-fields>.ws_billing_title_row, body:not(.logged-in) .ws_pay_order_before_payment_title, body:not(.logged-in) .woocommerce-checkout-payment {display:none;}
.ws_billing_title_row .my_account_login_link {display:none;}
#wc_express_checkout_continue {padding-top:16px; padding-bottom:16px; cursor:pointer;}
.wc_express_checkout_login_form_notice {color:#7A7670; padding-top:20px;}
.wc_ex_msg {font-size:14px; margin-top:10px; font-style:italic; color:green;}
.wc_ex_msg a {text-decoration:underline; font-weight:700;}
.wc_ex_msg.error {color:#D34E06;}
.wc-express-checkout-set-password-banner {position:fixed; bottom:15px; right:10px; background:#FEE34D; padding:5px 15px; border-radius:50px; text-align:center; box-shadow:rgba(0,0,0,0.4) 0px 0px 5px 0px;}
.wc-express-checkout-set-password-banner p {font-size:12px; color:#000; font-weight:500 ; font-family:'Geist'; display:flex; align-items:center; justify-content:center; gap:5px;}
.wc-express-checkout-set-password-banner p a {color:#F95E0B; font-weight:700; text-transform:lowercase;}
.wc-express-checkout-set-password-banner .blink_dot {display:inline-block; width:10px; height:10px; background:#F95E0B; border-radius:50%; border:1px solid #F95E0B; animation:blink-bg 1s infinite ease-in-out;}

@keyframes blink-bg {
0%, 100% {background:#F95E0B; border-color:#F95E0B; opacity:1;}
50% {background:transparent; border-color:#F95E0B; opacity:0.35;}
}

.wc_express_checkout_login_form.active {display:block;}
.wc_express_checkout_login_form .woocommerce-form-login__rememberme {display:none !important;}
.wc_express_checkout_login_form .woocommerce-form-login {display:flex; flex-wrap:wrap; flex-direction:column;}
.wc_express_checkout_login_form .woocommerce-form-login p:nth-child(1) {order:1;}
.wc_express_checkout_login_form .woocommerce-form-login p:nth-child(2) {order:2;}
.wc_express_checkout_login_form .woocommerce-form-login p:nth-child(3) {order:4; margin-bottom:0px;}
.wc_express_checkout_login_form .woocommerce-form-login p:nth-child(4) {order:3;margin-bottom:5px;}
.wc_express_checkout_login_form .woocommerce-form-login .wc_ex_msg {order:5;}
.wc_ex_msg a[title="Password Lost and Found"] {display:none;}
.ws_ex_co_paym_wrp {background:#FFF3B1; border-radius:8px; padding:20px; border:2px solid #FEE34D;}
.ws_ex_co_paym_wrp #wc-stripe-express-checkout-button-separator {display:none !important;}
.ws_ex_co_paym_wrp .ws_ex_co_paym_wrp_in {margin:15px 0px;}
.ws_ex_co_paym_wrp #wc-stripe-express-checkout-element {margin:0px !important;}
.ws_ex_co_paym_wrp p.ws_ex_co_paym_wrp_desc {line-height:1.2;}
.ws_ex_co_paym_sparator {display:flex; justify-content:center; padding-top:30px; padding-bottom:30px; color:#7A7670; position:relative;}
.ws_ex_co_paym_sparator:before {content:''; position:absolute; top:calc(50% - 1px); left:0px; width:100%; border-top:2px solid #bbb;}
.ws_ex_co_paym_sparator p {color:inherit; background:#fff; padding:0px 10px; position:relative; z-index:9;}
.ws_logged_in_email {margin-bottom:15px;}
.ws_logged_in_email strong {color:#000; ;}
.col_cust_detail .woocommerce-billing-fields__field-wrapper #billing_email_field input{border-color:#eee !important;background-color: #eee !important;pointer-events: none;}
/* .col_cust_detail .woocommerce-billing-fields__field-wrapper #billing_email_field {display:none;} */


.ws_ex_co_paym_sparator,
.ws_ex_co_paym_wrp{
  display: none !important;
}