﻿/* --- ORIGINAL CSS START --- */
#main-navigation {
    padding: 17px 23px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 120;
    user-select: none;
}

@media (max-width: 1199px) {
    #main-navigation {
        padding: 0;
        box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.1);
        max-width: 100%;
        border: 1px solid #3a3a3a;
        border-radius:30px;
    }
}

.nav--logo img {
    width: 110px;
    height: auto;
}

.nav--link {
    display: inline-block;
    color: black;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.sticky #main-navigation {
    position: fixed;
    width: 100%;
    background-color: white;
    box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.1);
}

.nav--wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav--button {
    background-color: transparent;
    cursor: pointer;
    border: 0;
    outline: 0;
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 16px;
    position: relative;
}

#secondary-navigation {
    display: flex;
}

.nav--account-button, .nav--search-button, #region-launcher {
    margin: 0 20px 0 0;
    font-size: 16px !important;
    display: inline-block !important;
    background-color: transparent;
    border: 0;
    outline: 0;
    cursor: pointer;
    padding: 5px 10px;
    color: black !important;
    text-transform: uppercase;
}

.nav--region {
    font-size: 17px;
    line-height: 1em;
    font-weight: 500;
    padding: 10px 15px 10px 20px;
    color: #000;
}

    .nav--region a {
        text-decoration: none;
        color: #000;
    }

.nav--child-menu {
    position: absolute;
    width: 100px;
    background-color: white;
    z-index: 1000;
    opacity: 0;
    padding: 10px 0;
    pointer-events: none;
    transition: all 0.7s ease;
    top: 40px;
    overflow-y: auto;
    max-height: 450px;
    border-radius:10px;
    right:0;
}

    .nav--child-menu.active {
        opacity: 1;
        pointer-events: auto;
    }

/* --- AAPKI LAST WALI CLASSES --- */
.header-section #main-navigation {
/*    padding: 0 30px 2px 0 !important;*/
    box-shadow: none !important;
}

.header-section-shadow #main-navigation {
    padding: 0 10px 2px 0 !important;
}

.header-section #region-launcher {
    margin: 0 !important;
    padding: 0 !important;
    color: #000 !important;
}

.header-section-shadow #region-launcher {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
}
/* --- ORIGINAL CSS END --- */

/* --- ADDED FIXES FOR ICON & MOBILE --- */
#region-launcher {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

    #region-launcher i.fa-globe {
        font-size: 18px;
    }

@media (max-width: 1199px) {
    #region-launcher {
        color: #fff !important; 
        margin-right: 0 !important;
    }

    .region-text {
        display: inline-block !important;
    }

    /* Dropdown alignment so it doesn't hide */
    .nav--wrapper.active .nav--child-menu {
        left: 0 !important;
        left: auto;
        min-width: 100px;
        bottom: 60px; 
        top: auto;
        border-radius: 10px;
    }
}
