h1,
h2,
h3,
h4,
h5 {
  color: #48465b;
  font-weight: 600;
}

.card-header img {
  height: 100px;
  margin: 0 auto;
}

.card-header {
  background-size: cover;
  background-position: center;
  transition: background-size 0.3s, background-position 0.1s;
  height: 250px; /* ou o que você usa */
  cursor: zoom-in;
  position: relative;
}

.card-header.zooming {
  background-size: 200%; /* nível de zoom */
}

.card-evento {
  border-radius: 6px;
  color: #48465b;
}

.card-header {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 200px; /* Defina uma altura para o card-header, se necessário */
}

.overlay {
  position: absolute;
  bottom: 0; /* Alinha o overlay na parte inferior */
  left: 0;
  width: 100%;
  height: 50%; /* Define o overlay para cobrir a metade inferior */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 100%
  ); /* Gradiente esfumaçado de baixo para cima */
  z-index: 1;
}

.card-body {
  background-color: #f0efef;
}

.tipo {
  background: #b38e1d;
  width: fit-content;
  padding: 0.4rem;
  font-size: 10px;
  color: white;
  border-radius: 6px;
}

.nome {
  font-size: 16px;
  font-weight: 600;
}

.data_evento {
  font-size: 19px;
  font-weight: 700;
}

.local {
  font-size: 10px;
  font-weight: 500;
}

.footer .la-tag {
  color: #b38e1d;
}

.cargo,
.curtidas {
  font-weight: 500;
}

.icon-plus {
  background-color: #b38e1d;
  color: white !important;
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 35px;
  height: 35px;
  transition: 0.2s ease;
  border: none;
  outline: none;
}

.icon-plus:hover {
  transform: scale(1.2);
  color: #b38e1d !important;
  color: white;
  background-color: white;
  cursor: pointer;
  box-shadow: 0px 4px 10px rgba(179, 142, 29, 0.5);
}

.cont-carrinho {
  border-radius: 6px;
  display: flex;
  justify-content: end;
  right: 26px;
  position: fixed;
  bottom: 80px;
}

.btn-primary {
  background-color: #b38e1d;
  border-color: #b38e1d;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #7e5e00 !important;
  border-color: #7e5e00 !important;
}

.cart-number {
  position: absolute;
  top: -5px; /* Ajuste a posição para o topo */
  right: -5px; /* Ajuste a posição para a direita */
  width: 20px; /* Largura da bolinha */
  height: 20px; /* Altura da bolinha */
  background-color: red; /* Cor da bolinha */
  color: white; /* Cor do número dentro da bolinha */
  border-radius: 50%; /* Torna o elemento redondo */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px; /* Tamanho do número dentro da bolinha */
  font-weight: bold;
  z-index: 10; /* Garante que a bolinha fique sobre o botão */
}

/* 1. Grid responsivo de produtos */
#eventos .row > .col-md-4 {
  /* Se você quiser um gap maior entre os cards, pode ajustar */
  margin-bottom: 1rem;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

/* 2. Efeito hover nos cards de produto */
.card-evento, /* ou .card-produto se você tiver essa classe */
.col_1_produto .card,
.col_2_produto .card,
.col_3_produto .card {
  transition: transform .2s, box-shadow .2s;
}
.card-evento:hover,
.col_1_produto .card:hover,
.col_2_produto .card:hover,
.col_3_produto .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 3. Botões de adicionar/remover (ícones “+” e “–”) */
.btn-add, .btn-remove {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  transition: background .2s, transform .2s;
}
.btn-add { background: #28a745; color: #fff; }
.btn-add:hover { background: #218838; transform: scale(1.1); }
.btn-remove { background: #dc3545; color: #fff; }
.btn-remove:hover { background: #c82333; transform: scale(1.1); }

/* 4. Painel lateral de preview do carrinho */
#cart-preview {
  position: sticky;
  top: 1rem;            /* fica fixo ao rolar a página */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 6px;
  padding: 0;           /* o card já tem padding interno */
  background: #fff;
}

/* 5. Lista de itens no carrinho */
#cart-list .list-group-item {
  padding: .5rem 1rem;
  font-size: .9rem;
}
#cart-list .list-group-item:nth-child(even) {
  background: #f8f9fa;
}

/* 6. Ajustes finais de responsividade */
@media (max-width: 767px) {
  /* no mobile, exibe o preview abaixo dos filtros */
  #eventos, #cart-preview {
    width: 100%;
  }
  #cart-preview {
    position: relative;
    top: auto;
    margin-top: 1.5rem;
  }
}
/* Botão de remover item */
.btn-remove-item {
  padding: 0.25rem 0.35rem;
  font-size: 0.9rem;
}

/* Ajuste no badge do rodapé */
#cart-number-footer {
  background: #fff;
  color: #000;
}

/* Card-footer do sidebar */
#cart-preview .card-footer {
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

/* Espaçamento entre preço e ícone de lixeira */
.btn-remove-item .la-trash {
  font-size: 1rem;
}

/* Responsividade: garanta que o footer não “estoure” */
@media (max-width: 767px) {
  #cart-preview .card-footer {
    flex-direction: column;
    align-items: stretch;
  }
  #btn-clear-cart,
  #btn-go-cart {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}




