body,
html {
  margin: 0;
  padding: 0;
}

section {
  width: 100%;
}

.container {
  display: flex;
}

.sidebar {
  overflow: auto; /* Isso permite o scroll quando necessário */
  -ms-overflow-style: none; /* IE e Edge */
  scrollbar-width: none; /* Firefox */

  width: 200px;
  height: 100vh;
  /* background-color: #4f2e2e; */
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(1, 1, 1, 0.165);
}

.sidebar:-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.slick-carousel-propaganda-celular {
  display: none;
  object-fit:cover;
}



.compreSeguroPopup {
  width: 300px;
  background-color: rgb(255, 255, 255);
  position: absolute;
  top: 370px;
  left: 150px;
  z-index: 13;
  color: var(--logo-color);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  border-style: dotted;
  display: none;
  user-select: none;
  height: 350px;
  overflow-y: auto;
}

/* Estilo personalizado para a barra de rolagem */
.compreSeguroPopup::-webkit-scrollbar {
  width: 8px; /* Largura da barra de rolagem */
  margin-right: 10px;
}

.compreSeguroPopup::-webkit-scrollbar-track {
  background: #f1f1f1; /* Cor de fundo da barra de rolagem */
}

.compreSeguroPopup::-webkit-scrollbar-thumb {
  background: #888; /* Cor do polegar da barra de rolagem */
  border-radius: 4px; /* Borda arredondada */
}

.compreSeguroPopup::-webkit-scrollbar-thumb:hover {
  background: #555; /* Cor do polegar da barra de rolagem ao passar o mouse */
}
.compreSeguroPopup p{
  margin-top: 10px;
  margin-bottom: 10px;
  width: 80%;
  
}

.menu {
  display: flex;
  flex-direction: column;
  width: 90%;
  border-bottom: 1px solid rgba(1, 1, 1, 0.1);
}
.fecharimg {
  display: none;
}
.sidebar img {
  margin-top: 20px;
  margin-bottom: 20px;
}

.logo {
  width: 80%;
  cursor: pointer;
}

.menuContent {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.menuContent img {
  margin: 0px 10px 0px 10px;
  width: 30px;
}

.link {
  text-decoration: none;
  font-size: var(--p-size);
  font-weight: 500;
  color: var(--secondary-color);
  margin-left: 20px;
  cursor: pointer;
  user-select: none;
}

.link:hover {
  color: var(--p-color);
}

.sidebar .propaganda {
  margin-top: 20px;
  width: 182px;
  height: 80%;
  object-fit:cover;
}
.sidebar .propaganda img {
  width: 100%;
  height: auto;
  margin-top: 0;
}

.content {
  margin-left: 200px; /* Largura da barra lateral */
  width: calc(100% - 200px); /* Largura do restante da tela */
  overflow-y: hidden; /* Adiciona uma barra de rolagem vertical se necessário */
  display: flex;
  justify-content: center;
  flex-direction: column;
  /*background-color:black;*/
  align-items: center
}

.containerCenter {
  width: 80%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.headerMenu {
  display: flex;
  width: 91%;
  justify-content: center;
  position: relative;
}
.headerMenu .logo {
  display: none;
}
.containerCenter h1 {
  color: var(--h1-color);
}
.containerCenter .menuAmburgue {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: none;
}

.containerCenter .input {
  margin-bottom: 20px;
}

.containerCenter .input label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.containerCenter .input input {
  width: 100%;
  height: 50px;
  border-radius: 50px;
  padding-left: 15px;
  vertical-align: center;
  border: 1px solid var(--h1-color); /* Cor e largura da borda */
}

.containerCenter .selectDiv {
  width: 100%;
  background-color: #ffffff;
  padding: 12px 20px 12px 20px;
  margin: 8px 0;
  border: 1px solid var(--h1-color);
  border-radius: 50px;
  box-sizing: border-box;
}
.containerCenter .selectDiv select {
  width: 100%;
  display: inline-block;
  border: none;
  outline: none;
  display: flex;
}

/* Carrosel */

.slick-prev,
.slick-next {
  z-index: 1;
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 50px; /* Largura da imagem da seta */
  height: 50px; /* Altura da imagem da seta */

  cursor: pointer;
}
.slick-prev:before,
.slick-next:before {
  font-size: 60px; /* Tamanho das setas */
}

.slick-prev {
  left: 30px; /* Posição do botão "Anterior" */
}

/* Girar a seta do "Next" em 180 graus */
.slick-next {
  display: block;
  margin-right: 50px;
  font-size: 60px;
}

/* fim Carrosel */

/* inicio Card dos veiculos */

.cardDash {
  width: 216px;
  /* height: 400px; */
  border-radius: 4%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  margin-left: 20px;
  position: relative;
  word-break: break-word;
  text-align: center;
}
.cardDash .imgCar {
  display: block; /* Garante que a imagem se comporte como um bloco */
  width: 100%; /* Garante que a imagem ocupe todo o espaço disponível */
  height: 180px;
  border-radius: 4% 4% 0% 0%;
  object-fit:cover;
}

.novoUsado {
  position: absolute;
  left: 20px;
  top: 30px;
  background-color: #ffffff;
  width: 60px;
  height: 20px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.5;
}

.novoUsado p {
  font-size: 13px;
  color: var(--p-color);
}

.novoUsado:hover {
  opacity: 1;
}

.logoLojaCard{
  cursor: pointer;
  width: 60px;
  height: 60px;
  background-color: rgb(232, 232, 232);
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items:center;
  position: absolute;
  left: 20px;
  top: 120px;
  border-radius: 100%;
}
.cardLoja p{
  width: 150px;
  overflow-wrap: break-word; /* Quebra o texto quando necessário */
  height: 40px;
  overflow: auto;
  text-align: center;
}
.logoLojaCard img{
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  border-radius: 100%;
  
}
.cardBottom {
  width: 100%;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.27);
  border-left: 1px solid rgba(0, 0, 0, 0.27);
  border-right: 1px solid rgba(0, 0, 0, 0.27);
  border-radius: 0% 0% 4% 4%;
  margin-bottom: 20px;
}

.divNomeveiculo{
  width: 80%;
}
.cardDash .cardBottom .nomeVeiculoMarca {
  padding: 3px;
  font-size: 10px;
  
  margin: 10px 0px;
  background-color: rgb(187, 187, 187);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--h1-color);
  height: auto;
  width: 80%;
}

.divNomeveiculoModelo{
  width: 80%;
 
} 
.cardDash .cardBottom .nomeVeiculoModelo{
  font-size: 20px;
  color: var(--h1-color);
  font-weight: 500;
  overflow: auto;
  height: 64px;
  text-align: center;
  font-weight: 700;
}

.info {
  width: 80%;
  display: flex;
  flex-direction: column;
}
.infoVeiculo {
  width: 100%;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  padding: 2px;
}
.infoVeiculo img {
  width: 23px;
  margin-right:5px;
}
.valorVeiculo{
  font-weight: 700;
  color: var(--h1-color);
  font-size: 20px;
  letter-spacing: -1px;
}

.verMais {
  margin-top: 10px;
  width: 150px;
  height: 40px;
  border-radius: 100px;
  background-color: var(--h1-color);
  color: var(--primary-color);
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  margin-bottom: 10px;
}

.verMais:hover {
  background-color: var(--secondary-color);
}

.buttonTabelafipe {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tabelaFipe {
  margin-top: 10px;
  width: 200px;
  height: 40px;
  border-radius: 100px;
  background-color: var(--h1-color);
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.tabelaFipe img {
  margin-right: 4px;
}

.buttonTabelafipe a {
  text-decoration: none;
  position: relative;
}

.inputLoja {
  display: flex;
  justify-content: end;
  align-items: center;
}

.inputLoja input {
  width: 100%;
  height: 50px;
  border-radius: 50px;
  padding-left: 15px;
  vertical-align: center;
  border: 1px solid var(--h1-color);
  display: flex;
}
.inputLoja img {
  position: absolute;
  margin-right: 20px;
}
/* Fim Card dos veiculos */

/* lojas paerceira */
.lojasParceiras {
  margin-top: 20px;
  width: 100%;
  max-height: 700px;
  min-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid #bbbbbbbd;
}
.cardLoja {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: var(--p-size);
  font-weight: 800;
  margin-bottom: 10px;
}
.logoLoja {
  cursor: pointer;
  width: 150px;
  height: 150px;
  border-radius: 100%;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--logo-color);
  margin-bottom: 10px;
}

.imgLogo{
  max-width: 150px;
  max-height: 150px;
  min-width: 150px;
  min-height: 150px;
  border-radius: 100%;
}

/* Aplicar margem direita apenas aos elementos na primeira linha */

/* Fim lojas parceira */

@media (max-width: 768px) {
  .cardDash .cardBottom .nomeVeiculoModelo{
    font-size: 14px;
  }
  .compreSeguroPopup{
    margin-top: 10px;
    height: 40%;
    left: 50%;
    transform: translateX(-50%);

  }
  .propaganda {
    display: none;
    
  }
  .slick-carousel-propaganda-celular{
    display: block;
  }
  .propagandaMobile{
    display: flex;
    object-fit: contain;
    margin-top: 20px;
    width: 100%;
    height: 250px;
  }
  .propagandaMobile img {
    width: 100%;
    height: 100%;
    max-height: 250px;
    min-height: 250px;
  }
  /* .slick-track img{
    width: 349px !;
    height: 250px;
  } */
  .slick-next {
    display: none !important;
    opacity: 0;
  }
  .slick-prev {
    display: none !important;
    opacity: 0;
  }

  .sidebar {
    width: 150px;
    display: none;
  }
  .sidebar img {
    width: 200px;
  }
  .sidebar .fecharimg {
    width: 20px;
    position: absolute;
    right: 5%;
    top: 1%;
    cursor: pointer;
  }

  .menu {
    display: flex;
    flex-direction: column;
    width: 90%;
    border-bottom: 1px solid rgba(1, 1, 1, 0.1);
  }

  .sidebar img {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .headerMenu {
    background-color: var(--color-white);
    z-index: 9999;
    padding: 10px;
  }
  .h1Destaque {
    margin-top: 100px;
  }
  .headerMenu .logo {
    display: flex;
    width: 100px !important;
  }

  .menuContent {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
  }

  .menuContent img {
    margin: 0px 5px 0px 5px;
    width: 20px;
  }

  .link {
    text-decoration: none;
    font-size: var(--p-size);
    font-weight: 500;
    color: var(--secondary-color);
    margin-left: 10px;
  }
  .menuAmburgue {
    cursor: pointer;
  }

  .content {
    margin-left: 0px;
    width: 100%; /* Largura do restante da tela */
    overflow-y: hidden; /* Adiciona uma barra de rolagem vertical se necessário */
    display: flex;
    justify-content: center;
  }

  .containerCenter {
    width: 91%;
    display: flex;
    flex-direction: column;
  }

  .containerCenter .menuAmburgue {
    display: flex;
  }

  .logoLoja {
    width: 100px;
    height: 100px;
  }
  .logoLoja img {
    max-width: 100px;
    max-height: 100px;
    min-width: 100px;
    min-height: 100px;
    border-radius: 100%;
  }
  .cardLoja {
    font-size: 12px;
  }

}

@media (max-width: 363px) {
  .compreSeguroPopup{
    width: 70%;

  }
  .compreSeguroPopup p{
    font-size: 15px;
  }
  .cardLoja {
    font-size: 10px;
  }
  .logoLoja {
    width: 70px;
    height: 70px;
  }
  .logoLoja img {
    max-width: 70px;
    max-height: 70px;
    min-width: 70px;
    min-height: 70px;
}
}


@media (max-width: 329px) {
  .cardLoja{
    margin-left: 10px;
    width: 90px;
    overflow-x:hidden;
  }
  .cardLoja p{
    width: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .logoLoja{
    margin-bottom: 0px;
  }
}
