/* ================================================================
   PROJECTKART — NAVBAR
================================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    height: var(--navbar-height);
    background: rgba(7, 9, 13, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
    background: rgba(7, 9, 13, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(100% - 48px, var(--container-width));
    height: 100%;
    margin: 0 auto;
}

.navbar .container,
.navbar-inner,
.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    height: 100%;
}

.site-navbar {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    height: var(--navbar-height);
    background: rgba(7, 9, 13, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
}

.navbar-logo,
.navbar-logo-text,
.navbar-logo-mark {
    color: #fff;
}

.navbar-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-logo-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(180deg, #3b86ff, #1768ed);
    font-size: 13px;
    font-weight: 800;
}

.navbar-nav a,
.navbar-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: var(--navbar-height);
    padding: 0 12px;
    color: #b7c2d3;
    font-size: 14px;
    font-weight: 500;
}

.navbar-nav a:hover,
.navbar-link:hover,
.navbar-nav a.active,
.navbar-nav a.is-active,
.navbar-link.active {
    color: #fff;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand,
.navbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    color: #fff;
    text-decoration: none;
}

.brand__mark,
.navbar__logo {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(180deg, #3b86ff, #1768ed);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.04em;
    box-shadow: 0 8px 18px rgba(40, 120, 255, 0.28);
}

.brand__name,
.navbar__brand-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.brand__kart,
.navbar__brand-kart {
    font-weight: 800;
}

.brand__version,
.navbar__version {
    margin-left: 2px;
    color: #6d7b90;
    font-size: 10px;
    font-weight: 600;
}

.main-navigation,
.navbar__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1 1 auto;
}

.nav-link,
.navbar__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: var(--navbar-height);
    padding: 0 12px;
    color: #b7c2d3;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.nav-link:hover,
.navbar__link:hover {
    color: #fff;
}

.nav-link.active,
.nav-link.is-active,
.navbar__link.is-active,
.navbar__link[aria-current="page"] {
    color: #fff;
}

.nav-link.active::after,
.nav-link.is-active::after,
.navbar__link.is-active::after,
.navbar__link[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--color-primary);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.navbar-search {
    display: flex;
    align-items: center;
    width: 230px;
    height: 42px;
    padding: 0 6px 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.navbar-search__button {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #8b97ab;
}

.navbar-search__button svg,
.navbar-icon-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.navbar-search input {
    width: 100%;
    height: 100%;
    padding: 0 10px 0 4px;
    background: transparent;
    color: #e8eef8;
    font-size: 13px;
}

.navbar-search input::placeholder {
    color: #6e7b90;
}

.navbar-icon-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #d5deec;
    border-radius: 50%;
}

.navbar-icon-button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.navbar-cart .cart-count,
.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border-radius: 99px;
    background: var(--color-primary);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

.cart-count.is-empty,
.cart-count.hidden {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
}

.mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin-left: auto;
    background: #fff;
}

@media (max-width: 1100px) {
    .main-navigation,
    .navbar__nav,
    .navbar-search {
        display: none;
    }

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