/* V1113 — keep every filter label and count inside the white sidebar. */
.catalog-page .v12-filter-panel,
.catalog-page .v12-filter-panel * {
  box-sizing: border-box !important;
}

.catalog-page .v12-filter-panel,
.catalog-page .v12-filter-section,
.catalog-page .v12-option-list,
.catalog-page .v12-check-list {
  min-width: 0 !important;
  max-width: 100% !important;
}

.catalog-page .v12-filter-panel {
  overflow-x: hidden !important;
}

.catalog-page .v12-option-list,
.catalog-page .v12-check-list {
  width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 4px 11px !important;
  overflow-x: hidden !important;
}

.catalog-page .v12-option-list label,
.catalog-page .v12-check-list label {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  grid-template-columns: 21px minmax(0, 1fr) minmax(32px, max-content) !important;
}

.catalog-page .v12-option-list b,
.catalog-page .v12-check-list span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.catalog-page .v12-option-list em,
.catalog-page .v12-check-list em {
  display: block !important;
  min-width: 32px !important;
  max-width: 64px !important;
  justify-self: end !important;
  overflow: visible !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.catalog-page .v12-filter-search {
  width: calc(100% - 8px) !important;
  min-width: 0 !important;
}

@media (max-width: 820px) {
  body.catalog-page .v12-filter-panel {
    max-width: min(360px, 94vw) !important;
  }
}
