/* Native WooCommerce checkout — preserve RDC typography, blue CTA and green headings. */
.rdc-native-checkout .rdc-commerce{max-width:1280px;margin:auto;padding:30px 24px 50px}
#rdc-native-checkout{font-size:16px;line-height:1.5;color:#222}
#rdc-native-checkout *,#rdc-native-checkout *:before,#rdc-native-checkout *:after{box-sizing:border-box}
.rdc-native-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);gap:28px;align-items:start}
.rdc-native-fields,.rdc-native-summary,.rdc-native-grid .form-row{min-width:0}
.rdc-check-panel{padding:24px;background:#fff;border:1px solid #ddd;border-radius:8px;margin-bottom:24px}
.rdc-check-panel h2,.rdc-check-panel h3{font-size:22px;font-weight:700;margin:0 0 20px;line-height:1.3;color:#176851}
#rdc-native-checkout .woocommerce-billing-fields__field-wrapper,#rdc-native-checkout .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#rdc-native-checkout .form-row{margin:0;float:none;width:auto;clear:none}
#rdc-native-checkout .form-row-wide{grid-column:1/-1}
#rdc-native-checkout label{display:block;font-size:14px;font-weight:600;margin-bottom:6px;line-height:1.5}
#rdc-native-checkout abbr.required{text-decoration:none;color:#9e1635}
#rdc-native-checkout input.input-text,#rdc-native-checkout select,#rdc-native-checkout textarea{display:block;width:100%;min-height:48px;border:1px solid #aaa;border-radius:5px;padding:10px 12px;background:#fff;color:#222;font:inherit;font-size:16px;line-height:1.5}
#rdc-native-checkout input:focus-visible,#rdc-native-checkout select:focus-visible,#rdc-native-checkout button:focus-visible,#rdc-native-checkout a:focus-visible{outline:3px solid #0877c9;outline-offset:2px}
#rdc-native-checkout .woocommerce-invalid input{border-color:#b02832}
#rdc-native-checkout .woocommerce-input-wrapper{display:block;min-width:0}
#rdc-native-checkout .select2-container{width:100%!important;max-width:100%;font-size:16px}
#rdc-native-checkout .select2-selection--single{display:block;height:48px;border-color:#aaa;border-radius:5px;padding:0}
#rdc-native-checkout .select2-selection--single:before{content:none}
#rdc-native-checkout .select2-selection__rendered{line-height:46px;padding-left:12px}
#rdc-native-checkout .select2-selection__arrow{height:46px}
.select2-dropdown{font-size:16px}.select2-search__field{font-size:16px!important}
#ship-to-different-address{margin-top:22px!important;font-size:16px!important}
#ship-to-different-address label,.rdc-native-terms label{display:flex!important;align-items:flex-start;gap:10px;font-weight:400!important}
#rdc-native-checkout input[type=checkbox],#rdc-native-checkout input[type=radio]{flex:0 0 20px;min-width:20px;width:20px;height:20px;margin:2px 0 0;accent-color:#0076c7;position:static;opacity:1;appearance:auto}
#rdc-native-checkout .shop_table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}
#rdc-native-checkout .shop_table th,#rdc-native-checkout .shop_table td{padding:13px 0;border-bottom:1px solid #e6e6e6;vertical-align:top;text-align:left;overflow-wrap:anywhere}
#rdc-native-checkout .shop_table th:last-child,#rdc-native-checkout .shop_table td:last-child{width:110px;text-align:right;padding-left:12px}
#rdc-native-checkout .shop_table .amount{white-space:nowrap;font-variant-numeric:tabular-nums}
#rdc-native-checkout .shop_table .product-quantity{white-space:nowrap}
#rdc-native-checkout .shop_table .order-total{font-size:18px}
#rdc-native-checkout ul#shipping_method{padding:0;list-style:none;font-size:13px}
#rdc-native-checkout ul#shipping_method label{font-size:13px;font-weight:400}
.rdc-edit-cart{display:inline-block;margin-top:20px;text-decoration:underline;min-height:40px}
#rdc-native-checkout a{color:#006eac;text-decoration:underline}
#rdc-native-checkout #payment{background:transparent;border:0}
#rdc-native-checkout .wc_payment_methods{list-style:none;padding:0;margin:0 0 18px}
#rdc-native-checkout .wc_payment_method>label{display:inline;font-size:16px;margin-left:6px}
#rdc-native-checkout .payment_box{margin:14px 0;padding:16px;background:#f4f6f8;border-radius:5px;min-width:0}
#rdc-native-checkout .place-order{display:block}
#rdc-native-checkout .woocommerce-privacy-policy-text{font-size:13px;margin-bottom:16px}
#rdc-native-checkout .rdc-native-terms{margin:16px 0 20px}
#rdc-native-checkout button.button,#rdc-native-checkout a.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:48px;margin:0;padding:12px 20px;border:0;border-radius:5px;background:#0073bd;color:white;font-size:16px;font-weight:700;line-height:1.4;text-align:center;white-space:normal;text-decoration:none;cursor:pointer}
#rdc-native-checkout #place_order{width:100%;min-height:52px}
#rdc-native-checkout #place_order:disabled{background:#e2e5e8;color:#50555b;cursor:not-allowed}
#rdc-payment-help{font-size:13px;margin:10px 0 0;color:#555}
.rdc-payment-unavailable{border-left:3px solid #bc6517;padding:10px 12px;background:#fff7e9;font-size:14px}
#rdc-native-checkout .woocommerce-error,#rdc-native-checkout .woocommerce-info,#rdc-native-checkout .woocommerce-message{list-style:none;padding:16px;border:1px solid #b3c7d6;background:#f2f8fc;border-radius:5px;margin:0 0 20px;overflow-wrap:anywhere}
#rdc-native-checkout .woocommerce-error{border-color:#c88b8b;background:#fff4f4;color:#8f1f26}
#rdc-native-checkout .checkout_coupon{padding:20px;border:1px solid #ddd;margin-bottom:24px;border-radius:8px}
#rdc-native-checkout .checkout_coupon .form-row{display:inline-block;vertical-align:top;width:auto;max-width:100%;margin:8px 12px 0 0}
#rdc-native-checkout [hidden]{display:none!important}
.rdc-pay-method{padding:10px 0}.rdc-pay-method label{display:flex!important;gap:10px;align-items:center}
.rdc-pay-frame{width:100%;height:340px;max-width:100%;border:0;display:block;background:#fff}
.rdc-pay-frame.rdc-3ds{position:fixed;inset:0;width:100vw;height:100dvh;z-index:100001;max-width:none}
#rdc-payment-feedback:empty{display:none}#rdc-payment-feedback{font-size:14px;color:#9b1e27;margin-top:12px}
#rdc-native-checkout .rdc-payment-panel{scroll-margin-top:150px}
@media(min-width:1024px){.rdc-native-summary{position:sticky;top:145px;max-height:calc(100dvh - 160px);overflow:auto}}
@media(max-width:1023px){.rdc-native-grid{grid-template-columns:minmax(0,1fr);gap:0}.rdc-native-summary{grid-row:1}.rdc-native-fields{grid-row:2}.rdc-native-checkout .rdc-commerce{max-width:760px}.rdc-native-summary .shop_table th:last-child,.rdc-native-summary .shop_table td:last-child{width:130px!important}}
@media(max-width:599px){.rdc-native-checkout .rdc-commerce{padding:24px 12px 36px}.rdc-check-panel{padding:18px 14px;border-radius:6px}.rdc-check-panel h2,.rdc-check-panel h3{font-size:20px}#rdc-native-checkout .woocommerce-billing-fields__field-wrapper,#rdc-native-checkout .woocommerce-shipping-fields__field-wrapper{grid-template-columns:minmax(0,1fr)}#rdc-native-checkout .form-row{grid-column:1/-1}.rdc-native-summary .shop_table th:last-child,.rdc-native-summary .shop_table td:last-child{width:96px!important}#rdc-native-checkout .shop_table .order-total{font-size:17px}#rdc-native-checkout .payment_box{padding:10px}#rdc-native-checkout .checkout_coupon .form-row{display:block;margin-right:0;width:100%}#rdc-native-checkout .checkout_coupon button{width:100%}}
@media(max-height:500px){.rdc-native-summary{position:static;max-height:none;overflow:visible}}
