* {
	margin: 0;
	padding: 0; list-style: none;
}
a{text-decoration: none;
    color: #6f6f6f;}
body {
	padding: 1rem;
	padding-top: 0;
}
.kuangjia{ display: flex;}
.left_menu{width: 150px;position: sticky;left: 0;top: 0;margin-right: 20px;height: 100%;padding: 1rem 0;}
.left_menu ul>li>a{
    display: flex;
    height: 70px;
    line-height: 70px;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    cursor: pointer;
    border-bottom: 1px solid #efefef;
    text-decoration: none;
    color: #bdbdbd;
    justify-content: center;
    border-radius: 5px;
    transition: all .3s;
}
.left_menu ul>li:last-child>a{
    border: none;
}
.left_menu ul>li>a b{
    font-weight: normal;
    color: #515151;
}
.left_menu ul>li>a:hover, .left_menu ul>li.active>a{
    background: #667eea;
}
.left_menu ul>li>a:hover b, .left_menu ul>li.active>a b{
   color:#fff
}
.left_menu ul>li>a span{}


.kuangjia_right{ flex: 1;}
.grid {
	margin: auto;
}

.grid-item {
	break-inside: avoid;
	margin-bottom: 1rem;
	background: white;
	border-radius: 8px;
	overflow: hidden;
	width: 300px;
	transition: all 0.3s ease;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.grid-item img {
	width: 100%;
	border-radius: 8px;
}

.grid-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.search-highlight {
	background-color: #fef08a;
}

.grid-item-content {
	padding: .5rem;
}
.grid-item-content>p{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}
.grid-item-content>h3{
    line-height: 1.2;
    margin-bottom: .5rem;
}
.loading {
	text-align: center;
	padding: 2rem;
	color: #9b9b9b;
}

.spinner {
	font-size: 2rem;
	color: #667eea;
	margin-bottom: 1rem;
}

#backToTop {
	position: fixed;
	bottom: 65px;
	right: 30px;
	width: 50px;
	height: 50px;
	background-color: #667eea;
	color: white;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

#backToTop:hover {
	background-color: #45a049;
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

#backToTop.visible {
	opacity: 1;
	visibility: visible;
}


.basic-info{
    display: flex;
    align-items: center;
}
.avatar{}
.user-name{
    font-size: 18px;
    font-weight: 600;
}
.user-content{
    font-size: 12px;
    line-height: 120%;
    color: #9f9f9f;
}
.info-part{margin-bottom:15px;display: flex;justify-content: center;}
.avatar img{ width: 72px;
        height: 72px; border-radius: 50%;}
.user-basic{
    margin-left: 15px;
}
.user-desc{font-size: 14px;margin-top: 15px;color: #3b3b3b;}


.product_fenlei{list-style: none;display: flex;justify-content: center;background: #fff;position: sticky;top: 65px;z-index: 11;padding: 10px 5px;flex-wrap: wrap;}
.product_fenlei>li{
    padding: 10px;
    color: #535353;
    cursor: pointer;
    margin: 0 .5rem;
}
.product_fenlei>li.active{
    color: #333;
    background: #efefef;
    border-radius: 20px;
    font-weight: bold;
}

.top{position: sticky;background: #fff;width: 100%;top: 0;display: flex;align-items: center;justify-content: space-between;padding: 10px;z-index: 111;box-sizing: border-box;}
.top_0{
    margin-left: auto;
}
.top_1{
    display: flex;
    align-items: center;
    background: #e3e3e3;
    border-radius: 10px;
    padding: 5px 10px;
    flex: 1;
}
.top_1>input{
    border: none;
    background: none;
    height: 35px;
    line-height: 35px;
    flex: 1;
    font-size: 16px;
}
.top_1>input:focus{
	outline: none;
}
.top_1>svg{}
.top_2{
    margin-left: 15px;
}
.top_2>svg{}
.top_2_1{
    display: none;
    position: fixed;
    top: 68px;
    right: 10px;
    background: #fff;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.08),0 1px 4px 0 rgba(0,0,0,0.04);
    border-radius: 10px;
    padding: .5rem 13px;
    width: 45%;
    max-width: 250px;
    z-index: 111;
}
.top_2_1>li>a{
    display: flex;
    height: 40px;
    line-height: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    cursor: pointer;
    border-bottom: 1px solid #efefef;
    text-decoration: none;
    color: #bdbdbd;
    border-radius: 5px;
    padding: .5rem;
}
.top_2_1>li:last-child>a{ border: none;}
.top_2_1>li b{font-weight: normal;color: #515151;}
.top_2_1>li span{
    color: #676767;
}
.top_2_1>li.active a{
    background: #667eea;
}
.top_2_1>li.active a span{
    color: #fff;
}
.top_2_1>li.active a b{
    color: #fff;
}
.top_3{ display: none;  margin-left: 15px;}

@media (min-width: 1000px) {
	.top_1{display: flex;}
	.top_0{display: none;}
	.top_2{ display: none;}
	.top_3{ display: none !important;}
}

@media (max-width: 1000px) {
	.top_1{display: none;}
	.top_0{display: block;}
	.top_2{ display: block;}
	.left_menu{ display: none;}
	.grid-item {
		width: 270px;
	}
}
@media (max-width: 660px) {
	.grid-item {
		width: 240px;
	}
}

@media (max-width: 547px) {
	.grid-item {
		width: 210px;
	}
}

@media (max-width: 480px) {
	.grid-item {
		width: 160px;
	}
}