.wechat-checkout { box-sizing: border-box; width: 400px; max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); overflow: auto; padding: 28px 24px; border: 1px solid #e3e6e4; border-radius: 8px; text-align: center; color: #202624; background: #fff; font-family: inherit; letter-spacing: 0; }
.wechat-checkout { margin: auto; }
.wechat-checkout::backdrop { background: rgba(0,0,0,.45); }
.wechat-checkout h2 { margin: 12px 0 8px; font-size: 22px; line-height: 1.3; letter-spacing: 0; }
.wechat-close { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 26px; color: #53625a; cursor: pointer; }
.wechat-brand { display: block; margin: 0 auto; }
.wechat-product { margin: 0; font-size: 14px; color: #66716b; }
.wechat-amount { height: 48px; margin-top: 12px; line-height: 48px; font-size: 30px; font-weight: 700; }
.wechat-code { width: 288px; max-width: 100%; aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; background: #fff; }
.wechat-code img { width: 100%; height: auto; display: block; }
.wechat-checkout [hidden] { display: none !important; }
.wechat-status { min-height: 44px; margin: 8px 0; font-size: 15px; line-height: 22px; overflow-wrap: anywhere; }
.wechat-time { min-height: 20px; margin: 0 0 14px; color: #66716b; font-size: 13px; }
.wechat-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.wechat-actions button, .wechat-actions a { box-sizing: border-box; padding: 10px 16px; background: #087d42; border: 1px solid #087d42; border-radius: 6px; color: #fff; font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; }
.wechat-actions button:disabled { opacity: .55; cursor: wait; }
.wechat-checkout :focus-visible { outline: 3px solid #187bc1; outline-offset: 3px; }
@media (max-height: 650px) { .wechat-checkout { padding: 16px; } .wechat-brand { display: none; } .wechat-code { width: 220px; } .wechat-checkout h2 { margin-top: 0; } }
