.sm-ai-root{position:fixed;right:18px;bottom:18px;z-index:9999;font-family:'Hind Siliguri',Arial,sans-serif}.sm-ai-fab{width:62px;height:62px;border:0;border-radius:50%;cursor:pointer;background:linear-gradient(135deg,#e6127d,#8b5cf6);color:#fff;box-shadow:0 10px 28px rgba(0,0,0,.25);font-weight:800;display:flex;align-items:center;justify-content:center;gap:2px}.sm-ai-fab span{font-size:19px}.sm-ai-fab b{font-size:17px}.sm-ai-panel{display:none;width:min(390px,calc(100vw - 28px));height:min(620px,calc(100vh - 110px));background:#fff;border-radius:20px;box-shadow:0 18px 60px rgba(0,0,0,.25);overflow:hidden;margin-bottom:10px;border:1px solid #eee}.sm-ai-panel.open{display:flex;flex-direction:column}.sm-ai-head{padding:15px 16px;background:linear-gradient(135deg,#e6127d,#8b5cf6);color:#fff;display:flex;justify-content:space-between;align-items:center}.sm-ai-head strong{display:block;font-size:16px}.sm-ai-head small{display:block;font-size:11px;opacity:.9;margin-top:2px}.sm-ai-head button{border:0;background:transparent;color:#fff;font-size:28px;cursor:pointer}.sm-ai-messages{flex:1;overflow:auto;padding:14px;background:#faf7fa}.sm-ai-msg{max-width:88%;padding:10px 12px;border-radius:14px;margin:7px 0;line-height:1.55;font-size:14px;word-break:break-word}.sm-ai-msg.bot{background:#fff;border:1px solid #eee}.sm-ai-msg.user{margin-left:auto;background:#fce0ef}.sm-ai-suggestions{display:flex;gap:6px;overflow:auto;padding:8px 10px;border-top:1px solid #eee}.sm-ai-suggestions button{white-space:nowrap;border:1px solid #e6127d;background:#fff;color:#b30d62;border-radius:20px;padding:6px 10px;font-size:11px;cursor:pointer}.sm-ai-form{display:flex;gap:8px;padding:10px;border-top:1px solid #eee}.sm-ai-form input{flex:1;border:1px solid #ddd;border-radius:12px;padding:10px 12px;outline:none;font-family:inherit}.sm-ai-form button{width:44px;border:0;border-radius:12px;background:#e6127d;color:#fff;font-size:18px}.sm-ai-note{text-align:center;color:#999;font-size:9px;padding:4px 8px 7px}@media(max-width:480px){.sm-ai-root{right:10px;bottom:10px}.sm-ai-panel{width:calc(100vw - 20px);height:calc(100vh - 90px)}.sm-ai-fab{width:56px;height:56px}}
.sm-ai-actions{display:flex;gap:8px;padding:4px 0 8px}.sm-ai-actions button{border:0;border-radius:10px;padding:8px 16px;font-weight:800;cursor:pointer;background:#e6127d;color:#fff}.sm-ai-actions button:last-child{background:#666}

.sm-ai-product-cards{display:grid;gap:9px;margin:8px 0}.sm-ai-product-card{display:flex;gap:10px;background:#fff;border:1px solid #eee;border-radius:14px;padding:8px;box-shadow:0 2px 8px rgba(0,0,0,.04)}.sm-ai-product-card img{width:72px;height:72px;object-fit:cover;border-radius:10px;background:#f7f7f7}.sm-ai-product-info{min-width:0;flex:1}.sm-ai-product-info strong{display:block;font-size:13px;line-height:1.35}.sm-ai-price{font-weight:900;color:#e6127d;margin-top:3px}.sm-ai-product-info small{color:#777}.sm-ai-select-product{display:block;margin-top:5px;border:0;border-radius:9px;padding:6px 10px;background:#e6127d;color:#fff;font-weight:800;cursor:pointer;font-family:inherit}.sm-ai-select-product:hover{opacity:.92}

/* ভাষা বাছাই (বাংলা / English) */
.sm-ai-head-tools{display:flex;align-items:center;gap:6px}
#smAiLang{background:rgba(255,255,255,.2);color:#fff;border:1px solid rgba(255,255,255,.45);border-radius:8px;padding:3px 4px;font-size:12px;cursor:pointer;max-width:96px}
#smAiLang option{color:#333}
.sm-ai-actions{flex-wrap:wrap}
