
/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    height: 82px;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;

    position: relative;
    z-index: 20;
}


.navbar-container {
    width: 90%;
    max-width: 1120px;
    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


.navbar-logo {
    width: 70px;
    height: 70px;
}

.navbar-logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}


.navbar-links {
    display: flex;
    align-items: center;

    gap: 34px;

    flex: 1;

    justify-content: center;
}


.navbar-links a {
    position: relative;

    color: #244b5b;

    font-size: 14px;
    font-weight: 700;

    padding: 30px 0;

    white-space: nowrap;
}


.navbar-links a::after {
    content: "";

    position: absolute;

    right: 0;
    left: 0;

    bottom: 18px;

    height: 2px;

    background: transparent;

    border-radius: 5px;
}


.navbar-links a:hover,
.navbar-links a.active {
    color: #16758a;
}


.navbar-links a.active::after {
    background: #16758a;
}


/* =========================================================
   NAVBAR ACTIONS
========================================================= */

.navbar-actions {
    display: flex;
    align-items: center;

    gap: 15px;

    direction: ltr;
}


.search-box {
    width: 330px;
    height: 40px;

    border: 1px solid #e0e4e5;

    border-radius: 25px;

    display: flex;
    align-items: center;

    padding: 0 15px;

    background: #fff;
}


.search-box input {
    border: none;
    outline: none;

    width: 100%;

    direction: rtl;
    text-align: right;

    font-size: 12px;

    color: #555;
}


.search-box input::placeholder {
    color: #9a9a9a;
}


.search-icon {
    color: #58727c;

    font-size: 23px;

    line-height: 1;
}


.profile-button {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f0f7f6;
    color: #278c9b;

    text-decoration: none;

    transition: .25s;
}

.profile-button i {
    font-size: 16px;
}

.profile-button:hover {
    background: #278c9b;
    color: #fff;
    transform: translateY(-2px);
}


/* =========================================================
   NAVBAR RESPONSIVE
========================================================= */


@media (max-width: 1050px) {

    .navbar-links {
        gap: 18px;
    }

    .navbar-links a {
        font-size: 14px;
    }

    .search-box {
        width: 240px;
    }
}



@media (max-width: 750px) {

    .navbar {
        height: auto;
    }


    .navbar-container {
        padding: 12px 0;

        flex-wrap: wrap;
    }


    .navbar-links {
        order: 3;

        width: 100%;

        overflow-x: auto;

        justify-content: flex-start;

        padding-bottom: 5px;
    }


    .navbar-links a {
        padding: 5px 0;
    }


    .navbar-links a::after {
        display: none;
    }


    .navbar-actions {
        margin-right: auto;
    }
}


@media (max-width: 500px) {

    .navbar-actions {
        width: 100%;
    }


    .search-box {
        width: 100%;
    }
}

.favorites-button {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fdf3f5;
    color: #bc4d70;

    text-decoration: none;

    transition: .25s;
}

.favorites-button i {
    font-size: 16px;
}

.favorites-button:hover {
    background: #bc4d70;
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================
   SMART SEARCH
========================================= */

.search-box {
    position: relative;
}

.smart-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 100%;
    min-width: 320px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid #eeeeee;
    padding: 10px;
    display: none;
    z-index: 1000;
}

.smart-search-dropdown.show {
    display: block;
}

.search-dropdown-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: #278c9b;
    font-size: 13px;
    font-weight: 700;
}

.search-dropdown-item {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    cursor: pointer;
    color: #244b5b;
    font-family: inherit;
    font-size: 14px;
    text-align: right;
    transition: 0.2s;
}

.search-dropdown-item:hover {
    background: #f0f7f6;
}

.search-dropdown-item i {
    width: 18px;
    color: #278c9b;
    text-align: center;
}

.search-no-results {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 12px;
    color: #7a8589;
    font-size: 14px;
}

.search-no-results i {
    color: #278c9b;
}