.header-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    order: 1;
}

.logo h1,
.logo a {
    font-size: 24px;
}

.search-container {
    flex-grow: 1;
    max-width: 50%;
    position: relative;
    transition: all 0.3s;
    order: 2;
    margin-left: 2rem;
    line-height: 50px;
}

.search-box {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    text-align: right;
    height: 44.3px;
    overflow: hidden;
    line-height: 50px;
}

.search-icon button {
    position: relative;
    width: 100%;
    height: 100%;
    border: none;
    background: none;
    outline: none;
    box-shadow: none;
}

.search-icon {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    cursor: pointer;
    overflow: hidden;
}



.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    order: 3;
    margin-right: auto;
    padding-right: 0;
    height: 50px;
    line-height: 50px;
}

.nav-item {
    cursor: pointer;
}

.nav-item a {
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    cursor: pointer;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    order: 3;
}

@media (max-width: 960px) {

    .logo h1,
    .logo a {
        font-size: 16px;
    }

    .nav-menu {
        display: none;
    }

    .search-container {
        max-width: calc(100% - 70px);
        order: 2;
        margin-left: 0;
    }

    .hamburger {
        display: block;
        order: 3;
    }

    .logo {
        order: 1;
    }

    .header-container.rtl {
        order: 3;
    }

    .header-container.rtl .hamburger {
        order: 1;
    }

    .header-container.rtl .logo {
        order: 2;
    }
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 200px;
    text-align: right;
}




















.e-appbar {
    width: 100%;
    line-height: 65px;
    height: 65px;
    display: inline-flex;
}