/* Loaded only by the integrated collection and 24V product templates. */
.tb-contact-rail,.tb-wechat-dialog{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;box-sizing:border-box}
.tb-contact-rail *,.tb-wechat-dialog *{box-sizing:border-box}
.tb-contact-rail{position:fixed;z-index:64;right:max(12px,env(safe-area-inset-right));top:50%;transform:translateY(-50%);display:flex;flex-direction:column;background:#fff;border:1px solid #d2b578;border-radius:12px;box-shadow:0 12px 40px #0008,0 0 24px rgba(224,196,141,.09);backdrop-filter:blur(12px)}
.tb-contact-action{position:relative;display:flex;align-items:center;justify-content:center;width:52px;height:52px;min-width:44px;min-height:44px;background:transparent;color:#201a12;border:0;text-decoration:none;cursor:pointer;padding:13px;transition:background .16s,color .16s}
.tb-contact-action:first-child{border-radius:11px 11px 0 0}
.tb-contact-action:last-child{border-radius:0 0 11px 11px}
.tb-contact-action+.tb-contact-action{border-top:1px solid rgba(46,34,19,.28)}
.tb-contact-action svg{display:block;width:26px;height:26px;flex-shrink:0;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.tb-contact-action .tb-wechat-icon{width:30px}
.tb-contact-action .tb-wechat-icon [fill="#171a1e"]{fill:#fff}
.tb-contact-action:hover .tb-wechat-icon [fill="#171a1e"],.tb-contact-action:focus-visible .tb-wechat-icon [fill="#171a1e"]{fill:#f7f0e1}
.tb-contact-action:hover,.tb-contact-action:focus-visible{color:#17130d;background:#f7f0e1}
.tb-contact-action:focus-visible,.tb-wechat-dialog :focus-visible{outline:3px solid #e0c48d;outline-offset:4px}
.tb-contact-tip{position:absolute;right:calc(100% + 12px);top:50%;transform:translateY(-50%) translateX(4px);display:grid;gap:4px;min-width:190px;padding:14px 17px;border:1px solid #60543b;border-radius:10px;background:#171a1e;color:#e0c48d;box-shadow:0 10px 30px #0004;opacity:0;visibility:hidden;pointer-events:none;white-space:nowrap;transition:opacity .16s,transform .16s;font-size:12px;line-height:1.5;text-align:left}
.tb-contact-tip strong{font-size:13px;font-weight:590}.tb-contact-tip>span{color:#c2c5cb;font-size:12px}
.tb-contact-action:hover .tb-contact-tip,.tb-contact-action:focus-visible .tb-contact-tip{opacity:1;visibility:visible;transform:translateY(-50%)}
.tb-wechat-dialog{width:min(390px,calc(100% - 28px));max-width:none;max-height:90dvh;padding:24px;margin:auto;background:#171a1e;color:#f7f7f3;border:1px solid #615438;border-radius:18px;box-shadow:0 30px 100px #0008;overflow:auto;color-scheme:dark}
.tb-wechat-dialog::backdrop{background:rgba(4,6,8,.78);backdrop-filter:blur(4px)}
.tb-wechat-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.tb-wechat-heading>div>span{display:block;color:#e0c48d;font-size:9px;letter-spacing:.17em;font-weight:600;margin-bottom:9px;line-height:1.4}
.tb-wechat-heading h2{color:#f7f7f3;font-size:31px;font-weight:480;letter-spacing:-.04em;line-height:1.12;margin:0 0 12px}
.tb-wechat-heading button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;margin:-5px -5px 0 0;border:1px solid #4b4d50;border-radius:50%;background:#23262a;color:#e0c48d;font-size:26px;line-height:1;cursor:pointer}
.tb-wechat-heading button:hover{border-color:#e0c48d}
.tb-wechat-dialog>p{color:#b7bbc1;font-size:13px;line-height:1.7;margin:0 0 17px}
.tb-wechat-qr{display:block;max-width:274px;margin:0 auto;background:#fff;border:1px solid #fff;border-radius:10px;overflow:hidden}
.tb-wechat-qr img{display:block;width:100%;height:auto;max-width:100%;margin:0;padding:0;object-fit:contain;filter:none;mix-blend-mode:normal}
.tb-wechat-links{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px}
.tb-wechat-links a{display:inline-flex;align-items:center;min-height:38px;color:#e0c48d;font-size:11px;line-height:1.5;text-decoration:underline;text-underline-offset:4px}
@media(max-width:640px){.tb-contact-rail{right:8px;border-radius:12px}.tb-contact-action{width:44px;height:44px;padding:10px}.tb-contact-action svg{width:24px;height:24px}.tb-contact-action .tb-wechat-icon{width:28px}.tb-contact-tip{display:none}.tb-wechat-dialog{padding:21px}.tb-wechat-qr{max-width:250px}.tb-wechat-heading h2{font-size:29px}.tb-wechat-links a{font-size:10px}}
@media(max-height:600px){.tb-contact-rail{top:auto;bottom:max(92px,calc(env(safe-area-inset-bottom) + 78px));transform:none}.tb-contact-action{width:44px;height:44px;padding:10px}.tb-contact-action svg{width:24px;height:24px}.tb-contact-action .tb-wechat-icon{width:28px}.tb-wechat-qr{max-width:200px}}
@media(prefers-reduced-motion:reduce){.tb-contact-action,.tb-contact-tip{transition:none}}
