
/***** Structure *****/
#pre-loop {
    position: relative;
}
#pre-loop {
    margin-bottom: 30px;
}
#pre-loop {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

/***** Result count *****/
#result-count {
    font-family: 'content-font';
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary);
}

/***** Order by *****/
#pre-loop form {
    position: absolute;
    right: 10px;
}
#pre-loop form {
    margin: 0;
}

/***** Order by / select *****/
#pre-loop select {
    position: relative;
    cursor: pointer;
}
#pre-loop select {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#pre-loop select {
    background-color: var(--primary);
    border-radius: 20px;
    padding: 10px 50px;
}
#pre-loop select {
    font-family: 'content-font';
    font-size: 14px;
    color: #fff;

}

/***** Order by / sub-menu *****/
#pre-loop select {
    appearance: none;
}
#pre-loop select {
    @supports (appearance: base-select) {
        &, &::picker(select) {
            appearance: base-select;       
        }
    }
}
#pre-loop select {
    @supports (appearance: base-select) {
        &, &::picker(select) {
            margin: 5px 0;          
        }
    }
}
#pre-loop select {
    @supports (appearance: base-select) {
        &, &::picker(select) {
            border-radius: 20px;
            border: none;
            box-shadow: 0 0 5px #00000050;       
        }
    }
}

/***** Order by / options *****/
option {
    cursor: pointer;
}
option {
    display: flex;
    align-items: center;
    gap: 10px;
}
option {
    padding: 5px 20px;
}
option {
    border-top: 1px solid #eee;
}
option {
    &:where(:hover, :focus, :active) {
        transition: .2s ease-in-out;
    }
    &:where(:hover) {
        background-color: #eee;
    }
    &:where(:focus, :active) {
        background-color: var(--secondary);
        color: #fff;
    }
}

 