/*
Theme Name: Kadence Child
Template: kadence
*/

/* 面包屑 */
.rank-math-breadcrumb a {
    color: #ffffff;
    font-size: 14px;
}
.rank-math-breadcrumb .separator {
    color: #ffffff;
    font-size: 14px;
    margin: 0 6px;
}
.rank-math-breadcrumb .last {
    color: #ffffff;
    font-size: 14px
}







/* 产品菜单 */
/* ====== 基础布局 ====== */
.mega3 {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.4fr;
  gap: 32px;
  font-family: 'Arial', Helvetica, sans-serif;
}

.mega3-col {
  min-width: 0;
}

.col-header {
  font-size: 20px;
  font-weight: 700;
  color: #4A5568;
  text-transform: uppercase;
  padding-bottom: 20px;
  font-family: 'Teko', Arial, Helvetica, sans-serif;
}

/* ====== 第一列（分类） ====== */
.cat-list {
  display: flex;
  flex-direction: column;
}

.cat-item {
  display: block;
  padding: 8px 12px;
  color: #2D3748;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.3s ease;
  border-bottom: 1px solid #718096;
  text-indent: -12px;
}

.cat-item:last-child {
  border-bottom: none;
}

.cat-item:hover {
  color: #48CAE4;
}

.cat-item.active {
  color: #48CAE4;
}

/* ====== 第二列（型号列表） ====== */
.model-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.model-list li {
  margin: 0;
}

.model-link {
  display: block;
  padding: 8px 12px;
  color: #2D3748;
  text-decoration: none;
  font-size: 20px;
  text-indent: -12px;
  transition: color 0.3s ease;
  border-bottom: 1px solid #718096;
}

.model-list li:last-child .model-link {
  border-bottom: none;
}

.model-link:hover {
  color: #48CAE4;
}

/* ====== 第三列（预览图） ====== */
/* 预览图片的外框 */
.preview-frame {
  padding: 12px;
  border: 1px solid #eaeff5;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

#previewImg {
  width: 100%;
  height: 300px;
  object-fit: contain;
  display: block;
}

/* 可选：第二列当前型号高亮样式 */
.model-link.active {
  color: #48CAE4;
}








/* 表格1  */
.table-wrapper {
  overflow-x: auto;
  font-family: Arial, sans-serif;
  font-size: 0.9vw; /* 默认电脑端 */
}
@media (max-width: 768px) {
  .table-wrapper {
    font-size: 4vw; /* 手机端 */
  }
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
th, td {
  border: 1px solid #ddd;
  padding: 8px;
  white-space: nowrap;
  text-align: left;
}
thead {
  background-color: #e6f2f8;
}
tbody tr {
  background-color: #ffffff;
}
/* 屏蔽文本辅助类，用于 caption */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
