/* 合并后的CSS文件 - 包含page.css和index.css的样式，确保复用且无冲突 */

/* ===== 通用样式 - 来自common.css ===== */

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
.mb20{
  margin-bottom: 20px;
}

input {
  background-color: transparent;
  border: 0;
}

button {
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  outline: none;
  background-color: transparent;
}

button:active {
  opacity: 0.6;
}

/* Flex布局通用类 */
.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.justify-start {
  display: flex;
  justify-content: flex-start;
}

.justify-center {
  display: flex;
  justify-content: center;
}

.justify-end {
  display: flex;
  justify-content: flex-end;
}

.justify-evenly {
  display: flex;
  justify-content: space-evenly;
}

.justify-around {
  display: flex;
  justify-content: space-around;
}

.justify-between {
  display: flex;
  justify-content: space-between;
}

.align-start {
  display: flex;
  align-items: flex-start;
}

.align-center {
  display: flex;
  align-items: center;
}

.align-end {
  display: flex;
  align-items: flex-end;
}

/* ===== 页面基础样式 ===== */
/* 页面背景样式 */
.page {
  width: 100vw;
  min-width: 1200px;
  flex-direction: column;
  align-items: center;
  background-color: rgba(248, 248, 248, 1);
}

/* ===== 通用组件样式 ===== */

/* 分隔线样式 */
.divider-line {
  width: 100%;
  height: 1px;
  background: #f0f0f0;
  border: none;
  margin: 12px 0;
}

.divider {
  width: 100%;
  height: 1px;
  border: none;
  border-top: 1px dashed #e0e0e0;
}

/* ===== 头部样式 ===== */
.trademark-header {
  position: static;
  background-image: url(../images/trademark_banner.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-width: 1200px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-bottom: 48px;
}

.site-title {
  color: #fff;
  font-size: 60px;
  font-family: SourceHanSansCN-Heavy, sans-serif;
  font-weight: 900;
  text-align: center;
  letter-spacing: 5px;
  margin-bottom: 24px;
  margin-top: 0;
  line-height: 1.2;
}

.site-subtitle {
  color: #fff;
  font-size: 20px;
  font-family: SourceHanSansCN-Regular, sans-serif;
  font-weight: 400;
  text-align: center;
  letter-spacing: 15px;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ===== 面包屑导航 ===== */
.breadcrumb {
  width: 1200px;
  height: 40px;
  overflow-wrap: break-word;
  color: rgba(123, 123, 123, 1);
  font-size: 16px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  line-height: 40px;
  margin: 0 auto;
  display: block;
}

/* ===== 主内容区域 ===== */
.trademark-main {
  width: 100vw;
  min-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  margin-top: 0;
  padding: 0 24px;
}

.main-content {
  height: auto;
  width: 1200px;
  margin: 10px auto;
}

.container, .content-container {
  width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.06);
  box-sizing: border-box;
}

.container {
  padding: 24px;
  margin-top: 24px;
}

.content-container {
  width: 1200px;
  padding: 30px;

}

.left-content {
  width: 863px;

}

/* ===== 商标信息区域 ===== */
.trademark-info {
  width: 863px;
}

/* 商标logo容器样式 */
.trademark-logo-container {
  background-color: rgba(255, 255, 255, 1);
  border-radius: 5px;
  height: 260px;
  border: 1px solid rgba(240, 240, 240, 1);
  width: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.trademark-logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.trademark-details {
  width: 578px;
  min-height: 245px;

}

.trademark-name {
  width: 100%;
  height: 56px;
  overflow-wrap: break-word;
  color: rgba(87, 87, 87, 1);
  font-size: 20px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  line-height: 56px;
  border-bottom: 1px dashed rgba(240, 240, 240, 1);
  display: block;
  margin-bottom: 10px;
}


.trademark-description {
  width: 543px;
  overflow-wrap: break-word;
  color: rgba(87, 87, 87, 1);
  font-size: 14px;

  font-weight: normal;
  text-align: left;
  line-height: 30px;
  padding: 0 0 0 2px;
}

/* ===== 价格和咨询区域 ===== */
.price-container {
  background-color: rgba(255, 250, 248, 1);
  border-radius: 5px;
  width: 578px;
  height: 56px;
  margin-top: 19px;
  align-items: center;
}


.price-label {
  width: 42px;
  overflow-wrap: break-word;
  color: rgba(97, 97, 97, 1);
  font-size: 14px;

  font-weight: normal;
  text-align: left;
  white-space: nowrap;
  line-height: 56px;
margin-left: 16px;
}

.price-value {
  width: 66px;
  overflow-wrap: break-word;
  color: rgba(255, 151, 16, 1);
  font-size: 20px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  line-height: 56px;
  padding-left: 6px;
}

.consult-btn {
  background-color: rgba(255, 126, 73, 1);
  border-radius: 5px;
  height: 34px;
  width: 143px;
  line-height: 34px;
  text-align: center;
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
  font-size: 14px;
  margin-left: auto;      /* 右对齐 */
  margin-right: 10px; 
  display: block;
}
.consult-btn:hover {
  background-color: rgba(255, 102, 51, 1);
}
/* ===== 标签菜单区域 ===== */
.tab-menu {
  width: 328px;
  height: 16px;
  margin: 40px 0 0 2px;
}

.tab-item {
  width: 96px;
  height: 16px;
  overflow-wrap: break-word;
  color: rgba(135, 135, 135, 1);
  font-size: 16px;
  font-family: SourceHanSansCN-Regular;
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
  line-height: 24px;
  margin-left: 20px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.tab-item:first-child {
  margin-left: 0;
}

.tab-item.active {
  color: rgba(35, 35, 35, 1);
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
}

.tab-indicator {
  background-color: rgba(255, 126, 73, 1);
  border-radius: 2px;
  width: 48px;
  height: 5px;
  margin: 10px 0 0 24px;
  transition: transform 0.3s ease;
}

/* ===== 标签内容区域 ===== */
.tab-content {
  width: 100%;
  margin-top: 20px;
}

.tab-pane {
  display: none;
 
}

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

.tab-pane h3 {
  color: rgba(35, 35, 35, 1);
  font-size: 18px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 24px;
}

.tab-pane h4 {
  color: rgba(35, 35, 35, 1);
  font-size: 16px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  margin: 15px 0 10px 0;
  line-height: 24px;
}

.tab-pane p {
  color: rgba(87, 87, 87, 1);
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  line-height: 24px;
  margin-bottom: 15px;
}

.tab-pane ol, .tab-pane ul {
  padding-left: 20px;
  color: rgba(87, 87, 87, 1);
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  line-height: 28px;
}

.tab-pane li {
  line-height: 28px;
  margin-bottom: 8px;
}

/* ===== 商标图形代码展示样式 ===== */
.trademark-details-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trademark-image-code {
  display: flex;
  flex-direction: column;
  gap: 15px;
  line-height: 35px;
}

.code-display {
  background-color: #f5f5f5;
  border-radius: 5px;
  padding: 15px;
  overflow-x: auto;
}

.code-display pre {
  margin: 0;
}

.code-display code {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.svg-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 5px;
  border: 1px solid #eee;
}

/* SVG样式 */
.trademark-logo-svg {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  display: block;
}

.trademark-circle {
  fill: none;
  stroke: #FF7E49;
  stroke-width: 2;
}

.trademark-text {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  font-size: 24px;
  fill: #FF7E49;
  text-anchor: middle;
  dominant-baseline: middle;
}

/* ===== 商标详情表格 ===== */
.trademark-details-table {
  width: 100%;
  margin-top: 10px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background-color: #fff;
    border-top: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0;
}

.info-table td {
  padding: 10px 15px;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  border-bottom: 1px solid #f0f0f0;
  line-height: 22px;
}

.info-table .label {
  color: #666;
  width: 140px;
  text-align: right;
  font-weight: normal;
  background-color: #fafafa;
}

.info-table .value {
  color: #333;
  text-align: left;
  width: 200px;
}

/* ===== 侧边栏样式 ===== */
.right-sidebar {
  width: 218px;
}

.sidebar {
  position: static;
  left: auto;
  top: auto;
  transform: none;
  margin: -120px auto 0px auto;
  width: 1136px;
  z-index: 10;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.10);
  padding: 12px 32px 12px 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.sidebar-header {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 侧边栏标题 - 区分两个页面的不同样式 */
.sidebar .sidebar-title {
  width: 72px;
  height: 18px;
  overflow-wrap: break-word;
  color: rgba(76, 149, 248, 1);
  font-size: 18px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  line-height: 27px;
}

.right-sidebar .sidebar-title {

  height: 36px;
  overflow-wrap: break-word;
  color: rgba(76, 76, 76, 1);
  font-size: 16px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  line-height: 36px;
  margin-left: 9px;
}

.clear-btn {
  width: 32px;
  height: 16px;
  overflow-wrap: break-word;
  color: rgba(153, 153, 153, 1);
  font-size: 16px;
  font-family: SourceHanSansCN-Regular;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  line-height: 24px;
  margin-top: 2px;
  cursor: pointer;
}

.sidebar-container {
  width: 219px;
  height: 602px;
  margin-top: 4px;
}

.sidebar-item {
  background-color: rgba(250, 252, 255, 1);
  border-radius: 5px;
  width: 218px;
  height: 296px;
}

.sidebar-container .sidebar-item:nth-child(2) {
  margin-top: 10px;
  padding-left: 1px;
}

/* ===== 推荐商标项目 ===== */
.recommended-item {
  background-color: rgba(250, 252, 255, 1);
  border-radius: 5px;
  width: 218px;
  height: 296px;
  margin-top: 26px;
}

.item-logo-container, .item-image-container {
  background-color: rgba(255, 255, 255, 1);
  border-radius: 5px;
  height: 150px;
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 9px;
}

.item-content {
  width: 200px;
  height: 197px;
  margin-top: 10px;
  padding-left: 9px;
}

.item-info {
  width: 91px;
  height: 34px;
  margin-top: 17px;
  padding-left: 8px;
}

.item-name, .item-title {
  overflow-wrap: break-word;
  color: rgba(87, 87, 87, 1);
  font-size: 16px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  white-space: nowrap;
  line-height: 24px;
}

.item-name {
  width: 48px;
  height: 16px;
  text-align: left;
  margin-top: 13px;
  padding-left: 17px;
}

.item-title {
  width: 32px;
  height: 16px;
  text-align: center;
}

.item-category, .item-subtitle {
  width: 91px;
  height: 12px;
  overflow-wrap: break-word;
  color: rgba(123, 123, 123, 1);
  font-size: 12px;
  font-family: SourceHanSansCN-Regular;
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
  line-height: 12px;
  margin-top: 8px;
}

.item-category {
  padding-left: 17px;
}

.item-divider {
  width: 194px;
  height: 1px;
  margin-top: 15px;
  margin-left: 11px;
  background-color: #f0f0f0;
}

.item-price-container {
  width: 180px;
  height: 40px;
  margin-top: 33px;
  padding-left: 17px;
}

.item-price {
  width: 60px;
  height: 18px;
  overflow-wrap: break-word;
  color: rgba(255, 151, 16, 1);
  font-size: 18px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  line-height: 27px;
}

.item-price-note {
  width: 180px;
  height: 12px;
  overflow-wrap: break-word;
  color: rgba(123, 123, 123, 1);
  font-size: 12px;
  font-family: SourceHanSansCN-Regular;
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
  line-height: 12px;
  margin-top: 8px;
}

/* ===== 详情容器 ===== */
.detail-container {
  width: 1161px;
  height: 606px;
  margin-top: 47px;
  padding-left: 11px;
}

.detail-image {
  width: 900px;
  height: 369px;
  background-color: #f9f9f9;
  border-radius: 5px;
}

/* ===== 搜索区域 ===== */
.search-section {
  width: 100%;
  height: 42px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.selected-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.selected-tag {
  display: flex;
  align-items: center;
  background: #E8F4FD;
  border: 1px solid #4285F4;
  border-radius: 3px;
  padding: 3px 6px;
  font-size: 11px;
  color: #4285F4;
  gap: 4px;
  white-space: nowrap;
  height: 18px;
  line-height: 18px;
}

.selected-tag-text {
  font-size: 11px;
  color: #4285F4;
  line-height: 18px;
}

.selected-tag-close {
  cursor: pointer;
  font-size: 12px;
  color: #4285F4;
  font-weight: bold;
  line-height: 18px;
  padding: 0 1px;
  border-radius: 2px;
  transition: background-color 0.2s;
  width: 12px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.selected-tag-close:hover {
  background-color: #4285F4;
  color: white;
}

.label {
  color: #333;
  font-size: 16px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  margin-right: 12px;
  line-height: 28px;
  align-self: flex-start;
}

.search-input-wrapper {
  position: relative;
  width: 400px;
  max-width: 400px;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  height: 42px;
  border: 1px solid #e3eaf2;
  border-radius: 5px;
  background: #f6f6f8;
  font-size: 15px;
  color: #333;
  padding: 0 80px 0 16px;
  outline: none;
  transition: border 0.2s;
  box-sizing: border-box;
  text-align: left;
}

.search-input:focus {
  border-color: #4c95f8;
}

.btn {
  background: #4c95f8;
  border: none;
  border-radius: 0 5px 5px 0;
  color: #fff;
  font-size: 15px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.price-btn {
  width: 72px;
  background: #D1D1D1;
  color: #fff;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  font-weight: 400;
  line-height: 28px;
  border-radius: 5px;
  cursor: pointer;
  height: 28px;
  text-align: center;
}
.price-btn:hover {
  background: #4285F4;
}
.search-input-wrapper .btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 42px;
  min-width: 72px;
}

.btn:hover {
  background: #357ae8;
}

.btn-text {
  color: #fff;
}

/* ===== 筛选区域 ===== */
.filter-section {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin: 5px 0 5px 0;
}

.tag, .tag--active {
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  height: 28px;
  border-radius: 5px;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  margin-right: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  border: 1.5px solid #dbe6f9;
  background: #fff;
  color: #4c95f8;
  transition: all 0.2s;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.tag--active {
  background: #4c95f8;
  border: 1.5px solid #4c95f8;
  color: #fff;
}

.tag-text {
  color: inherit;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  font-weight: 400;
}

.option {
  color: #666;
  background: transparent;
  border-radius: 3px;
  padding: 0 12px;
  height: 28px;
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  font-weight: 400;
  cursor: pointer;
  border: none;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.option:hover {
  background: #eaf2fd;
  color: #4c95f8;
}

/* ===== 分类区域 ===== */
.category-section {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.category-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #FAFCFF;
  padding: 16px;
  border-radius: 8px;
  position: relative;
}

.category-search {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
}

.category-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
}

.category-input {
  width: 100%;
  height: 40px;
  border: 1px solid #EBF3FF;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  color: #333;
  padding: 0 90px 0 12px;
  outline: none;
  transition: border 0.2s;
  box-sizing: border-box;
}

.category-input::placeholder {
  color: #C3C3C3;
}

.category-input:focus {
  border-color: #4c95f8;
}

.category-btn {
  position: absolute;
  right: 0;
  top: 4px;
  height: 32px;
  min-width: 100px;
  background: transparent;
  border: none;
  border-left: 1px solid #E7E7E7;
  border-radius: 0 4px 4px 0;
  color: #4c95f8;
  font-size: 14px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.category-btn:hover {
  color: #4c95f8;
}

.category-btn .btn-text {
  color: #4c95f8;
}

.category-grid {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.category-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.category-list {
  width: 90px;
  min-width: 90px;
  max-width: 90px;
  flex: none;
  text-align: center;
  color: #4C95F8;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  font-weight: 400;
  margin: 6px 3px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border: none;
}

.category-list:hover {
  background: #eaf2fd;
  color: #4c95f8;
}

.category-list--active {
  background: #4c95f8;
  color: #fff;
}

.category-list--active:hover {
  background: #357ae8;
  color: #fff;
}

/* ===== 工具栏样式 ===== */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  padding: 0 24px;
}

.sort-active {
  color: #4c95f8;
  font-size: 16px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sort-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sort-item:hover {
  background: #f8f9fa;
}

.sort-label {
  color: #666;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  font-weight: 400;
}

.sort-icons {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sort-triangle {
  width: 0;
  height: 0;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.sort-triangle-up {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid #999;
}

.sort-triangle-down {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #999;
}

.sort-triangle:hover {
  opacity: 1;
}

.sort-item-active .sort-triangle.active {
  border-bottom-color: #4c95f8;
  opacity: 1;
}

.sort-triangle.active {
  opacity: 1;
}

/* ===== 产品网格和卡片 ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 12px;
  width: 100%;
  max-width: 1100px;
  justify-items: center;
}

.product-card {
  background: #FAFCFF;
  border-radius: 12px;
  width: 220px;
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px 12px 12px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  background: #4c95f8;
  box-shadow: 0 8px 24px 0 rgba(76,149,248,0.15);
  transform: translateY(-2px);
  border-color: #e3eaf2;
}

.product-card:hover .product-name,
.product-card:hover .product-category {
  color: #fff;
}

.product-card:hover .price {
  color: #ff8c00;
}

.product-card:hover .price-desc {
  display: none;
}

.product-card:hover .contact-btn {
  display: flex !important;
}

.product-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.product-image-wrapper {
  background: #ffffff;
  border-radius: 8px;
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.product-name {
  color: #333;
  font-size: 16px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  margin-bottom: 6px;
  text-align:left;
  line-height: 1.3;
}

.product-category {
  color: #999;
  font-size: 12px;
  font-family: SourceHanSansCN-Regular;
  font-weight: 400;
  text-align: left;
  line-height: 1.4;
}

.product-price {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: left;
  margin-bottom: 8px;
}

.price {
  color: #ff5656;
  font-size: 16px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 600;
  margin-bottom: 4px;
}

.price-desc {
  color: #bbb;
  font-size: 11px;
  font-family: SourceHanSansCN-Regular;
  font-weight: 400;
  text-align: left;
  line-height: 1.3;
}

.contact-btn {
  background: #ff8c00;
  border-radius: 16px;
  width: 140px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  margin: -3px auto 8px auto;
  text-decoration: none;
}

.contact-text {
  color: #ffffff;
  font-size: 14px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
}

.contact-btn:hover {
  background: #e67e00;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255,140,0,0.3);
}

/* ===== 价格输入区域 ===== */
.input-group {
  display: flex;
  align-items: center;
  height: 28px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  padding: 0 8px;
  margin-right: 8px;
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  box-sizing: border-box;
}

.input-group:focus-within {
  border-color: #4c95f8;
}

.currency {
  color: #666;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  font-weight: normal;
  margin-right: 2px;
  flex-shrink: 0;
}

.value {
  color: #333;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  font-weight: normal;
  text-align: center;
  width: 30px;
  min-width: 30px;
  outline: none;
  border: none;
  background: transparent;
  flex-shrink: 0;
}

.value::-webkit-outer-spin-button,
.value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.value[type=number] {
  -moz-appearance: textfield;
}

.unit {
  color: #666;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  font-weight: normal;
  margin-left: 2px;
  flex-shrink: 0;
}

.separator {
  color: #666;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  font-weight: normal;
  display: flex;
  align-items: center;
}

/* ===== 筛选下拉菜单 ===== */
.filter-dropdown {
  position: relative;
  display: inline-block;
}

.filter-dropdown-btn {
  color: #666;
  background: transparent;
  border-radius: 3px;
  padding: 0 12px;
  height: 28px;
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  font-weight: 400;
  cursor: pointer;
  border: 1px solid #e0e0e0;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.filter-dropdown-btn:hover {
  background: #eaf2fd;
  color: #4c95f8;
}

.dropdown-arrow {
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.7;
}

.filter-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e3eaf2;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 100px;
  display: none;
  flex-direction: column;
  padding: 4px 0;
}

.filter-dropdown:hover .filter-dropdown-menu {
  display: flex;
}

.filter-dropdown-item {
  padding: 8px 12px;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.filter-dropdown-item:hover {
  background: #f0f7ff;
  color: #4c95f8;
}

/* ===== 收起按钮 ===== */
.collapse-btn {
  width: 100px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 auto;
  padding: 8px 0;
  border-radius: 0 0 6px 6px;
  background: #ffffff;
  transition: background 0.2s;
  z-index: 99;
}

.collapse-btn:hover {
  color: #357ae8;
}

.collapse-text {
  color: #7b7b7b;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  line-height: 20px;
}

.collapse-icon {
  font-size: 12px;
  margin-left: 6px;
  opacity: 0.8;
  color: #7b7b7b;
  line-height: 1;
  display: inline-block;
  transition: transform 0.3s ease;
}

.collapse-icon.expanded {
  transform: rotate(180deg) !important;
}

/* ===== 折叠功能样式 ===== */
.collapsible-section {
  transition: all 0.3s ease;
  overflow: visible;
}

.collapsible-section.hidden {
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
}

/* ===== 商标求购区域 ===== */
.purchase-section {
  margin-left: auto;
}

.purchase-link {
  background: #ff8c00;
  border-radius: 6px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.purchase-link:hover {
  background: #e67e00;
}

.purchase-icon {
  width: 16px;
  height: 16px;
}

.purchase-text {
  color: #ffffff;
  font-size: 14px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
}

/* ===== 弹窗样式 ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  margin: 5% auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.modal-title {
  font-size: 16px;
  font-weight: 400;
  color: #4285f4;
  margin: 0;
}

.header-content {
  align-items: center;
  gap: 16px;
}

.header-subtitle {
  font-size: 14px;
  color: #999;
  font-weight: 400;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: #fff;
  color: #666;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.modal-close:hover {
  background: #eaeaea;
}

.modal-body {
  padding: 24px;
}

.purchase-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-group-textarea {
  align-items: flex-start;
}

.form-label {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  min-width: 80px;
  text-align: right;
}

.form-input,
.form-textarea {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background: #fff;
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #4285f4;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #C3C3C3;
}

.required-mark {
  color: #ff4444;
  font-size: 14px;
  margin-left: 4px;
}

.submit-btn {
  background: #4285f4;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
}

.submit-btn:hover {
  background: #3367d6;
}

.privacy-notice {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin: 16px 0 0;
  line-height: 1.4;
}

/* 禁止背景滚动 */
body.modal-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

body.modal-open .modal {
  position: fixed;
  top: 0;
  left: 0;
}

/* 确保弹窗内容可以滚动 */
.modal-content {
  max-height: 90vh;
  overflow-y: auto;
}

/* 类似群组按钮样式 */
.similar-groups {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 160px;
  height: 24px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid #4c95f8;
  border-radius: 6px;
  color: #4c95f8;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  position: absolute;
  bottom: 18px;
  right: 48px;
  z-index: 10;
  line-height: 24px;
}

.similar-groups:hover {
  background: #f0f7ff;
  border-color: #357ae8;
  color: #357ae8;
  box-shadow: 0 2px 8px rgba(76, 149, 248, 0.15);
}

.similar-groups:active {
  background: #e8f2ff;
  transform: translateY(1px);
}

.similar-groups::after {
  content: "☰";
  font-size: 16px;
  color: #4c95f8;
  margin-left: auto;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  line-height: 24px;
  height: 24px;
  margin-top: -4px;
}

.similar-groups:hover::after {
  color: #357ae8;
}
/* 弹出类似群组与适用项目 */
.sg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
}

.sg-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 600px;
  background: white;
  transform: translate(-50%, -50%);
  z-index: 2001;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sg-modal-header {
  padding: 16px;
  background: #f5f5f5;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sg-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.sg-modal-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}

/* 类似群组弹窗内容样式 */
.similar-groups-content {
  height: 500px;
  display: flex;
  flex-direction: column;
}

.category-selector {
  display: flex;
  flex: 1;
  gap: 16px;
  margin-bottom: 20px;
}

/* 左侧：已选分类 */
.selected-categories {
  width: 150px;
  background: #f8f9fa;
  border-radius: 6px;
  padding: 16px;
}

.selected-categories h4 {
  color: #333;
  font-size: 14px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  margin: 0 0 12px 0;
}

.selected-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.selected-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.selected-item.active {
  border-color: #4c95f8;
  background: #eaf2fd;
}

.selected-text {
  color: #333;
  font-size: 12px;
  font-family: SourceHanSansCN-Regular;
}

.remove-btn {
  color: #999;
  font-size: 14px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.remove-btn:hover {
  color: #ff4444;
  background: #ffeaea;
}

/* 中间：数字代码 */
.code-list {
  flex: 1;
  background: #f8f9fa;
  border-radius: 6px;
  padding: 16px;
}

.code-list h4 {
  color: #333;
  font-size: 14px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  margin: 0 0 12px 0;
}

.code-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 360px;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #4c95f8 #f0f0f0;
}

.code-items::-webkit-scrollbar {
  width: 8px;
}

.code-items::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

.code-items::-webkit-scrollbar-thumb {
  background: #4c95f8;
  border-radius: 4px;
}

.code-items::-webkit-scrollbar-thumb:hover {
  background: #357ae8;
}

.code-item {
  padding: 8px 12px;
  background: white;
  border-radius: 4px;
  color: #333;
  font-size: 12px;
  font-family: SourceHanSansCN-Regular;
  cursor: pointer;
  transition: all 0.2s ease;
}

.code-item:hover {
  background: #eaf2fd;
  border-color: #4c95f8;
}

.code-item.active {
  background: #4c95f8;
  color: white;
  border-color: #4c95f8;
}

/* 右侧：名称描述 */
.name-list {
  flex: 1;
  background: #f8f9fa;
  border-radius: 6px;
  padding: 16px;
}

.name-list h4 {
  color: #333;
  font-size: 14px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  margin: 0 0 12px 0;
}

.name-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 360px;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #4c95f8 #f0f0f0;
}

.name-items::-webkit-scrollbar {
  width: 8px;
}

.name-items::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

.name-items::-webkit-scrollbar-thumb {
  background: #4c95f8;
  border-radius: 4px;
}

.name-items::-webkit-scrollbar-thumb:hover {
  background: #357ae8;
}

.name-item {
  padding: 8px 12px;
  background: white;
  border-radius: 4px;
  color: #333;
  font-size: 12px;
  font-family: SourceHanSansCN-Regular;
  cursor: pointer;
  transition: all 0.2s ease;
}

.name-item:hover {
  background: #eaf2fd;
  border-color: #4c95f8;
}

.name-item.active {
  background: #4c95f8;
  color: white;
  border-color: #4c95f8;
}

/* 底部按钮 */
.action-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 16px 0 0 0;
  border-top: 1px solid #e0e0e0;
}

.reset-btn {
  padding: 8px 24px;
  background: white;
  border: 1px solid #4c95f8;
  border-radius: 4px;
  color: #4c95f8;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reset-btn:hover {
  background: #eaf2fd;
}

.confirm-btn {
  padding: 8px 24px;
  background: #4c95f8;
  border: 1px solid #4c95f8;
  border-radius: 4px;
  color: white;
  font-size: 14px;
  font-family: SourceHanSansCN-Regular;
  cursor: pointer;
  transition: all 0.2s ease;
}

.confirm-btn:hover {
  background: #357ae8;
}

.box { float: left; top: 0; left: 0; position: fixed; opacity: 0.5; z-index: 999; opacity: 1; }
.box2 { width: 100%; height: 100%; margin: 0 auto; display: none; z-index: 999; position: fixed; background: rgba(0, 0, 0, 0.52) none repeat scroll 0% 0%; opacity: 1; }
.login5 { width: 600px; height: 65px; text-align: center; position: relative; margin: 320px auto 0px auto; background: #fff }
.login5 h2 { font-size: 26px; line-height: 95px; color: #ff6853; font-family: "微软雅黑"; }
.login5 a { background: url(../images/login_reg.png) 0px 0px no-repeat; position: absolute; width: 16px; height: 16px; right: 10px; top: 25px; cursor: pointer }
.login51 { width: 520px; padding: 40px 40px 30px; margin: 0 auto; background: #fff; height: 200px; }
.login5left { float: left; width: 170px; height: 170px; font-size: 13px; border: 3px solid #ccc }
.login5right { float: left; margin-left: 35px; width: 270px; height: 180px; border-left: 1px solid #CBCBCB; padding-left: 35px; }
.login5right ul li { height: 40px; line-height: 40px; font-size: 16px; font-family: "微软雅黑"; }


/* 交易流程样式 */
.process-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.step-number {
  width: 30px;
  height: 30px;
  background-color: rgba(255, 151, 16, 1);
  color: rgba(255, 255, 255, 1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  color: rgba(51, 51, 51, 1);
  font-size: 16px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.step-desc {
  color: rgba(123, 123, 123, 1);
  font-size: 16px;
  font-family: SourceHanSansCN-Regular;
  font-weight: normal;
  line-height: 1.4;
  margin: 0;
}

/* 所需材料样式 */
.materials-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0;
}

.material-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background-color: rgba(246, 246, 246, 1);
  border-radius: 8px;
}

.material-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.material-content {
  flex: 1;
}

.material-title {
  color: rgba(51, 51, 51, 1);
  font-size: 16px;
  font-family: SourceHanSansCN-Medium;
  font-weight: 500;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.material-desc {
  color: rgba(123, 123, 123, 1);
  font-size: 16px;
  font-family: SourceHanSansCN-Regular;
  font-weight: normal;
  line-height: 1.4;
  margin: 0;
}