.header {
  background-color: var(--fundo-header);
  padding: 1em 0 1em;
  font-family: var(--vag);
}

.header .container {
  justify-content: space-between;
  align-items: center;
}

.header .input-nav-bar {
  /* margin-inline: auto; */
  max-width: 425px;
  width: 100%;
  background-color: transparent;
  border-radius: 8px;
  margin-bottom: 0px;
  margin-left: 29%;
  outline: hidden;
}

@media screen and (max-width: 768px) {
  .header .input-nav-bar {
    margin-inline: auto;
    max-width: 425px;
    width: 100%;
    background-color: transparent;
    border-radius: 8px;
    margin-bottom: 0px;
    /* margin-left: 29%; */
    outline: hidden;
  }
  .header .container {
  justify-content:center;
  align-items: center;
}
}

.header .input-nav-bar input[type="text"] {
  border: none;
  font-size: 13px;
  color: #555;
  height: 50px;
  background-color: var(--cinza-borda-produto);
  border-radius: 5px;
}

.header .input-nav-bar input[type="text"]:focus {
  border: 0;
  outline: none;
  box-shadow: none;
}

.header .input-nav-bar button[type="submit"] {
  background-color: transparent;
  border: 0;
  transition: all 0.3s ease;
  background-color: var(--cinza-borda-produto);
  border-radius: 5px;
}

.header .input-nav-bar button[type="submit"]:hover {
  cursor: pointer;
}

.header .input-nav-bar.mobile {
  display: none;
}

.header .cotacao {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  align-items: center;
}

.header .cotacao > div {
  display: flex;
  align-items: center;
  color: var(--branco);
}

.header .cotacao .flag {
  width: 25px;
  margin-inline: 0.2em;
}

.header .cart,
.mobile-bottom-nav .cart {
  position: relative;
  display: flex;
  color: #333;
  text-decoration: none;
}

.mobile-bottom-nav .cart img {
  width: 30px; /* Aumentado de 25px */
  height: 30px; /* Aumentado de 25px */
}

.cart-quantity {
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  height: 22px;
  width: 22px;
  font-size: 12px;
  font-weight: bold;
  color: var(--branco);
  background-color: var(--vermelho);
  border-radius: 50%;

  top: -8px;
  right: -8px;
}

.mobile-bottom-nav .cart-quantity {
  top: -8px;
  margin-right: 30%;
}

.mobile-bottom-nav {
  display: none;
}

@media screen and (max-width: 768px) {
  .header .cotacao,
  .header .links-menu,
  .header .input-nav-bar {
    display: none;
  }

  .header .input-nav-bar.mobile {
    display: block !important;
    margin-top: 1.2em;
  }

  .header .input-nav-bar .input-group {
    padding-left: 10px;
    padding-right: 10px;
  }

  .header .menu {
    display: none;
  }

  .only-desktop {
    display: none;
  }

  body {
    padding-bottom: 90px;
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: linear-gradient(
      0deg,
      rgb(0 0 0) 0%,
      rgb(0 0 0 / 85%) 70%,
      rgb(0 0 0 / 60%) 100%
    );
    /*background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 70%, rgba(255,255,255,0.60) 100%);*/
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
    min-height: 75px;
  }

  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--branco);
    text-decoration: none;
    flex-grow: 1;
    font-size: clamp(12px, 2.5vw, 14px);
  }

  .mobile-bottom-nav a svg {
    width: 2.8em;
    height: auto;
  }
}

.offcanvas.offcanvas-end {
  --bs-offcanvas-width: 100%;
  border-left: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 768px) {
  .offcanvas.offcanvas-end {
    --bs-offcanvas-width: 420px;
    border-left: 1px solid #dee2e6;
  }
}

.offcanvas-header {
  border-bottom: 1px solid #e9ecef;
}

.offcanvas-title {
  font-weight: 600;
  color: #212529;
}

.offcanvas-body {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.carrinho-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background-color: #f8f9fa;
}

.carrinho-lista {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1rem;
}

.carrinho-item {
  display: grid;
  grid-template-columns: 65px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #e9ecef;
  background-color: #fff;
}

.carrinho-item:first-child {
  border-top: 1px solid #e9ecef;
}

.carrinho-item__imagem {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #f1f3f5;
}

.carrinho-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.carrinho-item__nome {
  font-weight: 500;
  color: #343a40;
  line-height: 1.3;
  margin: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.carrinho-item__preco-e-remover {
  text-align: right;
}

.carrinho-item__preco {
  font-weight: 600;
  color: #212529;
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

.excluirItem__carrinho {
  background: none;
  border: none;
  color: #adb5bd;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.excluirItem__carrinho:hover {
  color: #dc3545;
}

.carrinho__descricao__quantidade {
  display: flex;
  align-items: center;
  border: 1px solid #ced4da;
  border-radius: 6px;
  width: fit-content;
}

.controle__quantidade {
  border: none;
  background: transparent;
  padding: 0.1rem 0.8rem;
  font-size: 1.4rem;
  cursor: pointer;
  color: #495057;
}

.controle__contador {
  width: 2.5em;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 500;
  border-left: 1px solid #ced4da;
  border-right: 1px solid #ced4da;
  color: #212529;
  padding: 0;
}

.carrinho-footer {
  padding: 1rem 1.5rem;
  background-color: #fff;
  border-top: 1px solid #e9ecef;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.subtotal-linha {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.subtotal-linha span:first-child {
  color: #495057;
}

.subtotal-linha span:last-child {
  font-size: 1.25rem;
}

.botao-whatsapp-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem;
  background-color: #25d366;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.botao-whatsapp-full:hover {
  background-color: #1ebe57;
}

.carrinho-vazio {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6c757d;
  padding: 2rem;
}

.carrinho-vazio p {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

/* Oculta a barra de ferramentas superior do Google Translate */
body {
  top: 0 !important;
}

.skiptranslate {
  display: none !important;
}

.cotacao-deverdade {
  display: flex; /* Alinha os dois pares de moeda lado a lado */
  align-items: center; /* Centraliza os itens verticalmente */
  gap: 15px; /* Espaço entre a cotação do Brasil e do Paraguai */
  color: #ffffff; /* Cor do texto (branco) */
}

.cotacao-deverdade .flag {
  display: flex; /* Alinha a bandeira e o valor lado a lado */
  align-items: center; /* Centraliza verticalmente */
  gap: 8px; /* Espaço entre a bandeira e o valor */
}

.cotacao-deverdade .flag img {
  width: 22px; /* Largura da bandeira */
  height: auto; /* Altura automática para manter a proporção */
  border-radius: 5px;
}

.cotacao-deverdade .flag strong {
  font-size: 14px; /* Tamanho da fonte */
  font-weight: 500; /* Deixa a fonte um pouco mais leve que o negrito padrão */
}


/*
 * Estilo para o novo botão de hambúrguer transparente
 */
.hamburger-limpo {
  /* Remove qualquer estilo de botão padrão */
  background-color: transparent;
  border: none;
  padding: 5px; /* Um pequeno preenchimento para facilitar o clique */
  
  /* Define a cor do ícone (as 3 barrinhas) */
  /* Troque para a cor que desejar: #000000 para preto, etc. */
  color: white; 
  
  /* Garante que o cursor mude para uma mãozinha ao passar por cima */
  cursor: pointer;
  
  /* Efeito suave de transição */
  transition: opacity 0.2s ease-in-out;
}

/* Efeito sutil ao passar o mouse ou focar no botão */
.hamburger-limpo:hover,
.hamburger-limpo:focus {
  opacity: 0.75;
}

/* Remove a borda azul que aparece em alguns navegadores ao clicar */
.hamburger-limpo:focus {
  outline: none;
}

/* Estilos para o Dropdown de Idiomas */

/* Contêiner principal do dropdown */
.lang-dropdown {
    position: relative; /* Essencial para posicionar o menu */
    display: inline-block;
}

/* Botão que abre o dropdown */
.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px; /* Espaço entre a bandeira e a seta */
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.lang-dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Estilo da setinha */
.lang-dropdown-toggle .dropdown-arrow {
    color: #ffffff;
    transition: transform 0.3s ease;
}

/* Gira a seta quando o menu está aberto */
.lang-dropdown.is-open .lang-dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

/* O menu suspenso (escondido por padrão) */
.lang-dropdown-menu {
    display: none; /* Escondido por padrão */
    position: absolute;
    top: 110%; /* Posição abaixo do botão */
    right: 0;
    background-color: #2c2c2c; /* Cor de fundo escura */
    border: 1px solid #444;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 150px; /* Largura do menu */
    z-index: 1050; /* Garante que fique sobre outros elementos */
    overflow: hidden;
}

/* Mostra o menu quando o contêiner tem a classe .is-open */
.lang-dropdown.is-open .lang-dropdown-menu {
    display: block;
}

/* Estilo dos links dentro do menu */
.lang-dropdown-menu .lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    color: #f0f0f0;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.lang-dropdown-menu .lang-switcher:hover {
    background-color: #3f3f3f;
    color: #ffffff;
}

.lang-dropdown-menu .lang-switcher .flag {
    width: 25px; /* Tamanho da bandeira no menu */
}