.g_ .logo a > img{max-height: 140px !important;}
/* Aumentar logo no tema Galeria */
.header .logo img {
  max-height: 140px !important;
  width: auto !important;
}
body {
  overflow-x: hidden;
}
/* Remove espaço extra no rodapé mobile */
html, body {
  height: auto !important;
  min-height: auto !important;
  overflow-x: hidden;
}

/* Remove containers vazios no rodapé */
footer,
.footer,
.rodape,
.rodape-inferior {
  min-height: auto !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Garante que nada fixo empurre o layout */
body::after {
  display: none !important;
  content: none !important;
}
#jivo-iframe-container,
.jivo-frame,
[class*="jivo"] {
  display: none !important;
}
/* Remove faixa vazia no final do site (tema Galeria) */
body > div:last-child {
  display: none !important;
}

/* Garante que o rodapé não reserve espaço extra */
footer,
#rodape,
.rodape,
.rodape-inferior {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  min-height: unset !important;
}

/* Remove altura forçada da página */
html, body {
  height: auto !important;
  min-height: auto !important;
}
/* MOBILE – reduzir espaços excessivos */
@media (max-width: 768px) {
  .listagem-item,
  .produto,
  .conteiner {
    margin-bottom: 12px !important;
  }

  h1, h2, h3 {
    margin-bottom: 10px !important;
  }
}
/* MOBILE – botão comprar mais forte */
@media (max-width: 768px) {
  .botao-comprar,
  .botao.principal {
    font-size: 16px !important;
    padding: 14px !important;
    border-radius: 10px !important;
  }
}
/* MOBILE – destaque de preço */
@media (max-width: 768px) {
  .preco,
  .preco-promocional {
    font-size: 18px !important;
    font-weight: 700 !important;
  }
}
/* MOBILE – 2 produtos por linha */
@media (max-width: 768px) {
  .listagem .listagem-item {
    width: 50% !important;
    float: left !important;
  }

  .listagem {
    display: block !important;
  }
}
/* MOBILE – forçar 2 produtos por linha (Tema Galeria) */
@media (max-width: 768px) {

  .listagem {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  .listagem .listagem-item {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 768px) {
  .listagem-item {
    padding: 8px !important;
  }
}

/* MOBILE – limitar nome do produto */
@media (max-width: 768px) {
  .nome-produto {
    font-size: 14px !important;
    line-height: 1.2 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; /* máximo 2 linhas */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
}
/* MOBILE – 1 produto por linha bem alinhado e compacto */
@media (max-width: 768px) {

  /* centraliza o card */
  .listagem-produtos ul.listagem > li {
    margin: 0 auto 16px auto !important;
    padding: 0 !important;
  }

  /* remove espaços internos exagerados */
  .listagem-item {
    padding: 12px !important;
  }

  /* imagem do produto mais presente */
  .listagem-item .imagem-produto {
    margin-bottom: 8px !important;
  }

  /* nome já limitado (reforçando) */
  .nome-produto {
    font-size: 14px !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
  }

  /* preço mais próximo do nome */
  .preco,
  .preco-promocional {
    margin-bottom: 8px !important;
  }

  /* botão comprar mais confortável */
  .botao-comprar,
  .botao.principal {
    width: 100% !important;
    padding: 14px !important;
    border-radius: 10px !important;
  }
}

