.tpwf-root{position:fixed;right:20px;bottom:20px;z-index:99999;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#2b2224;font-size:14px;line-height:1.45}
.tpwf-root *{box-sizing:border-box}
.tpwf-root [hidden]{display:none!important}
.tpwf-toggle{border:0;background:#7b1e2e;color:#fff;border-radius:99px;padding:14px 18px;font-size:15px;font-weight:700;cursor:pointer;box-shadow:0 5px 24px #0003;line-height:1}
.tpwf-toggle:hover,.tpwf-confirm:hover,.tpwf-form button:hover{background:#5e1622}
.tpwf-panel{position:absolute;bottom:62px;right:0;width:min(375px,calc(100vw - 24px));height:min(600px,calc(100dvh - 110px));background:#fff;border:1px solid #eadcdd;border-radius:16px;box-shadow:0 15px 52px #0004;overflow:hidden;display:flex;flex-direction:column}
.tpwf-head{background:#7b1e2e;color:#fff;padding:16px;display:flex;justify-content:space-between;align-items:center}
.tpwf-head strong,.tpwf-head small{display:block;color:#fff}
.tpwf-head small{opacity:.85;font-size:12px}
.tpwf-close{color:#fff;background:none;border:0;font-size:26px;cursor:pointer;line-height:1;padding:0 4px}
.tpwf-age{text-align:center;padding:28px 20px;overflow:auto}
.tpwf-age strong{font-size:20px;display:block;margin-bottom:6px}
.tpwf-age p{line-height:1.5;margin:0 0 14px}
.tpwf-confirm,.tpwf-form button{background:#7b1e2e;color:#fff;border:0;border-radius:8px;padding:10px 14px;cursor:pointer;font-weight:600}
.tpwf-note{font-size:12px;color:#686868;margin-top:14px!important}
.tpwf-chat{display:flex;flex:1;flex-direction:column;min-height:0}
.tpwf-messages{overflow:auto;flex:1;padding:15px;display:flex;flex-direction:column;gap:11px;background:#fdf9f9}
.tpwf-bubble{padding:11px 13px;border-radius:12px;max-width:90%;overflow-wrap:anywhere;white-space:pre-wrap}
.tpwf-bubble a{color:inherit;text-decoration:underline}
.tpwf-bot{background:#f5e9eb;align-self:flex-start}
.tpwf-user{background:#7b1e2e;color:#fff;align-self:flex-end}
.tpwf-quick{padding:10px 12px;display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid #f0e4e5}
.tpwf-quick button{background:#fff;border:1px solid #e2c4c9;border-radius:16px;color:#7b1e2e;font-size:12px;cursor:pointer;padding:6px 9px;line-height:1.2}
.tpwf-quick button:hover{background:#f5e9eb}
.tpwf-form{display:flex;gap:7px;padding:0 10px 10px;margin:0}
.tpwf-form input{flex:1;min-width:0;border:1px solid #dccbcd!important;border-radius:8px!important;padding:10px!important;background:#fff!important;color:#222!important;font-size:16px!important;height:auto!important;margin:0!important}
.tpwf-form button:disabled,.tpwf-quick button:disabled{opacity:.5;cursor:wait}
.tpwf-foot{text-align:center;color:#777;font-size:10px;padding:0 10px 10px}
.tpwf-products{display:flex;flex-direction:column;gap:6px;width:100%}
.tpwf-product{display:flex;gap:10px;background:#fff;border:1px solid #eadcdd;border-radius:10px;padding:9px;color:#3a1a1f!important;text-decoration:none!important;transition:border-color .15s}
.tpwf-product:hover{border-color:#7b1e2e}
.tpwf-product img{width:52px;height:70px;object-fit:contain;flex-shrink:0}
.tpwf-product-info{display:flex;flex-direction:column;gap:4px;justify-content:center;min-width:0}
.tpwf-product strong{font-size:13px;line-height:1.3}
.tpwf-blurb{font-size:12px;color:#5d5254;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tpwf-product-info small{font-size:12px;color:#7b1e2e;font-weight:600}
@media(max-width:1024px){.tpwf-root{right:12px;bottom:80px}.tpwf-toggle{padding:12px 15px;font-size:14px}.tpwf-panel{bottom:56px;height:min(560px,calc(100dvh - 160px))}}
