/* Root container (injetado no footer) */
.jg-wa-root{position:fixed;inset:auto;pointer-events:none;z-index:99999}

/* Wrapper */
.jg-wa{position:relative;pointer-events:auto;font-family:inherit;--jg-wa-font-size:14px;--jg-wa-icon-size:20px;font-size:var(--jg-wa-font-size)}

/* Main button */
.jg-wa__btn{display:flex;align-items:center;gap:10px;border:0;border-radius:999px;padding:12px 14px;cursor:pointer;font-weight:800;box-shadow:0 14px 45px rgba(0,0,0,.18);transition:transform .15s ease, box-shadow .15s ease}
.jg-wa__btn:active{transform:translateY(1px)}
.jg-wa__btn svg{width:var(--jg-wa-icon-size);height:var(--jg-wa-icon-size);display:block}
.jg-wa__btn.is-icon{padding:12px;border-radius:999px;gap:0}
.jg-wa__btn.is-icon span{display:none}
.jg-wa__btn.is-icon svg{width:var(--jg-wa-icon-size);height:var(--jg-wa-icon-size)}

/* Panel */
.jg-wa__panel{position:absolute;bottom:58px;right:0;width:320px;max-width:calc(100vw - 36px);border-radius:18px;box-shadow:0 18px 60px rgba(0,0,0,.22);overflow:hidden;transform:translateY(10px);opacity:0;pointer-events:none;transition:opacity .18s ease, transform .18s ease}
.jg-wa.is-open .jg-wa__panel{opacity:1;transform:translateY(0);pointer-events:auto}

.jg-wa__panelHeader{display:flex;align-items:center;justify-content:space-between;padding:12px 14px}
.jg-wa__panelTitle{font-weight:900}
.jg-wa__close{border:0;background:transparent;color:inherit;cursor:pointer;padding:6px;border-radius:10px;opacity:.85}
.jg-wa__close:hover{opacity:1;background:rgba(255,255,255,.08)}

.jg-wa__items{padding:10px 10px 12px;display:flex;flex-direction:column;gap:10px}

.jg-wa__item{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:14px;text-decoration:none;color:inherit;border:1px solid rgba(255,255,255,.08);transition:transform .12s ease, filter .12s ease}
.jg-wa__item:hover{transform:translateY(-1px);filter:brightness(1.03)}

.jg-wa__itemIcon{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.jg-wa__itemIcon svg{width:var(--jg-wa-icon-size);height:var(--jg-wa-icon-size)}

.jg-wa__itemText{display:flex;flex-direction:column;gap:2px;min-width:0}
.jg-wa__itemName{font-weight:900;line-height:1.1}
.jg-wa__itemNote{opacity:.78;font-size:12px;line-height:1.3}

/* Overlay click-out */
.jg-wa__backdrop{position:fixed;inset:0;background:transparent;display:none;pointer-events:auto}
.jg-wa.is-open .jg-wa__backdrop{display:block}

/* Alinhamento quando o botão está à esquerda */
.jg-wa.is-left .jg-wa__panel{left:0;right:auto}
