input:focus {
	outline: none;
	/* 去除默认的聚焦边框 */
}

form {
	max-width: 400px;
	margin: auto;
	padding: 20px;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.form-content div{
	width: 100%;
}
.form-title {
	text-align: center;
}
label {
	display: block;
	margin-bottom: 8px;
	font-weight: bold;
}
.main-article input, .main-article textarea {
	width: 100%;
	padding: 8px;
	margin-bottom: 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}

body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f7f9fa;
}

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: white;
	box-shadow: 0px 2px 8px 0px rgba(50, 50, 0, 0.3);
	z-index: 1000;
}

a {
	text-decoration: none;
	color: inherit;
}

a:hover {
	color: #404677;
}

.header-content {
	height: 70px;
	margin: 0 auto;
	width: 100%;
	max-width: 1200px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: height 0.5s ease;
}

.logo img {
	height: 50px;
	display: block;
}

nav {
	display: flex;
}

nav ul {
	list-style-type: none;
	padding: 0 0 2px 20px;
	display: flex;
	margin: 0;
	gap: 20px;
}

nav ul li a {
	text-decoration: none;
	color: #fff;
	font-weight: bold;
}
nav ul li a:hover {
	color: #fff;
	text-decoration: underline;
}

.menu-icon {
	display: none;
}

.container {
	/* max-width: 1200px; */
	margin: 0 auto;
	/* padding: 140px 20px 20px; */
	padding-top: 80px;
}

/* main {
	display: flex;
	flex-wrap: wrap;
} */

.main-product {
	background: #fff;
	padding-bottom: 50px;
}

.hot-sale h2, .main-product h1 {
	background: #fff;
	height: 114px;
	color: #000;
	font-size:32px;
	padding:10px 0;
	line-height:114px;
	text-align: center;
	margin: 0;
}

.hot-sale h2 span, .main-product h1 span {
	position: relative;
}
.hot-sale h2 span::after, .main-product h1 span::after{
	content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: #ededed;
    left: 50%;
    bottom: -20px;
    display: block;
    transform: translate(-50%, -50%);
}


.main-product h1 {

}
.tags h2 {
	color: #fff;
	padding: 10px;
	margin: 0;
	font-size: 16px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.main-article {
	flex: 3;
	background-color: #fff;
	margin-right: 20px;
	padding: 0 20px;
	/* max-width: 1200px; */
	width: 100%;
	box-sizing: border-box;
}

.main-article .title-h1 {
	font-size: 22px;
	padding: 20px 20px 0;
	text-align: left;
	color: #333;
	font-weight: 500;
	margin-bottom: 0;
}

.main-article .article-tag {
	margin-top: 28px;
	padding-bottom: 10px;
	border-bottom: 1px solid #d5d5d6;
	display: flex;
	align-items: center;
	padding-left: 8px;
	margin-bottom: 0;
}
.main-article .article-tag li {
	display: flex;
	align-items: center;
	height: 16px;
	line-height: 16px;
	margin-right: 30px;
}

.main-article .article-tag .item-title img {
	position: relative;
	top: 5px;
	height: 24px;
}

.main-article .article-tag .date-time,
.main-article .article-tag .item-title {
	color: #999;
}

.main-article .article-tag .tag-img {
	color: #999;
}


.main-article .article-tag .tag-link {
	display: inline-block;
}

.main-article .article-tag .tag-item {
	background: #49ac83;
	color: #fff;
	padding: 2px 6px;
	border-radius: 2px;
}

.main-article-content .article-title-img {
	text-align: center;
	min-width: 800px;
	height: 300px;
	/* background-image: url('../image/loading.gif'); */
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.main-article-content .article-answer {
	background: radial-gradient(#48ab71, transparent);
	text-align: center;
	border-radius: 20px;
}

.main-article-content .article-answer .answer-box {
	padding: 2px 8px;
	background-color: #ffa41b;
	border-radius: 16px;
	color: #fff;
}

.main-article-content .article-answer .answer-text {
	position: relative;
	animation: moveRightText 2s ease-in-out infinite alternate;
}

.main-article-content img {
	max-width: 100%;
	display: block;
}

.list-img-out {
	width: 0!important;
	height: 0!important;
	display: block!important;
}

@keyframes moveRightText {
	0% {
		left: -2px;
	}

	100% {
		left: 32px;
	}
}

.main-article-content .article-answer .answer-number {
	padding: 2px 10px;
	/* background-color: #8809f5; */
	border-radius: 16px;
	color: #fff;
	position: relative;
	animation: moveRightNum 2s ease-in-out infinite alternate;
}

.ql-editor {
	white-space: normal;
}

@keyframes moveRightNum {
	0% {
		right: -9px;
		background-color: #0fa7e5;
	}

	100% {
		right: 46px;
		background-color: #06e711;
	}
}

.main-article-content a {
	display: inline-block;
	max-width: 300px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

pre {
	margin: 10px 0;
	padding: 10px;
	max-height: 500px;
	max-width: 830px;
	overflow: auto;
	background-color: #f8f8f8;
	border-radius: var(--border-hd);
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace, sans-serif
}

pre code {
	color: unset;
	background-color: unset;
	line-height: 20px;
}

code {
	font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
	display: inline-block;
	padding: 0 4px;
	margin-left: 2px;
	font-size: 90%;
	margin-bottom: 2px;
	color: #c7254e;
	background-color: #f9f2f4;
	border-radius: var(--border-hd);
}

.end-dividing {
	text-align: center;
	color: #b1b1b8;
	margin: 30px 0;
	font-size: 14px;
	user-select: none;
}

.end-dividing:before,
.end-dividing:after {
	content: "";
	background: #f3f3f3;
	width: 20%;
	vertical-align: middle;
	height: 1px;
	display: inline-block;
	margin: 0 16px;
}

.article-navigation {
	display: flex;
	justify-content: space-between;
	padding-bottom: 20px;
}

.previous-article,
.next-article {
	/* padding: 20px 40px; */
	width: 390px;
	height: 82px;
	position: relative;
	color: #fff;
	text-shadow:
		-1px -1px 0 #000,
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;
}

.previous-article {
	flex: 0.8;
}

.product-image {
	display: block;
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
}

.product-href {
	display: flex;
	height: 100%;
	position: absolute;
	align-items: center;
	overflow: hidden;
}

.previous-article .product-href {
	padding-left: 50px;
	padding-right: 10px;
}

.next-article .product-href {
	padding-left: 10px;
	padding-right: 50px;
}

.div-center {
	flex: 0.2;
}

.next-article {
	flex: 0.8;
}

.article-navigation .next-icon {
	width: 40px;
	height: 40px;
	position: absolute;
	background-image: url('/image/jt.png');
	background-size: cover;
	z-index: 1;
}


.article-navigation .previous-article .next-icon {
	left: 6px;
	top: 20px;
	transform: rotate(180deg);
}

.article-navigation .next-article .next-icon {
	right: 6px;
	top: 20px;
}

.relevant-plane .relevant-list li {
	margin-top: 10px;
}

.article {
	display: flex;
	background-color: #fff;
	margin-top: 6px;
	padding: 8px;
	border: 1px solid #efefef;
	border-radius: 5px;
}

.article:hover {
	border: 1px solid #684581;
}

.article .article-img {
	margin: auto;
	margin-right: 15px;
	/* height: 150px; */
	padding-top: 0;
	width: 150px;
	/* background-image: url('../image/loading.gif'); */
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
.article .article-img a {
	display: block;
	width: 100%;
	padding-top: 150%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.article .article-img a.special-padding {
	padding-top: 100%;
}

.article img {
	height: 100%;
	width: 100%;
}

.article-content {
	flex: 1;
}

.article-content .tag {
	display: inline-block;
	background-color: #8391d9;
	color: #fff;
	padding: 3px 8px;
	margin-bottom: 10px;
	font-size: 12px;
	border-radius: 3px;
}

.article-content h3 {
	margin: 0 0 10px;
	font-weight: normal;
	height: 66px;
	color: #3d3d3d;
	display: -webkit-box;
	/* 启用Flexbox模型 */
	-webkit-box-orient: vertical;
	/* 垂直排列子元素 */
	-webkit-line-clamp: 3;
	/* 限制显示的行数 */
	overflow: hidden;
	/* 超出内容隐藏 */
	text-overflow: ellipsis;
}

.article-content .article-price {
	color: #000;
	font-size: 20px;
	margin-top: 20px;
	font-weight: bold;
}

.article-content .article-description {
	margin: 0 0 15px;
	color: #666;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-all;
	font-size: 14px;
}

.article-content .meta {
	color: #999;
	font-size: 12px;
	margin-bottom: 0;
	display: flex;
	justify-content: space-between;
}

aside {
	flex: 1;
}

.hot-sale,
.tags {
	margin-bottom: 20px;
}

.hot-sale ol {
	list-style-type: none;
	padding: 0 0 20px;
	display: flex;
	background: #fff;
	margin: 0 auto;
	flex-wrap: wrap;
	max-width: 1600px;
}
.hot-sale ol p {
	margin-bottom: 0;
}
.hot-sale ol .img-box {
	/* background: #ccc; */
	/* height: 500px; */
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 8px;
	border: 1px solid transparent;
	padding-top: 150%;
}
.hot-sale ol .img-box:hover {
	border: 1px solid #684581;
}
/* .hot-sale ol img {
	width: 100%;
	height: 350px;
	display: block;
} */

.hot-sale ol li {
	position: relative;
	padding: 0 5px;
	box-sizing: border-box;
	width: 25%;
	margin-bottom: 10px;
	/* margin: 0 15px 10px; */
}

.hot-sale ol li .hot-sale-title {
	color: #3d3d3d;
	font-size: 18px;
	height: 64px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	padding-left: 5px;
}

.hot-sale-price {
	height: 20px;
	margin-top: 20px;
	display: flex;
	align-items: center;
	font-size: 20px;
}
.hot-sale-price .sale-price {
	font-weight: bold;
}
.hot-sale-price .original-price {
	margin-left: 10px;
	color: #c3c3c3;
	text-decoration: line-through;
	text-decoration-color: #684581;
	font-size: 16px;
}
.save {
	font-size: 12px;
	margin-left: 5px;
	color: #3aad36;
}


.hot-sale ol li span {
	float: right;
}

/* .hot-sale ol li .hot-post-widget-item-num {
	position: absolute;
	color: #fff;
	background: #ff6601;
	padding: 0px 6px 0px 13px;
	left: 0px;
	top: 12px;
	border-radius: 0 10px 10px 0;
}

.hot-sale ol li:nth-child(2) .hot-post-widget-item-num {
	background: #ffa41b;
}

.hot-sale ol li:nth-child(3) .hot-post-widget-item-num {
	background: #cd33ff;
}

.hot-sale ol li:nth-child(4) .hot-post-widget-item-num {
	background: #fe0000;
}

.hot-sale ol li:nth-child(5) .hot-post-widget-item-num {
	background: #a4b22c;
} */

.loadMore {
	text-align: center;
	margin-top: 20px;
}
.load-more-content {
	text-align: center;
	background: #fff;
	padding-bottom: 30px;
}

.loadMore .load-more-btn, .load-more-link {
	font-size: 16px;
	background: #fff;
	padding-bottom: 4px;
	cursor: pointer;
	padding: 15px 40px;
	border-radius: 5px;
}

.loadMore .load-more-btn .loadIcon {
	display: inline-block;
	height: 16px;
	padding-right: 6px;
	position: relative;
	top: 2px;
}

.hot-sale ol li a {
	/* display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis; */
	margin-top: 15px;
	color: #888888;
}

.tags ul {
	list-style-type: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	background-color: #fff;
	padding: 10px;
}

.tags ul li {
	margin: 5px;
}

.tags ul li a {
	text-decoration: none;
	background-color: #48ae66;
	color: #fff;
	padding: 5px 10px;
	border-radius: 3px;
	font-size: 12px;
}

.footer {
	color: #fff;
	text-align: center;
	padding: 15px 0;
}

@media (min-width: 768px) and (max-width: 1023px) {
	.hot-sale ol li {
		width: 50%;
	}
	/* 768px≤宽度≤1023px */
	nav {
		padding-right: 50px;
	}
	.logo {
		padding-left: 50px;
	}
	.main-image {
		width: 360px;
	}
}

@media (max-width: 768px) {
	.hot-sale ol li {
			width: 50%;
		}
	/* .hot-sale,
	.tags {
		max-width: 375px;
	} */


	.header-content {
		display: block;
		height: auto;
	}

	.logo img {
		padding: 10px;
	}

	nav {
		display: none;
	}

	.nav-open {
		display: block;
	}

	.nav-open ul {
		flex-direction: column;
	}

	.menu-icon {
		display: block;
		position: absolute;
		right: 24px;
		top: 16px;
		font-size: 30px;
	}

	main {
		flex-direction: column;
	}

	.main-product {
		margin-right: 0;
	}

	aside {
		margin-top: 20px;
	}

	.article .article-img {
		margin: auto;
		margin-right: 15px;
		padding-top: 0;
		width: 80px;
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
	}
	.article-content p {
		margin: 20px 0 5px;
	}

	.main-article-content .article-title-img {
		min-width: 330px;
		height: 124px;
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
	}

	.main-article-content .article-title-img img {
		display: block;
		width: 330px;
	}

	.article-navigation {
		display: none;
	}
}

::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

::-webkit-scrollbar-track {
	background: #f0f0f0;
	border-radius: 6px;
}

::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
	background: #555;
}