/* Estilos para cards de produtos no estilo AliExpress/Alibaba */

.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 6px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.product-card:hover .product-actions {
    opacity: 1 !important;
}

.product-image-container {
    background-color: #f8f9fa;
    position: relative;
}

.product-image-container img {
    transition: transform 0.3s;
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Badge de promoção */
.badge.bg-danger {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsividade */
@media (max-width: 576px) {
    .product-image-container {
        height: 150px !important;
    }
    
    .card-title {
        font-size: 0.9rem;
        height: 32px !important;
    }
    
    .fw-bold.text-danger {
        font-size: 1rem !important;
    }
}
