@import url('base.css');

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin: auto;
    width: 1200px; /*Problema */
}

.produto {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 810px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 20px);
    box-sizing: border-box;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s;

}

.produto:hover {
    transform: scale(1.03);
}

h3{
    font-size: 1.5em;
    color: #8c6239;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.preco {

    font-size: 1.0em;
    font-weight: bolder;
    color: #000000;
    margin: 10px 0;
    
}

.produto-descricao {
    display: none;
    margin: 10px 0;
    color: #555;
    font-size: 1.0em;
}



#no_results{
    display:none;
    padding: 200px;
    text-align: center;
    width: 100%;
}

.d-flex {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

form {
    margin: 0;
}

@media (max-width: 768px){
    .menu-lateral {
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100%;
        background-color: #333;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
    }
    .container {
        flex-direction: column;
        padding: 7px;
        width: 100%;
        align-items: center;
    }

    .container .produto{
        width: 80%;
    }
}