/* Header CSS */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    background-color: #4a90e2;
    padding: 20px 10px;
    font-family: Calibri, Verdana, Arial, sans-serif;
}
.brandhead {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brandhead img {
    height: 50px;
    width: auto;
}
.brandhead .logo {
    font-size: 25px;
    font-weight: bold;
    text-decoration: none;
    color: #f7f7f5;
}
/* Float the link section to the right */
.header-right {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}
.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
}
/* Style the header links*/
.header-right a {
    padding: 12px;
    text-decoration: none;
    color: black;
    font-size: 20px;
    line-height: 25px;  
    border-radius: 4px;
}
.header-right a:hover {
background-color: #ddd;
}
.header-right a.usermain,
.header-right a.dashboard,
.header-right a.products,
.header-right a.support,
.header-right a.account {
color: #f7f7f5;
}
/* ============================================
        MOBILE MODE
   ============================================ */
@media (max-width: 700px) {

    /* Show hamburger & hide regular nav */
    .hamburger {
        display: block;
    }

    .header-right {
        display: none;  /* hidden until user taps */
        flex-direction: column;
        width: 100%;
        background-color: #4a90e2;
        text-align: center;
        padding: 10px 0;
        gap: 10px;
        border-top: 1px solid rgba(255,255,255,0.3);
    }

    /* When a class "open" is added via JS */
    .header-right.open {
        display: flex;
    }

    .header {
        flex-wrap: wrap;
        padding-bottom: 10px;
    }

    .header-right a {
        font-size: 20px;
        padding: 14px;
        width: 100%;
    }
}