/* TT WooCommerce Power Filter */
.tt-wc-pf {
  font-size: 14px;
  line-height: 1.4;
}

/* Выбранные фильтры (чипы) */
.tt-wc-pf__active-filters {
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.02);
}

.tt-wc-pf__active-filters--empty {
  display: none;
}

.tt-wc-pf__active-heading {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
  margin: 0 0 8px;
}

.tt-wc-pf__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tt-wc-pf__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 8px 6px 12px;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  line-height: 1.3;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tt-wc-pf__chip:hover {
  border-color: rgba(0, 0, 0, 0.25);
  background: rgba(0, 0, 0, 0.03);
}

.tt-wc-pf__chip-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-wc-pf__chip-x {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  opacity: 0.65;
}

.tt-wc-pf__chip:hover .tt-wc-pf__chip-x {
  opacity: 1;
  background: rgba(0, 0, 0, 0.06);
}

.tt-wc-pf__form {
  margin: 0;
}

.tt-wc-pf__block {
  margin: 0 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  background: #fff;
}

.tt-wc-pf__summary {
  cursor: pointer;
  padding: 10px 12px;
  font-weight: 600;
  list-style: none;
}

.tt-wc-pf__summary::-webkit-details-marker {
  display: none;
}

.tt-wc-pf__body {
  padding: 0 12px 12px;
}

.tt-wc-pf__scroll {
  max-height: 240px;
  overflow-y: auto;
}

.tt-wc-pf__check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 8px;
  cursor: pointer;
}

.tt-wc-pf__check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.tt-wc-pf__count {
  opacity: 0.65;
  font-size: 12px;
  margin-left: auto;
}

/* Слайдер цены (noUiSlider) */
.tt-wc-pf__slider {
  margin: 8px 8px 12px;
  height: 10px;
}

.tt-wc-pf__slider .noUi-connect {
  background: var(--fs-color-primary, #446084);
}

.tt-wc-pf__slider .noUi-handle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  right: -11px;
  top: -7px;
  cursor: grab;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.tt-wc-pf__slider .noUi-handle:before,
.tt-wc-pf__slider .noUi-handle:after {
  display: none;
}

.tt-wc-pf__slider .noUi-target {
  border: none;
  box-shadow: none;
  background: rgba(0, 0, 0, 0.08);
}

.tt-wc-pf__price-readout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 15px;
}

.tt-wc-pf__price-cur {
  opacity: 0.75;
  font-weight: 500;
}

.tt-wc-pf__hint {
  margin: 10px 0 0;
  font-size: 12px;
  opacity: 0.75;
}

.tt-wc-pf__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.tt-wc-pf__apply {
  width: 100%;
  text-align: center;
}

.tt-wc-pf__reset {
  text-align: center;
  font-size: 13px;
}
