.fcw-fixed-contacts {
    position: fixed;
    bottom: var(--fcw-bottom, 50px);
    z-index: var(--fcw-zindex, 999);
}
.fcw-fixed-contacts[style*="--fcw-pos:right"] { right: 20px; left: auto; }
.fcw-fixed-contacts[style*="--fcw-pos:left"]  { left: 20px; right: auto; }

.fcw-mobile-only  { display: none; }
.fcw-desktop-only { display: block; }
@media (max-width: 767px) {
    .fcw-mobile-only  { display: block; }
    .fcw-desktop-only { display: none; }
}

.fcw-toggle {
    cursor: pointer;
    border-radius: 50%;
    width: var(--fcw-size, 64px);
    height: var(--fcw-size, 64px);
    border: 0;
    background: var(--fcw-color, #22c55e) !important;
    color: #fff;
    padding: 14px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    transition: transform .2s, box-shadow .2s;
    outline: none;
}
.fcw-toggle:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 24px rgba(0,0,0,.22);
}
.fcw-toggle:active {
    transform: scale(.96);
}
.fcw-toggle svg {
    width: 100%;
    height: 100%;
    color: #fff;
}

.fcw-menu {
    display: none;
    position: absolute;
    bottom: calc(var(--fcw-size, 64px) + 16px);
    width: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.16);
    overflow: hidden;
}
.fcw-fixed-contacts[style*="--fcw-pos:right"] .fcw-menu { right: 0; left: auto; }
.fcw-fixed-contacts[style*="--fcw-pos:left"]  .fcw-menu { left: 0; right: auto; }

.fcw-menu.fcw-open {
    display: block;
    animation: fcw-slide-up .25s ease-out;
}

@keyframes fcw-slide-up {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fcw-menu ul {
    list-style: none;
    margin: 0;
    padding: 6px;
}
.fcw-menu li {
    border-radius: 8px;
    transition: background .15s;
}
.fcw-menu li:hover {
    background: #f1f5f9;
}
.fcw-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    color: #1e293b;
    font-size: 14px;
    border-radius: 8px;
}
.fcw-menu a svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}
.fcw-menu a span {
    flex: 1;
}
.fcw-menu a:hover {
    color: var(--fcw-color, #22c55e);
}

.fcw-pulse {
    animation: fcw-pulse 1.5s infinite;
    background: var(--fcw-color, #22c55e);
    width: var(--fcw-pulse, 76px);
    height: var(--fcw-pulse, 76px);
    border-radius: 50%;
    position: absolute;
    top: calc(-1 * (var(--fcw-pulse, 76px) - var(--fcw-size, 64px)) / 2);
    left: calc(-1 * (var(--fcw-pulse, 76px) - var(--fcw-size, 64px)) / 2);
    z-index: -1;
    opacity: .35;
}
.fcw-pulse:nth-child(2) { animation-delay: .5s; }
.fcw-pulse:nth-child(3) { animation-delay: 1s; }

@keyframes fcw-pulse {
    0%   { transform: scale(.7); opacity: .45; }
    50%  { opacity: .2; }
    100% { transform: scale(1.3); opacity: 0; }
}

@media (max-width: 767px) {
    .fcw-fixed-contacts {
        bottom: 90px;
    }
    .fcw-fixed-contacts[style*="--fcw-pos:right"] {
        right: 12px;
    }
    .fcw-fixed-contacts[style*="--fcw-pos:left"] {
        left: 12px;
    }
    .fcw-menu {
        width: 210px;
    }
}
