/* 基础变量定义 */
:root {
	--primary: #6b1e16;
	--warning: #bb8c3a;
	--color-primary: #0F3460;
	--color-secondary: #1A3A8F;
	--color-accent: #bb8c3a;
	--color-dark: #191e36;
	--color-light: #F6F6F6;
	--color-gray-50: #F9FAFB;
	--color-gray-800: #1F2937;
	--color-gray-500: #6B7280;
	--color-gray-400: #9CA3AF;
	--color-gray-600: #4B5563;
	--color-green-500: #10B981;
	--color-yellow: #1679ff;
}

/* 基础样式重置 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

ul {
	list-style: none;
}

button {
	cursor: pointer;
	font-family: inherit;
	transition: all 0.3s ease;
}

img {
	max-width: 100%;
	display: block;
}

a {
	text-decoration: none;
	color: #000000;
}

/* 通用样式 */
.page {
	background-color: var(--color-gray-50);
	color: var(--color-gray-800);
	scroll-behavior: smooth;
}

/* 导航栏样式 */
.header {
	background-color: var(--color-dark);
	color: white;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	position: fixed;
	width: 100%;
	z-index: 50;
	transition: all 0.3s ease;
	padding: 0.75rem 0;
}

.header-scrolled {
	padding: 0.5rem 0;
	background-color: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(4px);
}

.header-container {
	width: 100%;
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 1rem;
	display: block;
	justify-content: space-between;
	align-items: center;
}

.header-logo {
	display: flex;
	gap: 1rem;
	justify-content: center;
	padding-bottom: 20px;
}

.header-logo i {
	font-size: 1.5rem;
	color: var(--color-accent);
}

.header-logo b {
	font-size: 1.125rem;
}

.header-logo span:last-of-type {
	font-size: 0.75rem;
	background-color: var(--color-accent);
	padding: 0.25rem 0.5rem;
	border-radius: 9999px;
}

.main-nav {
	display: none;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.main-nav {
		display: flex;
	}

	.header-container {
		width: 100%;
		max-width: 1480px;
		margin: 0 auto;
		padding: 0 1rem;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.header-logo {
		padding-bottom: 0px;
	}
}

.main-nav a {
	color: var(--color-gray-400);
	text-decoration: none;
	transition: color 0.15s ease;
	font-size: 14px;
	padding: 0 0.5rem;
}

.main-nav .active {
	color: white;
}

.main-nav a:hover {
	color: white;
}

.header-contact {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding-bottom: 30px;
}

.header-contact a {
	display: table-cell;
	align-items: center;
	color: white;
	text-decoration: none;
	transition: color 0.15s ease;
}

.header-contact a:hover {
	color: var(--color-accent);
}

.header-contact i {
	font-size: 30px;
	color: #bb8c3a;
	margin-right: 0.25rem;
}

.menu-btn {
	display: flex;
	background: none;
	border: none;
	color: white;
	font-size: 1.5rem;
	cursor: pointer;
	outline: none;
	padding-top: 10px;

}

#menuBtn i {
	color: var(--color-gray-500) !important;
	font-size: 2rem;
	padding-left: 20%;
}

.header-contact span {
	font-size: 30px;
	color: white;
	font-weight: bold;
	align-items: center;
	display: inline-flex;
}

.contactname {
	font-size: 16px;
	display: inline;
	padding-left: 15px;
}


@media (min-width: 768px) {
	.menu-btn {
		display: none;
	}

	.header-contact {
		padding-bottom: 0px;
	}
}

.mobile-nav {
	display: none;
	background-color: rgba(255, 255, 255, 0.95);
	padding: 0.75rem 1rem;
}

.mobile-nav a {
	display: block;
	color: var(--color-dark);
	text-decoration: none;
	padding: 1.3rem 1rem;
	transition: color 0.15s ease;
	border-bottom: 1px dotted var(--color-gray-400);
	font-size: 14px;
}

.mobile-nav a:hover {
	color: var(--color-accent);
}

.mobile-nav:not(.hidden) {
	display: block;
}

/* 英雄区域样式 */
.hero {
	position: relative;
	padding-top: 4rem;
}

.hero-bg {
	height: 60vh;
	min-height: 400px;
	background-image: url('../img/background.jpg');
	background-size: cover;
	background-position: center;
}

.hero-bg::after {
	content: '';
	position: absolute;
	top: 4rem;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to right, rgba(22, 33, 62, 0.7), rgba(22, 33, 62, 0.3));
}

.hero-content {
	position: absolute;
	top: 4rem;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1rem;
	z-index: 10;
	max-width: 36rem;
}

.hero-tag {
	background-color: rgba(109, 191, 255, 0.9);
	color: white;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
	display: inline-block;
	width: 30%;
	text-align: center;
}

.hero h1 {
	color: white;
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: bold;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	line-height: 1.25;
	margin-bottom: 1rem;
	letter-spacing: 4px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hero-actions button {
	padding: 0.75rem 1.5rem;
	border-radius: 0.375rem;
	font-weight: 500;
	transition: all 0.15s ease;
	cursor: pointer;
	border: none;
}


.hero-actions button:first-child {
	background-color: var(--color-accent);
	color: white;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hero-actions button:first-child a {
	color: white;
	text-decoration: none;
}


.hero-actions button:first-child:hover {
	background-color: rgba(109, 191, 255, 0.9);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-actions button:last-child a {
	color: black;
	text-decoration: none;
}

/* 主内容区域 */
.main-content {
	max-width: 1280px;
	margin: 0 auto;
	padding: 7rem 1rem;
}

.main-content2 {
	max-width: 1280px;
	margin: 0 auto;
	padding: 3rem 1rem;
}

/* 区域通用样式 */
.property-section,
.rental-section,
.estate-section {
	margin-bottom: 4rem;
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 5rem;
}

.section-header h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: bold;
	color: var(--color-dark) !important;
	display: flex;
	align-items: center;
}

.section-header h2 a {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: bold;
	color: var(--color-dark) !important;
	display: flex;
	align-items: center;
	padding-right: 10px;
}

.section-header h2 i {
	color: var(--color-accent);
	margin-right: 0.5rem;
}

.section-header h2 span {
	font-size: 0.875rem;
	font-weight: normal;
	color: var(--color-gray-500);
	margin-left: 0.5rem;
}

.section-header a {
	color: var(--color-secondary);
	text-decoration: none;
	display: flex;
	align-items: center;
	transition: color 0.15s ease;
}

.section-header a:hover {
	color: var(--color-gray-800);
}

.section-header a i {
	margin-left: 0.25rem;
}

/* 房产网格样式 */
.property-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.property-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.property-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.property-card {
	background-color: white;
	border-radius: 0.5rem;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
	transform: translateY(-5px);
}

.property-img {
	position: relative;
	overflow: hidden;
}

.property-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.property-img:hover img {
	transform: scale(1.1);
}

.property-tag {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	font-size: 0.75rem;
	color: white;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
}

.property-card:nth-child(1) .property-tag {
	background-color: var(--color-accent);
}

.rental-section .property-tag {
	background-color: var(--color-green-500);
}

.property-info {
	padding: 1rem;
}

.property-card a {
	text-decoration: none;
	color: black;
}

.property-info h3 {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.property-date,
.property-meta {
	font-size: 0.875rem;
	color: var(--color-gray-500);
	margin-bottom: 0.75rem;
}

.property-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.property-price {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--color-accent);
	font-weight: bold;
}

.property-price span:last-child {
	color: var(--color-gray-500);
	font-weight: normal;
	font-size: 0.875rem;
}

/* 楼盘环境区域 */
.estate-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.estate-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.estate-card {
	position: relative;
	border-radius: 0.5rem;
	overflow: hidden;
	height: 16rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.estate-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.estate-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.estate-card:hover img {
	transform: scale(1.1);
}

.estate-info {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 1.5rem;
	color: white;
	z-index: 10;
}

.estate-info::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
	background: linear-gradient(to top, rgba(22, 33, 62, 0.8), transparent);
	z-index: -1;
}

.estate-info h3 {
	font-size: 1.25rem;
	font-weight: bold;
	margin-bottom: 0.25rem;
}

.estate-info p {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.8);
}

/* 房产资讯区域 */
.news-section {
	padding-top: 5rem;
}

.news-section2 {
	/* padding-top: 3rem; */
}

.news-header {
	text-align: center;
	font-size: 20px;
	padding-bottom: 60px;
}

.news-header p {
	font-size: 14px;
}

.news-header p {
	color: var(--color-gray-500);
	max-width: 42rem;
	margin: 0 auto;
}

.news-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	.news-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.news-card {
	padding: 1.5rem;
	border-radius: 0.5rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
	transform: translateY(-5px);
}

.news-card h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.news-card h3 a {
	color: var(--color-gray-800);
	text-decoration: none;
	transition: color 0.15s ease;
}

.news-card h3 a:hover {
	color: var(--color-accent);
}

.news-card p {
	color: var(--color-gray-600);
	margin-bottom: 1rem;
	font-size: 14px;
}

.news-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.875rem;
	color: var(--color-gray-500);
}

.news-meta i {
	margin-right: 0.25rem;
}

.news-more {
	text-align: center;
	margin-top: 2.5rem;
}

.news-more button {
	background-color: var(--color-primary);
	color: white;
	padding: 0.75rem 2rem;
	border-radius: 0.375rem;
	font-weight: 500;
	transition: all 0.15s ease;
	cursor: pointer;
	border: none;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.news-more button:hover {
	background-color: rgba(15, 52, 96, 0.9);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.news-more button a {
	color: white;
	text-decoration: none;
}

/* 页脚样式 */
.footer {
	background-color: var(--color-dark);
	color: white;
	padding: 3rem 0;
}

.footer-container {
	max-width: 1280px;
	margin: 0 auto;
	margin-bottom: 2.5rem;
}

.footer-col {
	width: 29%;
	display: inline-block;

}

.footer-col h1 {
	letter-spacing: 15px;
}

.footer-col h4 {
	font-size: 1.25rem;
	font-weight: bold;
	margin-bottom: 1rem;
	padding-top: 0.6rem;
}

.footer-col h3 i {
	color: var(--color-accent);
	margin-right: 0.5rem;
}

.footer-col h4 {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.footer-col p {
	color: var(--color-gray-400);
	margin-bottom: 1rem;
	font-size: 14px;
}

.footer-col ul {
	list-style: none;
	width: 50%;
	display: inline-block;
}

.footer-col ul li {
	margin-bottom: 0.5rem;
	text-align: right;
}

.footer-col ul li a {
	color: var(--color-gray-400);
	text-decoration: none;
	transition: color 0.15s ease;
}

.footer-col ul li a:hover {
	color: var(--color-accent);
}

/* .footer-col ul li {
	display: flex;
	align-items: flex-start;
} */

.footer-col ul li i {
	color: var(--color-accent);
	margin-top: 0.25rem;
	margin-right: 0.75rem;
	display: block;
	width: 100%;
	padding: 0.2rem 0;
}

.footer-col ul li span {
	display: block;
}

.footer-col2 {
	display: inline-block;
	width: 40%;
}

.footer-col2 ul {
	list-style: none;
}

.footer-col2 ul li {
	display: inline-block;
	width: 49%;
	padding: 0.5rem 0;
}

.footer-col2 ul li a {
	text-decoration: none;
	color: var(--color-gray-400);
	display: inline-block;
	font-size: 14px;
}

.footer-col i {
	display: block;
}

.footer-social {
	display: flex;
	gap: 1rem;
}

.footer-social a {
	color: var(--color-gray-400);
	font-size: 1.25rem;
	transition: color 0.15s ease;
}

.footer-social a:hover {
	color: var(--color-accent);
}

.footer-qrcode {
	margin-top: 1rem;
	/* width: 50%; */
	display: inline-block;
	padding-left: 10%;
}

.footer-qrcode img {
	width: 6rem;
	height: 6rem;
}

.footer-bottom {
	max-width: 1280px;
	margin: 0 auto;
	padding: 1.5rem 1rem 0;
	border-top: 1px solid var(--color-gray-800);
	text-align: center;
	color: var(--color-gray-500);
	font-size: 0.875rem;
}

.footer-bottom p:last-child {
	margin-top: 0.5rem;
}

.footer-bottom a {
	text-decoration: none;
	color: var(--color-gray-500);
	padding: 0 5px;
}

/* 返回顶部按钮 */
.back-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	background-color: var(--color-accent);
	color: white;
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
}

.back-to-top:not(.hidden) {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background-color: rgba(109, 191, 255, 0.9);
}

/* 辅助类 */
.hidden {
	display: none !important;
}

@media (max-width: 768px) {
	.footer-col {
		display: block;
		text-align: center;
		width: 100%;
	}

	.footer-col2 {
		display: block;
		text-align: center;
		width: 100%;
		padding-bottom: 30px;
		padding-top: 30px;
	}

	.footer-col ul {
		width: 30%;
	}
}

.subimg {
	padding-top: 60px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px;
}

.container1 {
	max-width: 1200px;
	margin: 0 auto;
	padding: 150px 20px 30px 20px;
}

.container2 {
	max-width: 1200px;
	margin: 0 auto;
	padding: 50px 20px 30px 20px;
}

.prodheader {
	text-align: center;
	font-size: 20px;
	padding-bottom: 60px;
}

.prodheader p {
	font-size: 14px;
	color: var(--color-gray-500);
}

.btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 16px;
	border: none;
}

.btn-outline {
	background-color: transparent;
	border: 1px solid var(--primary);
	color: var(--primary);
}

.btn-outline:hover {
	background-color: rgba(99, 102, 241, 0.05);
}

.badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
}

.badge-primary {
	background-color: rgba(99, 102, 241, 0.1);
	color: var(--primary);
}

.section-title {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 16px;
}

.section-desc {
	color: var(--gray);
	max-width: 600px;
	margin-bottom: 40px;
}

.card {
	background-color: var(--color-light);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* 产品详情区 */
.product-detail {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	padding: 20px 0 60px;
}

.thumbnail-list {
	display: flex;
	/* flex-direction: column; */
	padding: 50px 0;
	gap: 12px;
}

.thumbnail {
	width: 80px;
	height: 80px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
}

.thumbnail.active {
	border-color: var(--primary);
}

.thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.main-image {
	border-radius: 8px;
	overflow: hidden;
	background-color: var(--color-light);
	display: flex;
	/* align-items: center; */
	/* justify-content: center; */
}

.main-image img {
	max-height: 500px;
	object-fit: contain;
}

.product-category {
	display: inline-block;
	margin-bottom: 12px;
}

.product-title {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 16px;
	line-height: 1.2;
}

.product-rating {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.rating-stars {
	color: var(--warning);
}

.rating-count {
	color: var(--gray);
	font-size: 14px;
}

.product-price {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--light-gray);
}

.current-price {
	font-size: 32px;
	font-weight: 700;
	color: var(--primary);
}

.original-price {
	font-size: 20px;
	color: var(--gray);
	text-decoration: line-through;
}

.product-short-desc {
	margin-bottom: 30px;
	color: var(--gray);
	font-size: 16px;
	line-height: 1.6;
}

.product-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-bottom: 30px;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.feature-icon {
	color: var(--primary);
}

.color-options {
	margin-bottom: 30px;
}

.color-option {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	border: 2px solid transparent;
	position: relative;
}

.color-option.active {
	border-color: var(--primary);
}

.color-option.active::after {
	content: '✓';
	position: absolute;
	bottom: -4px;
	right: -4px;
	background-color: var(--primary);
	color: var(--color-light);
	width: 20px;
	height: 20px;
	border-radius: 50%;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.quantity-selector {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 30px;
}

.quantity-controls {
	display: flex;
	align-items: center;
	border: 1px solid var(--light-gray);
	border-radius: 8px;
	overflow: hidden;
}

.quantity-btn {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-light);
	border: none;
	font-size: 18px;
	color: var(--dark);
}

.quantity-input {
	width: 60px;
	height: 40px;
	text-align: center;
	border: none;
	font-size: 16px;
	font-weight: 500;
	outline: none;
}

.stock-status {
	color: var(--success);
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 6px;
}

.action-buttons {
	display: flex;
	gap: 16px;
	margin-bottom: 30px;
}

.action-buttons .btn a {
	color: var(--primary);
}

.action-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.product-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--light-gray);
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--gray);
}

.meta-icon {
	color: var(--primary);
}

.my-4 {
	text-align: center;
	margin-bottom: 50px;
}

.page-item,
.page-num {
	padding: 5px;
	color: var(--color-gray-800);
	border: 1px solid var(--color-dark);
	text-align: center;
	vertical-align: middle;
	border-radius: 5px;
	margin: 0px 5px;
}

.page-num {
	margin: 0px 5px;
	padding: 5px 10px;
}

.page-num-current {
	background-color: var(--color-dark);
	color: white;
}

.page-item:hover,
.page-num:hover {
	background-color: var(--color-dark);
	color: white;
}

/* 产品详情标签页 */
.product-tabs {
	padding: 60px 0;
	background-color: var(--color-light);
}

.tabs-nav {
	display: flex;
	gap: 40px;
	border-bottom: 1px solid var(--light-gray);
	margin-bottom: 30px;
}

.tab-link {
	padding: 16px 0;
	font-weight: 600;
	color: var(--gray);
	position: relative;
}

.tab-link.active {
	color: var(--primary);
}

.tab-link.active::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--primary);
	border-radius: 3px 3px 0 0;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
}

.description-content {
	line-height: 1.8;
	color: var(--gray);
}

.description-content h3 {
	font-size: 20px;
	font-weight: 600;
	color: var(--dark);
	margin: 24px 0 16px;
}

.description-content ul {
	margin: 16px 0;
	padding-left: 20px;
	list-style: disc;
}

.description-content li {
	margin-bottom: 8px;
}

.specs-table {
	width: 100%;
	border-collapse: collapse;
}

.specs-table tr {
	border-bottom: 1px solid var(--light-gray);
}

.specs-table td {
	padding: 16px;
}

.specs-table td:first-child {
	font-weight: 500;
	width: 30%;
}

.specs-table td:last-child {
	color: var(--gray);
}

/* 相关产品 */
.related-products {
	padding: 60px 0;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 24px;
}

.product-card {
	padding: 20px;
}

.product-card-img {
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	border-radius: 8px;
	background-color: #F8FAFC;
	overflow: hidden;
}

.product-card-img img {
	max-height: 100%;
	object-fit: contain;
}

.product-card-title {
	font-weight: 600;
	margin-bottom: 8px;
	line-height: 1.4;
}

.product-card-rating {
	color: var(--warning);
	font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
	.product-detail {
		grid-template-columns: 1fr;
	}

	.product-title {
		font-size: 28px;
	}

	.current-price {
		font-size: 28px;
	}

	.action-buttons {
		flex-direction: column;
	}
}

@media (max-width: 768px) {

	.nav-menu,
	.nav-actions {
		display: none;
	}

	.product-features {
		grid-template-columns: 1fr;
	}

	.subimg {
		display: none;
	}

	.page-item:nth-child(2),
	.page-item:nth-last-child(2) {
		display: none;
	}

	.page-num:nth-last-child(2) {
		display: none;
	}

	.page-item,
	.page-num {
		padding: 3px;
		margin: 0px 3px;
	}

	.page-num {
		margin: 0px 3px;
		padding: 3px 7px;
	}

	.container2 {
		padding: 220px 20px 30px 20px;
	}

	.related-products {
		padding: 30px 0;
	}
	.position{
		font-size: 14px;
		padding-left: 10% ;
	}
}

@media (max-width: 576px) {
	.product-gallery {
		grid-template-columns: 1fr;
	}

	.thumbnail-list {
		flex-direction: row;
		overflow-x: auto;
		padding-bottom: 8px;
	}

	.tabs-nav {
		overflow-x: auto;
		padding-bottom: 8px;
	}

	.specs-table td {
		padding: 12px 8px;
	}
}

.news-image {
	width: 100%;
	margin-bottom: 25px;
	border-radius: 6px;
	overflow: hidden;
}

.news-image img {
	width: 100%;
	height: auto;
	display: block;
}

.image-caption {
	text-align: center;
	color: #666;
	font-size: 14px;
	margin-top: 8px;
	font-style: italic;
}

.news-content p {
	margin-bottom: 20px;
	font-size: 16px;
	line-height: 1.7;
	text-indent: 2rem;
}
.news-content h2{
	margin-bottom: 20px;
	text-indent: 2rem;
}
.news-content h3{
	margin-bottom: 20px;
	/* text-indent: 2rem; */
}

.news-quote {
	border-left: 4px solid #d0343a;
	padding-left: 20px;
	margin: 25px 0;
	font-style: italic;
	color: #555;
	font-size: 20px;
	line-height: 1.6;
}

.news-meta11 {
	color: #666;
	font-size: 14px;
	margin-bottom: 10px;
	padding-top: 20px;
}

.news-meta11 span {
	margin-right: 20px;
}

.news-meta11 i {
	margin-right: 5px;
	/* color: #d0343a; */
}

.news-tags {
	margin-top: 15px;
}

.tag {
	display: inline-block;
	background-color: #f0f2f5;
	color: #555;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 13px;
	margin-right: 8px;
	margin-bottom: 8px;
}

.othernews a {
	color: var(--color-gray-500);
}

.othernews div {
	padding: 20px 0;

}