.brand-picker-toolbar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.brand-picker-search {
    position: relative;
    display: block;
    min-width: 0;
    margin: 0;
}

.brand-picker-search-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.brand-picker-search > .brand-picker-search-icon,
.brand-picker-search-submit {
    position: absolute;
    inset-inline-start: 12px;
    top: 50%;
    color: #626873;
    transform: translateY(-50%);
}

.brand-picker-search > .brand-picker-search-icon {
    pointer-events: none;
}

.brand-picker-search-submit {
    display: grid;
    place-items: center;
    inset-inline-start: 1px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
}

.brand-picker-toolbar input[type="search"] {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 10px 0 40px;
    border: 1px solid #dedfe2;
    border-radius: 10px;
    background: #f3f4f6;
    color: #171819;
    font: inherit;
}

.brand-picker-toolbar .brand-picker-reset,
#catalog-filters .catalog-popover .brand-picker-toolbar .brand-picker-reset {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: #edeef0;
    color: #171819;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
}

.brand-picker-toolbar .brand-picker-reset::before,
#catalog-filters .catalog-popover .brand-picker-toolbar .brand-picker-reset::before {
    content: '×';
    position: static;
    font-size: 20px;
    line-height: 1;
}

.brand-picker-toolbar .brand-picker-reset:disabled,
#catalog-filters .catalog-popover .brand-picker-toolbar .brand-picker-reset:disabled {
    color: #636a74;
}

.brand-picker-toolbar .brand-picker-reset:not(:disabled):hover,
#catalog-filters .catalog-popover .brand-picker-toolbar .brand-picker-reset:not(:disabled):hover {
    background: #dedfe2;
}

.brand-picker-toolbar input:focus-visible,
.brand-picker-search-submit:focus-visible,
.brand-picker-toolbar .brand-picker-reset:focus-visible {
    outline: 2px solid #171819;
    outline-offset: -2px;
}

.brand-picker-group-title {
    flex: 0 0 100%;
    grid-column: 1 / -1;
    margin: 6px 0 0;
    color: #626873;
    font-size: 13px;
}

.brand-picker-empty {
    margin: 8px 0;
    color: #626873;
    font-size: 14px;
}

.home-picker .home-picker-panel[data-home-panel="brand"]:not([hidden]) {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-picker .home-picker-panel .brand-picker-toolbar .home-brand-reset:disabled {
    background: #edeef0;
}

.home-brand-sections {
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
}

.home-brand-sections .home-picker-list-section:not([hidden]) + .home-picker-list-section:not([hidden]) {
    margin-top: 8px;
    padding-top: 8px;
}

#catalog-filters .catalog-popover .brand-picker-toolbar input[type="search"] {
    position: static;
    min-height: 44px;
    height: 44px;
    margin: 0;
    padding: 0 10px 0 40px;
    border: 1px solid #dedfe2;
    border-radius: 10px;
    background: #f3f4f6;
}

