@import "https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap";* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Cairo
}

.container.index {
    white-space: nowrap;
    color: #000
}

.container.index .nav-start ul {
    display: flex;
    margin: 0
}

#nav-menu :root {
    --dark-grey: #333333;
    --medium-grey: #636363;
    --light-grey: #eeeeee;
    --ash: #f4f4f4;
    --primary-color: #2b72fb;
    --white: white;
    --border: 1px solid var(--light-grey);
    --shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px
}

#nav-menu ul {
    list-style: none
}

#nav-menu a {
    text-decoration: none;
    color: inherit
}

#nav-menu button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: #848484;
    white-space: nowrap
}

#nav-menu .btn {
    display: block;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: .6rem 1.4rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px
}

#nav-menu .icon {
    padding: .5rem;
    background-color: var(--light-grey);
    border-radius: 10px
}

#nav-menu .logo {
    margin-right: 1.5rem
}

#nav-menu {
    border-bottom: var(--border);
    position: sticky;
    top: 0;
    background: #ffff;
    z-index: 10000
}

#nav-menu .container {
    display: flex;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    column-gap: 2rem;
    height: 90px;
    padding: 1.2rem 3rem
}

.nav-fix {
    position: relative;
    background: var(--white);
    display: flex;
    gap: 30px;
    align-items: center
}

.nav-fix li:first-child .dropdown {
    flex-direction: initial;
    min-width: 480px
}

.nav-fix li:first-child ul:nth-child(1) {
    border-right: var(--border)
}

.nav-fix li:nth-child(n+2) ul:nth-child(1) {
    border-bottom: var(--border)
}

.nav-fix .dropdown-link-title {
    font-weight: 600
}

.nav-fix .nav-link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    padding: 0;
    min-width: 0;
    margin: 0 11px;
    color: #848484
}

.nav-fix .nav-link:hover,.dropdown-link:hover {
    color: #ff6d00
}

.nav-start,.nav-end,.nav-bar,.right-container,.right-container .search {
    display: flex;
    align-items: center
}

.nav-end .dropdown {
    display: flex;
    flex-direction: column;
    min-width: 230px;
    background-color: var(--white);
    border-radius: 10px;
    position: absolute;
    top: 36px;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    transform: scale(.97) translateX(-5px);
    transition: all .1s ease-in-out 0s;
    box-shadow: var(--shadow);
    padding: 8px;
    max-height: 410px;
    overflow-y: auto;
    box-shadow: rgba(100,100,111,.2) 0 7px 29px 0;
    overflow-x: hidden
}

.nav-end .dropdown.active {
    visibility: visible;
    opacity: 1;
    transform: scale(1) translateX(5px);
    z-index: 10000;
    background: #fff;
    padding: 7px
}

.nav-end .dropdown ul {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 11px;
    font-size: .95rem
}

.nav-end .dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .15rem
}

.nav-end .dropdown-link {
    display: flex;
    gap: .5rem;
    padding: .5rem 0;
    border-radius: 7px;
    transition: all .1s ease-in-out 0s
}

.nav-end .dropdown-link p {
    font-size: .8rem;
    color: var(--medium-grey)
}

.right-container {
    display: flex;
    align-items: center;
    column-gap: 1rem
}

.right-container .search {
    position: relative
}

.right-container img {
    border-radius: 50%
}

.search input {
    background-color: #fafafa;
    border-radius: 6px;
    padding: .7rem .7rem .7rem 2.4rem;
    font-size: 16px;
    width: 472px;
    border: none;
    height: 40px
}

[dir=rtl] .search .bx-search {
    position: absolute;
    left: 0;
    top: 50%;
    font-size: 1.3rem;
    transform: translateY(-50%);
    background: #ff6d00;
    height: 40px;
    width: 50px;
    border-radius: 10px 0 0 10px;
    color: #fff;
    padding: 11px
}

#hamburger {
    display: none;
    padding: .1rem;
    margin-left: 1rem;
    font-size: 1.9rem
}

@media(max-width: 1100px) {
    #hamburger {
        display:block
    }

    .nav-end nav ul.nav-fix {
        display: flex
    }

    .container {
        padding: 1.2rem
    }

    .menu {
        display: none;
        position: absolute;
        top: 87px;
        left: 0;
        min-height: 22vh;
        width: 100vw;
        background: #ffff;
        z-index: 1000
    }

    .nav-fix li:first-child ul:nth-child(1) {
        border-right: none;
        border-bottom: var(--border)
    }

    .menu.show,.dropdown.active {
        display: block
    }

    .dropdown ul {
        padding-left: .3rem
    }

    .nav-fix {
        gap: 42px
    }

    .nav-fix .nav-link {
        display: flex;
        width: 100%;
        margin: 0
    }
}

@media(max-width: 600px) {
    .right-container {
        display:none
    }
}

.nav-form {
    padding: 10px
}

.nav-form button {
    background: #ff6d00;
    color: #fff;
    border: none;
    height: 36px;
    width: 137px;
    border-radius: 21px;
    margin: 22px 15%
}

#dropdown3 img {
    border-radius: 50%;
    width: 59px;
    height: 59px;
    margin: 0 0 0 12px
}

#dropdown3 h5 {
    font-size: 14px;
    color: #000;
    margin: 9px 0
}

#dropdown3 a {
    font-size: 11px;
    cursor: pointer
}

#dropdown3 p {
    font-size: 12px;
    margin: 7px 13px;
    color: #001684
}

#dropdown3 .log-out {
    color: red;
    font-size: 12px;
    cursor: pointer
}

#dropdown3 .d-flex.flex-row {
    border-bottom: 1px solid rgba(128,128,128,.17);
    padding: 0 0 19px;
    margin: 0 0 13px
}

#dropdown2 img {
    width: 64px;
    border-radius: 5px;
    height: 71px;
    margin: 0 -5px 0 12px
}

#dropdown2 p {
    font-size: 13px;
    color: #000
}

#dropdown2 button {
    background: #ff6d00;
    color: #fff;
    border: none;
    height: 36px;
    width: 139px;
    border-radius: 21px;
    margin: 22px 25%
}

#dropdown4 button {
    background: #ff6d00;
    color: #fff;
    border: none;
    height: 36px;
    width: 139px;
    border-radius: 21px;
    margin: 22px 12%
}

#dropdown2.dropdown {
    min-width: 294px;
    padding: 14px
}

#dropdown1 ul li {
    font-size: 12px;
    padding: 9px 1px 18px 0;
    white-space: normal;
    color: #000;
    font-family: Cairo;
    margin: -19px 0 7px;
    width: 300px;
    border-bottom: 1px solid rgba(221,221,221,.69)
}

#dropdown1 ul li span {
    float: left;
    margin: -11px 15px 0;
    color: rgba(0,0,0,.5)
}

#dropdown1 ul li:hover {
    background: #ddd;
    color: rgba(0,0,0,.8)
}

.nav-end {
    margin-top: 17px
}

.nav-end .nav-fix .bi-heart-fill {
    margin: 0 5px 4px 0
}

@media screen and (min-width: 1400px) {
    .search input {
        background-color:#fafafa;
        border-radius: 6px;
        padding: .7rem .7rem .7rem 2.4rem;
        width: 700px;
        font-size: 16px;
        border: none;
        height: 40px
    }
}

@media screen and (max-width: 1240px) {
    .search input {
        background-color:#fafafa;
        border-radius: 6px;
        padding: .7rem .7rem .7rem 2.4rem;
        font-size: 16px;
        width: 334px;
        border: none;
        height: 40px
    }

    #nav-menu .container {
        display: flex;
        align-items: center;
        max-width: 1600px;
        margin: 0 auto;
        column-gap: 2rem;
        justify-content: space-between;
        height: 90px;
        padding: 1.2rem 0 0 11.2rem;
    }

    .navbar-nav .nav-fix {
        position: relative;
        background: var(--white);
        display: flex;
        gap: 30px;
        align-items: center;
        margin: 0 20px
    }
}

@media screen and (max-width: 820px) {
    [dir=rtl] .logo {
        margin-right:-2.5rem
    }

    .nav-fix {
        gap: 22px
    }

    [dir=rtl] #hamburger {
        padding: .1rem;
        margin-left: -2rem;
        font-size: 1.9rem;
        margin-bottom: 10px
    }

    [dir=ltr] #hamburger {
        padding: .1rem;
        margin-right: -2rem;
        font-size: 1.9rem;
        margin-bottom: 10px
    }
    #nav-menu .container {
        display: flex;
        align-items: center;
        max-width: 1600px;
        margin: 0 auto;
        column-gap: 2rem;
        justify-content: flex-start;
        height: 90px;
        padding: 1.2rem 3rem;
    }

    [dir=ltr] .logo {
        margin-left: -2.5rem
    }

    .logo img {
        width: 88px;
        margin: 0 -63px
    }
}

@media screen and (max-width: 530px) {
    .nav-fix .nav-link {
        font-size:0
    }

    #nav-menu .container {
        display: flex;
        align-items: center;
        max-width: 1600px;
        margin: 0 auto;
        column-gap: 2rem;
        justify-content: space-between;
        height: 90px;
        padding: 1.2rem 3rem;
    }
    [dir=rtl] .dropdown {
        left: 0;
    }
    .w3-sidebar.w3-bar-block.w3-border-right .nav-end .dropdown {
        left: -157px;
    }
    [dir=ltr] .dropdown {
        right: 0
    }
    .nav-fix {
        gap: 13px;
        padding: 0
    }
}

[dir=ltr] .search .bx-search {
    position: absolute;
    right: 0;
    top: 50%;
    font-size: 1.3rem;
    transform: translateY(-50%);
    background: #ff6d00;
    height: 40px;
    width: 50px;
    border-radius: 0 10px 10px 0;
    color: #fff;
    padding: 11px
}

#dropdown2 button.delete-cart {
    background: 0 0;
    color: rgb(89 98 119);
    border: none;
    height: 21px;
    width: 12px;
    border-radius: 21px;
    margin: 0
}

#dropdown5.dropdown {
    display: flex;
    flex-direction: column;
    min-width: 230px;
    background-color: var(--white);
    border-radius: 10px;
    position: absolute;
    top: 134px
}

.second-nav .dropdown-menu.show {
    display: block;
    margin: -41px 100%
}

.second-nav .nav-end .dropdown {
    display: flex;
    flex-direction: column;
    min-width: 230px;
    background-color: var(--white);
    border-radius: 10px;
    position: absolute;
    top: 36px;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    transform: scale(.97) translateX(-5px);
    transition: all .1s ease-in-out 0s;
    box-shadow: var(--shadow);
    padding: 8px;
    max-height: 410px;
    overflow: auto
}

.dropdown ul li {
    cursor: pointer
}
