.editorial-dropdown {
    position: relative;
    width: 100%;
    min-width: 0;
}

.editorial-dropdown__native {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.editorial-dropdown__trigger {
    width: 100%;
    min-height: 38px;
    border: 1px solid #d7d7d7;
    border-radius: 0;
    background: transparent;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    font: inherit;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    text-align: left;
    transition: border-color 220ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-dropdown__trigger:hover {
    border-color: #bfbfbf;
}

.editorial-dropdown.is-open .editorial-dropdown__trigger {
    border-color: #111111;
    background: #ffffff;
}

.editorial-dropdown__trigger:focus-visible {
    outline: none;
    border-color: #111111;
    background: #ffffff;
}

.editorial-dropdown__value {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.editorial-dropdown__chevron {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-right: 1.4px solid currentColor;
    border-bottom: 1.4px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transform-origin: 50% 50%;
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-dropdown.is-open .editorial-dropdown__chevron {
    transform: rotate(-135deg) translateY(-1px);
}

.editorial-dropdown__menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 1800;
    border: 1px solid #d7d7d7;
    border-radius: 0;
    background: #ffffff;
    max-height: min(300px, 42vh);
    overflow: auto;
    overscroll-behavior: contain;
}

.editorial-dropdown__option {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #efefef;
    border-radius: 0;
    background: #ffffff;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    text-align: left;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    cursor: pointer;
}

.editorial-dropdown__option:last-child {
    border-bottom: 0;
}

.editorial-dropdown__option::before {
    content: "";
    width: 6px;
    height: 6px;
    border: 1px solid transparent;
    background: transparent;
    flex: 0 0 6px;
}

.editorial-dropdown__option[aria-selected="true"] {
    font-weight: 700;
    background: #f6f6f6;
}

.editorial-dropdown__option[aria-selected="true"]::before {
    border-color: #111111;
    background: #111111;
}

.editorial-dropdown__option:hover,
.editorial-dropdown__option:focus-visible {
    outline: none;
    background: #f3f3f3;
}

.editorial-dropdown__option[disabled] {
    color: rgba(0, 0, 0, 0.38);
    cursor: not-allowed;
    background: #fafafa;
}

.editorial-dropdown__option[disabled]::before {
    border-color: #d0d0d0;
    background: transparent;
}

.editorial-dropdown.is-disabled .editorial-dropdown__trigger {
    color: rgba(0, 0, 0, 0.45);
    border-color: #dcdcdc;
    background: #f7f7f7;
    cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
    .editorial-dropdown__trigger,
    .editorial-dropdown__chevron {
        transition: none !important;
    }
}
