/* 设置根字体大小(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;
}
.detail-box {
  width: 100%;
  background-color: #f8f8f8;
  padding-bottom: 2.77777778rem;
  box-sizing: border-box;
  padding-top: 0.05555556rem;
}
.product {
  display: flex;
  justify-content: space-between;
  padding-top: 1.11111111rem;
  padding-right: 1.11111111rem;
  padding-bottom: 1.66666667rem;
  padding-left: 1.11111111rem;
  box-sizing: border-box;
  background-color: #fff;
  margin-bottom: 1.94444444rem;
  margin-top: 1.11111111rem;
}
.prod-photo {
  width: 38%;
  height: 100%;
  border-radius: 0.38888889rem;
  overflow: hidden;
}
.prod-photo .photo-box {
  position: relative;
  width: 100%;
}
.prod-photo .photo-box .carousel-item {
  width: 100%;
  height: 18.88888889rem;
  background-color: #c1c1c3;
  overflow: hidden;
}
.prod-photo .photo-box .carousel-item img {
  width: 100%;
  height: 100%;
}
.prod-photo .share {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 3.66666667rem;
  border: solid #dbdbdb;
  border-width: 0.05555556rem;
  border-top: none;
  border-bottom-left-radius: 0.38888889rem;
  border-bottom-right-radius: 0.38888889rem;
}
.prod-photo .share .sha {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49.9%;
  height: 100%;
  cursor: pointer;
  text-align: center;
  font-size: 0.88888889rem;
  color: #999999;
}
.prod-photo .share .sha .tubiao1 {
  color: #5b9a66;
  font-size: 1rem;
  margin-right: 2px;
}
.prod-photo .share .sha .tubiao2 {
  color: #408be2;
  font-size: 1rem;
  margin-right: 2px;
}
.prod-photo .share .line {
  width: 0.2%;
  height: 0.77777778rem;
  background-color: #999999;
}
.prod-content {
  width: 58%;
  height: 100%;
}
.prod-content .goods-name {
  line-height: 2.44444444rem;
  font-size: 1rem;
  color: #333;
  font-weight: bold;
}
.prod-content .goods-canshu {
  padding-top: 0.55555556rem;
  padding-right: 1.11111111rem;
  padding-bottom: 0.55555556rem;
  padding-left: 1.11111111rem;
  background-color: #f8f8f8;
}
.prod-content .goods-canshu .canshu {
  display: flex;
  justify-content: space-between;
  text-align: left;
  line-height: 2.33333333rem;
  font-size: 0.77777778rem;
}
.prod-content .goods-canshu .canshu .canshu-name {
  width: 25%;
}
.prod-content .goods-canshu .canshu .canshu-value {
  width: 75%;
}
.prod-content .goods-canshu .bigfont {
  font-size: 0.83333333rem;
}
.prod-content .goods-canshu .color1 {
  color: #c3272b;
}
.prod-content .goods-canshu .color2 {
  color: #5b9a66;
}
.prod-content .addcart {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 4.16666667rem;
  font-size: 0.88888889rem;
  box-sizing: border-box;
  border-bottom: 2px solid #e4e4e4;
}
.prod-content .addcart .shuliang {
  width: 19%;
}
.prod-content .addcart .cart-num {
  width: 23%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 8.77777778rem;
  height: 2.11111111rem;
  border: 1px solid #d9d9d9;
  border-radius: 0.38888889rem;
  margin-right: 1.11111111rem;
}
.prod-content .addcart .cart-num .less,
.prod-content .addcart .cart-num .add {
  width: 16.5%;
  height: 100%;
  text-align: center;
  line-height: 2.11111111rem;
  cursor: pointer;
}
.prod-content .addcart .cart-num .num {
  text-align: center;
  width: 67%;
  height: 100%;
  border: none;
}
.prod-content .addcart .addcart-btn {
  width: 19%;
  background-color: #c3272b;
  color: #fff;
  border-radius: 0.38888889rem;
  height: 2.11111111rem;
  line-height: 2.11111111rem;
  text-align: center;
  margin-right: 2.5rem;
  cursor: pointer;
}
.prod-content .addcart .zixun {
  cursor: pointer;
}
.prod-content .addcart {
  padding-top: 0rem;
  padding-right: 0.27777778rem;
  padding-bottom: 0rem;
  padding-left: 0.27777778rem;
}
.prod-content .download {
  padding-top: 0.16666667rem;
  padding-right: 0rem;
  padding-bottom: 0rem;
  padding-left: 0rem;
}
.prod-content .downfont {
  line-height: 2.83333333rem;
  font-size: 0.55555556rem;
}
.prod-content .downfont span:first-of-type {
  font-size: 0.88888889rem;
}
.prod-content .download-file {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.prod-content .download-file .down-opt {
  width: 23%;
  height: 2.11111111rem;
  border-bottom: solid #f8f8f8;
  border-bottom-width: 0.11111111rem;
  background-color: #f8f8f8;
  margin-right: 0.5%;
  font-size: 0.88888889rem;
  color: #999999;
  text-align: center;
  line-height: 2.11111111rem;
  cursor: pointer;
}
.prod-content .download-file .down-opt a {
  color: #999999;
}
.prod-content .download-file .active {
  border-bottom-color: #c3272b;
}
.prod-content .download-file .down-opt:hover {
  border-bottom-color: #c3272b;
}
.tab {
  background-color: #fff;
}
.tab-head {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  height: 2.22222222rem;
  background-color: #e6e6e6;
}
.tab-head li {
  width: 11.3%;
  height: 2.11111111rem;
  display: flex;
  align-items: center;
  /* 垂直居中 */
  justify-content: center;
  /* 水平居中（可选） */
  height: 100%;
  /* 或其他动态高度 */
  font-size: 1rem;
  color: #666666;
  border-bottom: solid #e6e6e6;
  border-bottom-width: 0.11111111rem;
  cursor: pointer;
  border-right: solid #fff;
  border-color: 0.11111111rem;
}
.tab-head li.active {
  color: #c3272b;
  border-bottom-color: #c3272b;
}
.tab-head li:hover {
  color: #c3272b;
  border-bottom-color: #c3272b;
}
.tab-body {
  padding-bottom: 2.22222222rem;
  box-sizing: border-box;
  background-color: #fff;
  width: 100%;
  padding-top: 1.38888889rem;
  padding-right: 1.38888889rem;
  padding-bottom: 1.38888889rem;
  padding-left: 1.38888889rem;
}
.tab-body .tab-content {
  box-sizing: border-box;
  display: none;
  width: 100%;
}
.tab-body .tab-content:first-of-type {
  display: block;
}
.tab-photo {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.tab-photo .params-photo:nth-of-type(1) {
  height: 18.33333333rem;
  width: 30%;
  overflow: hidden;
  margin-right: 11%;
  margin-left: 3%;
  margin-bottom: 1.11111111rem;
}
.tab-photo .params-photo:nth-of-type(2) {
  height: 19.44444444rem;
  width: 43%;
  overflow: hidden;
}
.params-table {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.params-table .params-opt {
  display: flex;
  justify-content: space-between;
  width: 49%;
  height: 2.44444444rem;
  line-height: 2.44444444rem;
  color: #626262;
  font-size: 0.88888889rem;
}
.params-table .params-opt .par-name {
  width: 33.5%;
}
.params-table .params-opt .par-val {
  width: 66%;
}
.params-table .params-opt div {
  padding-left: 0.66666667rem;
  box-sizing: border-box;
}
.params-table .params-opt:nth-of-type(4n+1) .par-name,
.params-table .params-opt:nth-of-type(4n+2) .par-name {
  background-color: #e6e6e6;
}
.params-table .params-opt:nth-of-type(4n+1) .par-val,
.params-table .params-opt:nth-of-type(4n+2) .par-val {
  background-color: #e6e6e6;
}
.params-table .params-opt:nth-of-type(4n+3) .par-name,
.params-table .params-opt:nth-of-type(4n+4) .par-name {
  background-color: #f0f0f0;
}
.params-table .params-opt:nth-of-type(4n+3) .par-val,
.params-table .params-opt:nth-of-type(4n+4) .par-val {
  background-color: #f0f0f0;
}
.guangpu {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.guangpu img {
  width: 30%;
  height: 13.88888889rem;
  margin-bottom: 1.11111111rem;
}
.xiangguan {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.xiangguan .x-product {
  width: 24%;
  background-color: #fff;
  border-radius: 0.38888889rem;
  margin-bottom: 1.66666667rem;
  margin-right: 1.3%;
}
.xiangguan .x-product img {
  width: 100%;
  height: 12.77777778rem;
}
.xiangguan .x-product p {
  width: 100%;
  height: 4.44444444rem;
  line-height: 2.22222222rem;
  text-align: center;
  color: #666666;
  font-size: 0.77777778rem;
  border: 1px solid #f0f0f0;
  box-sizing: border-box;
  border-top: none;
  border-bottom-left-radius: 0.38888889rem;
  border-bottom-right-radius: 0.38888889rem;
}
.xiangguan .x-product:nth-of-type(4n) {
  margin-right: 0;
}
.dingzhi {
  width: 96.6%;
  margin: 0 auto;
  background-color: #fff;
  border-bottom-left-radius: 0.38888889rem;
  border-bottom-right-radius: 0.38888889rem;
  position: relative;
}
.dingzhi .vector {
  position: absolute;
  right: 0;
  top: 3.33333333rem;
  z-index: 100;
}
.dingzhi .d-title {
  width: 100%;
  line-height: 3.33333333rem;
  background-color: #d9d9d9;
  padding-left: 1.66666667rem;
  box-sizing: border-box;
  color: #666666;
  font-size: 1.11111111rem;
}
.dingzhi .d-form {
  width: 100%;
  padding-top: 1.66666667rem;
  padding-right: 0rem;
  padding-bottom: 1.66666667rem;
  padding-left: 0rem;
  box-shadow: 0 0 2px 1px #f1f1f1;
}
.dingzhi .d-form table {
  width: auto !important;
  /* 覆盖Layui的固定宽度 */
  border-collapse: separate !important;
  /* 恢复默认边框模式 */
  border-spacing: 0;
  margin: 0 auto;
}
.dingzhi .d-form table tr {
  background-color: transparent !important;
  /* 清除行背景色 */
}
.dingzhi .d-form table tr td {
  font-size: 0.88888889rem;
  background-color: #efefef !important;
  border: 1px solid #fff !important;
  /* 恢复默认边框 */
}
.dingzhi .d-form table tr td:nth-of-type(1) {
  width: 28%;
  box-sizing: border-box;
  text-align: center;
}
.dingzhi .d-form table tr td:nth-of-type(2) {
  width: 60%;
}
.dingzhi .d-form table tr td:nth-of-type(2) input {
  font-size: 0.88888889rem;
  display: block;
  border: none;
  width: 85%;
  margin: 12px auto;
  border-radius: 0.38888889rem;
  height: 2.11111111rem;
  padding-left: 0.44444444rem;
  box-sizing: border-box;
}
.submit {
  width: 7.77777778rem;
  height: 2.22222222rem;
  background-color: #c3272b;
  border-radius: 1.11111111rem;
  color: #fff;
  font-size: 1.11111111rem;
  text-align: center;
  line-height: 2.22222222rem;
  margin: 0 auto;
  cursor: pointer;
  margin-top: 1.66666667rem;
}
