header {
    z-index: 200;
    height: 70px;
    background-color: #101010;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    gap: 0;
    overflow: visible;
}

.header-left  { display: flex; align-items: center; gap: 0.5rem; flex: 1; min-width: 0; }
.header-right { display: flex; align-items: center; gap: 0; flex-shrink: 0; }

header .separator {
    width: 2px; height: 32px;
    background-color: #2F2F2F;
    border-radius: 2px;
    margin: 0 0.5rem;
    flex-shrink: 0;
}

.menu {
    display: flex;
    align-items: center;
    margin-left: 0.75rem;
}

.menu .item {
    display: flex;
    align-items: center;
    margin: 0 0.75rem;
    cursor: pointer;
}

.menu .item img {
    width: 20px; height: 20px;
    flex-shrink: 0;
}

.menu .item .s { margin-left: 8px; }

.menu .item a {
    font-family: 'SFPro', sans-serif;
    font-weight: 500;
    text-decoration: none;
    color: #ECE8E8;
    text-transform: uppercase;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.15s;
}
.menu .item a:hover { color: #fff; }

.online-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0.5rem;
    flex-shrink: 0;
}
.online-badge img { width: 20px; height: 20px; }
.online-badge .s  { display: flex; flex-direction: column; line-height: 1.1; }
.online-badge .s label:first-child { font-family: 'SFPro'; font-weight: 600; color: #fff; font-size: 13px; }
.online-label { font-family: 'SFPro'; font-weight: 900; color: #3F3F3F; font-size: 11px; }

header .profile { display: flex; align-items: center; }
.profile-wrapper { display: flex; align-items: center; font-family: 'SFPro'; }

.profile-img { cursor: pointer; display: flex; align-items: center; flex-shrink: 0; }
.profile-img img { width: 32px; height: 32px; border-radius: 50%; }

.profile-data { font-size: 14px; margin-left: 0.5rem; margin-right: 1rem; }
.profile-data-wrapper { display: flex; flex-direction: column; }
.profile-name {
    max-width: 120px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-weight: 600; color: #fff;
}
.profile-data-wrapper span { font-size: 12px; color: #888; white-space: nowrap; }

header .action {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-top: 0;
    margin-bottom: 0;
}

header .btn-solid img { width: 14px; }

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    background: none; border: none; cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}
.burger-line {
    display: block;
    width: 22px; height: 2px;
    background: #ECE8E8;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
    transform-origin: center;
}
.burger-line.open:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-line.open:nth-child(2) { opacity: 0; }
.burger-line.open:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 198;
    background: rgba(0,0,0,0.55);
}
.mobile-overlay.open { display: block; }

@media (max-width: 1684px) {
    header { padding: 0 1rem; }

    .burger { display: flex; }

    .menu {
        position: fixed;
        top: 0; left: 0; bottom: 0;
        z-index: 1000000000;
        width: 260px;
        background: #101010;
        border-right: 1px solid #1e1e1e;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 1rem 2rem;
        gap: 0;
        margin-left: 0;
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    }
    .menu.menu-open { transform: translateX(0); }

    .menu .item {
        width: 100%;
        margin: 0;
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid #1a1a1a;
        display: flex !important;
    }
    .menu .item a { font-size: 15px; }
}

@media (max-width: 768px) {
    .media img { width: 22px; height: 22px; margin: 0 0.2rem; }
    .profile-data { margin-left: 0.35rem; margin-right: 0.35rem; }
    .profile-data-wrapper span { font-size: 11px; }
    header .action .btn-solid label { display: none; }
    header .action .btn-solid img { width: 16px; margin-right: unset !important; }
    header .header-right .action .btn  {
        height: 44px;
    }
    .online-label { display: none; }
    .online-badge .s label:first-child { font-size: 12px; }

    footer .production .skin-card-price { margin-left: 0px !important; }
}

.drawer-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    border-bottom: 1px solid #1a1a1a;
}

.drawer-logo {
    height: 28px;
    width: auto;
}

.drawer-online {
    margin: 0;
}

@media (min-width: 1340px) {
    .drawer-header { display: none; }
}

@media (max-width: 500px) {
    .media { display: none; }
}

@media (max-width: 400px) {
    header .separator { display: none; }
}

@media (max-width: 400px) {
    .header-left > .online-badge { display: none; }
}
