/* 设置根字体大小(rem基准) */
html {
  font-size: 18px;
}
@media screen and (max-width: 1714.28571429px) {
  html {
    font-size: calc(100vw * 10 / 1200px * 0.7);
  }
}
.center {
  width: 65%;
  max-width: 1200px;
  min-width: 780px;
  margin: 0 auto;
  box-sizing: border-box;
  /* 响应式处理 */
  transition: width 0.3s ease-in-out;
}
@media screen and (max-width: 1200px) {
  .center {
    width: 80%;
    min-width: unset;
  }
}
@media (max-width: 630px) {
  html,
  body {
    min-width: 630px;
    overflow-x: auto;
  }
}
/* 可选：添加CSS层面的限制（与JavaScript中的min/max对应） */
html {
  font-size: clamp(12px, 1.6vw, 20px);
  /* 作为备用方案 */
}
.body {
  width: 100%;
  background-color: #fff;
}
.crumbs-box {
  width: 100%;
  background-color: #d9d9d9;
}
.crumbs {
  height: 2.22222222rem;
  color: #333333;
  font-size: 0.77777778rem;
  line-height: 2.22222222rem;
}
.crumbs i {
  color: #a1a1a1;
  margin-left: 0.55555556rem;
  margin-right: 0.55555556rem;
}
.crumbs a:hover {
  color: #c3272b;
}
.cate-title {
  height: 4.11111111rem;
  line-height: 4.11111111rem;
  margin-top: 1.11111111rem;
  padding-left: 2.22222222rem;
  font-size: 1.11111111rem;
  box-sizing: border-box;
  background: url(../img/catetitle.jpg) no-repeat;
  background-size: auto auto;
  color: #fff;
}
.classify-box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3.61111111rem;
  margin-top: 1.66666667rem;
}
.classify-box a {
  color: #000;
}
.classify {
  padding-top: 1.22222222rem;
  padding-right: 0rem;
  padding-bottom: 1.22222222rem;
  padding-left: 0rem;
  background-color: #d9d9d9;
  width: 27%;
}
.classi {
  line-height: 3.33333333rem;
  box-sizing: border-box;
  cursor: pointer;
  border-left: 3px solid #d9d9d9;
  font-size: 1rem;
}
.classi a {
  display: block;
  line-height: 3.33333333rem;
  width: 100%;
  height: 100%;
}
.classi .two-name {
  display: inline-block;
  padding-left: 1.55555556rem;
  line-height: 3.33333333rem;
}
.cla-active {
  background-color: #fff;
  border-color: #c3272b;
}
.classi i {
  float: right;
  margin-top: 1.11111111rem;
  margin-right: 1.44444444rem;
}
.classi-child {
  display: flex;
  justify-content: flex-start;
  align-content: flex-start;
  flex-wrap: wrap;
  width: 71%;
}
.classi-child .child-active {
  border: 1px solid #c3272b;
}
.classi-child-item {
  width: 23%;
  border-radius: 0.44444444rem;
  margin-bottom: 0.83333333rem;
  background-color: #f8f8f8;
  margin-right: 1.11111111rem;
}
.classi-child-item .name {
  font-size: 1rem;
}
.classi-child-item p {
  line-height: 2.22222222rem;
  width: 100%;
  height: 2.22222222rem;
  text-align: center;
}
.classi-child-item img {
  width: 100%;
  aspect-ratio: 1 / 0.95;
  /* 强制宽高比1:1 */
  object-fit: auto;
  /* 控制图片显示方式 */
  border-bottom-left-radius: 0.44444444rem;
  border-bottom-right-radius: 0.44444444rem;
}
.classi-child-item a {
  display: block;
}
.classi-child-item:nth-of-type(4n) {
  margin-right: 0;
}
