.featuresort-dropdown {
    position: relative;
    display: inline-block;
    min-width: 220px;
    max-width: 100%;
}

.featuresort-dropdown__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 220px;
    max-width: 100%;
    padding: 7px 12px;
    border: 1px solid #cfd7e3;
    background: #fff;
    color: inherit;
    cursor: pointer;
    box-sizing: border-box;
}

.featuresort-dropdown__label {
    display: inline-block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featuresort-dropdown__arrow {
    flex: 0 0 auto;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}

.featuresort-dropdown__menu {
    position: absolute;
    left: 0;
    top: calc(100% + 2px);
    z-index: 50;
    display: none;
    min-width: 100%;
    max-width: 420px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #cfd7e3;
    box-sizing: border-box;
}

.featuresort-dropdown.is-open .featuresort-dropdown__menu {
    display: block;
}

.featuresort-dropdown__menu li {
    margin: 0;
    padding: 0;
}

.featuresort-dropdown__menu a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.featuresort-dropdown__menu li.is-active > a {
    font-weight: 600;
}

.featuresort-fallback {
    margin: 12px 0 18px;
    padding: 12px 14px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    background: #fff;
}

.featuresort-fallback-title {
    font-weight: 600;
    margin-bottom: 6px;
}

.featuresort-fallback-note {
    color: #777;
    font-size: 12px;
    margin-bottom: 10px;
}

.featuresort-fallback-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.featuresort-fallback-link,
.featuresort-inline-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    text-decoration: none;
}

.featuresort-fallback-link.is-active,
.featuresort-inline-link.is-active,
.sorting .selected a,
.sorting .active a,
.sorting a.selected,
.sorting a.active {
    font-weight: 600;
}
