/* ============================================================
   SHANKHESHWAR GOLD — Products Page Styles
   ============================================================ */

/* Product cards animate in with pure CSS — no JS dependency */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.product-grid .product-card {
  animation: cardIn 0.4s ease both;
}

/* stagger first 12 cards */
.product-grid .product-card:nth-child(1)  { animation-delay: 0.02s; }
.product-grid .product-card:nth-child(2)  { animation-delay: 0.06s; }
.product-grid .product-card:nth-child(3)  { animation-delay: 0.10s; }
.product-grid .product-card:nth-child(4)  { animation-delay: 0.14s; }
.product-grid .product-card:nth-child(5)  { animation-delay: 0.18s; }
.product-grid .product-card:nth-child(6)  { animation-delay: 0.22s; }
.product-grid .product-card:nth-child(7)  { animation-delay: 0.26s; }
.product-grid .product-card:nth-child(8)  { animation-delay: 0.30s; }
.product-grid .product-card:nth-child(9)  { animation-delay: 0.34s; }
.product-grid .product-card:nth-child(10) { animation-delay: 0.38s; }
.product-grid .product-card:nth-child(11) { animation-delay: 0.42s; }
.product-grid .product-card:nth-child(12) { animation-delay: 0.46s; }

/* ===== Meta bar ===== */
.products-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

#productCount {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 600;
}

.view-toggle { display: flex; gap: 6px; }

.view-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-light);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.view-btn.active, .view-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

/* ===== Group header ===== */
.products-group { margin-bottom: 70px; }

.group-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.group-header h3 { font-size: 1.5rem; font-weight: 700; color: var(--purple-dark); }

.group-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--purple-light);
  background: var(--purple-pale);
  padding: 4px 14px;
  border-radius: 50px;
}

/* Large view */
.product-grid.large-view { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) { .product-grid.large-view { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid.large-view { grid-template-columns: 1fr 1fr; } }
