.faixa-branca {
  width: 100%;
  height: 40px; /* altura da faixa */
  background-color: #f5f5f5; /* fundo preto para destacar o texto branco */
  display: flex;
  align-items: center;
  justify-content: center;
}

.texto-faixa {
  color: #f5f5f5; /* cor branca */
  font-size: 20px; /* tamanho da fonte */
  font-weight: bold; /* negrito opcional */
}

@font-face {
  font-family: 'BootstrapIcons';
  src: url('/fonts/bootstrap-icons.woff2') format('woff2');
  font-display: swap;
}
.nav-link:hover,
.nav-link:focus {
  color: #000 !important;              /* texto preto */
  background-color: #e9ecef !important; /* cinza claro */
  border-radius: 4px;                  /* opcional, arredonda */
}


/* Reset e ajustes gerais */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.produto-card {
  transition: transform 0.2s;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}

.produto-card:hover { transform: translateY(-3px); }

.preco-antigo { 
  text-decoration: line-through; 
  color: #999; 
  font-size: 0.8rem; 
}

.desconto-badge {
  background: #dc3545; 
  color: #fff; 
  font-size: 0.7rem;
  padding: 2px 8px; 
  border-radius: 20px; 
  font-weight: bold; 
  display: inline-block;
}

.banner-capa {
  background: linear-gradient(135deg, #ff8c00, #ffcc00);
  border-radius: 0 0 30px 30px;
}

.preco-atual { 
  font-size: 1.1rem; 
  font-weight: bold; 
  color: #28a745; 
}

/* Imagem responsiva */
.produto-img {
  width: 100%;
  aspect-ratio: 1 / 1; /* quadrado */
  object-fit: contain;
}


.card-body-produto { 
  padding: 10px; 
}

/* Texto responsivo */
.produto-titulo {
  font-size: clamp(0.8rem, 4vw, 0.9rem);
  font-weight: bold; 
  margin-bottom: 3px;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.produto-descricao {
  font-size: clamp(0.65rem, 3.5vw, 0.7rem);
  color: #777; 
  margin-bottom: 5px;
  display: -webkit-box; 
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical; 
  overflow: hidden;
}

.btn-adicionar { 
  font-size: 0.75rem; 
  padding: 5px 10px; 
}

/* Media queries */
@media (max-width: 576px) {
  .banner-capa .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .produto-img {
    min-height: 80px;
    max-height: 100px;
  }
  .card-body-produto { padding: 8px; }
  .preco-atual { font-size: 0.95rem; }
  .preco-antigo { font-size: 0.7rem; }
  .desconto-badge { font-size: 0.6rem; padding: 1px 6px; }
  .banner-capa img { width: 70px !important; height: 70px !important; }
  .banner-capa h1 { font-size: 1.5rem; }
  .banner-capa span { font-size: 0.8rem; }
  .bi-whatsapp, .bi-instagram, .bi-facebook, .bi-tiktok {
    font-size: 1.3rem !important;
  }
}

@media (max-width: 380px) {
  .produto-titulo { font-size: 0.7rem; }
  .produto-descricao { font-size: 0.6rem; }
  .preco-atual { font-size: 0.85rem; }
  .card-body-produto { padding: 6px; }
}

@media (max-width: 768px) {
  .produto-card {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .btn-adicionar, .produto-card, a {
    touch-action: manipulation;
  }
}

/* Grid responsivo */
.row-produtos {
  display: flex;
  flex-wrap: wrap;
  margin-right: -8px;
  margin-left: -8px;
}

/* Container fluído */
.container-custom {
  width: 100%;
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 12px;
  padding-left: 12px;
}

@media (max-width: 576px) {
  .container-custom {
    padding-right: 8px;
    padding-left: 8px;
  }
}

/* Navegação */
nav a {
   font-size: 0.95rem;
   padding: 6px 10px;
   border-radius: 5px;
}
nav a:hover {
  background: #3213b0;
  color: #000;
}
.btn-circle {
    width: 50px;          /* largura fixa */
    height: 50px;         /* altura fixa */
    border-radius: 50%;   /* deixa redondo */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;    /* tamanho do ícone */
    padding: 0;
}
.btn-cart-rect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;              /* espaço entre ícone e texto */
    padding: 5px 15px;    /* altura e largura do botão */
    border-radius: 8px;    /* cantos levemente arredondados */
    font-size: 1.4rem;       /* tamanho do texto */
    font-weight: 600;
     
    background: #3213b0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    cursor: pointer;
}

.btn-cart-rect i {
    font-size: 1.0rem;     /* tamanho do ícone */
    color: #fff;           /* cor do ícone */
}

.btn-cart-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #3213b0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    cursor: pointer;
}
.btn-cart-float i {
    color: #fff;
    font-size: 1.0rem;
}

/* só aparece em mobile */
@media (min-width: 769px) {
  #btnCarrinho {
    display: none;
  }
}
.carrinho-itens-extras {
    font-size: 0.85rem;   /* diminui a fonte */
    color: #555;          /* cor mais suave */
    margin-left: 15px;    /* dá um recuo para diferenciar */
}
.carrinho-itens-extras li {
    margin-bottom: 4px;   /* espaço entre os itens */
}
.carrinho-itens-extras {
    font-size: 0.85rem;   /* fonte menor */
    color: #444;
    margin: 0;            /* remove recuo */
    padding-left: 0;      /* garante alinhamento à esquerda */
    list-style-position: inside; /* bolinha/ícone alinhado à esquerda */
}

.carrinho-itens-extras li {
    text-align: left;     /* força alinhamento à esquerda */
    margin-bottom: 4px;
    white-space: nowrap;  /* evita quebra de linha desnecessária */
    overflow: hidden;
    text-overflow: ellipsis; /* se for muito longo, coloca "..." */
}

/* Ajuste para celular */
@media (max-width: 576px) {
    .carrinho-itens-extras {
        font-size: 0.75rem; 
        line-height: 1.2;
    }
    .carrinho-itens-extras li {
        margin-bottom: 2px;
    }
}
.badge {
    font-size: 0.75rem;
    padding: 4px 6px;
}
.modal {
  display: none; /* oculto por padrão */
  position: fixed;
  z-index: 9999; /* fica acima de tudo só quando aberto */
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  overflow-y: auto; /* permite rolagem dentro do modal */
  pointer-events: none; /* não captura cliques quando oculto */
}

.modal.show {
  display: block;
  pointer-events: auto; /* só captura cliques quando aberto */
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  position: relative;
}



