* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.filtros {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 20px;
    background-color: #501414;
    height: 8vh;
    padding: 1rem;
}

input, select {
    padding: 2px;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
    height: 4vh;
}

#pesquisa {
    width: 40%;
    padding: 5px;
}

#setor {
    width: 50%;
    height: 50vh;
    color: #000;
}

#setor select {
    color: #fff;
}

.card-section {
    display: flex;
    justify-content: center;
    min-height: 60vh;
    max-width: 100%;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 2rem;
}

.card {
    background: #f5f5f5;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.card h3 {
    margin: 0.5rem 0;
    font-size: 1.3rem;
}

.card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

button.view-product {
    margin-top: auto;
    padding: 0.5rem 0.5rem;
    font-size: 1rem;
    color: #fff;
    background-color: #6C1111;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button.view-product:hover {
    background-color: #501414;
}

@media (min-width: 765px) {
    
    .produtos-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 0 2rem;
    }

    .filtros {
        gap: 30px;
    }

    input, select {
        font-size: 16px;
        height: 4.5vh;
    }
}

@media (min-width: 1025px) {
    input, select {
        font-size: 18px;
        height: 5vh;
    }

    .produtos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1540px) {
    .produtos-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
