#header-actions #header-locale form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

#header-actions #header-locale #display-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

#header-actions #header-locale #display-text i {
    height: 17px;
}

#header-actions #header-locale #display-text:hover i,
#header-actions #header-locale #display-text:hover p {
    color: var(--theme-color1);
}


#header-actions #header-locale #locale-dropdown {
    position: absolute;
    width: 100%;
    display: none;
    background-color: #FFF;
    margin-top: 45px;
    max-width: 135px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    cursor: default;
}

#header-actions #header-locale #locale-dropdown > * {
    border-bottom: 1px solid var(--lightgray);
    border-radius: 0;
}


#header-actions #header-locale #locale-dropdown > *:first-child {
    border-bottom: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}


#header-actions #header-locale #locale-dropdown > *:last-child {
    border-bottom: none;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

#header-actions #header-locale #locale-dropdown button {
    padding: 10px 13px;
    width: 100%;
    margin: 0;
    background-color: transparent;
    justify-content: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--text-color1);
}

#header-actions #header-locale #locale-dropdown button.active {
    background-color: var(--theme-color2);
    color: var(--text-color1);
}

@media (max-width: 767px) {
    
    #header-actions #header-locale #display-text > p {
        display: none;
    }

    #header-actions #header-locale #locale-dropdown {
        margin-top: -85px;
    }
}