/* ============================================================
   products.css — Products section
   ============================================================ */

.products {
  background: var(--ink);
  color: #fff;
}

.products .section-label { color: var(--accent); }
.products .section-title { color: #fff; }
.products .section-sub   { color: rgba(255, 255, 255, 0.6); }

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

/* Filter tabs */
.product-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tab-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Product card grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--rl);
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

.product-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-img img {
  transform: scale(1.07);
}

.product-body {
  padding: 18px 20px;
}

.product-name {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.product-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  font-weight: 400;
}

.product-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ptag {
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
}
