.catalog-dyn-filters {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-dyn-filters .dyn-section-title {
  display: none;
}

.dyn-type-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted, #888);
  line-height: 1.4;
}

.dyn-type-hint.hidden {
  display: none;
}

/* Доп параметры — раскрытие уникальных фильтров типа */
.type-exact-block {
  margin-top: 0;
}
.type-exact-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md, 8px);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13px;
  padding: 9px 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.type-exact-btn:hover,
.type-exact-btn.open {
  border-color: #555;
}
.type-exact-btn.open {
  background: var(--bg-card, #1a1a1a);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}
.type-exact-btn-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.type-exact-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm, 6px);
  background: var(--bg-base, #111);
  border: 1px solid var(--border-mid, #2a2a2a);
  color: var(--text-secondary, #aaa);
}
.type-exact-icon .ti {
  font-size: 15px;
  line-height: 1;
}
.type-exact-btn.open .type-exact-icon {
  color: var(--text-primary);
  border-color: var(--border-strong, #444);
}
.type-exact-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.type-exact-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}
.type-exact-meta {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted, #888);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.type-exact-meta:empty {
  display: none;
}
.type-exact-chevron {
  font-size: 13px;
  color: var(--text-muted, #888);
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.type-exact-btn.open .type-exact-chevron {
  transform: rotate(180deg);
  color: var(--text-secondary, #aaa);
}
.type-exact-panel {
  background: var(--bg-card, #1a1a1a);
  border: 1px solid var(--border-strong);
  border-top: none;
  border-radius: 0 0 var(--radius-md, 8px) var(--radius-md, 8px);
  padding: 12px;
}
.type-exact-panel[hidden] {
  display: none !important;
}
.type-exact-panel .catalog-dyn-filters {
  margin-top: 0;
}

.catalog-dyn-filters .dyn-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.catalog-dyn-filters .dyn-filter > .f-label {
  margin-bottom: 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted, #888);
}

.catalog-dyn-filters .mm-wrap {
  width: 100%;
}

.catalog-dyn-filters .inp-suf-wrap input {
  width: 100%;
  box-sizing: border-box;
}

/* Dark custom steppers — hide native white spinners */
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.num-step {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  background: var(--bg-elevated, #222);
  border: 1px solid var(--border-strong, #333);
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
}
.num-step:focus-within {
  border-color: #555;
}
.num-step input {
  flex: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary, #fff);
  font-size: 13px;
  font-family: inherit;
  padding: 9px 12px;
  -moz-appearance: textfield;
  appearance: textfield;
}
.num-step input::placeholder {
  color: var(--text-ph, #444);
}
.num-step input::-webkit-outer-spin-button,
.num-step input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.num-step-btns {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 28px;
  border-left: 1px solid var(--border-strong, #333);
  background: var(--bg-card, #1a1a1a);
}
.num-step-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted, #666);
  cursor: pointer;
  line-height: 1;
  min-height: 16px;
}
.num-step-btn + .num-step-btn {
  border-top: 1px solid var(--border-strong, #333);
}
.num-step-btn:hover {
  color: var(--text-primary, #fff);
  background: var(--bg-elevated, #222);
}
.num-step-btn i {
  font-size: 12px;
  line-height: 1;
}

.catalog-dyn-filters .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.catalog-dyn-filters .dyn-toggles .chips {
  gap: 6px;
}

/* Legacy class names kept for safety if old HTML cached */
.catalog-dyn-filters .dyn-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.catalog-dyn-filters .dyn-chip {
  border: 1px solid var(--border-strong, #333);
  background: transparent;
  color: var(--text-secondary, #aaa);
  border-radius: var(--radius-sm, 6px);
  padding: 7px 12px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}

.catalog-dyn-filters .dyn-chip.on {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}

.catalog-dyn-filters .dyn-toggle {
  display: none;
}
