/* WhatsApp Icon Styling for Product Page */
.whatsapp-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #25D366;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon i {
    font-size: 20px;
}

/* Animation for WhatsApp icon */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-icon:hover {
    animation: pulse 1.5s infinite;
}

/* Dark mode support */
body.dark-mode .whatsapp-icon {
    background: #25D366;
    color: white;
}

body.dark-mode .whatsapp-icon:hover {
    background: #128C7E;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .whatsapp-icon {
        width: 32px;
        height: 32px;
    }
    
    .whatsapp-icon i {
        font-size: 16px;
    }
}
