/* Tandiseh 1.2.0: presentation only. Gateway DOM, descriptions and payment logic remain native. */
.tds-rate{direction:rtl;display:block;box-sizing:border-box;padding:15px 18px;margin:5px 0;max-width:100%;border:1px solid #d6dfd6;border-inline-start:3px solid #b58a40;border-radius:12px;background:#f7faf5;color:#173d30;font-family:IRANSansX,IRANSans,Tahoma,sans-serif;text-align:right;white-space:normal;line-height:1.9}
.tds-rate strong{font-size:14px;font-weight:700;color:#173d30}
.tds-order-note{direction:rtl;text-align:right;background:#f3f7ef;border:1px solid #d5dfcf;border-inline-start:4px solid #b58a40;border-radius:14px;padding:18px;margin:18px 0;color:#173d30;line-height:1.9}.tds-order-note p{margin:8px 0 0}
/* Classic WooCommerce checkout and WoodMart; all gateway-specific fields are kept. */
body.tds-checkout-style #payment{background:transparent;border:0;font-family:IRANSansX,IRANSans,Tahoma,sans-serif}
body.tds-checkout-style #payment ul.wc_payment_methods{display:flex;flex-direction:column;gap:12px;padding:4px 0 18px;margin:0;border:0;list-style:none}
body.tds-checkout-style #payment ul.wc_payment_methods>li.wc_payment_method{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:0 10px;padding:0;margin:0;border:1px solid #dce3db;border-radius:15px;background:#fff;box-shadow:0 4px 14px #173d3006;overflow:visible;transition:border-color .18s,box-shadow .18s,background-color .18s;line-height:1.8;direction:rtl;text-align:right}
body.tds-checkout-style #payment ul.wc_payment_methods>li.wc_payment_method>input[type=radio]{position:static;appearance:auto;-webkit-appearance:radio;opacity:1;visibility:visible;width:18px;height:18px;min-width:18px;margin:0;margin-inline-start:14px;transform:none;accent-color:#174b3c;cursor:pointer;z-index:1}
body.tds-checkout-style #payment ul.wc_payment_methods>li.wc_payment_method>label{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px;width:100%;min-height:76px;box-sizing:border-box;margin:0;padding:15px 16px 15px 12px;font-size:14px;font-weight:600;line-height:1.8;color:#243c32;cursor:pointer;word-break:normal;overflow-wrap:anywhere}
body.tds-checkout-style #payment ul.wc_payment_methods>li.wc_payment_method>label:before,body.tds-checkout-style #payment ul.wc_payment_methods>li.wc_payment_method>label:after{content:none}
body.tds-checkout-style #payment ul.wc_payment_methods>li.wc_payment_method>label img{float:none;display:inline-block;max-width:96px;max-height:36px;width:auto;height:auto;object-fit:contain;vertical-align:middle;margin:0;margin-inline-start:auto;border-radius:5px}
body.tds-checkout-style #payment ul.wc_payment_methods>li.wc_payment_method:has(>input[type=radio]:checked){border-color:#35654e;background:linear-gradient(120deg,#fffef8,#f0f7ef);box-shadow:0 0 0 1px #35654e20,0 6px 20px #173d300b}
body.tds-checkout-style #payment ul.wc_payment_methods>li.wc_payment_method>input:checked+label{color:#174b3c;font-weight:700}
body.tds-checkout-style #payment ul.wc_payment_methods>li.wc_payment_method:focus-within{outline:2px solid #b58a40;outline-offset:3px}
body.tds-checkout-style #payment ul.wc_payment_methods>li.wc_payment_method>div.payment_box{grid-column:1/-1;box-sizing:border-box;width:auto;margin:0 14px 14px;padding:13px 15px;border:1px solid #e1e7dd;border-radius:10px;background:#fff;color:#4a5d50;box-shadow:none;font-size:12px;line-height:1.95;overflow-wrap:anywhere}
body.tds-checkout-style #payment div.payment_box:before,body.tds-checkout-style #payment div.payment_box:after{content:none}
body.tds-checkout-style #payment div.payment_box p:last-child{margin-bottom:0}
body.tds-checkout-style #payment .place-order{padding:12px 0 0;margin:0}
body.tds-checkout-style #payment #place_order{width:100%;min-height:54px;border:1px solid #174b3c;border-radius:13px;background:#174b3c;color:#fff;font-family:inherit;font-weight:700;font-size:15px;box-shadow:0 6px 18px #173d301a;transition:background-color .18s}
body.tds-checkout-style #payment #place_order:hover{background:#225c48}
body.tds-checkout-style #payment #place_order:focus-visible{outline:3px solid #b58a40;outline-offset:3px}
@media(hover:hover){body.tds-checkout-style #payment li.wc_payment_method:hover{border-color:#b58a40}}
@media(max-width:600px){.tds-rate{padding:12px}.tds-rate strong{font-size:12px}body.tds-checkout-style #payment ul.wc_payment_methods{gap:10px}body.tds-checkout-style #payment ul.wc_payment_methods>li.wc_payment_method>label{font-size:12px;min-height:68px;padding:12px;gap:8px}body.tds-checkout-style #payment ul.wc_payment_methods>li.wc_payment_method>label img{max-width:78px;max-height:30px}body.tds-checkout-style #payment ul.wc_payment_methods>li.wc_payment_method>div.payment_box{margin:0 10px 10px;padding:12px}}
@media(prefers-reduced-motion:reduce){body.tds-checkout-style #payment ul.wc_payment_methods>li.wc_payment_method,body.tds-checkout-style #payment #place_order{transition:none}}
