

.navbar {
    width: 100%;
    /* max-width:1400px; */
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    gap: 20px;
    height: 84px;
    position: fixed;
    z-index: 1000;
    top: 0;
    background: white;
}

/* Logo */

.logo img {
    width: 100px;
    display: block;
}

/* Search */

.search-box {
    width: 50%;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
}


.search-box input {
    width: 100%;
    height: 48px;
    border: none;
    outline: none;
    padding: 0 18px;
    font-size: 15px;
}

.search-box button {
    width: 60px;
    height: 48px;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
}

.search-box button img {
    width: 22px;
    height: 22px;
}

/* Icons */

.nav-icons {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-icons a {
    color: #111;
    text-decoration: none;
    font-size: 24px;

    height: 26px;
    width: 26px;
}

.nav-icons a img {
    height: 100%;
    width: 100%;
}

.cart {
    position: relative;
}

.cart span {
    position: absolute;
    top: -8px;
    right: -10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: red;
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */

.menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
}


/* ===========================
        Mobile
=========================== */

@media (max-width:768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 15px;
        height: 150px;
    }

    .menu-btn {
        display: block;
    }

    .logo {
        width: auto;
    }

    .logo img {
        width: 100px;
    }

    .search-box {
        width: 100%;
        order: 3;
        margin-top: 15px;
    }

    .nav-icons {
        gap: 18px;
    }

    .nav-icons a {
        font-size: 22px;
        width: 24px;
        height: 24px;
    }

}



 

.search-box{
    position:relative;
} 

.search-results{
    position:absolute;
    top:55px;
    left:0;
    width:100%;
    background:#fff;
    border:1px solid #ddd;
    border-radius:8px;
    max-height:350px;
    overflow-y:auto;
    display:none;
    z-index:999;
    box-shadow:0 8px 25px rgba(0,0,0,.15);
}

.search-item{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px;
    cursor:pointer;
    border-bottom:1px solid #eee;
}

.search-item:hover{
    background:#f7f7f7;
}

.search-item img{
    width:45px;
    height:45px;
    object-fit:contain;
}

.search-info{
    display:flex;
    flex-direction:column;
}

.search-type{
    font-size:12px;
    color:#888;
}

.search-name{
    font-size:14px;
    font-weight:600;
}

