/* ========================================
   CARDS DE PRODUTOS
   ======================================== */
.produto-card {
  transition: transform 0.3s;
  height: 100%;
}

.produto-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover, 0 4px 15px rgba(0, 0, 0, 0.2));
}

.produto-img {
  height: 250px;
  object-fit: cover;
  
}



/* ========================================
   CARDS GERAIS
   ======================================== */
.card {
  border-radius: 8px;
  overflow: hidden;
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

/* ========================================
   BOTÕES CUSTOMIZADOS
   ======================================== */
.btn {
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ========================================
   BADGES E TAGS
   ======================================== */
.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
}

/* ========================================
   CARRINHO NOTIFICAÇÕES
   ======================================== */


.cart-notification-badge {
  position: absolute;
  top: -8px;
  right: -7px;
  background-color: #dc3545; /* vermelho */
  color: white;
  border-radius: 50%;
  width: 24px;        /* aumentado de 20px para 24px */
  height: 24px;       /* aumentado de 20px para 24px */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;    /* aumentado de 11px para 13px */
  font-weight: bold;
  border: 2px solid white;
}

/* ========================================
   Espaçamento do navbar no mobile
   ======================================== */

@media (max-width: 991px) {
  .navbar-collapse .navbar-nav {
    margin-top: 1rem;
  }
  
  .navbar-collapse .navbar-nav .nav-item,
  .navbar-collapse .d-flex {
    margin-bottom: 0.5rem;
  }
  
  .navbar-collapse > div:not(:last-child) {
    margin-bottom: 1rem;
  }
}