/* Product Card */
.product-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.2s;
    height: 100%; /* Para cards de altura uniforme */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

/* Top Banner (Promoção ou Frete Grátis) */
.product-card .top-banner {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #ff5722; /* Laranja vibrante */
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
 
/* Product Image */
.product-card .product-card-img {
    width: 100%; /* Ocupa 100% da largura do card */
    height: 200px; /* Altura fixa */
    background: no-repeat center; /* Centraliza a imagem */
    background-size: cover; /* Faz com que a imagem preencha toda a área, cortando excessos se necessário */
    border-bottom: 1px solid #e0e0e0; /* Linha separadora elegante */
    transition: transform 0.3s ease; /* Animação suave para hover */
}

/* Hover para destacar imagem */
.product-card:hover .product-card-img {
    transform: scale(1.05); /* Leve efeito de zoom no hover */
}

/* Responsividade para Mobile */
@media (max-width: 576px) {
    .product-card .product-card-img {
        height: 150px; /* Reduz a altura para telas menores */
    }
}



/* Product Details */
.product-card .product-card-body {
    padding: 12px;
    text-align: left;
}

.product-card .product-card-body .product-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.product-card .product-card-body .selling-price {
    font-size: 16px;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 6px;
}

.product-card .product-card-body .sales-info {
    font-size: 12px;
    color: #333; /* Preto discreto */
    margin-bottom: 6px;
}

.product-card .product-card-body .views-info {
    font-size: 12px;
    color: #555; /* Cinza escuro */
    margin-bottom: 10px;
}

/* Buy Button */
.product-card .buy-now-btn {
    display: block;
    text-align: center;
    background-color: #3498db;
    color: #fff;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.product-card .buy-now-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}
