/* Product toolbar. Compare feedback must not participate in flex sizing. */
.toolbox .toolbox-sort:has(> .select-custom > #manufacturer) {
  flex-wrap: wrap;
  row-gap: 6px;
}
.toolbox .toolbox-sort:has(> .select-custom > #manufacturer) > a.sidebar-toggle {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.toolbox .toolbox-sort > a.sidebar-toggle span {
  white-space: nowrap;
}
.toolbox .toolbox-sort > .select-custom:has(> #manufacturer) {
  flex: 0 1 124px !important;
  min-width: 0 !important;
  max-width: 100%;
  padding-right: 0 !important;
}
.toolbox .select-custom:has(> #manufacturer)::after,
.toolbox .select-custom:has(> #manufacturer)::before {
  display: none !important;
}
.toolbox .toolbox-sort > .select-custom > select#manufacturer {
  width: 100% !important;
  min-width: 0 !important;
  text-overflow: ellipsis;
}
.toolbox #blk-compare {
  position: relative;
  white-space: nowrap;
}
/* Compare feedback stays in the existing pop-ups. */
.toolbox #blk-compare [role="status"] {
  display: none !important;
}
/* Keep the listing controls on one row, including when Compare is shown. */
.toolbox:has(.toolbox-sort > .select-custom > #manufacturer),
.toolbox .toolbox-sort:has(> .select-custom > #manufacturer) {
  flex-wrap: nowrap !important;
}
.toolbox:has(.toolbox-sort > .select-custom > #manufacturer) > .toolbox-left,
.toolbox .toolbox-sort:has(> .select-custom > #manufacturer) {
  min-width: 0;
}
.toolbox .toolbox-sort:has(> .select-custom > #manufacturer) > .select-custom {
  min-width: 0 !important;
}
.toolbox .toolbox-sort:has(> .select-custom > #manufacturer) > .select-custom > select {
  min-width: 0 !important;
  max-width: 100% !important;
  text-overflow: ellipsis;
}
.toolbox:has(.toolbox-sort > .select-custom > #manufacturer) #blk-compare,
.toolbox:has(.toolbox-sort > .select-custom > #manufacturer) > .toolbox-right {
  flex: 0 0 auto;
}
@media (max-width: 767px) {
  .toolbox .toolbox-sort:has(> .select-custom > #manufacturer) > a.sidebar-toggle.blk-more-filters-v1 {
    flex: 0 0 auto !important;
    width: auto !important;
    padding-inline: 6px !important;
  }
  .toolbox .toolbox-sort:has(> .select-custom > #manufacturer) > .select-custom {
    flex: 1 1 0 !important;
    min-width: 28px !important;
  }
  .toolbox .toolbox-sort > .select-custom > select#manufacturer {
    background-position: right 6px center !important;
  }
}
@media (max-width: 480px) {
  .toolbox .toolbox-sort:has(> .select-custom > #manufacturer) > a.sidebar-toggle.blk-more-filters-v1 span {
    display: inline-block !important;
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
  }
}
