/* Ürün listesi — sıra no + sayfalama */

.products-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.products-pagination-meta {
  font-size: .85rem;
  color: var(--muted);
  text-align: center;
  flex: 1;
  min-width: 10rem;
}

.products-pagination-meta strong {
  color: var(--text);
}

.products-table {
  border: 1px solid var(--border);
  border-radius: var(--radius, 10px);
  overflow: hidden;
  background: var(--card);
}

.products-table-head,
.products-table-row {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 12px;
}

.products-table-head {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.products-table-body .products-table-row {
  border-bottom: 1px solid var(--border);
}

.products-table-body .products-table-row:last-child {
  border-bottom: none;
}

.products-table-row.list-item {
  margin: 0;
  border: none;
  border-radius: 0;
  padding: 10px 12px;
}

.products-table-row--archived {
  padding-top: 8px;
  padding-bottom: 8px;
}

.products-col-no {
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 500;
}

.products-col-info .title {
  font-weight: 600;
}

.products-col-info .sub {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 2px;
}

.products-col-archived {
  grid-column: 2 / -1;
}

.products-col-archived .archived-row {
  margin: 0;
}

.products-col-price.badge {
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .products-table-head {
    display: none;
  }

  .products-table-row {
    grid-template-columns: 2.25rem minmax(0, 1fr) auto;
    padding: 10px;
  }

  .products-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .products-pagination .btn {
    width: 100%;
  }
}

.product-origin-badge {
  font-size: .65rem;
  vertical-align: middle;
  margin-right: 4px;
  font-weight: 700;
}

.product-origin-badge--manual {
  background: color-mix(in srgb, var(--muted) 14%, var(--card));
  color: var(--muted);
  border: 1px solid var(--border);
}

.product-origin-badge--marketplace,
.product-origin-badge--trendyol {
  background: color-mix(in srgb, #f27a1a 16%, var(--card));
  color: #c0560c;
  border: 1px solid color-mix(in srgb, #f27a1a 35%, var(--border));
}

.product-origin-badge--hepsiburada {
  background: color-mix(in srgb, #ff6000 16%, var(--card));
  color: #c2410c;
  border: 1px solid color-mix(in srgb, #ff6000 35%, var(--border));
}

.product-origin-badge--n11 {
  background: color-mix(in srgb, #7b2cbf 16%, var(--card));
  color: #6d28d9;
  border: 1px solid color-mix(in srgb, #7b2cbf 35%, var(--border));
}

.pd-hero-badges {
  margin-bottom: 6px;
}
