:root {
  --cor-primaria: #1c2433;
  --cor-destaque: #1c2433;
  --cor-primaria-fonte: #ffffff;
  --cor-destaque-fonte: #ffffff;
  --cor-footer: #1c2433;
  --cor-footer-fonte: #ffffff;
  --cor-destaque: #1c2433;
  --cor-compra-rapida: #1c2433;
  --cor-compra-rapida-hover: #d40000;
  --cor-preco-compra-rapida-desconto: #d9534f;
  --cor-preco-compra-rapida-normal: #080808;
  --cor-preco-desconto: #d9534f;
  --cor-preco-normal: #555;
  --cor-botao: #1c2433;
  --cor-botao-hover: #0552a5;
  --cor-botao-verde: #004d4d;
  --cor-patrociado: #dd6a0b;
  --cor-botao-quantidade: #0552a5;
  --cor-fundo-carrinho: white;
  --cor-titulo-carrinho: #004d4d;
  --cor-deletar: #ff4d4d;
  --cor-deletar-hover: #d40000;
  --cor-finalizar-pedido: #004d4d;
  --itens-por-linha: 5;
  --resolução-max-encarte: 1200px;
}

/* ✅ SEMPRE USAR border-box para evitar overflow com padding */
* {
  box-sizing: border-box;
}

/* ✅ Corrigir largura e rolagem lateral indesejada */
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* <-- isso impede o scroll lateral */
  overflow-y: scroll;
  font-family: Arial, sans-serif;
  background-color: var(--cor-fundo);
  min-height: 100vh;
}


/* =======================================================================  HEADER ================== */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: var(--cor-primaria);
  color: var(--cor-primaria-fonte);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  height: 100px;
  display: flex;
  justify-content: center;
  /* para centralizar o container */
  align-items: center;
  padding: 0;
  /* Não adicione padding lateral aqui */
}


.header-container {
  width: 100%;
  max-width: var(--resolução-max-encarte);
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Aqui sim pode ter padding interno */
}


/* Logo à esquerda */
.header-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0%;
}

/* Carrinho à direita */
.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 0%;
}

/* Logo */
.header-left img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

#resumo-vendas {
  font-size: 14px;
  font-weight: bold;
}

/* ÍCONE DO CARRINHO */
#icone-carrinho-container {
  position: relative;
  display: inline-block;
  font-size: 20px;
  margin-left: 10px;
  cursor: pointer;
}

#subtitulo-1 {
  font-size: 12px;
  text-align: right;
  line-height: 1.2;
  margin: 0;
  /* Remove margens */
}

#subtitulo-2 {
  margin-top: 101px;
  /* Aumente o espaço externo entre header e subtítulo */
  padding: 10px 5px;
  /* Espaço interno confortável */
  background-color: var(--cor-destaque);
  color: var(--cor-destaque-fonte);
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  border-radius: 1px;
  min-height: 5px;
  scroll-margin-top: 110px;
  z-index: 999;
}

.toast-aviso {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2563eb;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.toast-aviso.visivel {
  opacity: 1;
}


.barra-ordenacao button {
  background-color: var(--cor-primaria);
  color: white;
  border: none;
  padding: 18px 18px 18px 18px;
  font-size: 13px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.barra-ordenacao button:hover {
  background: linear-gradient(90deg, #1c2433, #004d4d);
}

.navegacao-container {
  display: flex;
  /* Ativa o flexbox */
  flex-wrap: wrap;
  /* Permite que os itens que não cabem na linha sejam movidos para a linha seguinte */
  justify-content: space-between;
  /* Distribui os itens uniformemente ao longo do contêiner */
  align-items: center;
  /* Alinha os itens verticalmente no centro */
  width: 100%;
  /* Garantir que o contêiner ocupe toda a largura disponível */
  padding: 0;
  /* Removido o padding extra */
  margin-bottom: 1px;
  /* Reduz o espaço na parte inferior do contêiner */

  border: 1px solid #ccc;
  /* Moldura suave, com cor cinza clara */
  border-radius: 8px;
  /* Bordas arredondadas */

  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* Sombra suave */
}

/* ================== CARROSSEL ================== */

/* Estiliza as imagens do carrossel */
.carousel-image {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Ajuste no posicionamento da legenda */
.carousel-caption {
  position: absolute;
  width: 100%;
  color: white;
  padding: 10px;
  box-sizing: border-box;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  /* Ajuste para alinhar os itens ao fundo */
  height: auto;
}

/* Estilo do container do preço */
.preco-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
  /* Espaçamento abaixo do preço */
}

.produto-preco {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 19px;
  font-weight: bold;
  gap: 10px;
  /* Aumenta o espaço entre os preços */
}

/* Estilo para o preço antigo */
.preco-antigo {
  text-decoration: line-through;
  /* Risca o preço antigo */
  font-size: 14px;
  /* Tamanho do preço antigo */
  color: var(--cor-preco-compra-rapida-desconto);
  /* Cor mais suave para o preço antigo */
}

/* Estilo para o preço atual */
.preco-atual {
  color: var(--cor-preco-compra-rapida-normal);
  /* Cor do preço atual */
  font-size: 16px;
  /* Tamanho do preço atual */
}

/* Estilo do botão de compra rápida */
.compra-rapida-container {
  display: flex;
  justify-content: center;
  /* Alinha o botão ao centro */
}

.btn-comprar-rapido {
  background-color: var(--cor-compra-rapida);
  /* Cor de fundo do botão */
  color: white;
  /* Cor do texto */
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  /* Bordas arredondadas */
  transition: background-color 0.3s;
}

#cumprimentoBemvindos {
  font-size: 13px;
  text-align: center;
  /* Centraliza o texto */
}

/* ================== PRODUCT GRID ================== */
#encarte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px;
}


.transparente {
  background-color: transparent;
  border: 1px solid #ccc;
  color: #333;
}

.verde {
  background-color: green;
  border: 1px solid darkgreen;
  color: white;
}

/* Estilo para o botão de voltar ao topo */
#btn-voltar-topo {
  position: fixed;
  bottom: 45px;
  /* Ajustado para ficar mais próximo ao rodapé */
  left: 50%;
  /* Centraliza horizontalmente */
  transform: translateX(-50%);
  /* Ajuste para garantir que o botão fique centralizado */
  display: none;
  /* Inicialmente escondido */
  background-color: var(--cor-destaque);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
  transition: opacity 0.3s ease;
  /* Adicionando transição para suavizar a visibilidade */
}

/* Mostrar o botão quando o usuário rolar a página */
#btn-voltar-topo.show {
  display: block;
}

.whatsapp-container {
  position: fixed;
  left: 10px;
  bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
}

/* ================== PRODUCT CARD STYLING ================== */
.produto {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cor-fundo);
  border-radius: 8px;
  padding: 5px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12), 0 4px 6px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  /* Remover ou ajustar o height fixo: */
  /* height: auto; */
}


/* Imagem do Produto */
.produto img {
  width: auto;
  /* Mantém a proporção */
  height: 80%;
  /* Faz com que a imagem ocupe toda a altura do contêiner */
  max-width: 100%;
  /* Impede que a imagem ultrapasse a largura do contêiner */
  object-fit: contain;
  /* Mantém a imagem ajustada sem cortar */
}

.produto:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15), 0 6px 8px rgba(0, 0, 0, 0.10);
}

/* "Sponsored" Text */
.produto-flag-patrocinado {
  background-color: var(--cor-patrociado);
  color: white;
  text-transform: initial;
  text-align: center;
  padding: 2px 5px;
  /* Adjust the padding to reduce the space it occupies */
  font-size: 12px;
  /* Adjust the font size to make it smaller */
  border-radius: 3px;
  /* Optional: Add border radius for better appearance */
  margin-bottom: 5px;
  /* Optional: Add margin to separate it from other elements */
  margin-left: 20%;
  margin-right: 20%;
  display: inline-block;
  /* Ensures the width is only as wide as the content */
}

/* Product Information */
.produto-info .obsfoto {
  font-size: 9px;
  color: #555;
  margin-bottom: 6px;
  /* AQUI entra o espaço */
  display: block;
  /* Garante que o margin-bottom funcione se tiver conflito */
}

.produto-info h3 {
  font-size: 15px;
  color: #555;
  margin: 5px 0;
}

.produto-info p {
  font-size: 12px;
  color: #555;
}

/* Prices */
.produto-preco {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  /* Espaçamento abaixo dos preços */
}

.produto-preco-valor-de {
  text-decoration: line-through;
  color: var(--cor-preco-desconto);
  font-size: 14px;
}

.produto-preco-valor-por {
  font-size: 16px;
  font-weight: bold;
  color: var(--cor-preco-normal);
}

/* Container das colunas de preço */
.produto-preco-colunas {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #555;
  margin: 5px 0;
  text-align: center;
}

/* Cada coluna individual (De / Por) */
.coluna-preco {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 35%;
}

/* Rotulo (De / Por) com borda superior arredondada */
.rotulo-preco {
  font-size: 12px;
  font-weight: bold;
  color: white;
  padding: 2px 10px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom: none;
  margin-bottom: 0;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* Cor do rótulo "De" */
.rotulo-de {
  background-color: #b00020;
}

/* Cor do rótulo "Por" */
.rotulo-por {
  background-color: #004d4d;
}

/* Moldura dos preços */
.produto-preco-caixa {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 4px 0;
  border: 1px solid #ccc;
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  box-sizing: border-box;
}

.rotulo-preco {
  font-size: 12px;
  font-weight: bold;
  color: white;
  background-color: var(--cor-botao-quantidade);
  padding: 2px 10px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom: none;
  margin-bottom: 0;
  width: 100%;
  /* 👉 força o span a ocupar toda a largura da coluna */
  text-align: center;
  /* 👉 centraliza o texto dentro da "caixa" */
  box-sizing: border-box;
  /* garante que padding e border contem na largura total */
}

.produto-flag-especial {
  background-color: #730a8d;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  display: inline-block;
  margin-top: 4px;
}

.produto-flag-indisponivel {
  background-color: #fbff00;
  color: rgb(156, 3, 10);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  display: inline-block;
  margin-top: 4px;
}

/* ================== PRODUCT BUTTONS ================== */
.produto-controles {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Makes the button aligned to the right */
  margin-top: auto;
  /* Mantém o botão fixo no final */
  padding-bottom: -15px;
}

.btn-carrinho {
  background: linear-gradient(90deg, #1c2433, #004d4d);
  color: white;
  border: none;
  padding: 8px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 8px;
  width: 150px;
  height: 45px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.3s, transform 0.3s;
}

.btn-carrinho:hover {
  background: linear-gradient(90deg, #0552a5, #004d4d);
  transform: scale(1.1);
}

.produto button img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  background-color: transparent;
  filter: invert(1);
}

.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ccc;
  border-top-color: #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

#loader-msg {
  font-size: 1.2rem;
  color: #333;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.ocultar-loader {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}


/* =================================================  NAVEGAÇÃO ENTRE AS PÁGINAS DE PRODUTOS================== */
.navegacao-container {
  display: flex;
  justify-content: center;
  /* Centraliza horizontalmente */
  align-items: center;
  /* Centraliza verticalmente */
  margin-top: 5px;
  /* Reduz a distância entre os produtos e a navegação */
  gap: 10px;
  /* Mantém o espaçamento entre os botões */
  border-bottom: 1px solid #dcdcdc;
  /* Linha de borda cinza clara */
  padding: 0;
  /* Remove o padding para evitar a criação de espaços extras */
}

.navegacao-button {
  background: none;
  border: none;
  cursor: pointer;
}

#numero-pagina {
  font-size: 20px;
  font-weight: bold;
  color: #ca110f;
}

/* ============================================================================================================= */

/* ================== BOTÕES DE MAIS E MENOS ================== */
/* Certifique-se de que os elementos fiquem alinhados horizontalmente */
.quantidade-container {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Isso centraliza dentro do container */
  gap: 5px;
  /* Adiciona espaçamento entre os elementos */
  margin-top: 15px;
  /* Adapte conforme necessário */
  margin-bottom: 15px;
  /* Adapte conforme necessário */
}

/* Ajuste os botões para que fiquem proporcionais */
.btn-menos,
.btn-mais {
  width: 30px;
  height: 30px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  background-color: var(--cor-botao-quantidade);
  color: white;
  cursor: pointer;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s, transform 0.2s;
}

.btn-menos:hover,
.btn-mais:hover {
  background: linear-gradient(90deg, #0552a5, #004d4d);
  transform: scale(1.1);
}

/* ================== INPUT DE QUANTIDADE ================== */

.qtd-container {
  display: flex;
  align-items: center;
  gap: 5px;
  /* Espaçamento reduzido */
}

.input-qtd {
  width: 40px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  appearance: textfield;
  /* Remove as setas de incremento padrão */
  margin: 0 10px;
  /* Adiciona um espaçamento entre os botões e o input */
}

/* Remove setas do input number no Chrome e Edge */
.input-qtd::-webkit-inner-spin-button,
.input-qtd::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.input-qtd:focus {
  border-color: var(--cor-botao-quantidade);
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
  outline: none;
}

/* ================== BOTÕES DE NAVEGAÇÃO ================== */
.navegacao {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.navegacao button {
  display: flex;
  align-items: center;
}

.navegacao button:hover {
  background: #ca110f;
}

/* ================== CARRINHO ================== */

/* Ajuste do tamanho da fonte para o título "Seu Pedido de Compras" */

#titulo-carrinho {
  font-size: 21px;
  font-weight: bold;
  color: var(--cor-titulo-carrinho);
  text-align: center;
  /* Centraliza o texto */
}

/* Outros ajustes do carrinho */
#carrinho {
  /* Quando chegar a 20px do topo, ele para */
  width: 750px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  margin-top: 25px;
  z-index: 1001;
  /* maior que o footer */
  margin-bottom: 80px;
  /* espaço de segurança */
  background: white;
  padding: 25px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  /* Slightly thicker border */
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
  /* Increased shadow size and opacity */
  border-radius: 8px;
}

#finalizar-pedido {
  width: 80%;
  /* Ajusta a largura para ser mais apropriada em telas pequenas */
  font-size: 14px;
  /* Reduz o tamanho da fonte */
  padding: 10px 15px;
}

.ticket-item {
  border-bottom: 1px dashed #ccc;
  padding: 5px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

.remover-item {
  background-color: var(--cor-deletar);
  color: white;
  border: none;
  padding: 5px 8px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 5px;
}

.remover-item:hover {
  background-color: var(--cor-primaria);
}

.contador {
  background: red;
  color: white;
  font-size: 12px;
  border-radius: 50%;
  padding: 2px 6px;
  position: relative;
  left: -5px;
  top: -10px;
  display: inline-block;
  min-width: 16px;
  text-align: center;
  font-weight: bold;
}

#icone-carrinho-wrapper {
  border-radius: 12px;
  padding: 4px;
  transition: all 0.3s ease;
}


#icone-carrinho {
  font-size: 32px;
  color: var(--cor-primaria-fonte);
  opacity: 0.4;
  transition: all 0.3s ease;
  cursor: pointer;
}

#icone-carrinho.ativo {
  opacity: 1;
}

#icone-carrinho.inativo {
  opacity: 0.4;
  filter: grayscale(100%);
}

#icone-carrinho-wrapper.ativo {
  box-shadow: 0 0 1px 1px var(--cor-primaria-fonte);
  margin-bottom: 5px;
  /* ajuste o valor conforme necessário */
}



#contador-carrinho {
  position: absolute;
  top: -1px;
  right: 1px;
  background: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
}

/* Mostra o contador quando há itens */
#contador-carrinho.mostrar {
  visibility: visible;
}

.btn-carrinho.no-carrinho {
  position: relative;
}

.btn-carrinho.no-carrinho::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;

  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;

  background-image: url("../icones/verificar.png");
  /* ✅ NOVO ICONE */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px 32px;
}


/* =======================================================================  ESTILIZAÇÃO ESPECÍFICA PARA O BOTÃO DE DELETE ============== */
.qtd-container .btn-delete {
  background-color: #ff4d4d;
  /* Vermelho */
}

.qtd-container .btn-delete:hover {
  background: linear-gradient(90deg, #d40000, #a60000);
  transform: scale(1.1);
}

/* Estilização do botão de DELETE */
.btn-delete {
  background-color: #ff4d4d;
}

.btn-delete:hover {
  background: linear-gradient(90deg, #d40000, #a60000);
  transform: scale(1.1);
}

/* =========== ENVIO DO PEDIDO DE COMPRA============== */
#finalizar-pedido {
  background-color: #004d4d;
  /* Verde WhatsApp */
  color: white;
  font-size: 16px;
  width: 90%;
  /* Ocupa quase toda a largura disponível */
  max-width: 320px;
  /* Define um limite para não ficar exageradamente largo */
  margin: 10px auto;
  /* Mantém centralizado */

  font-weight: bold;
  padding: 10px 20px;
  /* Mais altura e espaçamento interno */
  border: none;
  border-radius: 12px;
  /* Bordas mais suaves */
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  /* Centraliza o conteúdo */
  gap: 12px;
  /* Espaço entre ícone e texto */

  transition: all 0.3s ease;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

#finalizar-pedido:hover {
  background-color: #1ebe5d;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
  width: 36px;
  height: 36px;
  filter: invert(0);
  /* Deixa o ícone branco */
}

/* =========== RODAPÉ OTIMIZADO ============== */
.footer {
  display: flex;
  /* Garante que as colunas fiquem lado a lado */
  width: 100%;
  background-color: var(--cor-footer);
  color: var(--cor-footer-fonte);
  font-size: 13px;
  position: static;
  bottom: 0;
  left: 0;
  height: 65px;
  padding-top: 5px;
  /* Adiciona espaçamento no topo */
  position: fixed;
  /* Fixa o rodapé na parte inferior */
  z-index: 1;
  /* Reduza o z-index, pois o carrinho precisa estar acima do footer */
}

.footer-left {
  width: 33.33%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 5px 10px;
}

.footer-left p {
  margin: 0 0 2px 0;
  line-height: 1.2;
}


.footer-center {
  width: 33.33%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  /* Ajuste para melhor alinhamento */
}

.footer-right {
  width: 33.33%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 5px 10px;
  color: var(--cor-footer-fonte);
  text-decoration: none;
  /* Ajuste para evitar sumiço */
}

.footer-right a:hover {
  text-decoration: underline;
  color: var(--cor-footer-fonte);
  opacity: 0.85;
}

.footer-right a,
.footer-right a:visited {
  color: inherit;
  /* ou a cor que preferir, ex: #000 */
  text-decoration: none;
  /* remove o sublinhado */
  color: var(--cor-footer-fonte);
  /* ou qualquer cor que combine com o seu layout */
}


/* ========== 📲 TABLET: 481px até 960px ========== */
@media (min-width: 481px) and (max-width: 960px) {
  #encarte {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px;
  }


  /* ========== 💻 NOTEBOOK: 961px até 1280px ========== */
  @media (min-width: 961px) and (max-width: 1280px) {
    #encarte {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 15px;
      max-width: 1280px;
      margin: 0 auto;
      padding: 10px;
    }


    /* ========== 🖥️ DESKTOP: 1281px até 1920px ========== */
    @media (min-width: 1281px) and (max-width: 1920px) {
      #encarte {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 15px;
        max-width: 1280px;
        margin: 0 auto;
        padding: 10px;
      }

      /* ========== 🧠 WIDE: 1921px até 2560px ========== */
      @media (min-width: 1921px) and (max-width: 2560px) {
        #encarte {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
          gap: 15px;
          max-width: 1280px;
          margin: 0 auto;
          padding: 10px;
        }


        /* ========== 🧠 ULTRA-WIDE: 2561px até 3850px ========== */
        @media (min-width: 2561px) and (max-width: 3850px) {
          #encarte {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 15px;
            max-width: 1280px;
            margin: 0 auto;
            padding: 10px;
          }
        }