.nb-navbar {
    width: 100%;
    background: transparent;
    position: relative;
    z-index: 1000;
    box-sizing: border-box;
}

.nb-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6px 16px;
    height: 62px;
    /* you can adjust */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand */
.nb-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.nb-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.nb-brand-name {
    font-weight: 700;
    font-size: 1rem;
}

/* Desktop menu */
.nb-menu {
    list-style: none;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
    margin-left: auto;
    /* pushes menu to the right */
}

.nb-menu li {
    display: inline-block;
}

.nb-menu a {
    text-decoration: none;
    color: inherit;
    padding: 10px 12px;
    font-weight: 600;
}

/* Hamburger (hidden desktop) */
.nb-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nb-toggle img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
    pointer-events: none;
}

/* =========================
   Mobile
   ========================= */
@media (max-width: 700px) {
    .nb-toggle {
        display: inline-flex;
    }

    .nb-menu {
        position: fixed;
        top: 62px;
        /* same as .nb-container height */
        right: 0;
        width: min(82vw, 320px);
        height: calc(100vh - 62px);
        flex-direction: column;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.65);
        backdrop-filter: blur(6px);
        box-shadow: -10px 24px 40px rgba(0, 0, 0, 0.18);
        transform: translateX(100%);
        transition: transform 0.28s cubic-bezier(.2, .9, .25, 1);
        z-index: 1100;
    }

    .nb-menu li {
        width: 100%;
    }

    .nb-menu a {
        display: block;
        width: 100%;
        padding: 12px 14px;
    }

    html.nb-open .nb-menu {
        transform: translateX(0);
    }

    /* backdrop */
    .nb-backdrop {
        position: fixed;
        top: 62px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.28);
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s ease;
        z-index: 1050;
    }

    html.nb-open .nb-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    html.nb-open,
    body.nb-open {
        overflow: hidden;
        touch-action: none;
    }
}