.aslpa-fab{position:fixed;left:20px;right:auto;bottom:20px;z-index:99999;border:0;border-radius:999px;padding:14px 20px;font:600 15px/1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;box-shadow:0 12px 30px rgba(0,0,0,.25);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.aslpa-fab:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(0,0,0,.3)}
.aslpa-panel{position:fixed;left:20px;right:auto;bottom:80px;z-index:99999;width:min(380px,calc(100vw - 32px));height:min(540px,calc(100vh - 120px));display:flex;flex-direction:column;background:#fff;border:1px solid #e5e5e5;border-radius:20px;box-shadow:0 24px 60px rgba(0,0,0,.22);overflow:hidden;font:15px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#111;animation:aslpa-up .25s ease}
.aslpa-panel[hidden]{display:none}
@keyframes aslpa-up{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.aslpa-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #E8DBC3;background:#542D1C;color:#F3E9D8}
.aslpa-tools button{border:0;background:transparent;font-size:20px;line-height:1;width:30px;height:30px;border-radius:8px;cursor:pointer;color:#F3E9D8}
.aslpa-tools button:hover{background:rgba(253,249,239,.15)}
.aslpa-log{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:8px;background:#fff}
.aslpa-msg{max-width:84%;padding:10px 13px;border-radius:14px;white-space:pre-wrap;word-wrap:break-word}
.aslpa-bot{background:#F3E9D8;border:1px solid #E8DBC3;align-self:flex-start;border-bottom-left-radius:4px}
.aslpa-user{background:#542D1C;color:#F3E9D8;align-self:flex-end;border-bottom-right-radius:4px}
.aslpa-typing{opacity:.6}
.aslpa-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px}
.aslpa-card{display:flex;flex-direction:column;gap:3px;border:1px solid #E8DBC3;border-radius:14px;padding:8px;color:inherit;text-decoration:none;background:#fff;transition:border-color .2s ease,transform .2s ease}
.aslpa-card:hover{border-color:#B58A46;transform:translateY(-2px)}
.aslpa-card img{width:100%;height:90px;object-fit:cover;border-radius:10px;background:#f5f5f5}
.aslpa-name{font-weight:600;font-size:13px;line-height:1.3}
.aslpa-price{font-size:14px;font-weight:700;color:#542D1C}
.aslpa-stock{font-size:11px;color:#542D1C;background:#E8DBC3;border-radius:999px;padding:2px 8px;align-self:flex-start}
.aslpa-contact{margin:4px 0 0}
.aslpa-form{display:flex;gap:8px;padding:12px;border-top:1px solid #E8DBC3;background:#fff}
.aslpa-form input{flex:1;border:1px solid #d6d6d6;border-radius:999px;padding:10px 14px;font:inherit;outline:none}
.aslpa-form input:focus{border-color:#B58A46}
.aslpa-form button{border:0;background:#542D1C;color:#F3E9D8;border-radius:999px;padding:10px 18px;font:inherit;font-weight:600;cursor:pointer}
@media (max-width:520px){.aslpa-panel{right:8px;left:8px;width:auto;bottom:76px;height:70vh}.aslpa-fab{left:12px;right:auto;bottom:12px}.aslpa-cards{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.aslpa-panel,.aslpa-fab,.aslpa-card{animation:none;transition:none}}

/* Reserve space at the bottom of the page so the floating button never sits on top of page content */
body:has(.aslpa-fab){padding-bottom:74px}
@media (max-width:520px){body:has(.aslpa-fab){padding-bottom:64px}}
