/* =========================================================
   ÜRÜN LİSTESİ: başlık, kategori çipleri, filtre çubuğu
   ========================================================= */
/* Bu sayfada kendi kategori çipleri var; üstteki kategori çubuğu tekrar etmesin */
body.page-list .catbar { display: none; }

.list-head { padding: 18px 0 0; }
@media (min-width: 900px) { .list-head { padding: 26px 0 0; } }

.list-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 10px;
}
.list-title h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.list-title__count {
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--soft);
  color: #68758a;
  font-size: 12px;
  font-weight: 700;
}

/* Kategori çipleri */
.chips {
  margin: 14px -16px 0;
  padding: 2px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .chips { margin: 16px -24px 0; padding: 2px 24px; } }

.chips__inner { display: flex; gap: 8px; width: max-content; }
@media (min-width: 900px) { .chips__inner { flex-wrap: wrap; width: auto; } }

.chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #344155;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
}
.chip:hover { border-color: #cfdcef; color: var(--color-primary); }
.chip.is-active { border-color: var(--color-primary); background: #f2f7ff; color: var(--color-primary); }

/* Filtre + sıralama çubuğu */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.toolbar__filters { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.toolbar__filters::-webkit-scrollbar { display: none; }

.toggle { position: relative; flex-shrink: 0; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #344155;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}
.toggle .lucide { width: 15px; height: 15px; color: #8490a1; }
.toggle:hover span { border-color: #cfdcef; }
.toggle input:checked + span { border-color: var(--color-primary); background: #f2f7ff; color: var(--color-primary); }
.toggle input:checked + span .lucide { color: var(--color-primary); }
.toggle input:focus-visible + span { box-shadow: 0 0 0 3px var(--color-primary-ring); }

.sort {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}
.sort:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-ring); }
.sort > .lucide { position: absolute; left: 10px; width: 15px; height: 15px; color: #8490a1; pointer-events: none; }
.sort .sort__chev { left: auto; right: 9px; }
.sort select {
  height: 100%;
  max-width: 190px;
  padding: 0 30px 0 32px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #26364d;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  appearance: none;
  cursor: pointer;
  outline: none;
}
@media (max-width: 520px) {
  .sort select { width: 40px; max-width: 40px; padding: 0; color: transparent; }   /* mobilde yalnızca simge */
  .sort .sort__chev { display: none; }
  .sort > .lucide:first-child { left: 50%; transform: translateX(-50%); }
  .sort select option { color: #26364d; }
}

/* =========================================================
   ÜRÜNLER + SAYFALAMA
   ========================================================= */
.list-body { padding: 18px 0 0; }
@media (min-width: 900px) { .list-body { padding: 22px 0 0; } }

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}
.pager__num,
.pager__btn {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #344155;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 200ms ease, color 200ms ease;
}
.pager__num:hover,
.pager__btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pager__num.is-active { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.pager__btn .lucide { width: 18px; height: 18px; }
.pager__gap { padding: 0 4px; color: #8490a1; }

.store-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.store-empty__actions .btn { margin-top: 14px; }
