.b2b-contact-menu {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: inherit;
}

.b2b-contact-menu[hidden],
.b2b-contact-menu [hidden] {
    display: none !important;
}

.b2b-contact-options {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    margin: 0 4px 12px 0;
}

.b2b-contact-menu .b2b-contact-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.b2b-contact-label {
    padding: 6px 12px;
    border: 1px solid rgb(25 67 130 / 20%);
    border-radius: 8px;
    background: #e5edec;
    color: #194382;
    box-shadow: 0 3px 6px rgb(0 0 0 / 12%);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}

.b2b-contact-circle,
.b2b-contact-toggle {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #ff6d00;
    color: #fff;
    box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
}

.b2b-contact-circle svg {
    width: 22px;
    height: 22px;
}

.b2b-contact-whatsapp {
    background: #25d366;
}

.b2b-contact-toggle {
    position: relative;
    width: 56px;
    height: 56px;
    padding: 0;
    cursor: pointer;
    transition: box-shadow 150ms ease, transform 150ms ease;
}

.b2b-contact-toggle svg {
    width: 24px;
    height: 24px;
}

.b2b-contact-toggle:hover {
    transform: scale(1.05);
}

.b2b-contact-toggle:focus-visible,
.b2b-contact-action:focus-visible {
    outline: 2px solid #194382;
    outline-offset: 4px;
    border-radius: 8px;
}

.b2b-contact-status-dot {
    position: absolute;
    top: 0;
    right: 1px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #00bf8f;
}

.b2b-contact-close-icon,
.b2b-contact-menu.is-expanded .b2b-contact-chat-icon,
.b2b-contact-menu.is-expanded .b2b-contact-status-dot {
    display: none;
}

.b2b-contact-menu.is-expanded .b2b-contact-close-icon {
    display: block;
}

.b2b-contact-menu.is-expanded .b2b-contact-toggle {
    box-shadow: 0 0 0 8px rgb(255 109 0 / 20%);
}

@media (max-width: 767px) {
    .b2b-contact-menu {
        right: 16px;
        bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .b2b-contact-toggle {
        transition: none;
    }
}
