@import url('common.css');
/* nav{
    position: sticky;
    top: 0;
    z-index: 99999;
    background-color: white;
} */
nav >div{
    display: flex;
    width: 100%;

    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
nav img{
    width: 120px;
    margin-right: 20px;
}

.nav-link{
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    padding: 10px 20px;
    cursor: pointer;
}
.nav-link li{
    list-style: none;
}

.search-bar{
    /* border: 1px solid #e4e4e4; */
    /* display: flex;
    align-items: center; */

    height: 40px;
    padding-bottom: 10px;
    
    
    width: 500px;
    position: relative;
}
.search-bar input[type='text']{
    width: 100%;
    border: 1px solid #e4e4e4;
    padding: 0 0 0 1rem;
    /* border-radius: 30px; */
    height: 40px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}
.search-bar input:focus{
   outline: none;
}


.dropdown{
    position: absolute;
    border: 1px solid var(--border);
    border-top: none;
    width: 100%;
    background-color: white;
    z-index: 10;

    display: none;
    overflow-y: scroll;
    max-height: 300px;
}
.dropdown li{
    list-style-type: none;
    padding:10px 0 0 15px ;
}



/* NAVBAR LINKS DROPDOWN */
.nav-drop-btn{
    font-weight: 600;
    text-transform: capitalize;
}

.nav-drop-btn:hover{
    color: var(--btn-color);
}
.nav-drop-content{
    display: none;
    position: absolute;
    z-index: 99;


    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    min-width: 100px;
    padding: 20px 10px;
    background-color: white;
}
.nav-dropdown{
    position: relative;
    cursor: pointer;
}
.nav-dropdown:hover .nav-drop-content{
    display: block;
}





.navbar__bar{
    display: flex;
}




/* USER BUTTONS */
.user{
    text-transform: uppercase;
    font-weight: 600;
    /* font-size: 14px; */
}


/* LOCATION BOX */
.location-box{
    min-width: 100px;
    height: 40px;
    border:1px solid var(--border);
    border-right: none;
    text-align: right;
    padding: 10px 10px;
    border-radius: 30px 0 0 30px;
}
.location-box  span:first-child{
    padding-right: 5px;
}

#get-location {
    border-left:1px solid var(--border); ;
}


/* CART BUTTON */
.cart-btn{
    position: relative;
}
.cart-btn i{
    font-size: 30px;
}

.cart-count{
    position: absolute;
    font-size: 10px;
    color: white;
    background-color: #eb3a7b;
    min-width: 10px;
    padding: 2px;
    border-radius: 50%;

    width: 15px;

    top: 0%;
    left: 100%;
    text-align: center;
}