.lfx-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.lfx-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.1rem 0;
}

.lfx-logo {
    height: 34px;
    width: auto;
}

.lfx-header .navbar-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.lfx-header .navbar-menu .nav-link {
    font-size: .95rem;
    font-weight: 500;
    color: var(--dark);
    transition: color var(--transition);
}

.lfx-header .navbar-menu .nav-link:hover,
.lfx-header .navbar-menu .nav-link.active {
    color: var(--primary);
}

.lfx-navbar-cta {
    padding: .7rem 1.5rem;
    font-size: .875rem;
}

.lfx-cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 1.05rem;
    color: var(--dark);
    transition: color var(--transition);
}

.lfx-cart-link:hover {
    color: var(--primary);
}

.lfx-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    font-size: .7rem;
    font-weight: 700;
    line-height: 1;
}

.lfx-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
}

.lfx-mobile-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--dark);
    transition: transform var(--transition), opacity var(--transition);
}

.lfx-mobile-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.lfx-mobile-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.lfx-mobile-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
    .lfx-header .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: var(--white);
        border-bottom: 1px solid rgba(0, 0, 0, .06);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition);
    }

    .lfx-header .navbar-menu.is-open {
        max-height: 480px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .lfx-header .navbar-menu .nav-link {
        display: block;
        width: 100%;
        padding: 1rem min(4%, 24px);
        border-top: 1px solid rgba(0, 0, 0, .06);
    }

    .lfx-navbar-cta {
        display: none;
    }

    .lfx-mobile-toggle {
        display: flex;
    }
}
