/*
 * WhatsApp floating button + branch picker
 */
.wa-float {
    bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    position: fixed;
    right: 20px;
    z-index: 1040;
}

.wa-float__panel {
    background: #fff;
    border-radius: 12px;
    bottom: 72px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    max-width: calc(100vw - 40px);
    min-width: 220px;
    opacity: 0;
    padding: 12px;
    pointer-events: none;
    position: absolute;
    right: 0;
    transform: translateY(10px) scale(.96);
    transform-origin: bottom right;
    transition: opacity .2s ease, transform .2s ease;
    visibility: hidden;
    width: 260px;
}

.wa-float.is-open .wa-float__panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.wa-float__title {
    color: #555;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.wa-float__branches {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.wa-float__branch {
    align-items: flex-start;
    background: #f4f7f5;
    border: 0;
    border-radius: 8px;
    color: #1b1b1b;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font-weight: 600;
    padding: 10px 12px;
    text-align: left;
    transition: background .15s ease;
    width: 100%;
}

.wa-float__branch:hover,
.wa-float__branch:focus {
    background: #e7f6ec;
    outline: none;
}

.wa-float__branch-name {
    font-size: 14px;
    line-height: 1.3;
}

.wa-float__button {
    align-items: center;
    background: #25d366;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 28px;
    height: 56px;
    justify-content: center;
    transition: background .15s ease, transform .15s ease;
    width: 56px;
}

.wa-float__button:hover,
.wa-float__button:focus {
    background: #1ebe57;
    color: #fff;
    outline: none;
    transform: scale(1.04);
}

.wa-float.is-open .wa-float__button {
    background: #128c7e;
}

.wa-float__button i {
    line-height: 1;
}

@media (max-width: 575.98px) {
    .wa-float {
        right: 16px;
        bottom: 16px;
    }

    .wa-float__panel {
        bottom: 68px;
        width: min(260px, calc(100vw - 32px));
    }
}
