/* Payment cards: gateway labels, controls, logos and descriptions remain native. */
.cherish-checkout-page #payment{background:transparent;border:0;box-shadow:none}
.cherish-checkout-page #payment ul.payment_methods{display:grid;gap:13px;padding:0!important;border:0!important;list-style:none;margin:0 0 20px}
.cherish-checkout-page #payment li.wc_payment_method{position:relative;list-style:none;margin:0!important;padding:18px!important;background:#fff;border:1px solid #dfe5ef;border-radius:15px;box-shadow:0 3px 12px #22335104;transition:border-color .18s,box-shadow .18s,background .18s}
.cherish-checkout-page #payment li.wc_payment_method.chx-payment-selected,
.cherish-checkout-page #payment li.wc_payment_method:has(>input:checked){border-color:#344fb2;background:#f3f6ff;box-shadow:0 0 0 1px #344fb20c,0 6px 18px #263da008}
.cherish-checkout-page #payment li.wc_payment_method>input[type=radio]{width:18px;height:18px;margin:0 10px 0 0;vertical-align:middle;accent-color:#263da0;cursor:pointer}
.cherish-checkout-page #payment li.wc_payment_method>label{display:inline;vertical-align:middle;cursor:pointer;font-size:14px;font-weight:600;line-height:1.6;color:#25344b;margin:0}
.cherish-checkout-page #payment li.wc_payment_method>label img{max-height:27px;width:auto;max-width:130px;object-fit:contain;float:right;margin-left:12px}
.cherish-checkout-page #payment .payment_box{background:#fff!important;border:1px solid #e4e9f4;border-radius:10px;color:#69758b!important;padding:14px!important;margin:14px 0 0!important;font-size:12px;line-height:1.7;box-sizing:border-box;width:100%}
.cherish-checkout-page #payment .payment_box:before{display:none!important}
.cherish-checkout-page #payment .payment_box p:last-child{margin-bottom:0}
.cherish-checkout-page #payment .place-order{padding:18px 0 0!important;margin:0}
.cherish-checkout-page #payment #place_order{width:100%;float:none;border-radius:12px;min-height:54px;margin-top:14px}
.cherish-checkout-page #payment .woocommerce-terms-and-conditions-wrapper{color:#748096;font-size:12px;line-height:1.8}
.cherish-checkout-page #payment input:focus-visible{outline:3px solid #9aaee9;outline-offset:3px}
/* Block styling remains available for a custom renderer retaining native Blocks. */
.cherish-checkout-page .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option{margin:0 0 12px;border:1px solid #dfe5ef;border-radius:15px;overflow:hidden;background:#fff}
.cherish-checkout-page .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:has(input:checked){border-color:#344fb2;background:#f3f6ff;box-shadow:0 4px 16px #263da009}
.cherish-checkout-page .wc-block-checkout__payment-method .wc-block-components-radio-control__option{padding-top:20px;padding-bottom:20px;border:0;border-radius:15px}
.cherish-checkout-page .wc-block-checkout__payment-method .wc-block-components-radio-control__option:after{border:0!important;box-shadow:none!important}
/* Two-column classic checkout, with the existing theme blue action buttons. */
.cherish-checkout-page .chx-classic-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);column-gap:32px;align-items:start}
.cherish-checkout-page .chx-classic-checkout #customer_details{grid-column:1;grid-row:1 / span 3;width:100%;float:none;display:block}
.cherish-checkout-page .chx-classic-checkout #customer_details .col-1,
.cherish-checkout-page .chx-classic-checkout #customer_details .col-2{width:100%;max-width:100%;float:none;flex:none;padding:0}
.cherish-checkout-page .chx-classic-checkout #order_review_heading{grid-column:2;grid-row:1;margin:0;padding:23px 24px 12px;border:1px solid #e3e8f1;border-bottom:0;border-radius:20px 20px 0 0;background:#f6f8fc}
.cherish-checkout-page .chx-classic-checkout #order_review{grid-column:2;grid-row:2;width:100%;float:none;margin:0;border-top:0;border-radius:0 0 20px 20px;padding-top:8px}
.cherish-checkout-page .chx-classic-checkout form.checkout>.woocommerce-NoticeGroup{grid-column:1/-1}
.cherish-checkout-page .chx-classic-checkout .form-row .optional{font-weight:400;font-size:11px;color:#7c8798}
.cherish-checkout-page .chx-classic-checkout #billing_phone_field{clear:both}
@media(max-width:900px){.cherish-checkout-page .chx-classic-checkout form.checkout{display:block}.cherish-checkout-page .chx-classic-checkout #customer_details{width:100%}.cherish-checkout-page .chx-classic-checkout #order_review_heading{margin-top:20px}.cherish-checkout-page .chx-classic-checkout #order_review{width:100%}}
@media(max-width:480px){.cherish-checkout-page #payment li.wc_payment_method{padding:15px!important}.cherish-checkout-page #payment li.wc_payment_method>label{font-size:13px}.cherish-checkout-page #payment li.wc_payment_method>label img{max-width:100px;max-height:23px}.cherish-checkout-page #payment .payment_box{padding:12px!important}}
@media(prefers-reduced-motion:reduce){.cherish-checkout-page #payment li.wc_payment_method{transition:none}}
