/* WhatsApp Floating Button */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: white;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-btn:active {
    transform: scale(0.95);
}

.whatsapp-float-btn svg {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 2;
}

/* Pulse animation */
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: whatsapp-pulse 2s infinite;
    z-index: 1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* WhatsApp Send Button (for checkout confirmation) */
.btn-whatsapp-send {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin: 20px 0;
    width: 100%;
    max-width: 400px;
    justify-content: center;
}

.btn-whatsapp-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-send:active {
    transform: translateY(0);
}

.btn-whatsapp-send svg {
    width: 24px;
    height: 24px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .whatsapp-float-btn {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-float-btn svg {
        width: 28px;
        height: 28px;
    }

    .btn-whatsapp-send {
        font-size: 1rem;
        padding: 14px 24px;
    }
}

/* Hide on print */
@media print {

    .whatsapp-float-btn,
    .btn-whatsapp-send {
        display: none !important;
    }
}