
body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
    text-align: center;
}

h1 {
    margin-top: 20px;
}

input#searchInput {
    margin: 10px;
    padding: 8px;
    width: 200px;
}

.produtos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
    padding: 10px;
}

.produto {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    max-width: 250px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    text-align: center;
    box-sizing: border-box;
    flex: 1 1 calc(100% - 40px);
}

.imagem-produto {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
}

.categoria {
    margin: 10px auto;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    display: inline-block;
    color: #fff;
}

/* Cores atualizadas */
.disponivel { background-color: #28a745; }
.reservado_sem_pix { background-color: #fd7e14; }
.reservado_com_pix { background-color: #007bff; }
.vendido { background-color: #dc3545; }

.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#imagem-modal {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.fechar {
    position: absolute;
    top: 20px; right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

@media screen and (max-width: 600px) {
    .produtos-container {
        flex-direction: column;
        align-items: center;
    }

    .produto {
        max-width: 90%;
        margin: 0 auto;
    }
}
