/* HAsset WhatsApp — floating FAB + panel (Join.chat-like) */
.hasset-wa {
    --hasset-wa-green: #25d366;
    --hasset-wa-green-dark: #128c7e;
    position: fixed;
    bottom: 20px;
    z-index: 99950;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .45s ease, transform .45s ease;
}
.hasset-wa--left { left: 20px; right: auto; align-items: flex-start; }
.hasset-wa--right { right: 20px; left: auto; align-items: flex-end; }
.hasset-wa.is-ready {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.hasset-wa-fab {
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 50%;
    background: var(--hasset-wa-green);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(18, 140, 126, .35);
    transition: transform .2s ease, background .2s ease;
}
.hasset-wa-fab:hover { background: var(--hasset-wa-green-dark); transform: scale(1.04); }
.hasset-wa-fab:focus-visible { outline: 2px solid #0b5; outline-offset: 3px; }
.hasset-wa-panel {
    width: min(320px, calc(100vw - 40px));
    background: #f0f2f5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0, 0, 0, .18);
}
.hasset-wa-panel[hidden] { display: none !important; }
.hasset-wa-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    background: var(--hasset-wa-green);
    color: #fff;
    font-weight: 650;
}
.hasset-wa-panel-brand { display: inline-flex; align-items: center; gap: 8px; }
.hasset-wa-close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}
.hasset-wa-panel-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.hasset-wa-bubble {
    align-self: flex-start;
    max-width: 92%;
    background: #fff;
    color: #222;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: .92rem;
    line-height: 1.4;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}
.hasset-wa-privacy {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: .78rem;
    color: #444;
    line-height: 1.35;
    cursor: pointer;
}
.hasset-wa-privacy input { margin-top: 2px; }
.hasset-wa-privacy a { color: inherit; text-decoration: underline; }
.hasset-wa-actions { display: flex; justify-content: flex-end; }
.hasset-wa-open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4a4a4a;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: .9rem;
    font-weight: 650;
}
.hasset-wa-open.is-disabled {
    opacity: .45;
    pointer-events: none;
    cursor: not-allowed;
}
@media (max-width: 480px) {
    .hasset-wa { bottom: 14px; }
    .hasset-wa--right { right: 14px; }
    .hasset-wa--left { left: 14px; }
    .hasset-wa-fab { width: 56px; height: 56px; }
}
