* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e8e8e8;
    font-family: Arial, sans-serif;
}

#container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    width: 160px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: 1s ease;
}

.card:hover {
    transform: scale(1.3);
    background-color: #919191;
}

.card img {
    width: 100px;
    height: 120px;
    object-fit: contain;
    transition: 1s ease;
}


.card h3 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 4px;
    transition: 1s ease;
}

.card:hover h3 {
    color: #13eb6d;
}

.card span {
    font-size: 0.85rem;
    transition: 1s ease;
}

.card:hover span {
    transform: scale(1.1);
}

.card img:hover {
    transform: scale(1.2);
}

.card p {
    font-size: 0.80rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: 1.6s ease;
}

.card:hover p {
    opacity: 1;
    max-height: 100px;
}

.classificacaoProduto {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
}

.estrelas {
    color: yellow;
}

.nota-produto {
    color: #666;
    font-size: 0.9rem;
    font-weight: bold;
}