:root {
	--primary-color: #ff3f3e;
	/* 主色调改为黄色 */
	--primary-light: #ff7117;
	/* 浅黄色 */
	--primary-dark: #ff7117;
	/* 深黄色 */
	--secondary-color: #4A90E2;
	/* 辅助色蓝色 */
	--accent-color: #FF6B6B;
	/* 强调色红色 */
	--light-color: #f8f9fa;
	--dark-color: #333333;
	--gray-color: #6c757d;
	--light-gray: #f0f0f0;
	--medium-gray: #e0e0e0;
	--border-radius: 10px;
	--box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	--box-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.12);
	--transition: all 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
	color: var(--dark-color);
	line-height: 1.6;
	background-color: #fdfdfd;
}
 body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0;}
        body,button,input,select,textarea{font:16px/26px 'Microsoft Yahei','Simsun';color:#333;}
        body,button,input,select,textarea{ 'Microsoft Yahei','Simsun';color:#333;}
        h1,h2,h3,h4,h5,h6{font-size:100%;}
        address,cite,dfn,em,var{font-style:normal;}
        code,kbd,pre,samp{font-family:courier new,courier,monospace;}
        small{font-size:12px;}
        ul,ol{list-style:none;}
        a{text-decoration:none;color:#2d374b;}
        a:hover {}
        /*
        sup{vertical-align:text-top;}
        sub{vertical-align:text-bottom;}
        */
        legend{color:#000;}
        fieldset,img{border:0;}
        button,input,select,textarea{font-size:100%;}
        /*table{border-collapse:collapse;border-spacing:0;}*//**如果需要将table的样式也初始化就把样式去掉**/
        img {vertical-align:middle;}
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 头部样式 */
header {
	background-color: white;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo {
	display: flex;
	align-items: center;
	font-size: 26px;
	font-weight: 800;
	color: var(--dark-color);
	text-decoration: none;
	transition: var(--transition);
}

.logo i {
	margin-right: 12px;
	font-size: 32px;
	color: var(--primary-color);
}

.logo-text {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text; line-height: 36px;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin-left: 30px;
}

nav ul li a {
	text-decoration: none;
	color: var(--dark-color);
	font-weight: 500;
	transition: var(--transition);
	padding: 8px 0;
	position: relative;
	font-size: 16px;
}

nav ul li a:hover {
	color: var(--primary-color);
}

nav ul li a.active {
	color: var(--primary-color);
}

nav ul li a.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--primary-color);
	border-radius: 2px;
}

.user-actions {
	display: flex;
	align-items: center;
	gap: 15px;
}

.btn {
	padding: 5px 12px;
	border-radius: var(--border-radius);
	border: none;
	cursor: pointer;
	font-weight: 500;
	transition: var(--transition);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.btn-primary {
	background-color: var(--primary-color);
	color: var(--dark-color);
	box-shadow: 0 4px 12px rgba(255, 180, 0, 0.2);
}

.btn-primary:hover {
	background-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(255, 180, 0, 0.3);
}

.btn-outline {
	background-color: transparent;
	border: 2px solid var(--primary-color);
	color: var(--primary-color);
}

.btn-outline:hover {
	background-color: var(--primary-color);
	color: white;
	transform: translateY(-2px);
}

/* 搜索区域样式 */
.search-section {
	background: linear-gradient(135deg, rgba(255, 62, 62, 0.95) 0%, rgba(255, 114, 22, 0.95) 100%);
	padding: 60px 0;
	color: var(--dark-color);
	position: relative;
	overflow: hidden;
}

.search-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
	background-size: cover;
	background-position: center;
	opacity: 0.1;
	z-index: 0;
}

.search-container {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
	position: relative;
	z-index: 1;
}

.search-container h1 {
	font-size: 42px; 
	margin-bottom: 15px;
	font-weight: 800;
	line-height: 1.2;
}

.search-container p {
	font-size: 18px;
	margin-bottom: 40px;
	opacity: 0.9;
	font-weight: 500;
}

.search-box {
	display: flex;
	background-color: white;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow-hover);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-box input {
	flex-grow: 1;
	padding: 18px 25px;
	border: none;
	font-size: 16px;
	outline: none;
	color: var(--dark-color);
}

.search-box input::placeholder {
	color: var(--gray-color);
}

.search-box button {
	background-color: var(--dark-color);
	color: white;
	border: none;
	padding: 0 35px;
	cursor: pointer;
	font-size: 18px;
	transition: var(--transition);
	font-weight: 600;
}

.search-box button:hover {
	background-color: #222;
}

/* 分类区域样式 */
.categories-section {
	padding: 70px 0 40px;
	background-color: white;
}

.section-title {
	font-size: 32px;
	margin-bottom: 40px;
	color: var(--dark-color);
	position: relative;
	padding-bottom: 15px;
	font-weight: 700;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 80px;
	height: 4px;
	background: linear-gradient(to right, var(--primary-color), var(--primary-light));
	border-radius: 2px;
}

.section-subtitle {
	font-size: 18px;
	color: var(--gray-color);
	margin-bottom: 50px;
	max-width: 700px;
	line-height: 1.7;
}

.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 25px;
	margin-bottom: 50px;
}

.category-card {
	background-color: white;
	border-radius: var(--border-radius);
	padding: 30px 20px;
	text-align: center;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
	cursor: pointer;
	border: 2px solid transparent;
	position: relative;
	overflow: hidden;
}

.category-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(to right, var(--primary-color), var(--primary-light));
	opacity: 0;
	transition: var(--transition);
}

.category-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--box-shadow-hover);
	border-color: var(--primary-light);
}

.category-card:hover::before {
	opacity: 1;
}

.category-card i {
	font-size: 42px;
	color: var(--primary-color);
	margin-bottom: 20px;
	transition: var(--transition);
}

.category-card:hover i {
	transform: scale(1.1);
	color: var(--primary-dark);
}

.category-card h3 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
}

.category-card p {
	color: var(--gray-color);
	font-size: 14px;
	line-height: 1.5;
}

/* 列表样式 */
.listings-section {
	padding: 50px 0 70px;
	background-color: var(--light-gray);
}

.listings-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 35px;
}

.listings-filter {
	display: flex;
	gap: 15px;
}

.filter-select {
	padding: 12px 20px;
	border-radius: var(--border-radius);
	border: 1px solid var(--medium-gray);
	background-color: white;
	font-size: 15px;
	cursor: pointer;
	font-weight: 500;
	min-width: 160px;
	transition: var(--transition);
}

.filter-select:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(255, 180, 0, 0.1);
}

.listings-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
}

.listing-card {
	background-color: white;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
	position: relative;
}

.listing-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--box-shadow-hover);
}

.listing-badge {
	position: absolute;
	top: 15px;
	left: 15px;
	background-color: var(--accent-color);
	color: white;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	z-index: 2;
}

.listing-image {
	height: 200px;
	width: 100%;
	object-fit: cover;
	background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.listing-content {
	padding: 25px;
}

.listing-title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--dark-color);
	text-decoration: none;
	display: block;
	transition: var(--transition);
	line-height: 1.3;
}

.listing-title:hover {
	color: var(--primary-color);
}

.listing-price {
	color: var(--primary-color);
	font-size: 24px;
	font-weight: 800;
	margin-bottom: 15px;
}

.listing-description {
	color: var(--gray-color);
	font-size: 15px;
	margin-bottom: 20px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.listing-meta {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: var(--gray-color);
	border-top: 1px solid var(--medium-gray);
	padding-top: 18px;
}

/* 特色区域 */
.features-section {
	padding: 70px 0;
	background-color: white;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 30px;
}

.feature-card {
	text-align: center;
	padding: 40px 25px;
	border-radius: var(--border-radius);
	background-color: var(--light-gray);
	transition: var(--transition);
}

.feature-card:hover {
	transform: translateY(-5px);
	background-color: white;
	box-shadow: var(--box-shadow);
}

.feature-icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 25px;
	font-size: 32px;
	color: var(--dark-color);
}

.feature-card h3 {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 15px;
}

.feature-card p {
	color: var(--gray-color);
	line-height: 1.7;
}

 /* 详情页样式 */
        .detail-section {
            padding: 40px 0;
        }
        
        .detail-container {
            display: grid;
            grid-template-columns: 1fr 350px;
            gap: 40px;
        }
        
        .detail-main {
            background-color: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
        }
        
        .detail-image {
            width: 100%;
            height: 400px;
            object-fit: cover;
            background-color: #e9ecef;
        }
        
        .detail-content {
            padding: 30px;
        }
        
        .detail-header {
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .detail-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 10px;
        }
        
        .detail-price {
            color: var(--primary-color);
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 15px;
        }
        
        .detail-meta {
            display: flex;
            gap: 20px;
            color: var(--gray-color);
            font-size: 14px;
        }
        
        .detail-description {
            line-height: 1.7;
            margin-bottom: 30px;
        }
        
        .detail-features {
            margin-bottom: 30px;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
        
        .feature-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .feature-item i {
            color: var(--primary-color);
        }
        
        .detail-sidebar {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        
        .sidebar-card {
            background-color: white;
            border-radius: var(--border-radius);
            padding: 25px;
            box-shadow: var(--box-shadow);
        }
        
        .seller-info {
            text-align: center;
        }
        
        .seller-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: var(--light-gray);
            margin: 0 auto 15px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            color: var(--primary-color);
        }
        
        .seller-name {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .seller-rating {
            color: #ffc107;
            margin-bottom: 15px;
        }
        
        .contact-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .btn-full {
            width: 100%;
        }
        
        .btn-whatsapp {
            background-color: #25D366;
            color: white;
        }
        
        .btn-whatsapp:hover {
            background-color: #1da851;
        }


/* 页脚样式 */
footer {
	background-color: var(--dark-color);
	color: #e0e0e0;
	padding: 70px 0 30px;
}

.footer-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 50px;
	margin-bottom: 50px;
}

.footer-column h3 {
	font-size: 22px;
	margin-bottom: 25px;
	color: white;
	position: relative;
	padding-bottom: 12px;
	font-weight: 700;
}

.footer-column h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 3px;
	background-color: var(--primary-color);
}

.footer-column p {
	color: #b0b0b0;
	line-height: 1.7;
	margin-bottom: 20px;
}

.footer-column ul {
	list-style: none;
}

.footer-column ul li {
	margin-bottom: 15px;
}

.footer-column ul li a {
	color: #b0b0b0;
	text-decoration: none;
	transition: var(--transition);
	display: flex;
	align-items: center;
}

.footer-column ul li a:hover {
	color: var(--primary-color);
	padding-left: 8px;
}

.footer-column ul li a i {
	margin-right: 10px;
	width: 20px;
	text-align: center;
}

.social-links {
	display: flex;
	gap: 15px;
	margin-top: 25px;
}

.social-link {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #444;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-decoration: none;
	transition: var(--transition);
}

.social-link:hover {
	background-color: var(--primary-color);
	transform: translateY(-3px);
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid #444;
	font-size: 15px;
	color: #999;
}

/* 响应式设计 */
@media (max-width: 1100px) {
	.categories-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
}

@media (max-width: 992px) {
	.header-container {
		flex-direction: column;
		gap: 20px;
	}

	nav ul {
		flex-wrap: wrap;
		justify-content: center;
	}

	nav ul li {
		margin: 0 15px 10px;
	}

	.search-container h1 {
		font-size: 36px;
	}

	.listings-grid {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	}
}

@media (max-width: 768px) {
	.search-box {
		flex-direction: column;
		border-radius: var(--border-radius);
		overflow: hidden;
	}

	.search-box input,
	.search-box button {
		width: 100%;
		border-radius: 0;
	}

	.listings-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.listings-filter {
		width: 100%;
		flex-wrap: wrap;
	}

	.categories-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.search-container h1 {
		font-size: 30px;
	}
}

@media (max-width: 576px) {
	.categories-grid {
		grid-template-columns: 1fr;
	}

	.listings-grid {
		grid-template-columns: 1fr;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}

	.footer-container {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.user-actions {
		flex-direction: column;
		width: 100%;
	}

	.user-actions .btn {
		width: 100%;
	}
}

/* 实用类 */
.text-center {
	text-align: center;
}

.mt-30 {
	margin-top: 30px;
}

.mb-30 {
	margin-bottom: 30px;
}

.p-20 {
	padding: 20px;
}

/* 页面切换效果 */
.page {
	
}

.page.active {
	display: block;
}

/* 动画效果 */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-up {
	animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
	animation-delay: 0.2s;
}

.delay-2 {
	animation-delay: 0.4s;
}

.delay-3 {
	animation-delay: 0.6s;
}

.delay-5 {
	animation-delay: 0.8s;
}

.delay-6 {
	animation-delay: 1.0s;
}

.delay-7 {
	animation-delay: 1.2s;
}
.delay-8 {
	animation-delay: 1.3s;
}

.delay-9 {
	animation-delay: 1.4s;
}

.delay-10 {
	animation-delay: 1.6s;
}