/* HEADER WRAPPER */
.avito-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

/* INNER */
.avito-header-inner {
    max-width: 1250px;
    margin: auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.avito-logo {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    text-decoration: none;
}

/* DESKTOP MENU */
.avito-nav-desktop ul {
    display: flex;
    gap: 24px;
    list-style: none;
}
.avito-nav-desktop a {
    color: #4b5563;
    text-decoration: none;
    font-size: 15px;
}
.avito-nav-desktop a:hover {
    color: #2563eb;
}

/* BUTTON */
.avito-btn {
    background: #22c55e;
    color: white;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

/* BURGER */
.avito-burger {
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 4px;
}
.avito-burger span {
    width: 22px;
    height: 2px;
    background: #111;
}

/* MOBILE MENU */
.avito-mobile {
    position: fixed;
    top: 0; left: -280px;
    width: 260px;
    height: 100vh;
    background: #111827;
    padding: 24px;
    transition: .3s;
    color: white;
    z-index: 999;
}
.avito-mobile.open { left: 0; }

.avito-mobile-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #e5e7eb;
}

/* OVERLAY */
.avito-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    display: none;
    z-index: 998;
}
.avito-overlay.active { display: block; }

/* ADAPTIVE */
@media(max-width: 900px){
    .avito-nav-desktop { display: none; }
    .avito-burger { display: flex; }
}
