.visually-hidden {
    position: fixed;
    clip-path: inset(100%);
    overflow: hidden;
    margin: -1px;
    border: 0;
    padding: 0;
    width: 1px;
    height: 1px;
    white-space: nowrap;
    clip: rect(0 0 0 0);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.cms-custom-select {
    position: relative;
    width: fit-content;
    min-width: 135px;
    font-family: sans-serif;

    display: inline-block;
    vertical-align: bottom;
}

.cms-custom-select__selected {
    box-sizing: border-box;
    display: flex;
    align-items: center;

    padding: 3px 10px;
    height: 27px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;

    border-color: #87919c #959ea9 #9ea7b1 #959ea9;
    border-radius: 4px;
    color: #000;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.3), inset 0 2px 2px -1px rgba(180, 188, 191, 0.7);
}

.cms-custom-select__selected::before {
    content: '';
    height: 0px;
    margin-left: 8px;
    margin-bottom: -4px;
    border: 4px solid transparent; 
    border-top: 4px solid #000;
    order: 1;
}
.cms-custom-select.open .cms-custom-select__selected::before {
    margin-bottom: 4px;
    transform: rotate(180deg);
}


.cms-custom-select__options {
    display: none;
    position: absolute;
    z-index: 10;
    background: #fff;
    border: 1px solid #ccc;
    width: max-content;
    max-height: 180px;
    overflow-y: auto;
    border-radius: 6px;

    border-color: #87919c #959ea9 #9ea7b1 #959ea9;
    border-radius: 4px;
    color: #000;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.3), inset 0 2px 2px -1px rgba(180, 188, 191, 0.7);

    max-height: 300px;

    overflow-y: auto;

    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cms-custom-select__options::-webkit-scrollbar {
    display: none;
}

.cms-custom-select.open .cms-custom-select__options {
    display: block;
}

.cms-custom-select__option {
    box-sizing: border-box;
    padding: 3px 10px;
    height: 27px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.cms-custom-select__selected img,
.cms-custom-select__option img {
    width: 20px;
    height: 20px;
}

.cms-custom-select__option:hover {
    background: #f5f5f5;
}

.cms-custom-select__option.selected {
    background: #e7f0ff;
}