/* ==============================
   PRODUCTS PAGE STYLING
============================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.product-card .price {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #000;
}

.in-stock {
  color: #1a7f37;
  font-weight: 600;
  font-size: 14px;
}

.out-stock {
  color: #d93025;
  font-weight: 600;
  font-size: 14px;
}

.btn-cart {
  display: inline-block;
  margin-top: 12px;
  padding: 10px;
  background: #ff9900;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-cart:hover {
  background: #e68a00;
}

/* Category dropdown */
select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
}