body {
    margin: 0;
    padding: 0;
    background-color: #f6faff;
}

header {
	width: 100%;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #f6faff;
	box-sizing: border-box;
	position: sticky;
	z-index: 2;
	left: 0;
	top: 0;
}

header .logo{
	width: 120px;
	height: 24px;
}

#loader {
	text-align: center;
	padding: 20px;
	display: none;
}

#searchInput {
    border: 1px solid #4684ff;
    background-color: #fff;
    border-radius: 20px;
	flex: 1;
	margin-left: 16px;
	padding: 8px 10px;
	font-size: 14px;
}

section {
	padding: 0 10px;
	background-color: #f6faff;
}

section img{
	width: 100%;
	border-radius: 8px;
	margin-bottom: 10px;
}

#productList {
	/* gap: 2vw;
	padding: 2vw; */
	gap: 10px;
	padding: 10px;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.product {
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    transition: transform 0.2s;
}

.product:hover {
    /* transform: scale(1.05); */
}

.product img {
    width: 100%;
    height: auto;
}

.product-info {
    padding: 10px;
}

.product-title {
    font-size: 14px;
    margin-bottom: 10px;
	overflow:hidden;
	text-overflow:ellipsis;
	display:-webkit-box;
	-webkit-line-clamp:3;
	/*! autoprefixer: off */
	-webkit-box-orient:vertical;
	/* autoprefixer: on */
}

.product-sales {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.product-price {
	font-size: 20px;
	font-weight: bold;
	color: rgb(255, 42, 71);
	&:before {
		content: "¥";
		font-size: 12px;
	}
}

.product-btn {
	width: 65px;
	height: 26px;
	background: #6b00ff;
	border-radius: 14px;
	text-align: center;
	line-height: 26px;
	font-family: PingFang SC;
	font-weight: 500;
	font-size: 12px;
	color: #fff;
}

@media (min-width: 375px) {
	body{
		margin: auto;
		max-width: 375px;
	}
}