body {
    margin: 0;
    font-family: Arial, sans-serif;
    max-width: 100%;
    overflow-x: hidden; /* evita barra lateral no mobile */
}

/* Mantém compatibilidade com header existente */
.topo {
    background: #000;
    padding: 15px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.menu a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
}

.menu a:hover {
    color: red;
}

.vendas-home {
    padding: 60px 20px;
}

.grid-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.produto {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
}

.produto img {
    width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: red;
    color: #fff;
    text-decoration: none;
}

/* === CONTROLE DE TAMANHO DO LOGO NO HEADER === */
.logo-dimais{
    max-height: 90px;   /* altura ideal */
    width: auto;
    height: auto;
    display: block;
}

/* garante alinhamento correto no header */
.topo .logo{
    display: flex;
    align-items: center;
}

/* =========================
   MOBILE / RESPONSIVO
   ========================= */
@media (max-width: 900px){
    .container{
        width: 92%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu{
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    }

    .menu a{
        margin-left: 0;
        font-size: 14px;
    }

    .vendas-home{
        padding: 30px 14px;
    }

    .grid-produtos{
        gap: 14px;
    }
}
