
/* ============================================================
   DOODOO DISCOS | CSS CONSOLIDADO 5.5 | 22/10/2026
   Alinhamento de produtos, preços e condições de pagamento
   ============================================================ */

/* 1. IDENTIDADE VISUAL */
body {
  background-color: #F7F3E9;
  color: #222222;
  font-family: "Open Sans", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", Arial, sans-serif;
  line-height: 1.3;
}

/* 2. BOTOES */
.btn-primary {
  background-color: #FFDA00;
  border-color: #FFDA00;
  color: #222222;
  border-radius: 7px;
  font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #F0C900;
  border-color: #F0C900;
  color: #111111;
}

/* 3. CARTOES */
.listagem .listagem-item {
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.035);
  box-sizing: border-box;
}

.listagem .listagem-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
}

/* 4. IMAGENS: NAO ALTERAR A VITRINE */
.listagem .imagem-produto {
  overflow: hidden;
  border-radius: 6px;
}

.listagem .imagem-produto img {
  max-width: 100%;
  height: auto;
}

/* 5. NOMES DOS PRODUTOS */
.listagem .listagem-item .nome-produto {
  color: #222222;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.listagem .listagem-item .nome-produto:hover {
  color: #E10614;
}

.listagem .titulo {
  font-weight: 700;
  line-height: 1.35;
}

/* 6. PRECOS */
.listagem .listagem-item .preco-produto {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.4;
}

/* Preco antigo e promocional na mesma linha */
.listagem .listagem-item .preco-produto > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 6px;
  row-gap: 3px;
}

.listagem .listagem-item .preco-produto s.preco-venda {
  color: #999999;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  display: inline;
  width: auto;
  margin: 0;
}

.listagem .listagem-item .preco-produto strong.preco-promocional {
  color: #222222;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  display: inline;
  width: auto;
  margin: 0;
}

/* 7. PARCELAMENTO */
.listagem .listagem-item .preco-parcela {
  display: block;
  color: #666666;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  margin-top: 8px;
}

/* 8. PIX */
.listagem .listagem-item .desconto-a-vista {
  display: block;
  margin-top: 4px;
  color: #16803C;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.listagem .listagem-item .desconto-a-vista strong,
.listagem .listagem-item .desconto-a-vista .cor-secundaria {
  color: #16803C;
  font-weight: 700;
}

/* 9. PRODUTO INDIVIDUAL */
.produto .nome-produto {
  color: #222222;
  font-weight: 700;
  line-height: 1.3;
}

.produto .acoes-produto {
  border-radius: 10px;
}

.produto .acoes-produto .btn-primary {
  background-color: #FFDA00;
  border-color: #FFDA00;
  color: #222222;
}

input[type="text"],
input[type="search"],
input[type="email"] {
  border-radius: 6px;
}

.banner .slides img {
  border-radius: 6px;
}

/* 10. DESKTOP: ALINHAMENTO DOS CONTEUDOS */
@media screen and (min-width: 768px) {

  .listagem .listagem-item .info-produto {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-width: 0;
  }

  /* Area uniforme para nomes */
  .listagem .listagem-item .nome-produto {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 88px;
    min-height: 88px;
    max-height: none;
    margin: 0 0 6px;
    padding: 0 7px;
    box-sizing: border-box;
  }

  /* O div intermediario contem o bloco de precos */
 .listagem .listagem-item .info-produto > div {
  width: 100%;
  margin: 0;
  padding: 0;
}

  .listagem .listagem-item .preco-produto {
    width: 100%;
    min-height: 105px;
    margin: 0;
    padding: 0 5px;
    text-align: center;
    box-sizing: border-box;
  }

 .listagem .listagem-item .preco-produto strong.preco-promocional {
  font-size: 21px;
}

}

/* 11. CELULAR */
@media screen and (max-width: 767px) {

  .listagem .listagem-item {
    border-radius: 7px;
  }

  .listagem .listagem-item .info-produto {
    display: block;
  }

  .listagem .listagem-item .nome-produto {
    display: block;
    height: auto;
    min-height: 0;
    font-size: 13px;
    margin-bottom: 6px;
    padding: 0 3px;
  }

  .listagem .listagem-item .preco-produto {
    height: auto;
    min-height: 0;
    padding: 0 2px;
  }

  .listagem .listagem-item .preco-produto
  strong.preco-promocional {
    font-size: 18px;
  }

  .listagem .listagem-item .preco-parcela,
  .listagem .listagem-item .desconto-a-vista {
    font-size: 12px;
  }

}

/* ===========================================
   DOODOO DISCOS | CABECALHO 1.0
   Ajustes visuais discretos
   =========================================== */

/* Campo de busca */
#cabecalho .busca input {
  border-radius: 8px;
  border: 1px solid #DDDDDD;
  transition: border-color .2s ease,
              box-shadow .2s ease;
}

#cabecalho .busca input:focus {
  border-color: #FFDA00;
  box-shadow: 0 0 0 2px rgba(255,218,0,.15);
  outline: none;
}

/* Links do menu principal */
#cabecalho .menu.superior .nivel-um > li > a {
  transition: color .2s ease;
}

#cabecalho .menu.superior .nivel-um > li > a:hover {
  color: #FFDA00;
}

/* Evitar mudancas inesperadas no celular */
@media screen and (max-width: 767px) {
  #cabecalho .busca input {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* ============================================
   DOODOO DISCOS - AJUSTE DO BANNER PRINCIPAL
   Etapa 1 - Desktop
   ============================================ */

@media screen and (min-width: 992px) {

  /* Limita a largura visual do carrossel */
  .banner.cheio .slides,
  .banner.tarja .slides {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Preserva a proporcao original das imagens */
  .banner.cheio .slides img,
  .banner.tarja .slides img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

}
