/* /checkout/: โครงหลักและขั้นตอนสั่งซื้อ เข้ากับโทนส้ม/น้ำเงินของร้าน */
body.woocommerce-checkout #main-content{background:#f5f8fa}.tsp-checkout-shell{width:92%;max-width:1180px;margin:0 auto}.tsp-checkout-intro{padding:34px 0 24px;background:#f5f8fa}.tsp-checkout-intro .tsp-checkout-shell>span{font-size:11px;color:#985010;font-weight:600;letter-spacing:1px}.tsp-checkout-intro h1{font-size:32px!important;font-weight:700!important;color:#193647!important;line-height:1.5!important;padding:10px 0 8px!important}.tsp-checkout-intro p{font-size:14px;line-height:1.8;color:#6a7d89;padding:0!important;margin:0!important}.tsp-checkout-intro ol{display:flex;list-style:none!important;gap:24px;padding:20px 0 0!important;margin:0!important;color:#536e7f;font-size:12px;flex-wrap:wrap}.tsp-checkout-intro li{display:flex;gap:8px;align-items:center}.tsp-checkout-intro li b{display:flex;justify-content:center;align-items:center;width:25px;height:25px;background:#fff0df;color:#a94d00;border-radius:50%;font-size:12px}.tsp-native-checkout-section{padding:10px 0 55px;background:#f5f8fa}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout form.checkout{display:grid!important;grid-template-columns:minmax(0,1fr) 410px;gap:26px;align-items:start;width:100%!important;margin:0!important;padding:0!important;background:none!important;border:0!important}.tsp-checkout-form-column,.tsp-checkout-summary-column{min-width:0;background:#fff;border:1px solid #dce5ec;border-radius:16px;padding:26px}.tsp-checkout-summary-column{position:sticky;top:55px;padding:23px}.tsp-checkout-step{font-size:11px;font-weight:600;color:#a34e0a;letter-spacing:.25px;margin:0 0 13px!important;padding:0!important}#tsp-native-checkout h3{font-size:21px!important;font-weight:700!important;color:#193547!important;line-height:1.5!important;padding:0 0 22px!important;margin:0!important}#tsp-native-checkout #customer_details{display:block!important;width:100%!important;margin:0!important}#tsp-native-checkout #customer_details>.col-1,#tsp-native-checkout #customer_details>.col-2{float:none!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}#tsp-native-checkout #customer_details:before,#tsp-native-checkout #customer_details:after{display:none!important}
/* /checkout/: ข้อมูลผู้ซื้อและที่อยู่อื่นใช้กริดเดียวกัน ยังคง required/validation เดิมของ WooCommerce */
#tsp-native-checkout .woocommerce-billing-fields__field-wrapper,#tsp-native-checkout .woocommerce-shipping-fields__field-wrapper{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout .form-row{float:none!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;clear:none!important;grid-column:1/-1}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #billing_first_name_field,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #shipping_first_name_field{grid-column:1!important}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #billing_last_name_field,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #shipping_last_name_field{grid-column:2!important}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #billing_city_field,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #shipping_city_field,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #billing_postcode_field,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #shipping_postcode_field{grid-column:1!important}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #billing_state_field,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #shipping_state_field,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #billing_phone_field{grid-column:2!important}#tsp-native-checkout .form-row label{display:block!important;font-size:14px!important;font-weight:500!important;color:#294858!important;line-height:1.7!important;margin:0 0 7px!important}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout input.input-text,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout textarea{box-sizing:border-box;width:100%!important;max-width:100%!important;padding:12px 13px!important;min-height:48px;border:1px solid #c8d8e2!important;border-radius:8px!important;background:#fff!important;color:#213e50!important;font-family:inherit!important;font-size:14px!important;line-height:1.7!important;box-shadow:none!important}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout input:focus,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout textarea:focus{outline:2px solid #e28c39!important;outline-offset:2px}#tsp-native-checkout .select2-container{width:100%!important;max-width:100%!important}#tsp-native-checkout .select2-selection{min-height:48px!important;border:1px solid #c8d8e2!important;border-radius:8px!important;background:#fff!important}#tsp-native-checkout .select2-selection__rendered{line-height:22px!important;padding:12px 28px 12px 13px!important;font-size:14px!important;color:#213e50!important}#tsp-native-checkout .select2-selection__arrow{top:11px!important;right:7px!important}#tsp-native-checkout #ship-to-different-address{padding:0!important;margin:24px 0 0!important;background:#f5f8fa;border:1px solid #e2eaf0;border-radius:9px}#tsp-native-checkout #ship-to-different-address label{display:flex!important;align-items:center;gap:9px;padding:14px!important;font-size:14px!important;font-weight:500!important;line-height:1.6;cursor:pointer}#tsp-native-checkout input[type=checkbox]{accent-color:#b85b00;width:17px;height:17px;flex:none;margin:0!important}#tsp-native-checkout .shipping_address{padding-top:20px!important}#tsp-native-checkout .woocommerce-additional-fields{margin-top:26px;padding-top:22px;border-top:1px solid #e5ecf1}#tsp-native-checkout .woocommerce-additional-fields h3{font-size:17px!important;padding-bottom:14px!important}#tsp-native-checkout textarea{min-height:100px!important;resize:vertical}
/* /checkout/: การ์ดยอดรวม วิธีชำระ และปุ่มยืนยัน อยู่ติดกัน ไม่ใช้แถบเทาขนาดใหญ่ */
#tsp-native-checkout #order_review_heading{font-size:21px!important;padding-bottom:18px!important}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout table.shop_table{border:0!important;border-collapse:collapse!important;width:100%!important;border-radius:0!important;margin:0 0 20px!important;background:#fff!important;font-size:13px!important;line-height:1.8!important}#tsp-native-checkout table th,#tsp-native-checkout table td{padding:13px 0!important;background:none!important;border:0!important;border-bottom:1px solid #e3ebf0!important;color:#284555!important;vertical-align:top!important}#tsp-native-checkout table th{text-align:left;font-weight:500!important}#tsp-native-checkout table .product-total,#tsp-native-checkout table tfoot td{text-align:right!important;padding-left:12px!important;white-space:normal;min-width:85px}#tsp-native-checkout table .product-name{width:66%;padding-right:10px!important;overflow-wrap:anywhere}#tsp-native-checkout table thead th{font-size:11px;color:#758a97!important;padding-top:0!important}#tsp-native-checkout .product-quantity{font-weight:500;color:#78909c}#tsp-native-checkout .order-total th,#tsp-native-checkout .order-total td{border-bottom:0!important;padding:18px 0 5px!important;font-weight:700!important}#tsp-native-checkout .order-total td{font-size:24px!important;color:#b65a00!important;line-height:1.4!important}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #shipping_method{margin:0!important;padding:0!important;list-style:none!important}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #shipping_method li{padding:0!important;margin:0 0 6px!important;font-size:12px!important}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #shipping_method label{font-size:12px!important;line-height:1.7!important}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #payment{background:none!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important}#tsp-native-checkout #payment ul.payment_methods{padding:18px 0 0!important;margin:0!important;list-style:none!important;border-top:1px solid #e1e9ef!important;border-bottom:0!important}#tsp-native-checkout #payment ul.payment_methods>li{padding:0!important;margin:0!important;list-style:none!important}#tsp-native-checkout #payment label{font-size:14px!important;font-weight:600!important;line-height:1.7!important;color:#264353!important}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout .payment_box{background:#fff7ed!important;border:1px solid #f2dec6!important;border-radius:9px!important;padding:15px!important;margin:12px 0 0!important;color:#6a5744!important;font-size:12px!important;line-height:1.8!important}#tsp-native-checkout .payment_box:before{display:none!important}.tsp-checkout-payment-guide p{margin:0!important;padding:0!important;font-size:12px!important;line-height:1.8!important}.tsp-checkout-payment-guide ol{list-style:decimal!important;padding:9px 0 9px 18px!important;margin:0!important}.tsp-checkout-payment-guide li{padding:2px 0!important;margin:0!important;line-height:1.8!important}.tsp-checkout-payment-guide li:before,.tsp-checkout-payment-guide li:after{display:none!important;content:none!important}#tsp-native-checkout #payment .place-order{padding:18px 0 0!important;margin:0!important}#tsp-native-checkout .woocommerce-privacy-policy-text p{font-size:11px!important;line-height:1.85!important;color:#728592!important;margin:0 0 15px!important;padding:0!important}#tsp-native-checkout .woocommerce-privacy-policy-text a{color:#9b4a00!important;text-decoration:underline}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #place_order{float:none!important;display:block!important;width:100%!important;min-height:54px!important;background:#b35600!important;border:0!important;border-radius:9px!important;color:#fff!important;font-family:inherit!important;font-weight:600!important;font-size:14px!important;line-height:1.8!important;padding:13px 10px!important;letter-spacing:0!important;text-transform:none!important;white-space:normal!important}#tsp-native-checkout #place_order:after{display:none!important}.tsp-checkout-contact{font-size:11px;color:#7b8e99;text-align:center;line-height:1.9;padding:17px 0 0}.tsp-checkout-contact a{color:#9c4d06!important;white-space:nowrap}#tsp-native-checkout>.woocommerce>.woocommerce-notices-wrapper,#tsp-native-checkout>.woocommerce>form.login,#tsp-native-checkout>.woocommerce>.woocommerce-form-login-toggle{margin-bottom:20px}#tsp-native-checkout .woocommerce-info,#tsp-native-checkout .woocommerce-error{background:#fff!important;border-radius:10px;border-top-color:#b55a00!important;font-size:13px;line-height:1.8;color:#244255!important}#tsp-native-checkout .woocommerce-NoticeGroup-checkout{grid-column:1/-1}.tsp-native-checkout-section .woocommerce-checkout-review-order-table .includes_tax{font-size:11px}
/* หน้ารับคำสั่งซื้อ/ดูคำสั่งซื้อ: QR พร้อมยอด รักษา quiet zone รอบรหัส และมีปุ่มบันทึกภาพสำหรับมือถือ */
.tsp-pp-card{background:#fff;border:1px solid #dce6ee;border-radius:18px;max-width:900px;margin:25px auto 35px;overflow:hidden;color:#244353}.tsp-pp-card-heading{background:#eef5f9;padding:23px 28px;border-bottom:1px solid #dce6ee}.tsp-pp-status{display:inline-block;background:#fff0d7;color:#9a5900;border-radius:20px;padding:5px 12px;font-size:11px;font-weight:600}.tsp-pp-card-heading h2{font-size:25px!important;font-weight:700!important;color:#193b50!important;padding:9px 0 5px!important;line-height:1.5!important}.tsp-pp-card-heading p{font-size:13px;color:#6a8292;margin:0!important;padding:0!important;line-height:1.7}.tsp-pp-card-body{display:grid;grid-template-columns:285px minmax(0,1fr);gap:30px;padding:28px}.tsp-pp-image-block{min-width:0;align-self:start;text-align:center}.tsp-pp-qr{background:#fff;border:1px solid #dfE7ec;border-radius:12px;padding:6px;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden}.tsp-pp-qr img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1/1;max-width:100%!important;image-rendering:pixelated;background:#fff}.tsp-pp-qr p{font-size:12px;color:#6b8290}.tsp-pp-download{font:600 13px/1.7 inherit;font-family:inherit;font-size:13px;line-height:1.7;display:block;width:100%;padding:11px;border:1px solid #c6d8e4;border-radius:8px;background:#f5f9fc;color:#254c65;cursor:pointer;margin-top:12px}.tsp-pp-download:disabled{opacity:.5}.tsp-pp-amount-label{font-size:12px;color:#6e8593;margin:0!important;padding:0!important}.tsp-pp-amount{font-size:36px;font-weight:700;line-height:1.5;color:#ad5300;margin:3px 0 18px}.tsp-pp-details dl{margin:0!important;display:grid;grid-template-columns:1fr;gap:3px}.tsp-pp-details dt{font-size:11px;color:#7a8e9a;margin:0}.tsp-pp-details dd{font-size:16px;font-weight:600;color:#21465c;margin:0 0 12px!important;line-height:1.7}.tsp-pp-check-name{font-size:12px;line-height:1.8!important;color:#7b6347;padding:10px 12px!important;background:#fff8ec;border-radius:8px;margin:0 0 16px!important}.tsp-pp-slip{display:block;text-align:center;background:#b45700;color:#fff!important;border-radius:9px;padding:13px 9px;font-size:13px;font-weight:600;line-height:1.8}.tsp-pp-review{font-size:12px;line-height:1.85!important;color:#718995;margin:12px 0 0!important;padding:0!important}.tsp-pp-download:focus-visible,.tsp-pp-slip:focus-visible{outline:3px solid #dc8a39;outline-offset:3px}
@media(max-width:980px){body.woocommerce-checkout #page-container #main-content #tsp-native-checkout form.checkout{grid-template-columns:minmax(0,1fr) 360px;gap:18px}.tsp-checkout-form-column,.tsp-checkout-summary-column{padding:22px}.tsp-checkout-intro h1{font-size:28px!important}.tsp-pp-card-body{grid-template-columns:250px minmax(0,1fr);gap:22px;padding:23px}}
@media(max-width:760px){.tsp-checkout-intro{padding:25px 0 15px}.tsp-checkout-intro h1{font-size:26px!important}.tsp-checkout-intro p{font-size:12px}.tsp-checkout-intro ol{gap:10px;font-size:10px;padding-top:15px!important}.tsp-checkout-intro li{gap:5px}.tsp-checkout-intro li b{width:22px;height:22px}.tsp-native-checkout-section{padding:10px 0 30px}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout form.checkout{grid-template-columns:1fr;gap:20px}.tsp-checkout-form-column,.tsp-checkout-summary-column{padding:21px 16px;border-radius:13px}.tsp-checkout-summary-column{position:static}#tsp-native-checkout h3,#tsp-native-checkout #order_review_heading{font-size:20px!important}#tsp-native-checkout .woocommerce-billing-fields__field-wrapper,#tsp-native-checkout .woocommerce-shipping-fields__field-wrapper{column-gap:12px;row-gap:17px}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #billing_city_field,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #shipping_city_field,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #billing_postcode_field,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #shipping_postcode_field,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #billing_state_field,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #shipping_state_field,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout #billing_phone_field{grid-column:1/-1!important}body.woocommerce-checkout #page-container #main-content #tsp-native-checkout input.input-text,body.woocommerce-checkout #page-container #main-content #tsp-native-checkout textarea,#tsp-native-checkout .select2-selection__rendered{font-size:16px!important}.tsp-pp-card{border-radius:13px;margin:20px auto}.tsp-pp-card-heading{padding:20px}.tsp-pp-card-heading h2{font-size:22px!important}.tsp-pp-card-body{grid-template-columns:1fr;padding:20px;gap:24px}.tsp-pp-image-block{width:100%;max-width:285px;margin:0 auto}.tsp-pp-amount{font-size:34px}.tsp-pp-details dd{font-size:15px}}

/* หน้ารับคำสั่งซื้อ/ดูคำสั่งซื้อ: กรอบ QR แบบอ่านชัด หัวน้ำเงิน พื้นขาว ไม่มีลายทับ quiet zone หรืออ้างว่าเป็นตรารับรองธนาคาร */
.tsp-pp-standard-frame{background:#fff;border:1px solid #bcd1df;border-radius:12px;overflow:hidden;box-shadow:0 5px 18px #183c5410}.tsp-pp-scheme-header{background:#153e60;color:#fff;font-family:Arial,sans-serif;font-size:16px;font-weight:700;line-height:1.5;letter-spacing:1.4px;text-align:center;padding:14px 8px}.tsp-pp-scheme-body{padding:14px 12px 16px;background:#fff}.tsp-pp-brand{font-size:17px;font-weight:600;color:#204c69;line-height:1.7;margin-bottom:7px}.tsp-pp-brand span{font-family:Arial,sans-serif;font-size:15px;font-weight:700;padding-left:5px;border-left:1px solid #c8d8e3;margin-left:5px}.tsp-pp-standard-frame .tsp-pp-qr{border:0!important;border-radius:0!important;padding:0!important;background:#fff!important}.tsp-pp-frame-name{font-size:15px;font-weight:600;color:#20455c!important;line-height:1.8!important;margin:5px 0 0!important;padding:0!important}.tsp-pp-frame-id{font-size:12px;letter-spacing:.6px;color:#6a8291!important;line-height:1.8!important;margin:2px 0 0!important;padding:0!important}.tsp-pp-frame-amount{font-size:23px;font-weight:700;color:#a95100;line-height:1.6;margin-top:8px}.tsp-pp-download{box-sizing:border-box;text-decoration:none!important;color:#254c65!important;font-weight:600!important}.tsp-pp-download[aria-disabled=true]{opacity:.5;pointer-events:none}
