.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 24px 8vw;
    z-index: 100;
    color: #f6f5f2;
    transition: background 0.4s ease, color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    background: #ffffff;
    color: var(--green);
    padding: 16px 8vw;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header.scrolled .icon-btn {
    border-color: rgba(27, 67, 50, 0.2);
    background: rgba(27, 67, 50, 0.05);
    color: var(--green);
}

.site-header.scrolled .logo span {
    color: var(--green);
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
}

.logo span {
    color: #63b07a;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.9;
}

.main-nav a {
    position: relative;
    padding-bottom: 6px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #63b07a;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(15, 20, 16, 0.35);
    color: #f5f5f5;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.icon-btn svg {
    width: 18px;
    height: 18px;
}

.icon-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.icon-btn.cart {
    position: relative;
}

.icon-btn .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #63b07a;
    color: #0b1f17;
    font-size: 0.65rem;
    width: 20px;
    height: 20px;
    border-radius: 0;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 0;
}

.menu-line {
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

body.nav-open .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.nav-open .menu-line:nth-child(2) {
    opacity: 0;
}

body.nav-open .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 8, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2;
}

body.nav-open .nav-scrim {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 900px) {
    .site-header {
        grid-template-columns: 1fr auto;
        padding: 16px 5vw;
        gap: 0;
    }

    .site-header.scrolled {
        padding: 12px 5vw;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 80vw;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 80px 8vw;
        background: #ffffff;
        color: var(--green);
        max-height: none;
        opacity: 1;
        pointer-events: auto;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        box-shadow: 20px 0 60px rgba(0, 0, 0, 0.1);
    }

    body.nav-open .main-nav {
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
        z-index: 1100;
    }

    .nav-icons {
        gap: 12px;
    }
}