/* ═══════════════════════════════════════════════
   Tataroğlu Gıda — Products Page CSS
═══════════════════════════════════════════════ */

/* ── Category filter ── */
.cat-filter {
  display: flex; flex-wrap: wrap; gap: .5rem;
  align-items: center;
  padding: 1rem 0;
}
.cat-btn {
  display: flex; align-items: center; gap: .375rem;
  padding: .5rem 1.125rem;
  border-radius: var(--radius-full);
  font-size: .875rem; font-weight: 500;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-muted);
  cursor: pointer; transition: var(--transition);
  white-space: nowrap;
}
.cat-btn:hover  { color: var(--text-primary); border-color: var(--border-strong); }
.cat-btn.active { color: var(--primary); background: var(--primary-subtle); border-color: var(--primary-border); }

/* ── Product grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 1.5rem;
}

/* ── Product card ── */
.product-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover {
  border-color: var(--primary-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}
.product-image-wrap {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.product-image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-image-wrap img { transform: scale(1.05); }
.product-emoji { font-size: 3.5rem; }
.product-category-tag {
  position: absolute; top: .625rem; left: .625rem;
}
.product-body { padding: 1.125rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.product-name  { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.product-desc  { font-size: .8375rem; color: var(--text-muted); line-height: 1.5; }
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: .875rem 1.125rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
  gap: .75rem;
}
.product-price { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.product-price small { font-size: .75rem; color: var(--text-muted); font-weight: 400; }

/* ── Delivery CTA banner ── */
.delivery-cta-banner {
  background: linear-gradient(135deg, rgba(10,132,255,.15), rgba(99,102,241,.1));
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-2xl);
  padding: 2.5rem 2rem;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.5rem;
}
.delivery-cta-banner h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: .375rem; }
.delivery-cta-banner p  { color: var(--text-secondary); }
