/* Page-specific styling for products.html */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.75rem;
  margin-top: 3rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.product-card p {
  margin: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  flex-grow: 1;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.product-card .btn {
  align-self: flex-start;
  margin-top: auto;
}
