/* 基础样式重置 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  }
/* 仅特定元素应用（如标题） */
.zt {
	font-family: 'CustomFont', serif;
}
.product-name h1{
	font-size:22px
}
.GY-LX-section h2,  {
	font-size:22px
}
/* 全局设置h1-h6为细体 */
h1, h2, h3, h4, h5, h6 {
	font-weight: 300; /* 细体（数值范围100-900，300为标准细体） */
}
body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: #333;
	background-color: #f8f7f4;
	line-height: 1.6;
}
a {
	text-decoration: none;
	color: inherit;
}
ul {
	list-style: none;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
/* 全屏图片广告 */
.hero-TP {
	position: relative;
	width: 100%;
	height: 40vh; /* 降低高度，减少广告感 */
	overflow: hidden;
	margin-bottom: 30px;
	border-radius: 0 0 1px 1px; /* 添加圆角，使其看起来更像内容区域 */
}
.TP-slides {
	display: flex;
	width: 300%; /* 3张图片 */
	height: 100%;
	transition: transform 0.5s ease-in-out;
}
.TP-slide {
	width: 33.333%;
	height: 100%;
	position: relative;
}
/* 使用实际图片URL，避免使用data URI */
.TP-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block; /* 移除底部间隙 */
}
.TP-content {
	position: absolute;
	bottom: 15%;
	left: 0;
	right: 0;
	text-align: center;
	color: white;
	padding: 0 20px;
	max-width: 90%;
	margin: 0 auto;
	font-family: 'CustomFont', serif;
}
.TP-title {
	font-size: clamp(1.8rem, 5vw, 2rem); /* 使用clamp确保标题大小合适 */
	margin-bottom: 10px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.TP-desc {
	font-size: 0.9rem;
	margin-bottom: 15px;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.TP-button {
	background-color: white;
	color: #8b7355;
	padding: 10px 20px; /* 减小按钮尺寸 */
	border-radius: 5px;
	font-weight: bold;
	display: inline-block;
	transition: background-color 0.3s;
	font-size: 0.9rem;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.TP-button:hover {
	background-color: #f1eee8;
}
.TP-controls {
	position: absolute;
	bottom: 5%;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 10px;
}
.TP-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: background-color 0.3s;
}
.TP-dot.active {
	background-color: white;
}
/* 加载指示器样式 */
.loading-indicator {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	font-size: 0.9rem;
	color: #5c4b3b;
}
.spinner {
	width: 30px;
	height: 30px;
	border: 3px solid #8b7355;
	border-radius: 50%;
	border-top-color: transparent;
	animation: spin 1s linear infinite;
	margin-right: 10px;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* 备选内容样式 */
.TP-fallback {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #f8f7f4;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
}
.fallback-content {
	text-align: center;
	padding: 20px;
}
.fallback-content h3 {
	color: #5c4b3b;
	margin-bottom: 10px;
}
.fallback-content p {
	color: #7d6b57;
	margin-bottom: 15px;
}
.fallback-content button {
	background-color: #8b7355;
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
}
/* 头部样式 */
header {
	background-color: #eee;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	position: sticky;
	top: 0;
	z-index: 100;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 0;
}
/* 调整logo容器样式，确保内容单行显示 */
.logo {
  font-size: 48px;
  font-family: 'CustomFont', serif;
  color: #5c4b3b;
  vertical-align: middle;
  display: inline-flex; /* 使用flex布局强制子元素在一行 */
  white-space: nowrap; /* 禁止容器内文字换行 */
}
.logo sup {
  display: inline; /* 将h6从默认块级改为行内元素 */
  margin: 0; /* 清除默认外边距 */
  padding: 0; /* 清除默认内边距 */
  vertical-align: super; /* 设为上标 */
  font-size: 26px; /* 根据需要调整字体大小 */*/
}
/* 桌面端导航 */
  .desktop-nav {
	display: flex;
	gap: 30px;
  }
  
  .desktop-nav li a {
	font-weight: 500;
	transition: color 0.3s;
  }
  
  .desktop-nav li a:hover {
	color: #8b7355;
  }
  
  .btn {
	padding: 8px 18px;
	border-radius: 4px;
	font-weight: 500;
	transition: all 0.3s;
	border: none;
	cursor: pointer;
  }
  
  .btn-primary {
	background-color: #8b7355;
	color: white;
  }
  
  .btn-primary:hover {
	background-color: #6d5842;
  }
  
  /* 移动端底部导航 ----------------------------------------------------------------*/
  .mobile-nav {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: white;
	padding: 1px 0;
	box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
	z-index: 99;
  }
  
  .mobile-nav-content {
	display: flex;
	justify-content: space-around;
	align-items: center;
  }
  
  .mobile-nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 1.5 rem;
  }
  
  .mobile-login-btn {
	width: 65px;
	height: 65px;
	border-radius: 50%;
	background-color: #8b7355;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 5px;
	font-weight: bold;
	box-shadow: 0 6px 15px rgba(139, 115, 85, 0.4);
	transition: transform 0.3s;
  }
  
  .mobile-login-btn:hover {
	transform: scale(1.05);
  }
  
  /* 首页作品展示区------------------------------------------------------------------------------------ */
  .section {
	padding: 60px 0;
  }
  
  .section-title {
	text-align: center;
	margin-bottom: 40px;
	color: #5c4b3b;
  }
  
  .section-title h2 {
	margin-bottom: 10px;
  }
  
  .section-title p {
	color: #7d6b57;
	max-width: 700px;
	margin: 0 auto;
  }
  

  .works-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 25px;
  }
  
  .work-item {
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	transition: transform 0.3s;
  }
  
  .work-item:hover {
	transform: translateY(-5px);
  }
  
  .work-img {
	width: 100%;
	height: 250px;
	overflow: hidden;
	position: relative;
  }
  
  .work-img img {
	position: absolute;
	top: 0;
	left: 0;
	width: auto;
	height: 100%;
	min-width: 100%;
	object-fit: cover;
	object-position: center;
  }
  
  /* 为无图片的占位区域添加样式—————————————————————————————————————————————————————————————————————————————— */
  .work-img .placeholder {
	width: 100%;
	height: 100%;
	background-color: #e8e4dc;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 0.9rem;
  }
  
  .work-info {
	padding: 20px;
  }
  
  .work-title {
	font-size: 1.2rem;
	margin-bottom: 8px;
  }
  
  .work-desc {
	color: #666;
	font-size: 0.95rem;
	margin-bottom: 15px;
  }
  
  .work-meta {
	display: flex;
	justify-content: space-between;
	color: #8b7355;
	font-weight: 500;
  }
  
  /* 特色区域 --------------------------------------------------------------------------*/
  .features {
	background-color: #f1eee8;
  }
  
  .features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
  }
  
  .feature-item {
	text-align: center;
	padding: 20px;
  }
  
  .feature-icon {
	width: 70px;
	height: 70px;
	background-color: #8b7355;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	margin: 0 auto 15px;
  }
  
  .feature-title {
	font-size: 1.2rem;
	margin-bottom: 10px;
	color: #5c4b3b;
  }
  
  /* 页脚 -------------------------------------------------------------------------------------------------------*/
  footer {
	background-color: #5c4b3b;
	color: white;
	padding: 30px 0;
  }
  
  .copyright {
	text-align: center;
	font-size: 0.9rem;
	color: #d9c9b8;
  }
  
/* 产品列表页样式------------------------------------------------------------------------------------------------------ */
  .product-page {
	display: flex;
	gap: 30px;
	padding: 40px 0;
  }
  
  /* 左侧边栏--------------------------------------------------------------------------------- */
  .sidebar {
	width: 25%;
	flex-shrink: 0;
  }
  
  .sidebar-section {
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	margin-bottom: 30px;
	overflow: hidden;
  }
  
  .sidebar-title {
	padding: 15px 20px;
	background-color: #8b7355;
	color: white;
	font-weight: bold;
  }
  
  .categories ul {
	padding: 10px 0;
  }
  
  .categories li {
	padding: 10px 20px;
	transition: background-color 0.3s;
  }
  
  .categories li:hover {
	background-color: #f1eee8;
  }
  
  .categories li a {
	display: block;
  }
  
  .categories li.active {
	background-color: #f1eee8;
	font-weight: bold;
  }
  
  .top-collections .top-item {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
  }
  
  .top-collections .top-item:last-child {
	border-bottom: none;
  }
  
  .top-item .rank {
	width: 25px;
	height: 25px;
	background-color: #8b7355;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	margin-right: 15px;
  }
  
  .top-item .item-img {
	width: 60px;
	height: 60px;
	overflow: hidden;
	border-radius: 4px;
	margin-right: 15px;
  }
  
  .top-item .item-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
  }
  
  .top-item .item-info {
	flex-grow: 1;
  }
  
  .top-item .item-name {
	font-weight: 500;
  }
  
  .top-item .item-price {
	color: #8b7355;
	font-weight: bold;
  }
  
  /* 产品列表----------------------------------------------------------------------------------------- */
  .products {
	flex-grow: 1;
  }
  
  .product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
  }
  
  .product-item {
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	transition: transform 0.3s;
  }
  
  .product-item:hover {
	transform: translateY(-5px);
  }
  
  .product-img {
	width: 100%;
	height: 250px;
	overflow: hidden;
	position: relative;
  }
  
  .product-img img {
	position: absolute;
	top: 0;
	left: 0;
	width: auto;
	height: 100%;
	min-width: 100%;
	object-fit: cover;
	object-position: center;
  }
  
  
  .product-title {
	font-size: 1.2rem;
	margin-bottom: 8px;
  }
  
  .product-desc {
	color: #666;
	font-size: 0.95rem;
	margin-bottom: 15px;
  }
  
  .product-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
  }
  
  .product-price {
	color: #8b7355;
	font-weight: bold;
	font-size: 1.1rem;
  }
  
  .add-to-cart {
	background-color: #8b7355;
	color: white;
	padding: 8px 15px;
	border-radius: 4px;
	font-weight: 500;
	transition: background-color 0.3s;
  }
  
  .add-to-cart:hover {
	background-color: #6d5842;
  }
  
  
  /*全部产品与产品分类成一行------------------------------------------------------------------------------------*/
  
  .sidebar-title {
  padding: 15px 20px;
  background-color: #8b7355;
  color: white;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-title a.right-align {
  color: white;
  text-decoration: none;
}


.sidebar-title span {
  display: inline-block;
}

.sidebar-title li.right-align {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-title li.right-align a {
  color: white;
  text-decoration: none;
  
}

.right-align:active {
  background-color: transparent;
}

  
	/* 关于和联系我们页面样式----------------------------------------------------------------------- */
  .about-page {
  padding: 10px 0;
}

.GY-LX-section {
  padding: 10px 0;
}

.GY-LX-section-title {
  text-align: center;
  margin-bottom: 20px;
  color: #5c4b3b;
  position: relative; /* 添加相对定位 */
}

.GY-LX-section-title p {
  color: #7d6b57;
  max-width: 700px;
  margin: 0 auto;
}

.GY-LX-section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 0px;
  background-color: #8b7355;
}
  .about-hero {
	background-color: #8b7355;
	color: white;
	text-align: center;
	margin-bottom: 5px;
  }
  
  .about-hero h1 {
	font-size: 3rem;
	margin-bottom: 20px;
  }
  
  .about-hero p {
	max-width: 800px;
	margin: 0 auto;
	font-size: 1.1rem;
  }
  
  .about-content {
	display: flex;
	gap: 60px;
	margin-bottom: 60px;
  }
  
  .about-content .left {
	width: 50%;
  }
  
  .about-content .right {
	width: 50%;
  }
  
  .about-content p {
	margin-bottom: 20px;
	text-indent: 2em; /* 添加这一行以实现缩进两格 */
  }
  
  .team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
  }
  
  .team-member {
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	transition: transform 0.3s;
  }
  
  .team-member:hover {
	transform: translateY(-5px);
  }
  
  .member-img {
	width: 100%;
	height: 300px;
	overflow: hidden;
  }
  
  .member-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
  }
  
  .member-info {
	padding: 20px;
  }
  
  .member-name {
	font-size: 1.2rem;
	font-weight: bold;
	color: #5c4b3b;
	margin-bottom: 5px;
  }
  
  .member-position {
	color: #8b7355;
	margin-bottom: 10px;
  }
  
  .values-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
  }
  
  .value-item {
	background-color: white;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	text-align: center;
  }
  
  .value-icon {
	font-size: 2.5rem;
	color: #8b7355;
	margin-bottom: 20px;
  }
  
  .value-title {
	font-size: 1.3rem;
	font-weight: bold;
	color: #5c4b3b;
	margin-bottom: 15px;
  }
  
  
  
  
  /* 产品详情页样式 --------------------------------------------------------------------------------*/
  .CPXQ-product-page {
	padding: 60px 0;
  }
  
  .CPXQ-section {
	margin-bottom: 60px;
  }
  
  .CPXQ-title {
	font-size: 2rem;
	color: #5c4b3b;
	margin-bottom: 30px;
	position: relative;
  }
  
  .CPXQ-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 80px;
	height: 3px;
	background-color: #8b7355;
  }
  
  /* 产品图片和属性区域--------------------------------------------------------------------- */
  .product-media-section {
	margin-bottom: 80px;
  }
  
  .product-media-content {
	display: flex;
	gap: 60px;
  }
  
  .product-media-content .left {
	width: 45%;
  }
  
  .product-media-content .right {
	width: 55%;
  }
  
  /* 产品图片点击显示在大图上位置轮播------------------------------------------------- */
  .product-images {
	display: flex;
	flex-direction: column;
	gap: 15px;
  }
  
  .main-image {
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 8px;
	background-color: white;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }
  
  .main-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
  }
  
  .thumbnail-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
  }
  
  .thumbnail {
	  
	width: 120px; 
	height: 100px;
	overflow: hidden;
	border-radius: 8px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: border-color 0.3s;
	
	
  }
  
  .thumbnail.active, .thumbnail:hover {
	border-color: #8b7355;
  }
  
  .thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center; /* 图片居中显示 */
  }
  
  /* 产品信息-------------------------------------------------------------- */
  .product-info {
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }
  .product-info-margin{
	padding: 10px;
  }
  
  .product-name {
	  font-size: 1.6rem;
	  color: #5c4b3b;
	  margin-bottom: 5px;
	  /* 新增下划线（使用border-bottom实现，可自定义粗细和颜色*/
	  border-bottom: 1px solid #ccc;
	  /* 新增背景色（可根据需要调整颜色值） */
	  background-color: #ddd;
	  /* 增加内边距，让背景和文字有一定间距，更美观 */
	  padding: 8px 8px;
  }

  
  .current-price {
	  font-size: 1.3rem; /* 将字体大小改小，可根据实际需求调整 */
	  color: #ff8888; /* 将颜色改为金色 */
	  font-weight: bold;
  }
  .current-price h3 {
  color: #ff0000;
  display: inline;
  }
  .current-price h5 {
	  font-size: 1.5rem; /* 将字体大小改小，可根据实际需求调整 */
  color: red;
  display: inline;
  }
  
  .market-price {
	font-size: 1rem;
	color: #888;
	/*text-decoration: line-through;*/
	margin-left: 10px;
  }
  
  .product-specs {
	margin-bottom: 20px;
	display: flex;
	gap: 20px;
	justify-content: center; /* 水平居中 */
  }
  .product-specs h2{
	  display: inline;
	  margin: 0;
  }
  
  .spec-item {
  display: flex;
  justify-content: center; /* 水平居中 */
}

.spec-item label {
  white-space: nowrap; /* 强制内容不换行 */
}
  
  .spec-label {
	font-weight: 800;
	color: #5c4b3b;
  }
  
  
  
  
  /* 附加服务折叠样式 */
  /* 折叠项容器 */
.collapse-item {
  border: 1px solid #eee;
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}

/* 折叠标题栏（可点击区域） */
.collapse-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}

.collapse-header:hover {
  background-color: #f0f0f0;
}

/* 折叠图标 */
.toggle-icon {
  font-size: 16px;
  transition: transform 0.3s;
}

/* 折叠内容区域 */
.collapse-content {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
}

.collapse-content .pl2{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* 展开状态的内容区域 */
.collapse-content.active {
  padding: 15px;
  max-height: 500px; /* 根据内容调整最大高度 */
  transition: max-height 0.5s ease-in, padding 0.3s;
}

/* 展开状态的图标（旋转效果） */
.toggle-icon.active {
  transform: rotate(45deg);
}

  /* 优化复选框样式 */
  .spec-item input[type="checkbox"] {
	  width: 16px;
	  height: 16px;
	  margin-right: 8px;
	  accent-color: #8b7355;
	  
	  text-align: center;
	  margin: 0 auto;
	  
  }
  
  .spec-item label span{
	  white-space: nowrap;
	  }
  .spec-item span{
	  white-space: nowrap;
	  }
  .spec-item label {
	  cursor: pointer;
	  transition: color 0.2s;
  }
  
  .spec-item label:hover {
	  color: #8b7355;
  }
 
  /* 附加服务折叠样式完*/
  
  
  
  
  
  
  /* 详情和评论区域 */
  .product-details-section {
	margin-bottom: 20px;
  }
  
  /* 选项卡 */
  .tabs {
	margin-top: 20px;
  }
  
  .tab-header {
	display: flex;
	border-bottom: 1px solid #e0e0e0;
  }
  
  .tab-item {
	padding: 10px 20px;
	cursor: pointer;
	font-weight: 500;
	transition: color 0.3s;
  }
  
  .tab-item.active {
	color: #8b7355;
	border-bottom: 2px solid #8b7355;
  }
  
  .tab-content {
	padding: 10px 0;
  }
  
  .tab-pane {
	display: none;
  }
  
  .tab-pane.active {
	display: block;
  }
  
  /* 产品详情--------------------------------------------------------------------------------------- */
  .product-details p {
	margin-bottom: 10px;
	padding-left: 5px; /* 添加左内边距 */
	padding-right: 5px; /* 添加右内边距 */
  }
  
  
  
  
  
  /* 缩略图基础样式 */
.thumbnail-container {
  display: flex;
  gap: 8px; /* 缩略图之间的间距 */
  margin-top: 10px;
  overflow-x: auto; /* 允许横向滚动 */
  padding-bottom: 5px; /* 避免滚动条遮挡 */
}

.thumbnail {
  width: 122px; /* 桌面端默认宽度 */
  height: 122px; /* 桌面端默认高度 */
  cursor: pointer;
  border: 2px solid transparent;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持图片比例，填充容器 */
}

.thumbnail.active {
  border-color: #ff0000; /* 选中状态边框颜色 */
}



  
  
  /* 评论区 */
  .review-item {
	background-color: white;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }
  
  .review-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
  }
  
  .review-author {
	font-weight: bold;
	color: #5c4b3b;
  }
  
  .review-date {
	color: #888;
	font-size: 0.9rem;
  }
  
  .review-content {
	margin-bottom: 15px;
  }
  
  .review-reply {
	margin-left: 30px;
	padding-left: 20px;
	border-left: 2px solid #e0e0e0;
	background-color: #f9f9f9;
	border-radius: 4px;
	padding: 15px;
  }
  
  .review-reply-author {
	font-weight: bold;
	color: #8b7355;
	margin-bottom: 5px;
  }
  
  .reply-form {
	margin-top: 30px;
  }
  
  .form-group {
	margin-bottom: 15px;
  }
  
  .form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
	color: #5c4b3b;
  }
  
  .form-group input, .form-group textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	transition: border-color 0.3s;
  }
  
  .form-group input:focus, .form-group textarea:focus {
	outline: none;
	border-color: #8b7355;
  }
  
  
  /* 相关推荐产品样式优化----------------------------------------------------------------------------------------------- */
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.related-product-item {
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s;
}

.related-product-item:hover {
  transform: translateY(-5px);
}

.related-product-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-product-info {
  padding: 10px;
}

.related-product-name {
  font-weight: 500;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-product-name a {
  color: #333;
  text-decoration: none;
}

.related-product-name a:hover {
  color: #ff4d4f;
}

.related-product-price {
  color: #ff4d4f;
  font-weight: bold;
}

.related-product-favorite {
  font-size: 0.8rem;
  color: #666;
  margin-top: 5px;
}

.no-related-products {
  text-align: center;
  padding: 30px;
  color: #999;
}
  /*会员登录后在导航显示头像和名字样式---------------------------------------------------------------------------------------------------*/
.mobile-avatar {
width: 68px; /* 进一步减小宽度（原40px或35px，根据实际调整） */
height: 68px; /* 保持宽高一致，确保圆形 */
border-radius: 50%; /* 圆形 */
object-fit: cover;
margin: 0 5px; /* 减小左右边距（原可能为0 auto或更大边距） */
display: inline-block; /* 避免block元素默认占满一行的特性 */
vertical-align: middle; /* 与相邻内容对齐，减少错位导致的空间浪费 */
}

/* 确保移动端导航项间距合适 */
.mobile-nav-content {
justify-content: space-around;
padding: 5px 0;
}

#avatar-preview {
  width: 150px;
  height: 150px;
  background-size: cover;
  background-position: center;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}


/*注册登录找回密码页样式---------------------------------------------------------------------------------------------*/
	  .htc__login__register {
		  display: flex;
		  justify-content: center;
		  align-items: center;
	  }
	  .htc__login__register__wrap {
		  background-color: white;
		  border-radius: 10px;
		  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
		  padding: 20px; /* 增加内边距以提高表格高度 */
		  width: 100%;
		  max-width: 480px; /* 适当增加最大宽度 */
	  }
	  

	  /* 注册标题样式--*/
	  .login__register__menu a {
		  font-size: 28px; /* 增大标题字体大小 */
		  font-weight: bold;
		  color: #5c4b3b;
		  display: block;
		  text-align: center;
		  margin-top: 30px; /* 增加标题底部间距 */
	  }

	  /* 输入框样式-------- */
	  .form-group input {
		  width: 100%;
		  padding: 15px; /* 增加输入框内边距 */
		  margin-bottom: 20px; /* 增加输入框底部间距 */
		  border: 1px solid #e0e0e0;
		  border-radius: 4px;
		  transition: border-color 0.3s;
		  font-size: 16px; /* 增大输入框字体大小 */
	  }

	  .form-group input:focus {
		  outline: none;
		  border-color: #8b7355;
	  }

	  /* 错误信息样式- */
	  .error-message {
		  color: red;
		  margin-bottom: 15px; /* 增加错误信息底部间距 */
	  }

	  /* 提示信息样式---- */
	  .prompt-message,
	  .success-message {
		  color: green;
		  margin-bottom: 15px; /* 增加提示信息底部间距 */
	  }

	  /* 复选框样式----- */
	  .tabs__checkbox {
		 margin-bottom: 15px; /* 增加复选框底部间距 */
		 font-size: 14px; /* 调整复选框文字大小 */
		 text-align: left; /* 使内容居左 */
	  }
	  .tabs__checkbox span a{
		 font-size: 18px; /* 调整复选框文字大小 */
		 text-align: left; /* 使内容居左 */
		 color: red; /* 设置文字颜色为红色 */
	  }

	  /* 注册按钮样式 */
	  .htc__login__btn {
		  width: 50%;
		  margin: 1px auto 0; /* 顶部30px间距，水平居中 */
	  }
	  
	  .htc__login__btn a {
		  display: block;
		  background-color: #8b7355;
		  color: white;
		  text-align: center;
		  padding: 10px; /* 增加按钮内边距 */
		  border-radius: 4px;
		  text-decoration: none;
		  font-weight: 500;
		  transition: background-color 0.3s;
		  font-size: 18px; /* 增大按钮字体大小 */
	  }

	  .htc__login__btn a:hover {
		  background-color: #6d5842;
	  }
	   /* 新增样式，用于将验证码输入框、图片和按钮居中 */
	  .code-container {
		  display: flex;
		  justify-content: center;
		  align-items: center;
		  gap: 10px; /* 元素之间的间距 */
		  margin-bottom: 15px; /* 底部间距 */
	  }
	  
  /* 微信二维码模态框样式----------------------------------------------------------------------------------------- */
#wechat-modal {
position: fixed;
inset: 0;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}

#wechat-modal.active {
opacity: 1;
visibility: visible;
}

#wechat-modal .modal-content {
background-color: white;
border-radius: 8px;
max-width: 400px;
width: 100%;
padding: 25px;
position: relative;
transform: scale(0.9);
transition: transform 0.3s ease;
}

#wechat-modal.active .modal-content {
transform: scale(1);
}

#wechat-modal .modal-header {
text-align: center;
margin-bottom: 20px;
}

#wechat-modal .modal-header h3 {

color: #5c4b3b;
margin-bottom: 5px;
}

#wechat-modal .modal-header p {
color: #7d6b57;
font-size: 0.9rem;
}

#wechat-modal .qrcode-container {
text-align: center;
margin-bottom: 20px;
}

#wechat-modal .qrcode-container img {
max-width: 200px;
height: auto;
border: 1px solid #eee;
padding: 10px;
border-radius: 8px;
}

#wechat-modal .modal-footer {
text-align: center;
}

#wechat-modal .modal-footer p {
color: #7d6b57;
font-size: 0.9rem;
margin-bottom: 15px;
}

#wechat-modal .close-btn {
position: absolute;
top: 15px;
right: 15px;
font-size: 1.2rem;
color: #999;
cursor: pointer;
transition: color 0.3s;
}

#wechat-modal .close-btn:hover {
color: #5c4b3b;
}

/*实现移动端时把登录注册显示在顶部*/
   /*桌面端隐藏 */
  .F-mobile-nav-content {
	  display: none;
  }
/*实现移动端时把登录注册显示在顶部完*/	



/* 统一社交按钮基础样式------------------------------------------------------------- */
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer; /* 如果是按钮可点击 */
}

.social-btn i {
  font-size: 16px;
}

.social-btn:hover {
  opacity: 0.9;
}

/* 收藏按钮：红底黑字 */
.bg-sc {
  background-color: #ff0000; /* 红色背景 */
  color: #000; /* 黑色文字 */
  font-weight: bold;/* 粗体字 */
}
.bg-sc a{
  background-color: #ff0000; /* 红色背景 */
  color: #000; /* 黑色文字 */
  font-weight: bold;/* 粗体字 */
}

/* 抖音按钮：黑底白字（保持原需求） */
.bg-douyin {
  background-color: #000; /* 黑色背景 */
  color: #fff; /* 白色文字 */
}

/* 快手按钮：红底白字 */
.bg-kuaishou {
  background-color: #e60023; /* 红色背景（常用快手红） */
  color: #fff; /* 白色文字 */
}
