.mshop-ai{position:fixed;right:24px;bottom:24px;z-index:9999;font-family:Arial,sans-serif}.mshop-ai__toggle{border:0;border-radius:28px;padding:14px 20px;color:#fff;background:linear-gradient(135deg,#6d4aff,#e044b5);box-shadow:0 8px 28px #462a8059;font-weight:700;font-size:16px;cursor:pointer}.mshop-ai__panel{position:absolute;right:0;bottom:64px;width:420px;height:min(650px,calc(100vh - 110px));background:#fff;border:1px solid #e7e3f2;border-radius:20px;box-shadow:0 18px 60px #25174333;overflow:hidden;grid-template-rows:58px 1fr auto 70px}.mshop-ai__panel:not([hidden]){display:grid}.mshop-ai__panel header{display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:linear-gradient(135deg,#6844ef,#d940ad);color:#fff;font-size:18px}.mshop-ai__close{border:0;background:transparent;color:#fff;font-size:28px;cursor:pointer}.mshop-ai__messages{padding:16px;overflow-y:auto;background:#faf9fd}.mshop-ai__bubble{width:fit-content;max-width:88%;padding:11px 14px;margin:0 0 12px;border-radius:14px;white-space:pre-wrap;line-height:1.4}.mshop-ai__bubble--ai{background:#fff;border:1px solid #e7e3f2}.mshop-ai__bubble--user{margin-left:auto;background:#6d4aff;color:#fff}.mshop-ai__quick{display:flex;gap:7px;padding:10px 14px;overflow-x:auto}.mshop-ai__quick button{white-space:nowrap;border:1px solid #cabef6;background:#f6f2ff;border-radius:15px;padding:7px 10px;cursor:pointer}.mshop-ai__form{border-top:1px solid #eee;display:flex;padding:10px;gap:8px}.mshop-ai__form textarea{flex:1;resize:none;border:1px solid #ddd;border-radius:12px;padding:10px}.mshop-ai__form button{width:46px;border:0;border-radius:12px;background:#6d4aff;color:#fff}.mshop-ai__products{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:8px 0 16px}.mshop-ai__product{background:#fff;border:1px solid #e9e5f1;border-radius:12px;padding:8px;color:#222;text-decoration:none}.mshop-ai__product img{width:100%;height:90px;object-fit:contain}.mshop-ai__product strong{display:block;font-size:12px;height:30px;overflow:hidden}.mshop-ai__price{color:#6d4aff;font-weight:bold;font-size:13px}.mshop-ai__retry{border:0;color:#6d4aff;background:none;cursor:pointer}@media(max-width:600px){.mshop-ai{right:14px;bottom:14px}.mshop-ai__panel{position:fixed;inset:0;width:100%;height:100%;border-radius:0}.mshop-ai__products{grid-template-columns:repeat(2,1fr)}}
