/* Additional WhatsApp integrations for product cards */

/* WhatsApp button in product cards */
.product-card .whatsapp-quick {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 10;
}

.product-card:hover .whatsapp-quick {
    opacity: 1;
    transform: scale(1);
}

.whatsapp-quick:hover {
    background: #128c7e;
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

.whatsapp-quick svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* WhatsApp integration in catalog filters */
.catalog-whatsapp-help {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: rgba(37, 211, 102, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.catalog-whatsapp-help.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.catalog-whatsapp-help:hover {
    background: rgba(18, 140, 126, 0.9);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Product page WhatsApp enhancements */
.product-detail-buttons .whatsapp-btn {
    background: #25d366;
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-detail-buttons .whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.product-detail-buttons .whatsapp-btn img {
    width: 20px;
    height: 20px;
}

/* Mobile-specific enhancements */
@media (max-width: 768px) {
    .catalog-whatsapp-help {
        bottom: 85px;
        right: 15px;
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .product-card .whatsapp-quick {
        width: 32px;
        height: 32px;
        font-size: 14px;
        top: 8px;
        right: 8px;
    }
    
    .whatsapp-quick svg {
        width: 16px;
        height: 16px;
    }
    
    /* Show WhatsApp quick button always on mobile */
    .product-card .whatsapp-quick {
        opacity: 0.8;
        transform: scale(1);
    }
    
    .product-card:hover .whatsapp-quick,
    .product-card .whatsapp-quick:hover {
        opacity: 1;
    }
}
