/* ============================================
   Floating WhatsApp & Messenger Buttons
   ============================================ */
.pcod-floating-wrap {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99990;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pcod-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: pcod-float-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.pcod-float-wa {
    background: #25D366;
    animation-delay: 0.1s;
}

.pcod-float-msg {
    background: #0084FF;
    animation-delay: 0.2s;
}

.pcod-float-phone {
    background: #199f4b;
    animation-delay: 0s;
}

/* Pulse animation on Phone */
.pcod-float-phone::after {
    content: '';
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(25, 159, 75, 0.3);
    animation: pcod-pulse-phone 2s ease-out infinite;
    z-index: -1;
}

@keyframes pcod-pulse-phone {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

.pcod-float-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

@keyframes pcod-float-in {
    0% {
        transform: scale(0) translateY(20px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Pulse animation on WhatsApp */
.pcod-float-wa::after {
    content: '';
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: pcod-pulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes pcod-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 600px) {
    .pcod-floating-wrap {
        bottom: 14px;
        right: 14px;
    }

    .pcod-float-btn {
        width: 48px;
        height: 48px;
    }

    .pcod-float-wa::after {
        width: 48px;
        height: 48px;
    }

    .pcod-float-btn svg {
        width: 24px;
        height: 24px;
    }
}
