.product-item {
  display: flex;
  align-items: stretch;
}

.product-card {
  transition: all 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.product-card .product-img {
  width: 100%;
  height: 250px;
  -o-object-fit: contain;
     object-fit: contain;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  background: #f9f9f9;
  padding: 0.5rem;
  transition: all 0.3s ease;
}
.product-card .product-img:hover {
  transform: scale(1.05);
}
.product-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1rem;
}
.product-card .card-body .product-info {
  margin-top: auto;
  text-align: center;
}
.product-card .card-body .product-info .product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #333;
}
.product-card .card-body .product-info .product-code {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.75rem;
}
.product-card .card-body .product-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #e63946;
}
.product-card .card-body .btn {
  margin-top: auto;
}

.category-btn {
  border-radius: 20px;
  padding: 0.4rem 1rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.category-btn:hover {
  background: #007bff;
  color: #fff;
}
.category-btn.active {
  background-color: var(--bs-primary);
}

body.dark-mode .category-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
body.dark-mode .category-btn:hover {
  background: #007bff;
  color: #fff;
}

body:not(.dark-mode) .category-btn {
  border: 1px solid rgba(2, 4, 1, 0.6);
}
body:not(.dark-mode) .category-btn.active {
  color: #fff;
}
body:not(.dark-mode) .category-btn:hover {
  background: #007bff;
  color: #fff;
}

@media (max-width: 768px) {
  .product-card .product-img {
    height: 180px;
  }
  .product-card .card-body .product-info .product-title {
    font-size: 1rem;
  }
  .product-card .card-body .product-info .product-code {
    font-size: 0.8rem;
  }
  .product-card .card-body .product-price {
    font-size: 1.1rem;
  }
}/*# sourceMappingURL=products.css.map */