.search-results a {
    display: block;
    padding: 10px;
    border-radius: 5px;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.search-results a:hover,
.search-results a:focus-visible {
    background: #f8f8f4;
}

.search-results a:last-child {
    font-weight: 700;
}

.search-filter .brand-filter {
    border: 0;
    padding: 0;
    margin: 0 0 12px;
    min-width: 0;
    max-height: none;
    overflow: visible;
}

.search-brand-options {
    clear: both;
    max-height: 18rem;
    overflow: auto;
    padding-inline: 5px;
    scrollbar-width: thin;
    scrollbar-color: var(--muted) transparent;
}

.search-brand-options label:first-child {
    margin-top: 5px;
}

.search-brand-options input {
    flex-shrink: 0;
    margin-left: 0;
}

.search-brand-options span {
    overflow-wrap: anywhere;
}

.search-brand-options small {
    margin-left: auto;
    color: var(--muted);
}

.search-filter > .text-link {
    margin-left: 8px;
}

.search-sort {
    justify-content: flex-start;
}

.search-sort .sort-control select {
    font-size: 13px;
    max-width: 100%;
}

@media (max-width: 800px) {
    .search-brand-options {
        max-height: 10rem;
    }
}
