header {
    box-sizing: border-box;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(2.5px);
    padding: 10px 15px;
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 1000;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}
.header-left img,
.header-right img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}
#logo {
    width: 40px;
    height: 40px;
}
.header-center {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
}
.header-center input {
    padding: 6px 14px;
    border-radius: 20px;
    border: none;
    width: 180px;
    max-width: 200px;
    outline: none;
    background: rgba(255,255,255,0.9);
    font-size: 14px;
    transition: 0.2s ease;
}
.header-center input:focus {
    width: 210px;
}
.header-right {
    display: flex;
    align-items: center;
}
@media (max-width: 768px) {

    header {
        overflow-x: auto;
        scrollbar-width: none;
    }
    header::-webkit-scrollbar {
        display: none;
    }
    .header-left {
        gap: 14px;
    }
    .desktop-profile-link {
        display: none;
    }
    .header-center {
        display: none;
    }
        .mobile-categories-icon,
    .mobile-profile-link {
        display: inline-flex;
    }
}
.mobile-categories-icon,
.mobile-profile-link {
    display: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    align-items: center;
    cursor: pointer;
}