/* payment choice on the shop checkout + PromptPay QR box + the thank-you page payment states (public/shop/pay.js) */
.pay{border:1px solid #bfbfbf;border-radius:4px;overflow:hidden}
.po{display:flex;align-items:center;gap:12px;padding:14px;cursor:pointer;background:#fff;border-top:1px solid #eee;font-size:14px}
.pay>.po:first-child{border-top:0}
.po input{position:absolute;opacity:0;pointer-events:none}
.po>i{width:18px;height:18px;border-radius:50%;border:1px solid #9a9a9a;flex:none;background:#fff}
.po.on{background:#fafafa}
.po.on>i{border:5px solid var(--pink)}
.po b{display:block;font-weight:500;font-size:15px;color:#111}
.po small{display:block;color:var(--muted);font-size:13px}
.po .tx{flex:1;min-width:0}
.po .lg{display:flex;gap:4px;flex:none;justify-content:flex-end}
.po .lg img{height:30px;width:auto;border:1px solid #e5e5e5;border-radius:6px;background:#fff}
.po-more{display:flex;align-items:center;gap:12px;width:100%;padding:14px;border:0;border-top:1px solid #eee;background:#fff;text-align:left;cursor:pointer;font-size:14px}
.po-more .tx{flex:1}
.po-more b{display:block;font-weight:500;font-size:15px;color:#111}
.po-more small{display:block;color:var(--muted);font-size:13px}
.po-more>svg{width:14px;height:14px;transition:transform .2s}
.po-more[aria-expanded="true"]>svg{transform:rotate(180deg)}
.po-banks{display:grid;gap:6px;padding:4px 14px 14px 44px;background:#fafafa}
.po-bank{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid #e1e1e1;border-radius:6px;background:#fff;cursor:pointer;font-size:14px}
.po-bank input{position:absolute;opacity:0;pointer-events:none}
.po-bank.on{border-color:var(--pink);box-shadow:0 0 0 1px var(--pink)}
.po-bank .bk{width:34px;height:34px;border-radius:8px;border:1px solid #e5e5e5;background:#fff;overflow:hidden;display:flex;align-items:center;justify-content:center;flex:none}
.po-bank .bk img{width:28px;height:28px;object-fit:contain;border-radius:6px}
.po-bank .nm{flex:1;min-width:0}
.po-bank.on{color:var(--pink-dk);font-weight:500}
.pay.bad{border-color:#c62828}
.pq[hidden],.po-banks[hidden],.ty-pay .acts[hidden]{display:none}

/* PromptPay QR */
.pq{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.pq-in{background:#fff;border-radius:12px;max-width:360px;width:100%;padding:22px 20px;text-align:center;max-height:100%;overflow:auto}
.pq-in h3{margin:0 0 4px;font-size:18px;font-weight:600}
.pq-amt{margin:0 0 12px;font-size:22px;font-weight:600;color:var(--pink)}
.pq-in img{width:260px;max-width:100%;height:auto;margin:0 auto;border:1px solid #eee;border-radius:8px}
.pq-st{margin:12px 0 4px;font-size:14px;color:#111}
.pq-exp{margin:0 0 12px;font-size:13px;color:var(--muted)}
.pq-in a{display:inline-block;margin-bottom:12px;color:var(--pink);font-size:14px;text-decoration:underline}
.pq-in button{width:100%;height:44px;border:1px solid #bfbfbf;border-radius:6px;background:#fff;cursor:pointer;font-size:15px}

/* thank-you: online payment state */
.ty-pay{border-color:var(--pink-lt);background:var(--pink-bg)}
.ty-pay.ok{border-color:#cdeccf;background:#f3fbf4}
.ty-pay.bad{border-color:#f5c2c2;background:#fff5f5}
.ty-pay .acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.ty-pay .acts a,.ty-pay .acts button{flex:1 1 200px;height:44px;border-radius:6px;font-size:15px;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center}
.ty-pay .acts a{background:var(--pink);color:#fff;border:0}
.ty-pay .acts button{background:#fff;border:1px solid #bfbfbf;color:#111}
.ty-pay .acts button[disabled]{opacity:.6;cursor:wait}
