/* =========================================================
   TopTools.kz — фасетные счётчики и активные фильтры v12
   ========================================================= */

.tt-filter-v3__option {
  align-items: flex-start !important;
}

.tt-filter-v3__option-text {
  min-width: 0;
  flex: 1 1 auto;
  color: inherit !important;
}

.tt-filter-v3__option-count {
  flex: 0 0 auto;
  margin-left: auto;
  color: #8a9bb0;
  font-style: normal;
  font-size: 11px;
  line-height: 1.42;
  font-weight: 800;
  white-space: nowrap;
}

.tt-filter-v3__option.is-checked .tt-filter-v3__option-count {
  color: #ff671d;
}

.tt-active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
}

.tt-active-filter-chip,
.tt-active-filter-clear {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #ff671d !important;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-decoration: none !important;
  background: #fff7f3;
  border: 1px solid #ffb891;
  border-radius: 999px;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.tt-active-filter-chip:hover,
.tt-active-filter-clear:hover {
  color: #ef580f !important;
  text-decoration: none !important;
  background: #fff0e8;
  border-color: #ff9a66;
  transform: translateY(-1px);
}

.tt-active-filter-chip i,
.tt-active-filter-clear i {
  font-size: 11px;
}

.tt-active-filter-chip--price {
  color: #315b92 !important;
  background: #f4f8fd;
  border-color: #bfd5ee;
}

.tt-active-filter-chip--price:hover {
  color: #234a7d !important;
  background: #eef5fc;
  border-color: #9fc0e4;
}

.tt-active-filter-clear {
  color: #d94b0b !important;
  background: #ffffff;
  border-style: dashed;
}

@media (max-width: 767px) {
  .tt-active-filter-chips {
    gap: 8px;
  }

  .tt-active-filter-chip,
  .tt-active-filter-clear {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }
}
