/* Ürün listesi — kompakt filtre paneli */
html.sellzy-tema-scope .sellzy-filters-panel {
  background: #fff;
  border: 1px solid rgba(145, 158, 171, 0.24);
  border-radius: 1rem;
  overflow: hidden;
}

html.sellzy-tema-scope .sellzy-filters-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #f4f6f8;
  border-bottom: 1px solid rgba(145, 158, 171, 0.16);
}

html.sellzy-tema-scope .sellzy-filters-panel__head h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--light-primary-text, #212b36);
}

html.sellzy-tema-scope .sellzy-filters-panel__body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

html.sellzy-tema-scope .sellzy-filter-section__label {
  display: block;
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #637381;
}

html.sellzy-tema-scope .sellzy-filter-pill.is-sub {
  border-style: dashed;
}

html.sellzy-tema-scope .sellzy-filter-pill.is-sub::before {
  content: "↳";
  font-size: 0.75rem;
  opacity: 0.55;
}

html.sellzy-tema-scope .sellzy-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-height: 9.5rem;
  overflow-y: auto;
  padding-right: 0.15rem;
}

html.sellzy-tema-scope .sellzy-filter-pills.is-expanded {
  max-height: none;
}

html.sellzy-tema-scope .sellzy-filter-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(145, 158, 171, 0.32);
  background: #fff;
  color: #212b36;
  font-size: 0.8125rem;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

html.sellzy-tema-scope a.sellzy-filter-pill:hover {
  border-color: var(--primary, #00ab55);
  color: var(--primary, #00ab55);
}

html.sellzy-tema-scope .sellzy-filter-pill.is-active,
html.sellzy-tema-scope .sellzy-filter-pill:has(input:checked) {
  border-color: var(--primary, #00ab55);
  background: rgba(0, 171, 85, 0.08);
  color: var(--primary, #00ab55);
  font-weight: 600;
}

html.sellzy-tema-scope .sellzy-filter-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

html.sellzy-tema-scope .sellzy-filter-pill__count {
  font-size: 0.6875rem;
  color: #919eab;
  font-weight: 500;
}

html.sellzy-tema-scope .sellzy-filter-pill.is-active .sellzy-filter-pill__count,
html.sellzy-tema-scope .sellzy-filter-pill:has(input:checked) .sellzy-filter-pill__count {
  color: inherit;
  opacity: 0.75;
}

html.sellzy-tema-scope .sellzy-filter-more {
  margin-top: 0.5rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary, #00ab55);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

html.sellzy-tema-scope .sellzy-filter-price {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}

html.sellzy-tema-scope .sellzy-filter-price input {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(145, 158, 171, 0.32);
  border-radius: 0.75rem;
  font-size: 0.875rem;
}

html.sellzy-tema-scope .sellzy-filter-price input:focus {
  outline: none;
  border-color: var(--primary, #00ab55);
}

html.sellzy-tema-scope .sellzy-filter-actions {
  display: flex;
  gap: 0.5rem;
}

html.sellzy-tema-scope .sellzy-filter-actions .btn {
  flex: 1;
  justify-content: center;
}

html.sellzy-tema-scope .sellzy-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border: 1px solid rgba(145, 158, 171, 0.2);
  border-radius: 0.875rem;
}

html.sellzy-tema-scope .sellzy-active-filters__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #637381;
  margin-right: 0.25rem;
}

html.sellzy-tema-scope .sellzy-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 171, 85, 0.35);
  color: #007b55;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

html.sellzy-tema-scope .sellzy-active-chip:hover {
  background: rgba(0, 171, 85, 0.06);
}

html.sellzy-tema-scope .sellzy-active-chip__x {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.7;
}

@media (max-width: 1023.98px) {
  html.sellzy-tema-scope .sellzy-filters-mobile > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(145, 158, 171, 0.24);
    border-radius: 0.875rem;
    background: #fff;
    font-weight: 700;
    color: #212b36;
  }

  html.sellzy-tema-scope .sellzy-filters-mobile > summary::-webkit-details-marker {
    display: none;
  }

  html.sellzy-tema-scope .sellzy-filters-mobile[open] > summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
  }

  html.sellzy-tema-scope .sellzy-filters-mobile .sellzy-filters-panel {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 0;
  }
}

@media (min-width: 1024px) {
  html.sellzy-tema-scope .sellzy-filters-mobile {
    display: block;
  }

  html.sellzy-tema-scope .sellzy-filters-mobile > summary {
    display: none;
  }

  /* Kapalı details içeriği tarayıcıda gizlenir; masaüstünde panel her zaman görünsün */
  html.sellzy-tema-scope .sellzy-filters-mobile:not([open]) > aside,
  html.sellzy-tema-scope .sellzy-filters-mobile > aside {
    display: block !important;
  }

  html.sellzy-tema-scope .sellzy-filters-mobile .sellzy-filters-panel {
    display: block;
  }
}
