/* ==========================================
   LANGUAGE MENU
========================================== */

.languvage-style {
    position: relative;
    display: flex;
    align-items: center;
    list-style: none;
    margin-left: 20px;
    padding: 0;
    background: transparent;
}

.languvage-style .lang-img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    object-fit: contain;
    vertical-align: middle;
}

.languvage-style > a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0;
    line-height: inherit;
}

.languvage-style .sub-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    cursor: pointer;
}

.languvage-style .sub-arrow svg {
    width: 15px;
    height: 22px;
    fill: #ffffff;
}

/* ==========================================
   DROPDOWN
========================================== */

.languvage-style .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 120px;

    margin: 0;
    padding: 0;

    list-style: none;
    background: #ffffff;

    /* Orange border ONLY on dropdown */
    border-top: 3px solid #f0c419;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: opacity .3s ease,
                visibility .3s ease,
                transform .3s ease;

    z-index: 99999;
}

.languvage-style:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* Remove hover background from main navigation ONLY for language menu */
.languvage-style:hover {
    background: transparent !important;
    box-shadow: none !important;
}
.nav-menu > li.languvage-style > a {
padding-right:5px !important;
padding-left: 5px !important; 
}
.has-dropdown.languvage-style > a:after {
display: none !important;
}
/* Also prevent anchor hover background inside it */
.languvage-style:hover > a {
    background: transparent !important;
}
/* ==========================================
   DROPDOWN ITEMS
========================================== */

.languvage-style .dropdown li {
    margin: 0;
    padding: 0;
    width: 100%;
}

.languvage-style .dropdown li a {
    display: block;
    width: 100%;

    padding: 14px 20px;

    color: #222;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;

    background: #ffffff;

    transition: background-color .25s ease,
                color .25s ease;
}

.languvage-style .dropdown li a:hover {
    background: #3f444b;
    color: #ffffff !important;
}

/* Active Language */

.languvage-style .dropdown li.current-lang a,
.languvage-style .dropdown li.active a {
    background: #404754;
    color: #ffffff;
}



/* ==========================================
   LAST MENU ITEM ALIGNMENT
========================================== */

.main-navigation > ul {
    display: flex;
    align-items: center;
}

.main-navigation > ul > .languvage-style {
    margin-left: auto;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 1024px) {

    .languvage-style {
        width: 100%;
        margin-left: 0;
    }

    .languvage-style .dropdown {
        position: static;
        width: 100%;

        opacity: 1;
        visibility: visible;
        transform: none;

        display: none;

        box-shadow: none;
        border-top: 3px solid #f0c419;
    }

    .languvage-style:hover .dropdown {
        display: block;
    }

    .languvage-style .dropdown li a {
        padding: 12px 15px;
    }
}