.menu-country-shortcode {
    position: relative;
    list-style: none;
}

.country-switcher {
    position: relative;
    display: inline-block;
}

.dropdown-toggle-flag {
    background: transparent;
    color: white;
    padding: 0.9em;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 17px;
    font-family: 'Roboto';
    font-weight: 500;
    color: var(--theme-color-text_dark);
}

.dropdown-toggle-flag:hover {
    background: transparent;
}

.dropdown-menu-flag {
    display: none;
    position: absolute;
    background: white;
    min-width: 160px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
    z-index: 999;
}

.dropdown-menu-flag a {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #000000 !important;
    font-size: 14px;
    transition: background 0.3s ease;
}

.dropdown-menu-flag a img {
    width: 20px;
    height: auto;
    margin-right: 10px;
}

.dropdown-menu-flag a:hover {
    background: #f1f1f1;
}

/* Show dropdown on hover */
.country-switcher:hover .dropdown-menu-flag {
    display: block;
}

@media (max-width:1278px){
    .country-switcher .dropdown-menu-flag{
        position: relative;
    }
    .dropdown-toggle-flag{
        font-size: 22px;
        font-weight: bold;
        padding: 8px 2em 3px 0px;
    }
    .dropdown-toggle-flag {
        color: #000000 !important;
    }
}
