body{
	background: #f3f3f3;
}
.buwei{
	height: 0px !important;
	padding: 0 !important;

}
.list-form{
	margin: 0 auto;
	background: #ffffff;
	padding: 10px 20px 15px 20px;
	box-sizing: border-box;
	border-radius: 4px;
}
.list-form-sort{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}
.list-form-sort li{
	line-height: 30px;
	padding-right: 16px;
	margin-right: 30px;
	cursor: pointer;
}
.list-form-sort li:last-child{
	margin-right: 0;
}
.list-form-sort .default{
	background:url('../images/12.png') no-repeat 100% 8px;
	background-size:16px 16px;
}

.list-form-sort .sales{
	background:url('../images/12.png') no-repeat 100% 8px;
	background-size:16px 16px;
}
.list-form-sort .on{
	background:url('../images/13.png') no-repeat 100% 8px;
	background-size:16px 16px;
}
.list-form-sort .price{
	background:url('../images/14.png') no-repeat 100% 8px;
	background-size:16px 16px;
}
.list-form-sort .price.asc{
	background:url('../images/15.png') no-repeat 100% 8px;
	background-size:16px 16px;
}
.list-form-sort .price.desc{
	background:url('../images/16.png') no-repeat 100% 8px;
	background-size:16px 16px;
}
.list-form-sort .price_range{
	/* padding-right: 20px; */
	/* background:url('../images/17.png') no-repeat 100% 8px;
	background-size:16px 16px; */
	display: flex;
	justify-content: flex-start;
	cursor: unset;
}
.list-form-sort .price_range_input{
	margin-left: 10px;
}
.list-form-sort .price_range_input input{
	width: 100px;
	height: 25px;
	line-height: 25px;
	box-sizing: border-box;
	border: 1px solid #dddddd;
	padding: 0 10px;
	text-align: center;
}

.list-form-brand {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)); /* 自适应列数，每列最小150px */
    grid-auto-rows: 32px; /* 每行高度 */
    gap: 10px; /* 网格间距 */
	margin-top: 10px;
}

.grid-item {
    border: 1px solid #ccc; /* 边框 */
    display: flex;
	line-height: 29px;
    justify-content: center;
	border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* 背景色过渡效果 */
}
.grid-item a{
	display: flex;
	justify-content: center;
	width: 100%;
}
.grid-item:hover {
    background-color: #10B2E3; /* 悬停时的背景色 */
    border-color: #10B2E3; /* 激活状态边框颜色 */
	color: #fff;
}
.grid-item a:hover {
	background-color: #10B2E3; /* 悬停时的背景色 */
	border-color: #10B2E3; /* 激活状态边框颜色 */
	color: #fff !important;
}

.grid-item.active {
    background-color: #10B2E3; /* 激活状态背景色 */
    color: #fff; /* 激活状态文字颜色 */
    border-color: #10B2E3; /* 激活状态边框颜色 */
}

.grid-item.active a{
	background-color: #10B2E3; /* 激活状态背景色 */
	color: #fff; /* 激活状态文字颜色 */
	border-color: #10B2E3; /* 激活状态边框颜色 */
}

.lists{
	margin: 0 auto;
	margin-top: 20px;
}


.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px; /* 网格间距 */
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
}

.product-list li {
	overflow: hidden;
    background: #fff;
	border-radius: 8px;
	padding-bottom: 10px;
}

.product-list li .img{
	width: 100%;
	height: 264px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.product-list li a{
	color: #333333;
}
.product-list li:hover img{
	transform: scale(1.1)
}
.product-list li a:hover{
	color: #333333 !important;
}
.product-list li .img img{
	width: 100%;
	display: flex;
	transition: transform 0.3s ease;
}
.product-list li .title{
	padding: 0 10px;
	height: 50px;
	line-height: 25px;
}
.product-list li .bottom{
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	padding: 0 10px;
	flex-wrap: wrap;
}
.product-list li .price{
	line-height: 25px;
	color: #E83F00;
	font-size: 18px;
}
.product-list li .price span{
	font-size: 14px;
}
.product-list li .sales{
	line-height: 25px;
	color: #666666;
}



/* 中等屏幕设备（例如平板） */
@media (max-width: 991px) {

    .product-list {
        grid-template-columns: repeat(2, 1fr); /* 两列布局 */
		gap: 10px; /* 网格间距 */
    }
	
    .product-list li {
    	overflow: hidden;
        background: #fff;
    	border-radius: 8px;
    }
	.product-list li .img{
		width: 100%;
		height: auto;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	
	
	.list-form {
	  margin: 0 auto;
	  background: #ffffff;
	  padding: 10px 10px 15px 10px;
	  box-sizing: border-box;
	  border-radius: 4px;
	}
	
	.lists{
		margin: 0 auto;
		margin-top: 20px;
		padding: 0 10px;
		box-sizing: border-box;
	}
}
