.sorting-ui {
    position: relative;
    display: inline-block;
}

.sorting-current {
    border: 1px solid #C0CEDF;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
    border-radius: 30px;
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
    height: 40px;
    font-size: 16px;
    font-weight: 500;
    color: #465C79;
    font-family: inherit;
    padding: 0 24px;
    outline: none !important;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    width: 100%;
    -webkit-box-shadow: 0px 2px 10px rgba(78, 127, 222, 0.2);
    box-shadow: 0px 2px 10px rgba(78, 127, 222, 0.2);
}

.sorting-current .arrow {
    border: solid #555;
    border-width: 0 2px 2px 0;
    padding: 4px;
    transform: rotate(45deg);
    transition: 0.2s;
}

.sorting-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    width: 230px;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: 0.25s;
    z-index: 20;
}

.sorting-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.sorting-item {
    display: block;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: 0.15s;
}

.sorting-item:hover {
    background: #f7f7f7;
}

.sorting-item.active {
    background: #f1faff;
    font-weight: 600;
}
.sorting-row{
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.sorting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    gap: 10px;
}

.sorting-icon {
    width: 16px;
    height: 16px;
    fill: #999;
    transition: 0.2s;
}

.sorting-item.active .sorting-icon {
    fill: #000;
}
.sorting-v2 {
    display: flex;
    gap: 12px;
    background: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.sorting-v2-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: #444;
    text-decoration: none;
    transition: 0.2s;
    font-size: 14px;
}

.sorting-v2-item:hover {
    background: #f3f4f5;
}

.sorting-v2-item.active {
    background: #eef2ff;
    color: #1d4ed8;
}

.sorting-v2-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: 0.2s;
}

.sorting-v2-icon.inactive {
    opacity: .3;
}
