.cxb-b2b-sidebar-module-filter,
.cxb-b2b-horizontal-filter-container {
--cxbf-accent: var(--cxb-primary-color, #0A7AFF);
--cxbf-accent-rgb: var(--cxb-primary-color-rgb, 10, 122, 255);
--cxbf-ink: #16181D;
--cxbf-ink-soft: #4A5261;
--cxbf-ink-faint: #7A8394;
--cxbf-line: #E3E6EC;
--cxbf-line-soft: #EDEFF3;
--cxbf-surface: #FFFFFF;
--cxbf-surface-sunk: #F7F8FA;
--cxbf-danger: #C0392B;
--cxbf-radius-box: 12px;
--cxbf-radius-control: 8px;
--cxbf-ease: cubic-bezier(.2, .7, .3, 1);
-webkit-tap-highlight-color: transparent;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-sidebar-module-title::before,
.cxb-b2b-horizontal-filter-container .cxb-b2b-horizontal-filter-label::before {
content: "";
flex: 0 0 auto;
display: block;
width: 16px;
height: 16px;
background-color: var(--cxbf-ink-faint);
-webkit-mask: no-repeat center / contain
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z'/%3E%3C/svg%3E");
mask: no-repeat center / contain
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z'/%3E%3C/svg%3E");
}
.cxb-b2b-filter-icon {
display: none !important;
}
.cxb-b2b-filter-sr {
position: absolute !important;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0 0 0 0);
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
.cxb-b2b-sidebar-module-filter {
margin-bottom: 20px;
background: var(--cxbf-surface);
border: 1px solid var(--cxbf-line);
border-radius: var(--cxbf-radius-box);
overflow: hidden;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-sidebar-module-title {
display: flex;
align-items: center;
gap: 8px;
margin: 0;
padding: 13px 14px;
border-bottom: 1px solid var(--cxbf-line-soft);
background: var(--cxbf-surface);
font-size: 15px;
font-weight: 600;
line-height: 1.3;
color: var(--cxbf-ink);
letter-spacing: 0;
text-transform: none;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-title-text {
flex: 1 1 auto;
min-width: 0;
}
.cxb-b2b-filter-count-badge {
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 20px;
height: 20px;
padding: 0 6px;
border-radius: 999px;
background: var(--cxbf-accent);
color: #fff;
font-size: 12px;
font-weight: 600;
line-height: 1;
font-variant-numeric: tabular-nums;
}
.cxb-b2b-filter-count-badge[hidden] {
display: none;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-sidebar-module-content {
padding: 0;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-container {
padding: 4px 0 0;
max-height: 62vh;
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-width: thin;
scrollbar-color: var(--cxbf-line) transparent;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-container::-webkit-scrollbar {
width: 6px;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-container::-webkit-scrollbar-thumb {
background: var(--cxbf-line);
border-radius: 3px;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-attribute {
border-bottom: 1px solid var(--cxbf-line-soft);
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-attribute:last-child {
border-bottom: 0;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-attribute-header {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
min-height: 48px;
padding: 0 14px;
box-sizing: border-box;
cursor: pointer;
user-select: none;
appearance: none;
-webkit-appearance: none;
border: 0;
margin: 0;
background: transparent;
font: inherit;
color: inherit;
text-align: left;
text-decoration: none;
box-shadow: none;
border-radius: 0;
transition: background-color .18s var(--cxbf-ease);
}
@media (hover: hover) {
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-attribute-header:hover {
background-color: var(--cxbf-surface-sunk);
}
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-attribute-header:focus-visible {
outline: 2px solid var(--cxbf-accent);
outline-offset: -2px;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-attribute-name {
flex: 1 1 auto;
min-width: 0;
font-size: 14px;
font-weight: 500;
line-height: 1.4;
color: var(--cxbf-ink);
text-transform: none;
letter-spacing: 0;
overflow-wrap: anywhere;
transition: color .18s var(--cxbf-ease);
}
.cxb-b2b-filter-attribute-badge {
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 18px;
height: 18px;
padding: 0 5px;
border-radius: 999px;
background: rgba(var(--cxbf-accent-rgb), .12);
color: var(--cxbf-accent);
font-size: 11px;
font-weight: 600;
line-height: 1;
font-variant-numeric: tabular-nums;
}
.cxb-b2b-filter-attribute-badge[hidden] {
display: none;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-attribute.is-active
.cxb-b2b-filter-attribute-name {
color: var(--cxbf-accent);
font-weight: 600;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-attribute-toggle {
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
color: var(--cxbf-ink-faint);
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-attribute-toggle svg {
width: 16px;
height: 16px;
transform-origin: center;
transition: transform .22s var(--cxbf-ease);
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-attribute-values {
padding: 2px 14px 12px;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-value-item {
position: relative;
display: flex;
align-items: flex-start;
gap: 10px;
padding: 7px 8px;
margin: 0 -8px;
border-radius: 6px;
cursor: pointer;
font-size: 14px;
line-height: 1.45;
font-weight: 400;
color: var(--cxbf-ink-soft);
text-transform: none;
letter-spacing: 0;
transition: background-color .15s var(--cxbf-ease), color .15s var(--cxbf-ease);
}
@media (hover: hover) {
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-value-item:hover {
background-color: var(--cxbf-surface-sunk);
color: var(--cxbf-ink);
}
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-checkbox {
flex: 0 0 auto !important;
appearance: none !important;
-webkit-appearance: none !important;
display: inline-block !important;
position: static !important;
box-sizing: border-box !important;
width: 18px !important;
height: 18px !important;
min-width: 18px !important;
min-height: 18px !important;
max-width: 18px !important;
max-height: 18px !important;
margin: 1px 0 0 !important;
padding: 0 !important;
border: 1.5px solid #C4CAD4 !important;
border-radius: 5px !important;
background-color: var(--cxbf-surface) !important;
background-image: none !important;
box-shadow: none !important;
opacity: 1 !important;
visibility: visible !important;
clip: auto !important;
clip-path: none !important;
pointer-events: auto !important;
transform: none !important;
float: none !important;
outline: none;
cursor: pointer;
transition: background-color .15s var(--cxbf-ease),
border-color .15s var(--cxbf-ease);
}
@media (hover: hover) {
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-value-item:hover .cxb-b2b-filter-checkbox,
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-checkbox:hover {
border-color: var(--cxbf-accent) !important;
}
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-checkbox:checked {
background-color: var(--cxbf-accent) !important;
border-color: var(--cxbf-accent) !important;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") !important;
background-repeat: no-repeat !important;
background-position: center !important;
background-size: 12px 12px !important;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-checkbox:focus-visible {
outline: 2px solid var(--cxbf-accent) !important;
outline-offset: 2px !important;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-checkbox:disabled {
opacity: .45 !important;
cursor: not-allowed;
}
.cxb-b2b-filter-check {
display: none !important;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-value-label {
flex: 1 1 auto;
min-width: 0;
overflow-wrap: anywhere;
font-size: inherit;
color: inherit;
text-transform: none;
letter-spacing: 0;
font-weight: inherit;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-value-item:has(.cxb-b2b-filter-checkbox:checked) {
color: var(--cxbf-ink);
font-weight: 500;
}
.cxb-b2b-filter-status {
margin: 0;
padding: 10px 14px;
border-top: 1px solid var(--cxbf-line-soft);
font-size: 13px;
line-height: 1.45;
color: var(--cxbf-ink-soft);
}
.cxb-b2b-filter-status[hidden] {
display: none;
}
.cxb-b2b-filter-status.is-error {
color: var(--cxbf-danger);
background: rgba(192, 57, 43, .06);
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-actions {
display: flex;
gap: 8px;
padding: 12px 14px;
margin-top: 0;
border-top: 1px solid var(--cxbf-line);
background: var(--cxbf-surface);
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-actions .button,
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-apply,
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-reset {
flex: 1 1 auto;
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 40px;
padding: 0 14px;
border-radius: var(--cxbf-radius-control);
border: 1px solid transparent;
font-size: 14px;
font-weight: 500;
line-height: 1;
text-transform: none;
letter-spacing: 0;
text-decoration: none;
cursor: pointer;
box-shadow: none;
text-shadow: none;
appearance: none;
-webkit-appearance: none;
transition: background-color .16s var(--cxbf-ease),
border-color .16s var(--cxbf-ease),
color .16s var(--cxbf-ease);
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-apply {
flex: 2 1 auto;
background-color: var(--cxbf-accent);
border-color: var(--cxbf-accent);
color: #fff;
}
@media (hover: hover) {
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-apply:hover:not(:disabled) {
filter: brightness(.93);
color: #fff;
}
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-apply:disabled {
opacity: .62;
cursor: progress;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-reset {
background-color: transparent;
border-color: var(--cxbf-line);
color: var(--cxbf-ink-soft);
}
@media (hover: hover) {
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-reset:hover:not(:disabled) {
border-color: #C4CAD4;
background-color: var(--cxbf-surface-sunk);
color: var(--cxbf-ink);
}
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-reset:disabled {
opacity: .62;
cursor: progress;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-actions .button:focus-visible {
outline: 2px solid var(--cxbf-accent);
outline-offset: 2px;
}
.cxb-b2b-horizontal-filter-container {
position: relative;
padding: 0;
margin-bottom: 20px;
background: var(--cxbf-surface);
border: 1px solid var(--cxbf-line);
border-radius: var(--cxbf-radius-box);
box-sizing: border-box;
}
.cxb-b2b-horizontal-filter-bar {
display: flex;
align-items: center;
gap: 10px;
min-height: 50px;
padding: 8px 10px 8px 14px;
box-sizing: border-box;
}
.cxb-b2b-horizontal-filter-label {
flex: 0 0 auto;
display: inline-flex;
align-items: center;
gap: 7px;
font-size: 14px;
font-weight: 600;
line-height: 1.4;
color: var(--cxbf-ink);
white-space: nowrap;
text-transform: none;
letter-spacing: 0;
}
.cxb-b2b-horizontal-filter-bar-sep {
flex: 0 0 auto;
align-self: stretch;
width: 1px;
margin: 6px 0;
background: var(--cxbf-line-soft);
}
.cxb-b2b-horizontal-filter-summary {
flex: 1 1 auto;
min-width: 0;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
}
.cxb-b2b-horizontal-filter-empty {
font-size: 13px;
color: var(--cxbf-ink-faint);
}
.cxb-b2b-horizontal-filter-chip {
display: inline-flex;
align-items: center;
gap: 6px;
max-width: 240px;
min-height: 26px;
padding: 0 6px 0 10px;
border: 1px solid rgba(var(--cxbf-accent-rgb), .28);
border-radius: 999px;
background: rgba(var(--cxbf-accent-rgb), .08);
color: var(--cxbf-accent);
font-size: 12.5px;
font-weight: 500;
line-height: 1.3;
white-space: nowrap;
}
.cxb-b2b-horizontal-filter-chip-text {
overflow: hidden;
text-overflow: ellipsis;
}
.cxb-b2b-horizontal-filter-chip-attr {
opacity: .72;
font-weight: 400;
}
.cxb-b2b-horizontal-filter-chip-remove {
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
padding: 0;
margin: 0;
border: 0;
border-radius: 50%;
background: transparent;
color: inherit;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
box-shadow: none;
line-height: 1;
transition: background-color .14s var(--cxbf-ease);
}
.cxb-b2b-horizontal-filter-chip-remove::before {
content: "";
width: 9px;
height: 9px;
background-color: currentColor;
-webkit-mask: no-repeat center / contain
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
mask: no-repeat center / contain
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}
@media (hover: hover) {
.cxb-b2b-horizontal-filter-chip-remove:hover {
background-color: rgba(var(--cxbf-accent-rgb), .18);
}
}
.cxb-b2b-horizontal-filter-chip-remove:focus-visible {
outline: 2px solid var(--cxbf-accent);
outline-offset: 1px;
}
.cxb-b2b-horizontal-filter-clear {
flex: 0 0 auto;
display: inline-flex;
align-items: center;
min-height: 28px;
padding: 0 10px;
border: 1px solid transparent;
border-radius: var(--cxbf-radius-control);
background: transparent;
color: var(--cxbf-ink-soft);
font-size: 13px;
font-weight: 500;
line-height: 1;
text-decoration: none;
cursor: pointer;
white-space: nowrap;
appearance: none;
-webkit-appearance: none;
box-shadow: none;
transition: background-color .16s var(--cxbf-ease), color .16s var(--cxbf-ease);
}
.cxb-b2b-horizontal-filter-clear[hidden] {
display: none;
}
@media (hover: hover) {
.cxb-b2b-horizontal-filter-clear:hover {
background-color: var(--cxbf-surface-sunk);
color: var(--cxbf-ink);
}
}
.cxb-b2b-horizontal-filter-clear:focus-visible {
outline: 2px solid var(--cxbf-accent);
outline-offset: 2px;
}
.cxb-b2b-horizontal-filter-toggle {
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
padding: 0;
margin: 0;
border: 1px solid transparent;
border-radius: var(--cxbf-radius-control);
background: transparent;
color: var(--cxbf-ink-faint);
cursor: pointer;
appearance: none;
-webkit-appearance: none;
box-shadow: none;
line-height: 1;
transition: background-color .16s var(--cxbf-ease), color .16s var(--cxbf-ease);
}
@media (hover: hover) {
.cxb-b2b-horizontal-filter-toggle:hover {
background-color: var(--cxbf-surface-sunk);
color: var(--cxbf-ink);
}
}
.cxb-b2b-horizontal-filter-toggle:focus-visible {
outline: 2px solid var(--cxbf-accent);
outline-offset: 2px;
}
.cxb-b2b-horizontal-filter-toggle svg {
width: 18px;
height: 18px;
transform-origin: center;
transition: transform .22s var(--cxbf-ease);
}
.cxb-b2b-horizontal-filter-container.expanded .cxb-b2b-horizontal-filter-toggle svg {
transform: rotate(180deg);
}
.cxb-b2b-horizontal-filter-panel {
display: grid;
grid-template-rows: 1fr;
transition: grid-template-rows .26s var(--cxbf-ease);
}
.cxb-b2b-horizontal-filter-panel-inner {
min-height: 0;
overflow: hidden;
padding: 0 14px 10px;
border-top: 1px solid var(--cxbf-line-soft);
}
.cxb-b2b-horizontal-filter-container.collapsed .cxb-b2b-horizontal-filter-panel {
grid-template-rows: 0fr;
}
.cxb-b2b-horizontal-filter-container.collapsed .cxb-b2b-horizontal-filter-panel-inner {
visibility: hidden;
border-top-color: transparent;
transition: visibility 0s .26s;
}
.cxb-b2b-horizontal-filter-attribute-group {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 9px 0;
border-bottom: 1px solid var(--cxbf-line-soft);
}
.cxb-b2b-horizontal-filter-attribute-group:last-child {
border-bottom: 0;
}
.cxb-b2b-horizontal-filter-attribute-header {
flex: 0 0 auto;
width: 120px;
padding-top: 6px;
box-sizing: border-box;
}
.cxb-b2b-horizontal-filter-attribute-name {
display: block;
font-size: 13px;
font-weight: 600;
line-height: 1.4;
color: var(--cxbf-ink-soft);
text-transform: none;
letter-spacing: 0;
overflow-wrap: anywhere;
}
.cxb-b2b-horizontal-filter-attribute-values {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
flex: 1 1 auto;
min-width: 0;
}
.cxb-b2b-horizontal-filter-value-separator {
display: none;
}
.cxb-b2b-horizontal-filter-value-item {
position: relative;
display: inline-flex;
align-items: center;
min-height: 32px;
padding: 0 13px;
margin: 0;
border: 1px solid var(--cxbf-line);
border-radius: 999px;
background: var(--cxbf-surface);
color: var(--cxbf-ink-soft);
font-size: 13px;
font-weight: 500;
line-height: 1;
cursor: pointer;
white-space: nowrap;
text-decoration: none;
text-transform: none;
letter-spacing: 0;
appearance: none;
-webkit-appearance: none;
box-shadow: none;
transition: background-color .16s var(--cxbf-ease),
border-color .16s var(--cxbf-ease),
color .16s var(--cxbf-ease);
}
@media (hover: hover) {
.cxb-b2b-horizontal-filter-value-item:hover {
border-color: rgba(var(--cxbf-accent-rgb), .5);
background-color: rgba(var(--cxbf-accent-rgb), .06);
color: var(--cxbf-ink);
text-decoration: none;
}
}
.cxb-b2b-horizontal-filter-value-item:focus-visible {
outline: 2px solid var(--cxbf-accent);
outline-offset: 2px;
}
.cxb-b2b-horizontal-filter-value-item.active {
background-color: var(--cxbf-accent);
border-color: var(--cxbf-accent);
color: #fff;
padding-left: 11px;
padding-right: 13px;
}
.cxb-b2b-horizontal-filter-value-item.active::before {
content: "";
width: 11px;
height: 11px;
margin-right: 6px;
background-color: currentColor;
-webkit-mask: no-repeat center / contain
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
mask: no-repeat center / contain
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.cxb-b2b-horizontal-filter-value-item.loading {
cursor: progress;
opacity: .62;
}
.cxb-b2b-horizontal-filter-container.is-busy .cxb-b2b-horizontal-filter-panel-inner,
.cxb-b2b-horizontal-filter-container.is-busy .cxb-b2b-horizontal-filter-summary {
pointer-events: none;
}
.cxb-b2b-horizontal-filter-container .cxb-b2b-filter-status {
border-top: 1px solid var(--cxbf-line-soft);
}
.cxb-b2b-horizontal-filter-container .cxb-b2b-horizontal-filter-first-row {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 14px;
}
.cxb-b2b-horizontal-filter-container > .cxb-b2b-horizontal-filter-attribute-group {
padding-left: 14px;
padding-right: 14px;
}
.cxb-b2b-horizontal-filter-container .cxb-b2b-horizontal-filter-divider {
height: 1px;
margin: 2px 14px;
background: var(--cxbf-line-soft);
}
@media (max-width: 782px) {
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-attribute-header {
min-height: 52px;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-value-item {
padding: 10px 8px;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-checkbox {
width: 20px !important;
height: 20px !important;
min-width: 20px !important;
min-height: 20px !important;
max-width: 20px !important;
max-height: 20px !important;
background-size: 13px 13px !important;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-container {
max-height: 55vh;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-actions .button {
min-height: 44px;
}
.cxb-b2b-horizontal-filter-bar {
flex-wrap: wrap;
padding: 8px 8px 8px 12px;
}
.cxb-b2b-horizontal-filter-summary {
order: 3;
flex-basis: 100%;
}
.cxb-b2b-horizontal-filter-summary:empty {
display: none;
}
.cxb-b2b-horizontal-filter-bar-sep {
display: none;
}
.cxb-b2b-horizontal-filter-clear {
margin-left: auto;
}
.cxb-b2b-horizontal-filter-panel-inner {
padding: 0 12px 8px;
}
.cxb-b2b-horizontal-filter-attribute-group {
display: block;
padding: 8px 0;
}
.cxb-b2b-horizontal-filter-attribute-header {
width: auto;
padding-top: 0;
margin-bottom: 7px;
}
.cxb-b2b-horizontal-filter-attribute-name {
font-size: 12px;
}
.cxb-b2b-horizontal-filter-attribute-values {
flex-wrap: nowrap;
overflow-x: auto;
overscroll-behavior-x: contain;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
padding-right: 4px;
}
.cxb-b2b-horizontal-filter-attribute-values::-webkit-scrollbar {
display: none;
}
.cxb-b2b-horizontal-filter-value-item {
min-height: 36px;
padding: 0 15px;
font-size: 13.5px;
}
.cxb-b2b-horizontal-filter-value-item.active {
padding-left: 13px;
padding-right: 15px;
}
}
@media (prefers-reduced-motion: reduce) {
.cxb-b2b-sidebar-module-filter *,
.cxb-b2b-horizontal-filter-container * {
transition-duration: .01ms !important;
animation-duration: .01ms !important;
animation-iteration-count: 1 !important;
}
}
@media (forced-colors: active) {
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-checkbox {
border-color: ButtonBorder !important;
}
.cxb-b2b-sidebar-module-filter .cxb-b2b-filter-checkbox:checked {
background-color: Highlight !important;
border-color: Highlight !important;
}
.cxb-b2b-horizontal-filter-value-item.active {
background-color: Highlight;
color: HighlightText;
border-color: Highlight;
}
.cxb-b2b-horizontal-filter-chip {
border-color: ButtonBorder;
}
.cxb-b2b-filter-count-badge,
.cxb-b2b-filter-attribute-badge {
background-color: Highlight;
color: HighlightText;
}
}
