:root{--wcd-orange:#ff9900;--wcd-orange-dark:#ff7200;--wcd-blue:#075a9d;--wcd-text:#111827;--wcd-muted:#667085;--wcd-border:#dfe4ea;--wcd-soft:#fff8f1}
body.wiltech-checkout-designer{background:#f5f7f9!important;color:var(--wcd-text)!important}
body.wiltech-checkout-designer .woocommerce,
body.wiltech-checkout-designer form.checkout.woocommerce-checkout{width:min(1280px,calc(100vw - 40px))!important;max-width:1280px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
/* Header */
.wcd-checkout-header{background:var(--wcd-blue)!important;color:#fff!important;padding:12px 28px!important;margin:0 0 10px!important;border:0!important;border-radius:0!important}
.wcd-header-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:28px!important;width:100%!important;max-width:1280px!important;margin:0 auto!important;box-sizing:border-box!important}
.wcd-brand{display:flex!important;align-items:center!important;flex:0 1 43%!important;min-width:0!important}
.wcd-brand img{display:block!important;width:370px!important;max-width:100%!important;height:auto!important;max-height:82px!important;object-fit:contain!important}
.wcd-trust-strip{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:32px!important;flex:1 1 57%!important;min-width:0!important}
.wcd-trust-item{display:flex!important;align-items:center!important;gap:10px!important;flex:0 1 auto!important;min-width:0!important;white-space:nowrap!important}
.wcd-trust-icon{font-size:24px!important;color:var(--wcd-orange)!important;line-height:1!important}
.wcd-trust-item strong{display:block!important;font-size:14px!important;color:#fff!important;line-height:1.2!important}
.wcd-trust-item small{display:block!important;font-size:12px!important;color:#fff!important;opacity:.95!important;margin-top:3px!important;white-space:nowrap!important}
.wcd-progress{display:flex!important;align-items:center!important;gap:14px!important;width:min(1280px,calc(100vw - 40px))!important;max-width:1280px!important;margin:0 auto 18px!important;padding:4px 0!important;box-sizing:border-box!important}
.wcd-progress-step{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important}
.wcd-progress-step>span{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 50px!important;width:50px!important;height:50px!important;border-radius:50%!important;background:var(--wcd-orange)!important;color:#111!important;font-size:21px!important;font-weight:800!important}
.wcd-progress-step strong{display:block!important;font-size:18px!important;line-height:1.1!important;color:#111!important}
.wcd-progress-step small{display:block!important;color:#667085!important;font-size:12px!important;margin-top:5px!important}
.wcd-progress-line{height:3px!important;background:var(--wcd-orange)!important;flex:1 1 auto!important;min-width:50px!important}
/* Coupon */
.wiltech-checkout-designer .woocommerce-form-coupon-toggle{margin:0 0 20px!important}
.wiltech-checkout-designer .woocommerce-info{background:#fff!important;border:1px solid var(--wcd-border)!important;border-left:4px solid var(--wcd-orange)!important;border-radius:12px!important;color:#222!important;padding:16px 18px!important}
.wiltech-checkout-designer .woocommerce-info:before{color:var(--wcd-orange)!important}
/* Clean, stable desktop grid. No JS DOM movement. */
.wcd-checkout-layout{display:grid!important;grid-template-columns:minmax(0,56fr) minmax(500px,44fr)!important;gap:20px!important;width:100%!important;max-width:1280px!important;margin:0 auto!important;padding:0!important;align-items:start!important;box-sizing:border-box!important;position:relative!important;float:none!important;clear:both!important}
.wcd-checkout-layout>.wcd-customer-section{grid-column:1!important;grid-row:1!important;width:100%!important;max-width:none!important;min-width:0!important;float:none!important;clear:none!important;margin:0!important}
.wcd-checkout-layout>.wcd-order-section{grid-column:2!important;grid-row:1!important;width:100%!important;max-width:none!important;min-width:0!important;float:none!important;clear:none!important;margin:0!important;position:relative!important}
/* Cards */
.wiltech-checkout-designer .wcd-checkout-section{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;background:#fff!important;border:1px solid var(--wcd-border)!important;border-radius:15px!important;padding:12px!important;margin:0!important;box-shadow:0 6px 20px rgba(16,24,40,.06)!important;float:none!important;clear:none!important}
.wcd-section-heading{display:flex!important;align-items:center!important;gap:14px!important;background:var(--wcd-soft)!important;border-radius:10px!important;padding:12px 14px!important;margin:0 0 12px!important;box-sizing:border-box!important}
.wcd-heading-icon{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 48px!important;width:48px!important;height:48px!important;border-radius:50%!important;background:var(--wcd-orange)!important;font-size:22px!important}
.wcd-section-heading h2{margin:0!important;font-size:22px!important;line-height:1.15!important;color:#111!important}
.wcd-section-heading p{margin:4px 0 0!important;font-size:13px!important;color:#667085!important}
/* Billing */
.wiltech-checkout-designer #customer_details{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;float:none!important}
.wiltech-checkout-designer .woocommerce-billing-fields,.wiltech-checkout-designer .woocommerce-additional-fields{width:100%!important;max-width:none!important;margin:0!important}
.wiltech-checkout-designer .woocommerce-billing-fields__field-wrapper{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:0 22px!important;width:100%!important}
.wiltech-checkout-designer .woocommerce-billing-fields__field-wrapper .form-row{float:none!important;clear:none!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0 0 14px!important}
.wiltech-checkout-designer .woocommerce-billing-fields__field-wrapper .form-row-wide{grid-column:1/-1!important}
.wiltech-checkout-designer #billing_first_name_field,.wiltech-checkout-designer #billing_city_field,.wiltech-checkout-designer #billing_phone_field{grid-column:1!important}
.wiltech-checkout-designer #billing_last_name_field,.wiltech-checkout-designer #billing_state_field,.wiltech-checkout-designer #billing_email_field{grid-column:2!important}
.wiltech-checkout-designer label{font-size:14px!important;font-weight:600!important;color:#111!important;margin:0 0 7px!important}
.wiltech-checkout-designer input.input-text,.wiltech-checkout-designer select,.wiltech-checkout-designer textarea{width:100%!important;box-sizing:border-box!important;min-height:54px!important;border:1px solid #d7dde5!important;border-radius:10px!important;background:#fff!important;padding:13px 14px!important;font-size:15px!important;color:#111827!important;box-shadow:none!important}
.wiltech-checkout-designer textarea{min-height:125px!important}
.wiltech-checkout-designer .select2-container{width:100%!important}
.wiltech-checkout-designer .select2-container .select2-selection--single{height:54px!important;border:1px solid #d7dde5!important;border-radius:10px!important}
.wiltech-checkout-designer .select2-container .select2-selection__rendered{line-height:52px!important}
.wiltech-checkout-designer .woocommerce-form__label-for-checkbox{display:flex!important;align-items:center!important;gap:9px!important;margin:8px 0 16px!important}
.wiltech-checkout-designer .woocommerce-form__label-for-checkbox input{accent-color:var(--wcd-orange)!important}
/* Order */
.wcd-order-section #order_review,.wcd-order-section .woocommerce-checkout-review-order{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important;float:none!important}
.wcd-order-section .shop_table{width:100%!important;max-width:none!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;margin:0!important}
.wcd-order-section .shop_table th,.wcd-order-section .shop_table td{border:0!important;padding:10px 0!important;vertical-align:top!important}
.wcd-order-section .shop_table thead{background:#eef0f2!important}
.wcd-order-section .shop_table thead th{padding:10px!important;font-size:14px!important;font-weight:800!important}
.wcd-order-section .shop_table thead th:first-child{border-radius:10px 0 0 10px!important}
.wcd-order-section .shop_table thead th:last-child{border-radius:0 10px 10px 0!important}
.wcd-order-section .shop_table .product-name{width:76%!important;min-width:0!important;word-break:normal!important;overflow-wrap:anywhere!important;white-space:normal!important}
.wcd-order-section .shop_table .product-total{width:24%!important;white-space:nowrap!important;text-align:right!important;font-weight:800!important}
.wcd-product-row{display:flex!important;align-items:flex-start!important;gap:12px!important;width:100%!important;min-width:0!important}
.wcd-product-thumb{display:block!important;flex:0 0 82px!important;width:82px!important;height:82px!important;object-fit:contain!important;border:1px solid #dfe4ea!important;border-radius:10px!important}
.wcd-product-copy{display:block!important;flex:1 1 auto!important;min-width:0!important;word-break:normal!important;overflow-wrap:anywhere!important;white-space:normal!important;line-height:1.35!important;font-size:15px!important}
.wcd-order-section .shop_table tfoot th,.wcd-order-section .shop_table tfoot td{border:0!important;padding:8px 0!important}
.wcd-order-section .shop_table .order-total th,.wcd-order-section .shop_table .order-total td{background:#fff8f1!important;padding:11px 10px!important}
.wcd-order-section .shop_table .order-total th{border-radius:10px 0 0 10px!important}
.wcd-order-section .shop_table .order-total td{border-radius:0 10px 10px 0!important}
.wcd-order-section .shop_table .order-total .amount{color:#f05a00!important;font-size:24px!important;font-weight:900!important}
/* Payment: one full-width option per row */
.wcd-order-section #payment{width:100%!important;max-width:none!important;margin-top:14px!important;background:#fff!important;box-sizing:border-box!important;border:0!important}
.wcd-order-section #payment ul.payment_methods{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:10px!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-sizing:border-box!important}
.wcd-order-section #payment ul.payment_methods>li{display:block!important;position:relative!important;width:100%!important;max-width:100%!important;min-width:100%!important;flex:0 0 100%!important;margin:0!important;padding:0!important;border:1px solid #d8dee6!important;border-radius:10px!important;background:#fff!important;box-sizing:border-box!important;overflow:hidden!important;float:none!important;clear:both!important}
.wcd-order-section #payment ul.payment_methods>li>label{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:58px!important;margin:0!important;padding:12px 14px!important;box-sizing:border-box!important}
.wcd-order-section #payment ul.payment_methods>li .payment_box{display:block!important;width:calc(100% - 20px)!important;max-width:none!important;margin:0 10px 10px!important;padding:12px!important;box-sizing:border-box!important;background:#f7f8fa!important;border-radius:10px!important;overflow:visible!important}
.wcd-order-section #payment ul.payment_methods>li .payment_box p{margin:0!important}
.wcd-gateway-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;border-radius:8px!important;background:#eef2f6!important;font-weight:900!important}
.wcd-order-section .place-order{padding:14px 0 2px!important}
.wcd-order-section #place_order{width:100%!important;min-height:56px!important;border:0!important;border-radius:10px!important;background:linear-gradient(90deg,#ff9900,#ff7200)!important;color:#fff!important;font-size:17px!important;font-weight:800!important}
.wcd-order-section .woocommerce-privacy-policy-text,.wcd-order-section .woocommerce-terms-and-conditions-checkbox-text{font-size:12px!important;line-height:1.5!important;color:#667085!important}
.wcd-order-section .woocommerce-terms-and-conditions-checkbox-text a,.wcd-order-section .woocommerce-privacy-policy-text a{color:#0b67b2!important}
/* Remove WooCommerce duplicate heading outside our card */
body.wiltech-checkout-designer h3#order_review_heading,body.wiltech-checkout-designer #order_review_heading{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}
/* No theme floats */
.wiltech-checkout-designer .wcd-customer-section,.wiltech-checkout-designer .wcd-order-section{float:none!important;clear:none!important}
/* Mobile: preserve one-column layout */
@media (max-width:899px){
 body.wiltech-checkout-designer{background:#f5f7f9!important}
 body.wiltech-checkout-designer .woocommerce,
 body.wiltech-checkout-designer form.checkout.woocommerce-checkout{width:100%!important;max-width:none!important;margin:0!important;padding:0 10px!important;box-sizing:border-box!important}
 .wcd-checkout-header{padding:12px 12px 14px!important;margin:0 -10px 10px!important;border-radius:0!important}
 .wcd-header-top{display:block!important;width:100%!important}
 .wcd-brand{display:flex!important;justify-content:center!important;width:100%!important;margin:0 0 12px!important}
 .wcd-brand img{width:235px!important;max-width:80vw!important;height:auto!important;max-height:58px!important}
 .wcd-trust-strip{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;width:100%!important;justify-content:normal!important}
 .wcd-trust-item{display:flex!important;flex-direction:column!important;justify-content:center!important;text-align:center!important;gap:4px!important;min-width:0!important;white-space:normal!important;padding:4px 2px!important}
 .wcd-trust-icon{font-size:19px!important}
 .wcd-trust-item strong{font-size:10px!important;line-height:1.15!important;white-space:normal!important}
 .wcd-trust-item small{font-size:9px!important;line-height:1.15!important;white-space:normal!important;margin-top:0!important}
 .wcd-progress{width:100%!important;max-width:none!important;padding:0 2px!important;margin:0 auto 12px!important;gap:7px!important}
 .wcd-progress-step{gap:7px!important;flex:0 1 auto!important}
 .wcd-progress-step>span{flex:0 0 38px!important;width:38px!important;height:38px!important;font-size:14px!important}
 .wcd-progress-step strong{font-size:11px!important;line-height:1.1!important}
 .wcd-progress-step small{display:none!important}
 .wcd-progress-line{height:2px!important;min-width:12px!important}
 .wcd-checkout-layout{display:flex!important;flex-direction:column!important;gap:12px!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
 .wcd-checkout-layout>.wcd-customer-section,.wcd-checkout-layout>.wcd-order-section{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:10px!important;box-sizing:border-box!important;border-radius:12px!important}
 .wcd-section-heading{gap:9px!important;padding:9px 10px!important;margin:0 0 10px!important;border-radius:9px!important}
 .wcd-heading-icon{flex:0 0 38px!important;width:38px!important;height:38px!important;font-size:18px!important}
 .wcd-section-heading h2{font-size:17px!important}
 .wcd-section-heading p{font-size:11px!important;margin-top:2px!important}
 .wiltech-checkout-designer .woocommerce-billing-fields__field-wrapper{grid-template-columns:1fr!important;gap:0!important}
 .wiltech-checkout-designer .woocommerce-billing-fields__field-wrapper .form-row,
 .wiltech-checkout-designer #billing_first_name_field,
 .wiltech-checkout-designer #billing_last_name_field,
 .wiltech-checkout-designer #billing_city_field,
 .wiltech-checkout-designer #billing_state_field,
 .wiltech-checkout-designer #billing_phone_field,
 .wiltech-checkout-designer #billing_email_field{grid-column:1!important;width:100%!important;margin-bottom:11px!important}
 .wiltech-checkout-designer label{font-size:13px!important;margin-bottom:5px!important}
 .wiltech-checkout-designer input.input-text,.wiltech-checkout-designer select,.wiltech-checkout-designer textarea{min-height:48px!important;padding:11px 12px!important;font-size:14px!important;border-radius:9px!important}
 .wiltech-checkout-designer textarea{min-height:105px!important}
 .wiltech-checkout-designer .select2-container .select2-selection--single{height:48px!important;border-radius:9px!important}
 .wiltech-checkout-designer .select2-container .select2-selection__rendered{line-height:46px!important}
 .wcd-order-section .shop_table{table-layout:auto!important}
 .wcd-order-section .shop_table .product-name{width:auto!important;min-width:0!important}
 .wcd-order-section .shop_table .product-total{width:78px!important;min-width:78px!important}
 .wcd-product-row{gap:9px!important;align-items:flex-start!important}
 .wcd-product-thumb{flex:0 0 64px!important;width:64px!important;height:64px!important;border-radius:8px!important}
 .wcd-product-copy{font-size:13px!important;line-height:1.3!important;overflow-wrap:break-word!important;word-break:normal!important}
 .wcd-order-section .shop_table th,.wcd-order-section .shop_table td{padding:8px 0!important}
 .wcd-order-section .shop_table thead th{font-size:12px!important;padding:8px!important}
 .wcd-order-section .shop_table .order-total .amount{font-size:20px!important}
 /* Payment accordion on mobile and desktop: closed until selected/tapped */
 .wcd-order-section #payment ul.payment_methods{display:flex!important;flex-direction:column!important;gap:8px!important}
 .wcd-order-section #payment ul.payment_methods>li{width:100%!important;min-width:100%!important;flex:0 0 auto!important;border-radius:9px!important}
 .wcd-order-section #payment ul.payment_methods>li>label{min-height:52px!important;padding:10px 11px!important;font-size:13px!important;cursor:pointer!important}
 .wcd-order-section #payment ul.payment_methods>li .payment_box{display:none!important;width:calc(100% - 16px)!important;margin:0 8px 8px!important;padding:10px!important;font-size:12px!important}
 .wcd-order-section #payment ul.payment_methods>li.wcd-payment-open .payment_box,
 .wcd-order-section #payment ul.payment_methods>li.wc_payment_method.payment_method_selected .payment_box{display:block!important}
 .wcd-order-section #payment ul.payment_methods>li .wcd-gateway-badge{flex:0 0 32px!important;width:32px!important;height:32px!important}
 .wcd-order-section .place-order{padding:10px 0 0!important}
 .wcd-order-section #place_order{min-height:52px!important;font-size:16px!important;border-radius:9px!important}
 .wcd-order-section .woocommerce-privacy-policy-text,.wcd-order-section .woocommerce-terms-and-conditions-checkbox-text{font-size:11px!important}
}

/* Payment accordion behavior: only the selected method is expanded. */
.wcd-order-section #payment ul.payment_methods>li .payment_box{display:none!important}
.wcd-order-section #payment ul.payment_methods>li.wc_payment_method.payment_method_selected .payment_box,
.wcd-order-section #payment ul.payment_methods>li.wcd-payment-open .payment_box{display:block!important}
.wcd-order-section #payment ul.payment_methods>li>label{cursor:pointer!important}
