/* BCH Commerce Studio 1.0.23 — Pro UI layer
   Loaded AFTER studio-skin.css. Refines buttons, dimensions, spacing and states on every Studio page.
   Colors still come from the same blue/white variables (--bch-checkout-accent …) so Elementor colour controls keep working.
   Selector weight is intentionally lower than Elementor control output, so explicit Elementor settings still win. */

:root{
 --bchp-blue:var(--bch-checkout-accent,#005390);
 --bchp-blue-dark:var(--bch-checkout-accent-dark,#003e6c);
 --bchp-blue-soft:var(--bch-checkout-accent-soft,#eaf4fb);
 --bchp-ink:var(--bch-checkout-text,#18334a);
 --bchp-muted:var(--bch-checkout-muted,#5b6f80);
 --bchp-line:#dbe6ef;
 --bchp-line-strong:#bcd0e0;
 --bchp-surface:#fff;
 --bchp-bg:#f4f8fb;
 --bchp-radius-card:var(--bch-checkout-radius,20px);
 --bchp-radius-ctrl:12px;
 --bchp-radius-pill:999px;
 --bchp-h-btn:52px;
 --bchp-h-btn-sm:42px;
 --bchp-h-field:52px;
 --bchp-pad-card:32px;
 --bchp-gap:24px;
 --bchp-shadow-card:0 1px 2px rgba(16,52,82,.04),0 8px 28px -8px rgba(16,52,82,.10);
 --bchp-shadow-btn:0 1px 2px rgba(0,50,90,.18),0 8px 18px -8px rgba(0,83,144,.55);
 --bchp-shadow-btn-hover:0 2px 4px rgba(0,50,90,.2),0 14px 26px -10px rgba(0,83,144,.6);
 --bchp-ring:0 0 0 4px rgba(0,83,144,.20);
 --bchp-ease:cubic-bezier(.2,.7,.2,1);
}

/* ============ 1. BUTTONS — shape, size, motion (all pages) ============ */
:is(html,#bch-order-pay-page) .button,
:is(html,#bch-order-pay-page) button[type=submit],
:is(html,#bch-order-pay-page) input[type=submit],
:is(html,#bch-order-pay-page) .checkout-button,
:is(html,#bch-order-pay-page) #place_order,
:is(html,#bch-order-pay-page) .bchcs-order-card__view,
:is(html,#bch-order-pay-page) .bchcs-customer-lookup__submit,
:is(html,#bch-order-pay-page) .bch-orderpay-btn,
:is(html,#bch-order-pay-page) .bch-orderpay-place,
:is(html,#bch-order-pay-page) .bch-thankyou-primary,
:is(html,#bch-order-pay-page) .bch-thankyou-view-order,
:is(html,#bch-order-pay-page) .bch-thankyou-store,
:is(html,#bch-order-pay-page) .bch-thankyou-whatsapp,
:is(html,#bch-order-pay-page) .bch-sar-modal__continue,
:is(html,#bch-order-pay-page) .bch-sar-modal__cancel,
:is(html,#bch-order-pay-page) [data-bch-sar-copy],
:is(html,#bch-order-pay-page) .bchcs-orders-pagination a,
:is(html,#bch-order-pay-page) .woocommerce-pagination a{
 position:relative;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
 min-height:var(--bchp-h-btn)!important;
 padding:0 28px!important;
 border-radius:var(--bchp-radius-ctrl)!important;
 font-size:16px!important;font-weight:700!important;line-height:1.2!important;letter-spacing:0!important;
 text-decoration:none!important;white-space:nowrap!important;
 -webkit-tap-highlight-color:transparent;user-select:none;
 transition:transform .18s var(--bchp-ease),box-shadow .18s var(--bchp-ease),background-color .18s,border-color .18s,color .18s!important;
}
:is(html,#bch-order-pay-page) .bchcs-order-card__view,
:is(html,#bch-order-pay-page) .bch-orderpay-btn--ghost,
:is(html,#bch-order-pay-page) .bch-sar-modal__cancel,
:is(html,#bch-order-pay-page) [data-bch-sar-copy],
:is(html,#bch-order-pay-page) button[name=update_cart],
:is(html,#bch-order-pay-page) button[name=apply_coupon],
:is(html,#bch-order-pay-page) .bchcs-orders-pagination a,
:is(html,#bch-order-pay-page) .woocommerce-pagination a{min-height:var(--bchp-h-btn-sm)!important;padding:0 20px!important;font-size:15px!important;}

/* Primary — solid brand blue */
:is(html,#bch-order-pay-page) :is(.button,button[type=submit],input[type=submit],.checkout-button,#place_order,.bchcs-customer-lookup__submit,.bch-orderpay-btn--primary,.bch-orderpay-place,.bch-thankyou-primary,.bch-thankyou-view-order,.bch-sar-modal__continue,.bchcs-order-card__view):not(:is(button[name=update_cart],button[name=apply_coupon],.bch-orderpay-btn--ghost,.bch-orderpay-btn--danger,.bch-thankyou-store,.bch-thankyou-whatsapp)){
 background:linear-gradient(180deg,var(--bchp-blue) 0%,var(--bchp-blue-dark) 160%)!important;
 background-color:var(--bchp-blue)!important;
 color:var(--bch-checkout-button-text,#fff)!important;
 border:1px solid var(--bchp-blue-dark)!important;
 box-shadow:var(--bchp-shadow-btn)!important;
}
:is(html,#bch-order-pay-page) :is(.button,button[type=submit],input[type=submit],.checkout-button,#place_order,.bchcs-customer-lookup__submit,.bch-orderpay-btn--primary,.bch-orderpay-place,.bch-thankyou-primary,.bch-thankyou-view-order,.bch-sar-modal__continue,.bchcs-order-card__view):not(:is(button[name=update_cart],button[name=apply_coupon],.bch-orderpay-btn--ghost,.bch-orderpay-btn--danger,.bch-thankyou-store,.bch-thankyou-whatsapp)):hover{
 background:linear-gradient(180deg,var(--bchp-blue-dark) 0%,var(--bchp-blue-dark) 100%)!important;
 color:#fff!important;transform:translateY(-2px)!important;box-shadow:var(--bchp-shadow-btn-hover)!important;
}
/* Secondary — white with brand outline */
:is(html,#bch-order-pay-page) :is(button[name=update_cart],button[name=apply_coupon],.bch-orderpay-btn--ghost,.bch-thankyou-store,.bch-sar-modal__cancel,[data-bch-sar-copy],.bchcs-orders-pagination a,.woocommerce-pagination a){
 background:#fff!important;color:var(--bchp-blue)!important;
 border:1.5px solid var(--bchp-line-strong)!important;box-shadow:0 1px 2px rgba(16,52,82,.05)!important;
}
:is(html,#bch-order-pay-page) :is(button[name=update_cart],button[name=apply_coupon],.bch-orderpay-btn--ghost,.bch-thankyou-store,.bch-sar-modal__cancel,[data-bch-sar-copy],.bchcs-orders-pagination a,.woocommerce-pagination a):hover{
 background:var(--bchp-blue-soft)!important;border-color:var(--bchp-blue)!important;color:var(--bchp-blue-dark)!important;
 transform:translateY(-1px)!important;box-shadow:0 6px 16px -8px rgba(0,83,144,.35)!important;
}
/* Danger */
:is(html,#bch-order-pay-page) .bch-orderpay-btn--danger{background:#fff!important;color:#b42318!important;border:1.5px solid #f0c4c0!important;box-shadow:none!important;}
:is(html,#bch-order-pay-page) .bch-orderpay-btn--danger:hover{background:#fff1f0!important;border-color:#e08a84!important;transform:translateY(-1px)!important;}
/* WhatsApp keeps its brand green; only shape/size is unified */
:is(html,#bch-order-pay-page) .bch-thankyou-whatsapp{box-shadow:0 1px 2px rgba(0,60,30,.18),0 8px 18px -8px rgba(31,157,85,.55)!important;border:0!important;}
:is(html,#bch-order-pay-page) .bch-thankyou-whatsapp:hover{transform:translateY(-2px)!important;filter:brightness(.95);}
/* Press, focus, loading, disabled */
:is(html,#bch-order-pay-page) :is(.button,button[type=submit],input[type=submit],.checkout-button,#place_order,.bch-orderpay-btn,.bch-orderpay-place,.bch-thankyou-primary,.bch-thankyou-view-order,.bch-thankyou-store,.bch-thankyou-whatsapp,.bch-sar-modal__continue,.bch-sar-modal__cancel,.bchcs-customer-lookup__submit,.bchcs-order-card__view):active{transform:translateY(0) scale(.985)!important;box-shadow:0 1px 2px rgba(0,50,90,.2)!important;transition-duration:.06s!important;}
:is(html,#bch-order-pay-page) :is(.button,button,input[type=submit],a.bch-orderpay-btn,.bch-thankyou-primary,.bch-thankyou-view-order,.bch-thankyou-store,.bch-thankyou-whatsapp,.bchcs-order-card__view,.bchcs-lookup-service,.bchcs-lookup-method,.bchcs-account-action,.woocommerce-MyAccount-navigation a):focus-visible{outline:0!important;box-shadow:var(--bchp-ring)!important;}
:is(html,#bch-order-pay-page) .button.loading,:is(html,#bch-order-pay-page) button.loading{pointer-events:none;color:transparent!important;}
:is(html,#bch-order-pay-page) .button.loading::after,:is(html,#bch-order-pay-page) button.loading::after{content:""!important;position:absolute!important;inset:0!important;margin:auto!important;width:22px!important;height:22px!important;border:3px solid rgba(255,255,255,.45)!important;border-top-color:#fff!important;border-radius:50%!important;font:0/0 a!important;animation:bchpSpin .7s linear infinite!important;}
@keyframes bchpSpin{to{transform:rotate(360deg)}}
:is(html,#bch-order-pay-page) :is(button,input[type=submit],.button):disabled,
:is(html,#bch-order-pay-page) .button.disabled,:is(html,#bch-order-pay-page) [aria-disabled=true]{background:#e3ebf1!important;background-image:none!important;color:#8497a6!important;border-color:#d3dee7!important;box-shadow:none!important;transform:none!important;opacity:1!important;cursor:not-allowed!important;}
/* Icons inside buttons */
:is(html,#bch-order-pay-page) :is(.button,button,.bch-orderpay-btn,.bch-thankyou-primary,.bch-thankyou-store,.bch-thankyou-whatsapp,.bch-thankyou-view-order) :is(svg,i,.dashicons){flex:0 0 auto;width:20px;height:20px;font-size:20px;}

/* Hero / full-width action buttons */
:is(html,#bch-order-pay-page) :is(.checkout-button,#place_order,.bch-orderpay-place,.bchcs-customer-lookup__submit,.bch-sar-modal__continue){width:100%!important;min-height:58px!important;font-size:17px!important;border-radius:14px!important;}
:is(html,#bch-order-pay-page) .wc-proceed-to-checkout{padding:20px 0 0!important;margin:0!important;}
:is(html,#bch-order-pay-page) .wc-proceed-to-checkout a.checkout-button{margin:0!important;}

/* ============ 2. FIELDS ============ */
:is(html,#bch-order-pay-page) :is(input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=search],input[type=url],select,.select2-selection--single){
 min-height:var(--bchp-h-field)!important;padding:0 16px!important;border:1.5px solid var(--bchp-line-strong)!important;border-radius:var(--bchp-radius-ctrl)!important;
 background-color:#fff!important;font-size:16px!important;line-height:1.4!important;color:var(--bchp-ink)!important;
 transition:border-color .16s,box-shadow .16s,background-color .16s!important;
}
:is(html,#bch-order-pay-page) textarea{padding:14px 16px!important;border:1.5px solid var(--bchp-line-strong)!important;border-radius:var(--bchp-radius-ctrl)!important;min-height:132px!important;font-size:16px!important;}
:is(html,#bch-order-pay-page) :is(input,select,textarea):hover{border-color:#8fb0c9!important;}
:is(html,#bch-order-pay-page) :is(input,select,textarea,.select2-container--open .select2-selection--single):focus{border-color:var(--bchp-blue)!important;box-shadow:var(--bchp-ring)!important;outline:0!important;background:#fff!important;}
:is(html,#bch-order-pay-page) .select2-selection--single{display:flex!important;align-items:center!important;}
:is(html,#bch-order-pay-page) .select2-selection__arrow{height:100%!important;top:0!important;}
:is(html,#bch-order-pay-page) .form-row{margin:0 0 18px!important;}
:is(html,#bch-order-pay-page) .form-row label{margin-bottom:8px!important;font-size:14.5px!important;font-weight:700!important;color:var(--bchp-ink)!important;}
:is(html,#bch-order-pay-page) .form-row .required{color:#c0392b!important;text-decoration:none;}
:is(html,#bch-order-pay-page) .woocommerce-invalid :is(input,select,.select2-selection--single){border-color:#c0392b!important;}
:is(html,#bch-order-pay-page) .woocommerce-invalid :is(input,select):focus{box-shadow:0 0 0 4px rgba(192,57,43,.16)!important;}
:is(html,#bch-order-pay-page) :is(input[type=checkbox],input[type=radio]){width:20px!important;height:20px!important;min-height:20px!important;min-width:20px!important;}

/* ============ 3. CARDS & SURFACES ============ */
:is(html,#bch-order-pay-page) :is(.woocommerce-cart-form,.cart_totals,#customer_details,#order_review,.woocommerce-MyAccount-content,.woocommerce-MyAccount-navigation,.bchcs-order-card,.bchcs-customer-lookup__card,.bch-orderpay-panel,.bch-orderpay-mini-card,.bch-thankyou-support,.bch-payment-proof,.woocommerce-order-details,.woocommerce-customer-details,.bchcs-orders-empty,.bchcs-orders-login){
 padding:var(--bchp-pad-card)!important;border-radius:var(--bchp-radius-card)!important;border:1px solid var(--bchp-line)!important;box-shadow:var(--bchp-shadow-card)!important;
}
:is(html,#bch-order-pay-page) :is(.cart_totals,#order_review){position:relative;overflow:hidden;}
:is(html,#bch-order-pay-page) :is(.cart_totals,#order_review)::before{content:""!important;display:block!important;position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,var(--bchp-blue),#2d83c1)!important;}
:is(html,#bch-order-pay-page) :is(.cart_totals,#order_review){padding-top:calc(var(--bchp-pad-card) + 4px)!important;}
:is(html,#bch-order-pay-page) :is(.cart_totals h2,#order_review_heading,#customer_details h3,.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3,.bch-orderpay-panel__head h2){
 position:relative;margin:0 0 22px!important;padding-bottom:14px!important;font-size:22px!important;line-height:1.4!important;
}
:is(html,#bch-order-pay-page) :is(.cart_totals h2,#order_review_heading,#customer_details h3,.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3)::after{content:"";position:absolute;inset-inline-start:0;bottom:0;width:44px;height:3px;border-radius:3px;background:var(--bchp-blue);}
:is(html,#bch-order-pay-page) #customer_details .col-1,:is(html,#bch-order-pay-page) #customer_details .col-2{float:none!important;width:100%!important;padding:0!important;}
:is(html,#bch-order-pay-page) #customer_details .col-2{margin-top:8px;}
:is(html,#bch-order-pay-page) .woocommerce-billing-fields__field-wrapper,:is(html,#bch-order-pay-page) .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;}
:is(html,#bch-order-pay-page) .woocommerce-billing-fields__field-wrapper .form-row,:is(html,#bch-order-pay-page) .woocommerce-shipping-fields__field-wrapper .form-row{float:none!important;width:100%!important;}
:is(html,#bch-order-pay-page) .woocommerce-billing-fields__field-wrapper .form-row-wide,:is(html,#bch-order-pay-page) .woocommerce-billing-fields__field-wrapper .notes{grid-column:1/-1;}

/* Notices */
:is(html,#bch-order-pay-page) :is(.woocommerce-info,.woocommerce-message,.woocommerce-error){padding:16px 20px 16px 20px!important;border-radius:14px!important;margin:0 0 20px!important;font-weight:500;}
:is(html,#bch-order-pay-page) :is(.woocommerce-info,.woocommerce-message,.woocommerce-error) .button{min-height:40px!important;padding:0 16px!important;font-size:14px!important;margin-inline-start:12px;}

/* ============ 4. CART ============ */
:is(html,#bch-order-pay-page) table.shop_table thead th{padding:14px 16px!important;background:var(--bchp-blue-soft)!important;color:var(--bchp-blue-dark)!important;font-size:13.5px!important;font-weight:700!important;letter-spacing:.01em;border:0!important;}
:is(html,#bch-order-pay-page) table.shop_table thead th:first-child{border-start-start-radius:12px;border-end-start-radius:12px;}
:is(html,#bch-order-pay-page) table.shop_table thead th:last-child{border-start-end-radius:12px;border-end-end-radius:12px;}
:is(html,#bch-order-pay-page) table.shop_table td{padding:18px 16px!important;vertical-align:middle!important;border-top:1px solid var(--bchp-line)!important;}
:is(html,#bch-order-pay-page) table.shop_table tbody tr:first-child td{border-top:0!important;}
:is(html,#bch-order-pay-page) table.shop_table .product-thumbnail img{width:84px!important;height:84px!important;object-fit:cover;border-radius:14px!important;border:1px solid var(--bchp-line);}
:is(html,#bch-order-pay-page) table.shop_table .product-name a{font-weight:700;color:var(--bchp-ink)!important;text-decoration:none;}
:is(html,#bch-order-pay-page) table.shop_table .product-name a:hover{color:var(--bchp-blue)!important;}
:is(html,#bch-order-pay-page) table.shop_table .product-subtotal,:is(html,#bch-order-pay-page) table.shop_table .product-price{font-weight:700;white-space:nowrap;}
:is(html,#bch-order-pay-page) a.remove{display:inline-flex!important;align-items:center;justify-content:center;width:36px!important;height:36px!important;border-radius:50%!important;background:#fff1f0!important;color:#b42318!important;font-size:20px!important;line-height:1!important;text-decoration:none!important;transition:background .16s,transform .16s var(--bchp-ease)!important;}
:is(html,#bch-order-pay-page) a.remove:hover{background:#b42318!important;color:#fff!important;transform:scale(1.08);}
:is(html,#bch-order-pay-page) .quantity{display:inline-flex;align-items:center;}
:is(html,#bch-order-pay-page) .quantity input.qty{width:84px!important;min-height:46px!important;padding:0 8px!important;text-align:center!important;font-weight:700!important;border-radius:12px!important;}
:is(html,#bch-order-pay-page) .coupon{display:flex!important;gap:10px!important;align-items:stretch!important;}
:is(html,#bch-order-pay-page) .coupon input#coupon_code{flex:1 1 auto;min-width:0;width:auto!important;}
:is(html,#bch-order-pay-page) td.actions{padding-top:22px!important;}
:is(html,#bch-order-pay-page) .cart_totals table.shop_table th{font-weight:600;color:var(--bchp-muted)!important;}
:is(html,#bch-order-pay-page) .cart_totals table.shop_table :is(.order-total th,.order-total td){font-size:19px!important;font-weight:800!important;color:var(--bchp-ink)!important;}
:is(html,#bch-order-pay-page) .cart_totals table.shop_table .order-total td strong{color:var(--bchp-blue)!important;}
:is(html,#bch-order-pay-page) .cart_totals table.shop_table :is(th,td){padding:14px 0!important;border-top:1px solid var(--bchp-line)!important;background:transparent!important;}

/* ============ 5. CHECKOUT PAYMENT ============ */
:is(html,#bch-order-pay-page) #payment{background:transparent!important;border-radius:0!important;padding:0!important;}
:is(html,#bch-order-pay-page) #payment ul.payment_methods,:is(html,#bch-order-pay-page) ul.wc_payment_methods{display:grid;gap:12px;margin:0 0 20px!important;padding:0!important;border:0!important;list-style:none;}
:is(html,#bch-order-pay-page) #payment ul.payment_methods>li,:is(html,#bch-order-pay-page) ul.wc_payment_methods>li{margin:0!important;padding:16px 18px!important;border:1.5px solid var(--bchp-line)!important;border-radius:14px!important;background:#fff;cursor:pointer;transition:border-color .16s,box-shadow .16s,background .16s;}
:is(html,#bch-order-pay-page) #payment ul.payment_methods>li:hover{border-color:var(--bchp-line-strong)!important;}
:is(html,#bch-order-pay-page) #payment ul.payment_methods>li:has(input:checked){border-color:var(--bchp-blue)!important;background:var(--bchp-blue-soft)!important;box-shadow:0 0 0 3px rgba(0,83,144,.10);}
:is(html,#bch-order-pay-page) #payment ul.payment_methods>li label{display:inline-flex!important;align-items:center;gap:10px;margin:0!important;font-size:16px!important;cursor:pointer;}
:is(html,#bch-order-pay-page) #payment div.payment_box,:is(html,#bch-order-pay-page) .payment_box{margin:14px 0 0!important;padding:14px 16px!important;border-radius:12px!important;background:#fff!important;border:1px dashed var(--bchp-line-strong)!important;color:var(--bchp-muted)!important;font-size:14.5px!important;}
:is(html,#bch-order-pay-page) #payment div.payment_box::before{display:none!important;}
:is(html,#bch-order-pay-page) .woocommerce-terms-and-conditions-wrapper{margin:6px 0 18px;font-size:14px;color:var(--bchp-muted);}
:is(html,#bch-order-pay-page) #order_review table.shop_table :is(th,td){padding:14px 0!important;}

/* ============ 6. MY ACCOUNT ============ */
:is(html,#bch-order-pay-page) .woocommerce-MyAccount-navigation{padding:14px!important;}
:is(html,#bch-order-pay-page) .woocommerce-MyAccount-navigation ul{display:grid;gap:6px;margin:0!important;padding:0!important;list-style:none;}
:is(html,#bch-order-pay-page) .woocommerce-MyAccount-navigation li a{display:flex!important;align-items:center;gap:12px;min-height:50px;padding:0 16px!important;border-radius:12px!important;font-size:15.5px!important;font-weight:600!important;text-decoration:none!important;color:var(--bchp-ink)!important;transition:background .16s,color .16s,transform .16s var(--bchp-ease)!important;}
:is(html,#bch-order-pay-page) .woocommerce-MyAccount-navigation li:not(.is-active) a:hover{background:var(--bchp-blue-soft)!important;color:var(--bchp-blue)!important;transform:translateX(-2px);}
:is(html,#bch-order-pay-page) .woocommerce-MyAccount-navigation li.is-active a{background:linear-gradient(180deg,var(--bchp-blue),var(--bchp-blue-dark))!important;color:#fff!important;box-shadow:var(--bchp-shadow-btn)!important;}
:is(html,#bch-order-pay-page) .bchcs-account-nav__icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:var(--bchp-blue-soft);flex:0 0 34px;}
:is(html,#bch-order-pay-page) .woocommerce-MyAccount-navigation li.is-active .bchcs-account-nav__icon{background:rgba(255,255,255,.18);}
:is(html,#bch-order-pay-page) .bchcs-account-dashboard__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px!important;}
:is(html,#bch-order-pay-page) .bchcs-account-action{display:flex!important;align-items:center;gap:16px;min-height:104px!important;padding:20px!important;border-radius:18px!important;border:1px solid var(--bchp-line)!important;border-top:3px solid var(--bchp-blue)!important;background:#fff!important;text-decoration:none!important;box-shadow:var(--bchp-shadow-card)!important;transition:transform .2s var(--bchp-ease),box-shadow .2s var(--bchp-ease),border-color .2s!important;}
:is(html,#bch-order-pay-page) .bchcs-account-action:hover{transform:translateY(-4px)!important;box-shadow:0 18px 36px -14px rgba(0,83,144,.30)!important;border-color:var(--bchp-line-strong)!important;border-top-color:var(--bchp-blue)!important;}
:is(html,#bch-order-pay-page) .bchcs-account-action__icon{border-radius:14px!important;background:var(--bchp-blue-soft)!important;color:var(--bchp-blue)!important;display:inline-flex;align-items:center;justify-content:center;}
:is(html,#bch-order-pay-page) .bchcs-account-action strong{font-size:17px;}
:is(html,#bch-order-pay-page) .bchcs-account-action__arrow{margin-inline-start:auto;opacity:.5;transition:transform .2s var(--bchp-ease),opacity .2s;}
:is(html,#bch-order-pay-page) .bchcs-account-action:hover .bchcs-account-action__arrow{opacity:1;transform:translateX(-4px);}
/* Login / guest */
:is(html,#bch-order-pay-page) .bchcs-my-account-shell--guest form{padding:36px!important;border-radius:24px!important;border:1px solid var(--bchp-line)!important;box-shadow:0 20px 50px -20px rgba(16,52,82,.25)!important;}
:is(html,#bch-order-pay-page) .bchcs-my-account-shell--guest .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:8px;margin:4px 0 18px;}
:is(html,#bch-order-pay-page) .bchcs-my-account-shell--guest .woocommerce-LostPassword{margin-top:16px;text-align:center;}
:is(html,#bch-order-pay-page) .bchcs-my-account-shell--guest .woocommerce-LostPassword a{color:var(--bchp-blue)!important;font-weight:600;}

/* ============ 7. ORDERS ============ */
:is(html,#bch-order-pay-page) .bchcs-orders-shell__head{padding:26px 30px!important;border-radius:var(--bchp-radius-card)!important;margin-bottom:20px!important;}
:is(html,#bch-order-pay-page) .bchcs-orders-list{display:grid;gap:16px!important;}
:is(html,#bch-order-pay-page) .bchcs-order-card{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;align-items:center;gap:20px!important;padding:22px 26px!important;transition:transform .2s var(--bchp-ease),box-shadow .2s var(--bchp-ease)!important;}
:is(html,#bch-order-pay-page) .bchcs-order-card:hover{transform:translateY(-2px);box-shadow:0 18px 38px -16px rgba(0,83,144,.28)!important;}
:is(html,#bch-order-pay-page) .bchcs-order-card__number strong{font-size:18px;}
:is(html,#bch-order-pay-page) .bchcs-order-card__status span{display:inline-flex!important;align-items:center;gap:6px;min-height:32px;padding:0 14px!important;border-radius:var(--bchp-radius-pill)!important;font-size:13.5px!important;font-weight:700!important;border:1px solid transparent;}
:is(html,#bch-order-pay-page) .bchcs-order-card__status span::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor;}
:is(html,#bch-order-pay-page) .bchcs-orders-pagination{display:flex;justify-content:center;gap:10px;margin-top:22px;}

/* ============ 8. CUSTOMER LOOKUP ============ */
:is(html,#bch-order-pay-page) .bchcs-customer-lookup{max-width:880px!important;}
:is(html,#bch-order-pay-page) .bchcs-customer-lookup__card{padding:36px!important;}
:is(html,#bch-order-pay-page) .bchcs-customer-lookup__hero{display:flex;align-items:center;gap:18px;padding:26px 28px!important;border-radius:18px!important;border:1px solid #d3e4f1!important;margin-bottom:24px!important;}
:is(html,#bch-order-pay-page) .bchcs-customer-lookup__hero-icon{width:56px;height:56px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:var(--bchp-blue);box-shadow:var(--bchp-shadow-card);flex:0 0 56px;}
:is(html,#bch-order-pay-page) .bchcs-lookup-services{display:flex;flex-wrap:wrap;gap:6px!important;padding:6px!important;border-radius:16px!important;background:var(--bchp-blue-soft)!important;border:1px solid #d3e4f1;}
:is(html,#bch-order-pay-page) .bchcs-lookup-service{flex:1 1 140px;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:48px!important;padding:0 18px!important;border-radius:12px!important;border:0!important;background:transparent!important;color:var(--bchp-muted)!important;font-size:15.5px!important;font-weight:700!important;cursor:pointer;transition:background .18s,color .18s,box-shadow .18s!important;}
:is(html,#bch-order-pay-page) .bchcs-lookup-service:hover{color:var(--bchp-blue)!important;background:rgba(255,255,255,.7)!important;}
:is(html,#bch-order-pay-page) .bchcs-lookup-service[aria-pressed=true]{background:#fff!important;color:var(--bchp-blue)!important;box-shadow:0 2px 10px -2px rgba(0,83,144,.25)!important;}
:is(html,#bch-order-pay-page) .bchcs-lookup-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px!important;}
:is(html,#bch-order-pay-page) .bchcs-lookup-method{min-height:56px;padding:0 18px;border:1.5px solid var(--bchp-line)!important;border-radius:14px!important;background:#fff!important;font-weight:600;transition:border-color .16s,background .16s,box-shadow .16s;}
:is(html,#bch-order-pay-page) .bchcs-lookup-method:hover{border-color:var(--bchp-line-strong)!important;}
:is(html,#bch-order-pay-page) .bchcs-lookup-method:is(.is-active,[aria-pressed=true],:has(input:checked)){border-color:var(--bchp-blue)!important;background:var(--bchp-blue-soft)!important;box-shadow:0 0 0 3px rgba(0,83,144,.10);}
:is(html,#bch-order-pay-page) .bchcs-customer-lookup__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px!important;}
:is(html,#bch-order-pay-page) .bchcs-customer-lookup__result{padding:20px 22px!important;border-radius:16px!important;margin-top:20px;}
:is(html,#bch-order-pay-page) .bchcs-lookup-step__number{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--bchp-blue);color:#fff;font-weight:800;font-size:15px;flex:0 0 34px;}

/* ============ 9. THANK YOU ============ */
:is(html,#bch-order-pay-page) .bch-thankyou-hero{padding:44px 36px!important;text-align:center;border-radius:24px!important;}
:is(html,#bch-order-pay-page) .bch-thankyou-icon{width:84px;height:84px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;box-shadow:0 12px 30px -10px rgba(0,83,144,.35);}
:is(html,#bch-order-pay-page) .bch-thankyou-kicker{display:inline-flex;min-height:30px;align-items:center;padding:0 14px;border-radius:var(--bchp-radius-pill);background:rgba(255,255,255,.7);font-size:13.5px;font-weight:700;}
:is(html,#bch-order-pay-page) .bch-thankyou-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px!important;}
:is(html,#bch-order-pay-page) .bch-thankyou-summary-item{padding:18px 20px!important;border-radius:16px!important;border:1px solid var(--bchp-line)!important;background:#fff;}
:is(html,#bch-order-pay-page) .bch-thankyou-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:26px!important;}
:is(html,#bch-order-pay-page) .bch-thankyou-actions>a{flex:0 1 auto;}
:is(html,#bch-order-pay-page) .bch-thankyou-support{display:flex;align-items:center;gap:18px;justify-content:space-between;flex-wrap:wrap;}
:is(html,#bch-order-pay-page) .bch-payment-proof input[type=file]{width:100%;padding:14px;border:1.5px dashed var(--bchp-line-strong);border-radius:14px;background:var(--bchp-blue-soft);}

/* ============ 10. ORDER PAY ============ */
:is(html,#bch-order-pay-page) .bch-orderpay-hero{padding:34px 36px!important;border-radius:24px!important;}
:is(html,#bch-order-pay-page) .bch-orderpay-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:var(--bchp-gap)!important;align-items:start;}
:is(html,#bch-order-pay-page) .bch-orderpay-sidebar{position:sticky;top:24px;}
:is(html,#bch-order-pay-page) .bch-orderpay-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px!important;}
:is(html,#bch-order-pay-page) .bch-orderpay-mini-card{padding:18px 20px!important;}
:is(html,#bch-order-pay-page) .bch-orderpay-actions,:is(html,#bch-order-pay-page) .bch-orderpay-quick-actions,:is(html,#bch-order-pay-page) .bch-orderpay-modal__actions{display:flex;flex-wrap:wrap;gap:12px;}
:is(html,#bch-order-pay-page) .bch-orderpay-item{display:flex;gap:16px;align-items:center;padding:14px 0;border-top:1px solid var(--bchp-line);}
:is(html,#bch-order-pay-page) .bch-orderpay-item__thumb img{width:68px;height:68px;border-radius:12px;object-fit:cover;}
:is(html,#bch-order-pay-page) .bch-orderpay-total-row{padding:14px 0;border-top:1px solid var(--bchp-line);font-weight:700;}
:is(html,#bch-order-pay-page) .bch-orderpay-orderbadge,:is(html,#bch-order-pay-page) .bch-orderpay-status{display:inline-flex;align-items:center;min-height:32px;padding:0 14px;border-radius:var(--bchp-radius-pill);font-weight:700;font-size:13.5px;}
:is(html,#bch-order-pay-page) .bch-orderpay-submitwrap{padding-top:18px;}

/* ============ 11. POPUPS / MODALS ============ */
:is(html,#bch-order-pay-page) :is(.bch-sar-modal__dialog,.bch-orderpay-modal__dialog){width:min(540px,calc(100vw - 32px))!important;padding:36px!important;border-radius:24px!important;border:1px solid var(--bchp-line)!important;box-shadow:0 30px 80px -20px rgba(8,36,60,.45)!important;animation:bchpPop .28s var(--bchp-ease);}
@keyframes bchpPop{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
:is(html,#bch-order-pay-page) :is(.bch-sar-modal__close,.bch-orderpay-modal__close){position:absolute;top:14px;inset-inline-end:14px;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center;border-radius:50%!important;border:0!important;background:var(--bchp-blue-soft)!important;color:var(--bchp-blue)!important;box-shadow:none!important;font-size:22px!important;line-height:1;cursor:pointer;transition:background .16s,transform .16s var(--bchp-ease)!important;}
:is(html,#bch-order-pay-page) :is(.bch-sar-modal__close,.bch-orderpay-modal__close):hover{background:#d8e9f6!important;transform:rotate(90deg)!important;}
:is(html,#bch-order-pay-page) .bch-sar-modal__icon,:is(html,#bch-order-pay-page) .bch-orderpay-modal__icon{width:68px;height:68px;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--bchp-blue-soft);color:var(--bchp-blue);}
:is(html,#bch-order-pay-page) .bch-sar-modal__amount-card{padding:20px 22px!important;border-radius:16px!important;border:1px solid #d3e4f1!important;text-align:center;}
:is(html,#bch-order-pay-page) .bch-sar-modal__amount{font-size:30px!important;font-weight:800!important;color:var(--bchp-blue)!important;}
:is(html,#bch-order-pay-page) .bch-sar-modal__actions,:is(html,#bch-order-pay-page) .bch-orderpay-modal__actions{display:grid;grid-template-columns:1fr;gap:12px;margin-top:22px;}
:is(html,#bch-order-pay-page) .bch-sar-modal__steps{display:grid;gap:10px;margin:18px 0;padding:0;list-style:none;}
:is(html,#bch-order-pay-page) .bch-sar-modal__error{padding:12px 16px;border-radius:12px;background:#fff4f3;color:#9c2923;font-size:14.5px;}

/* ============ 12. RESPONSIVE ============ */
@media(max-width:1024px){
 :root{--bchp-pad-card:26px;--bchp-gap:20px;}
 :is(html,#bch-order-pay-page) .bch-orderpay-layout{grid-template-columns:minmax(0,1fr)!important;}
 :is(html,#bch-order-pay-page) .bch-orderpay-sidebar{position:static;}
 :is(html,#bch-order-pay-page) .bchcs-order-card{grid-template-columns:minmax(0,1fr) auto;}
}
@media(max-width:800px){
 :root{--bchp-pad-card:22px;--bchp-h-btn:54px;--bchp-h-field:54px;}
 :is(html,#bch-order-pay-page) .woocommerce-billing-fields__field-wrapper,:is(html,#bch-order-pay-page) .woocommerce-shipping-fields__field-wrapper,:is(html,#bch-order-pay-page) .bchcs-customer-lookup__fields{grid-template-columns:minmax(0,1fr);}
 :is(html,#bch-order-pay-page) .bchcs-order-card{grid-template-columns:minmax(0,1fr)!important;}
 :is(html,#bch-order-pay-page) .bchcs-order-card__view{width:100%!important;}
 :is(html,#bch-order-pay-page) .bch-thankyou-actions>a,:is(html,#bch-order-pay-page) .bch-orderpay-actions>*,:is(html,#bch-order-pay-page) .bch-orderpay-quick-actions>*{flex:1 1 100%;width:100%;}
 :is(html,#bch-order-pay-page) .bch-thankyou-hero{padding:34px 22px!important;}
 :is(html,#bch-order-pay-page) .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:540px){
 :root{--bchp-pad-card:18px;--bchp-gap:16px;}
 :is(html,#bch-order-pay-page) :is(.woocommerce-cart-form,.cart_totals,#customer_details,#order_review,.woocommerce-MyAccount-content,.bchcs-customer-lookup__card){border-radius:18px!important;}
 :is(html,#bch-order-pay-page) :is(.cart_totals h2,#order_review_heading,#customer_details h3){font-size:20px!important;}
 :is(html,#bch-order-pay-page) .woocommerce-MyAccount-navigation ul{grid-template-columns:minmax(0,1fr);}
 :is(html,#bch-order-pay-page) .bchcs-account-dashboard__grid{grid-template-columns:minmax(0,1fr);}
 :is(html,#bch-order-pay-page) .bchcs-lookup-service{flex:1 1 100%;}
 :is(html,#bch-order-pay-page) :is(.bch-sar-modal__dialog,.bch-orderpay-modal__dialog){padding:28px 20px!important;border-radius:20px!important;}
 :is(html,#bch-order-pay-page) .bch-sar-modal__amount{font-size:26px!important;}
 :is(html,#bch-order-pay-page) table.shop_table .product-thumbnail img{width:72px!important;height:72px!important;}
 :is(html,#bch-order-pay-page) :is(.button,button[type=submit],input[type=submit],.bch-thankyou-primary,.bch-thankyou-view-order,.bch-thankyou-store,.bch-thankyou-whatsapp){white-space:normal!important;text-align:center;}
}
@media(prefers-reduced-motion:reduce){
 :is(html,#bch-order-pay-page) *{animation:none!important;transition:none!important;}
 :is(html,#bch-order-pay-page) :is(.button,.bchcs-account-action,.bchcs-order-card):hover{transform:none!important;}
}

/* ============ 13. FIXES 1.0.23.1 — cart table, banner spacing, bottom-bar clearance ============ */
/* Root cause of the squeezed product column: legacy skin sets overflow-wrap:anywhere on table cells,
   which lets an auto-layout table shrink a column to one character. */
:is(html,#bch-order-pay-page) table.shop_table :is(th,td){overflow-wrap:break-word!important;word-break:normal!important;}
:is(html,#bch-order-pay-page) table.shop_table .product-name{overflow-wrap:break-word!important;}

@media(min-width:801px){
 :is(html,#bch-order-pay-page) table.shop_table.cart{table-layout:fixed!important;width:100%!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart th.product-remove{width:64px;}
 :is(html,#bch-order-pay-page) table.shop_table.cart th.product-thumbnail{width:112px;}
 :is(html,#bch-order-pay-page) table.shop_table.cart th.product-price{width:132px;}
 :is(html,#bch-order-pay-page) table.shop_table.cart th.product-quantity{width:128px;}
 :is(html,#bch-order-pay-page) table.shop_table.cart th.product-subtotal{width:140px;}
 :is(html,#bch-order-pay-page) table.shop_table.cart td.product-name{line-height:1.7;}
 :is(html,#bch-order-pay-page) table.shop_table.cart td.product-remove{text-align:center!important;padding-inline:8px!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart td.product-thumbnail{text-align:center!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart td.actions{display:table-cell!important;padding:22px 0 0!important;border-top:1px solid var(--bchp-line)!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart td.actions::after{content:"";display:table;clear:both;}
 :is(html,#bch-order-pay-page) table.shop_table.cart td.actions .coupon{float:inline-start;width:min(100%,460px);}
 :is(html,#bch-order-pay-page) table.shop_table.cart td.actions>button[name=update_cart]{float:inline-end;}
}
@media(max-width:800px){
 :is(html,#bch-order-pay-page) table.shop_table.cart,
 :is(html,#bch-order-pay-page) table.shop_table.cart tbody,
 :is(html,#bch-order-pay-page) table.shop_table.cart tr{display:block!important;width:100%!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart thead{display:none!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart tr.cart_item{display:grid!important;grid-template-columns:76px minmax(0,1fr) 40px;grid-template-areas:"thumb name remove" "price price price" "qty qty qty" "sub sub sub";gap:4px 14px;align-items:center;padding:16px 0!important;border-bottom:1px solid var(--bchp-line)!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart tr.cart_item td{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:auto!important;min-width:0;padding:8px 0!important;border:0!important;min-height:0!important;text-align:start!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart tr.cart_item td::before{float:none!important;font-size:14px;font-weight:600;color:var(--bchp-muted)!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart tr.cart_item td.product-thumbnail{grid-area:thumb;display:block!important;padding:0!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart tr.cart_item td.product-thumbnail img{width:76px!important;height:76px!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart tr.cart_item td.product-name{grid-area:name;display:block!important;padding:0!important;font-size:15.5px!important;line-height:1.7;}
 :is(html,#bch-order-pay-page) table.shop_table.cart tr.cart_item td.product-name::before{display:none!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart tr.cart_item td.product-remove{grid-area:remove;justify-self:end;padding:0!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart tr.cart_item td.product-price{grid-area:price;border-top:1px dashed var(--bchp-line)!important;margin-top:8px;}
 :is(html,#bch-order-pay-page) table.shop_table.cart tr.cart_item td.product-quantity{grid-area:qty;}
 :is(html,#bch-order-pay-page) table.shop_table.cart tr.cart_item td.product-subtotal{grid-area:sub;font-size:16.5px;}
 :is(html,#bch-order-pay-page) table.shop_table.cart td.actions{display:block!important;width:100%!important;padding:18px 0 0!important;border:0!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart td.actions .coupon{float:none!important;display:grid!important;grid-template-columns:minmax(0,1fr);gap:10px;width:100%!important;margin:0 0 12px!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart td.actions .coupon :is(input,button){width:100%!important;}
 :is(html,#bch-order-pay-page) table.shop_table.cart td.actions>button[name=update_cart]{float:none!important;width:100%!important;}
 /* keep the last buttons reachable above fixed bottom bars / chat bubbles */
 body:is(.bch-cart-page,.bch-checkout-page,.bch-account-page,.bch-orders-page,.bch-thankyou-page,.bch-order-pay-page){padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))!important;}
 :is(html,#bch-order-pay-page) body:is(.bch-cart-page,.bch-checkout-page,.bch-account-page,.bch-orders-page,.bch-thankyou-page) .woocommerce{max-width:100%!important;}
}

/* Cart collaterals: legacy rule made this a 2-column grid INSIDE the narrow summary column,
   which collapsed the totals card. It must be a single full-width block. */
:is(html,#bch-order-pay-page) body.bch-cart-page .cart-collaterals,
:is(html,#bch-order-pay-page) .elementor-widget-bch-studio-cart .cart-collaterals{display:block!important;grid-template-columns:none!important;margin:0!important;}
:is(html,#bch-order-pay-page) body.bch-cart-page .cart-collaterals .cart_totals,
:is(html,#bch-order-pay-page) .elementor-widget-bch-studio-cart .cart-collaterals .cart_totals{float:none!important;width:100%!important;max-width:100%!important;}
:is(html,#bch-order-pay-page) .cart-collaterals .cross-sells{margin-top:var(--bchp-gap);}
@media(min-width:1025px){
 :is(html,#bch-order-pay-page) .cart-collaterals{position:sticky;top:24px;}
}

/* Page roots were content-box: width:100% + side padding pushed the page wider than the phone screen. */
:is(html,#bch-order-pay-page) :is(body.bch-cart-page .woocommerce,body.bch-checkout-page .woocommerce,body.bch-account-page .woocommerce,body.bch-orders-page .woocommerce,body.bch-thankyou-page .woocommerce-order,.bchcs-my-account-shell,.bchcs-orders-shell,.bchcs-customer-lookup,.bch-orderpay-shell,[class*="elementor-widget-bch-studio-"] .woocommerce){box-sizing:border-box!important;}
:is(html,#bch-order-pay-page) :is(body.bch-cart-page .woocommerce,body.bch-checkout-page .woocommerce){max-width:min(1180px,100%)!important;}
:is(html,#bch-order-pay-page) table.shop_table th.product-remove .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
