.container {
	padding: 0 90px;
}

.tab-container {
	display: flex;
	border-bottom: 1px solid #ddd;
	margin: 0 50px;
}

.tab-button {
	flex: 1;
	padding: 15px 0;
	text-align: center;
	background-color: #e0e0e0;
	cursor: pointer;
	transition: background-color 0.3s ease;
	font-size: 16px;
	font-weight: bold;
	border: none;
	outline: none;
}

.tab-button.active {
	background-color: #0056b3;
	color: white;
}

.tab-content {
	display: none;
	padding: 20px;
	background-color: white;
	border-radius: 8px;
}

.tab-content.active {
	display: block;
}

/* 表格样式 */
table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}

th,
td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

th {
	background-color: #f2f2f2;
	font-weight: bold;
}

tr:hover {
	background-color: #f5f5f5;
}

.product-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}


.info-section {
	width: 45%;
	padding: 16px;
}

.info-section {
	padding-top: 100px;
}

.info-section h1 {
	font-size: 42px;
}

.info-section p,
h3 {
	margin: 20px 0;
	font-size: 24px;
}

.info-section li {
	font-size: 24px;
}

.thumbnails img,
.color-option img {
	padding: 5px;
	cursor: pointer;
	width: 100%;
	height: auto;
}

.image-section {
	display: flex; 
	flex-direction: row-reverse;
	width: 50%;
}

.main-image { 
	border-radius: 8px;
	background-color: #f8f9fa;
}

.main-image img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-left: auto;
	/* 对齐到右侧 */
}




/*.product-substance {*/
/*	width: 50%;*/
/*	display: flex;*/
/*	flex-direction: column;*/
/*}*/

/*.product-info {*/
/*	padding: 20px;*/
/*}*/

/*.product-info h2 {*/
/*	font-size: 45px;*/
/*	font-weight: 800;*/
/*}*/

/*.product-info p {*/
/*	font-size: 20px;*/
/*	line-height: 40px;*/
/*}*/

/*.thumbnails {*/
/*	width: 200px;*/
/*	margin-bottom: auto; */
/*	display: grid;*/
/*	grid-template-columns: repeat(1, 1fr); */
/*	gap: 10px;*/
/*	overflow-y: auto;*/
/*}*/

/*.thumbnails img {*/
/*	width: 90%;*/
/*	height: auto;*/
/*	cursor: pointer; */
/*}*/


/*.colors {*/
/*	margin-top: 20px;*/
/*}*/

/*.color-palette {*/
/*	display: flex;*/
/*	justify-content: flex-end;*/
/*	flex-wrap: wrap;*/
/*	gap: 12px;*/
/*	max-width: 100%;*/
/*}*/


/*.color-option {*/
/*	width: 48px;*/
/*	border-radius: 50%;*/
/*	object-fit: cover;*/
/*	cursor: pointer;*/
/*	border: 2px solid #ddd;*/
/*	transition: all 0.3s ease;*/
/*	flex: 0 0 calc(16.666% - 12px);*/
/*	background-color: white;*/
/*}*/

/*.color-option:hover {*/
/*	border-color: #007bff;*/
/*	transform: scale(1.1);*/
/*}*/

.color-option:focus,
.color-option:active {
	outline: none;
}

.product-button {
	display: flex;
	justify-content: right;
	align-items: center;
	margin: 20px;
}

.product-button a {
	display: inline-block;
	padding: 12px 24px;
	background-color: #007bff;
	color: white;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	border-radius: 25px;
	border: 4px solid #007bff;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.product-button a:hover {
	background-color: white;
	color: #007bff;
	transform: translateY(-2px);
	box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.product-button a:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.introduction-content {
	display: flex;
	align-items: center;
	padding: 50px;
	box-sizing: border-box;
}

.introduction-substance {
	font-size: 16px;
	line-height: 1.6;
	color: #333;
}

.introduction-button a {
	margin-top: 20px;
	display: inline-block;
	padding: 10px 20px;
	background-color: #007bff;
	color: white;
	text-decoration: none;
	border-radius: 5px;
	transition: all 0.3s ease;
}

.introduction-button a:hover {
	background-color: #0056b3;
}

.introduction-content img {
	max-width: 45%;
	height: auto;
	margin-right: 20px;
}

.product-trait {
	padding: 50px;
}

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

.trait-text {
	width: 45%;
	font-size: 20px;
	line-height: 1.6;
	color: #333;
}

.trait-text h2 {
	font-size: 56px;
	margin-bottom: 70px;
}

.trait-images {
	width: 50%;
	display: flex;
	justify-content: space-between;
}

.trait-images img {
	max-width: 100%;
	height: auto;
}

.product-Pigment {
	padding: 20px;
	display: flex;
	justify-content: center;
}

.product-Pigment h2 {
	font-size: 42px;
}

.Pigment-content {
	width: 100%;
}

.pigment-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 10px;
	margin-top: 15px;
	justify-items: center;
}

.pigment-item {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border-radius: 6px;
	padding: 8px;
}

.color-block {
	width: 80px;
	height: 40px;
	border-radius: 30px 0px;
	flex-shrink: 0;
}

.color-info {
	flex-grow: 1;
}

.color-name {
	font-size: 14px;
	margin: 0;
	color: #333;
}

.color-code {
	font-size: 12px;
	color: #666;
	margin: 0;
}

/* advantage */
.product-advantage {
	position: relative;
	background-size: cover;
	background-position: center;
	padding: 50px 0;
}

.advantage-content {
	max-width: 1200px;
	margin: 0 auto;
	text-align: left;
	color: #fff;
}

.advantage-content h2 {
	font-size: 56px;
	margin-bottom: 50px;
	border-bottom: 4px solid #1254ff;
	padding-bottom: 5px;
}

.advantage-cards {
	display: flex;
	justify-content: space-between;
	gap: 40px;
}

.advantage-card {
	background-color: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	flex: 1;
	min-width: 300px;
}

.advantage-card h3 {
	font-size: 20px;
	margin-bottom: 10px;
	color: #333;
}

.advantage-card p {
	font-size: 18px;
	line-height: 1.5;
	color: #666;
}

section {
	padding: 0px 20px;

	margin: 0 auto;
}

/* 第一个 section：主图 + 文字 */
.hero-section {
	position: relative;
	text-align: center;
	overflow: hidden;
	border-radius: 12px;
	margin-bottom: 40px;
}

.hero-section img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.hero-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: rgba(255, 255, 255, 0.9);
	padding: 20px;
	border-radius: 12px;
	max-width: 900px;
	text-align: center;
}

.hero-content h1 {
	font-size: 42px;
	margin-bottom: 16px;
	color: #000;
}

.hero-content p {
	font-size: 28px;
	color: #444;
	text-align: center;
	line-height: 1.8;
}

/* 第二个 section：图文并列 */
.feature-section1 {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	align-items: center;
	justify-content: space-between;
}

.feature-image {
	flex: 1;
	min-width: 300px;
}

.feature-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.feature-text {
	flex: 1;
	min-width: 300px;
}

.feature-text h2 {
	font-size: 56px;
	margin-bottom: 12px;
	color: #000;
}

.feature-text p {
	font-size: 20px;
	color: #555;
}

.faq-section {
	padding: 30px 90px;
}

.faq-title {
	font-size: 34px;
	font-weight: bold;
	margin-bottom: 15px;
	display: inline-block;
	vertical-align: top;
	width: 70px;
}

.faq-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.faq-item {
	margin-bottom: 10px;
	background-color: #fff8d8;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.3s ease;
}

.faq-item:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
	padding: 14px 20px;
	font-size: 28px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #fff8d8;
	color: #333;
	font-weight: 500;
}

.faq-answer {
	padding: 0 20px;
	background-color: #fff8d8;
	font-size: 28px;
	color: #555;
	border-top: 1px solid #eee;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.4s ease;
}


.faq-question .faq-arrow {
	width: 24px;
	height: 24px;
	background: #007bff;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat 50% 50%;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat 50% 50%;
	background-color: #555;
	transition: transform 0.3s ease;
	cursor: pointer;
}

/* 箭头旋转动画 */
.faq-item.active .faq-arrow {
	transform: rotate(180deg);
}



.faq-item.active .faq-answer {
	background-color: #fff8d8;
	padding: 15px;
	max-height: 200px;
}

/* 可选：鼠标悬停效果 */
.faq-question:hover {
	max-height: 200px;
	background: #fff4c4;
}


.inquiry-section {
	margin: 50px 90px;
	background-color: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.inquiry-title {
	text-align: center;
	font-size: 32px;
	font-weight: bold;
	margin-bottom: 25px;
	color: #333;
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.form-group {
	margin-bottom: 15px;
}

.form-group label {
	display: block;
	margin-bottom: 5px;
	font-size: 20px;
	color: #555;
}

.form-control {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 24px;
	transition: border-color 0.3s ease;
}

.form-control:focus {
	outline: none;
	border-color: #007bff;
}

textarea.form-control {
	min-height: 100px;
	resize: vertical;
}

.submit-btn {
	display: block;
	width: 200px;
	margin: 25px auto 0;
	padding: 12px;
	background-color: #0c2a42;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 30px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

/* 响应式设计 - 平板设备 */
@media screen and (max-width: 820px) {
	.info-section h1 {
		font-size: 28px;
	}

	.info-section p,
	h3 {
		margin: 10px 0;
		font-size: 20px;
	}

	.info-section li {
		font-size: 18px;
	}

	.product-container,
	.product-substance {
		width: 100%;
	}

	.product-content {
		flex-direction: column;
	}

	.image-section,
	.info-section {
		width: 100%;
		padding: 10px;
	}

	.info-section {
		padding-top: 20px;
	}

	.introduction-content {
		flex-direction: column;
		text-align: center;
		padding: 10px;
	}

	.introduction-content img,
	.introduction-substance {
		max-width: 100%;
		width: 100%;
		margin-right: 0;
		margin-bottom: 20px;
	}

	.introduction-button {
		margin-top: 15px;
	}

	.trait-content {
		flex-direction: column;
		text-align: center;
	}

	.feature-text h2 {
		font-size: 20px;
	}

	.feature-text p {
		font-size: 18px;
	}

	.trait-text,
	.trait-images {
		width: 100%;
	}

	.trait-images {
		margin-top: 30px;
	}

	.pigment-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		margin-top: 15px;
	}

	.advantage-cards {
		flex-direction: column;
	}

	.advantage-card {
		margin-bottom: 20px;
	}

	.tab-container {
		flex-direction: column;
	}

	.tab-button {
		padding: 12px;
		font-size: 14px;
	}

	.tab-content {
		padding: 15px;
	}

	.hero-content {
		padding: 16px;
	}

	.hero-content h1 {
		font-size: 20px;
	}

	.hero-content p {
		font-size: 18px;
	}

	.trait-text h2 {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.feature-section {
		flex-direction: column;
	}

	.feature-image,
	.feature-text {
		width: 100%;
		text-align: center;
	}

	.faq-title {
		width: 100%;
		text-align: left;
	}

	.faq-item {
		margin-bottom: 12px;
	}

	.faq-question {
		padding: 12px 16px;
	}

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

/* 响应式设计 - 手机设备 */
@media screen and (max-width: 450px) {
	.main-image {
		padding: 0;
	}

	.product-info h2 {
		font-size: 28px;
		font-weight: 400;
	}

	.introduction-content {
		min-height: auto;
		padding: 15px;
	}

	.introduction-substance p {
		font-size: 14px;
		line-height: 1.5;
	}

	.introduction-button a {
		padding: 8px 16px;
		font-size: 14px;
	}

	.trait-text p {
		font-size: 14px;
	}

	.trait-images img {
		width: 100%;
	}

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

	.tab-container {
		flex-direction: column;
	}

	.tab-button {
		padding: 12px;
		font-size: 14px;
	}

	.tab-content {
		padding: 15px;
	}

	.hero-content {
		padding: 0px;
	}

	.hero-content h1 {
		font-size: 14px;
	}

	.hero-content p {
		font-size: 10px;
	}

	.feature-section {
		flex-direction: column;
	}

	.feature-image,
	.feature-text {
		width: 100%;
		text-align: center;
	}
}