@media (min-width: 1320px) {
  .categories-sub-width {
    width: 1060px !important;
  }

  #index-banner {
    width: 680px !important;
  }

  #index-pro {
    display: block !important;
    width: calc(100% - 980px);
  }

  #index-pro .inquiry span {
    font-size: 15px !important;
    margin-left: 0px !important;
    text-align: center !important;
  }

  #index-pro .inquiry svg {
    display: none !important;
  }
}

@media (min-width: 1440px) {
  #index-pro .inquiry svg {
    display: block !important;
  }

  .categories-sub-width {
    width: 1080px !important;
  }

  #index-banner {
    width: 680px !important;
  }

  #index-pro {
    display: block !important;
    width: calc(100% - 980px);
  }

  #index-pro .inquiry span {
    font-size: 15px !important;
    margin-left: 10px !important;
  }
}

@media (min-width: 1600px) {
  #index-pro .inquiry svg {
    display: block !important;
  }

  .categories-sub-width {
    width: 1200px !important;
  }

  #index-banner {
    width: 840px !important;
  }

  #index-pro {
    display: block;
    width: calc(100% - 980px);
  }

  #index-pro .inquiry span {
    font-size: 15px !important;
    margin-left: 10px !important;
  }
}

@media (min-width: 1720px) {
  #index-pro .inquiry svg {
    display: block !important;
  }

  .categories-sub-width {
    width: 1200px !important;
  }

  #index-pro .inquiry span {
    font-size: 16px !important;
    margin-left: 10px !important;
  }
}

body.hasScroll.hasHeaderAdv header {
  padding-top: 10px;
}

.header-adv {
  display: none;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  position: relative;
}

body.hasHeaderAdv header .header-adv {
  display: block;
  height: 100px;
}

body.hasScroll.hasHeaderAdv header .header-adv {
  display: none;
}

.header-adv-link {
  display: block;
  height: 100px;
  line-height: 100px;
  text-align: center;
}

.header-adv-link img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.header-adv-hide {
  position: absolute;
  right: -24px;
  top: -24px;
  display: block;
  width: 48px;
  height: 48px;
  line-height: 68px;
  background-color: #fff;
  border-radius: 24px;
  font-size: 16px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 7px;
}

.header-adv-hide:hover i {
  color: #e61e40;
}

body {
  background-color: #f8f8f8;
  box-sizing: border-box;
}

main {
  background-color: #f8f8f8;
  padding: 10px 0 0px;
  z-index: 1;
  background-repeat: no-repeat;
  background-position: center top;
}

.mask {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 1900px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: none;
}

.index-bg-img {
  background-repeat: no-repeat;
  background-position: center top;
  padding-top: 18px;
}

.index-bg-href {
  display: block;
  height: 70px;
  margin-bottom: 13px;
}

/* 商品分类和banner */
#category-banner {
  height: 580px;
  background-color: #fff;
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
}

#index-category {
  text-indent: 11px;
  position: relative;
  z-index: 3;
  width: 300px;
  float: left;
}

.index-category {
  position: relative;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 10px;
  height: 580px;
}

.index-category-hover {
  border-radius: 2px 0 0 2px;
}

.index-category-title {
  padding-top: 20px;
  display: block;
}

.index-category-title a {
  padding-left: 23px;
  display: block;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* line-height: 30px; */
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.index-category-title svg {
  fill: #e71a41;
  position: absolute;
  top: 18px;
  left: 11px;
}

.index-category-title a:hover {
  color: #e72241;
}

.index-category-title a:hover::before {
  margin-right: 12px;
}

.index-category-list {
  height: calc(100% - 30px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* padding-left: 15px; */
  /* margin-top: 7px; */
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
}

.offer-modal .offer-error-modal-bd {
  text-align: center;
  padding-bottom: 8px;
}

.offer-modal .offer-error-modal-bd svg {
  fill: #e71a41 !important;
}

.offer-modal .offer-error-modal-bd .offer-error-modal-desc {
  font-size: 18px;
  color: #e71a41;
  font-weight: bold;
  line-height: 30px;
  margin-top: 24px;
}

.index-category-list > li {
  width: 300px;
  height: 30px;
  /* margin-bottom: 7px; */
  /* margin-bottom: 11px; */
  /* background-color: pink;
  margin-bottom: 11px; */
  /* height: 30px;
  padding-bottom: 19px;
  display: block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -webkit-transition: margin .3s ease;
  transition: margin .3s ease; */
}

.index-category-list > li:nth-of-type(1) {
  margin-top: 10px;
}

.index-category-list > li > a {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-weight: 400;
  color: #333;
  font-size: 14px;
  position: relative;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.index-category-list > li > a span.center-middle {
  display: block;
  height: 30px;
  line-height: 30px;
  width: 100%;
  padding: 0 24px 0 24px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
}

.index-category-list > li > a i.layui-icon-right {
  position: absolute;
  right: 6px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-size: 14px;
}

.index-category-list > li:hover > a {
  background: #f8f8f8;
  color: #e71a41 !important;
  padding-right: 20px;
  width: 100%;
  z-index: 2;
}

.index-category-item-more > a:hover > span {
  color: #e71a41;
  width: 100%;
  z-index: 3;
}

.index-category-list > li .product-line {
  width: 3px;
  height: 30px;
  background: #e71a41;
  z-index: 999;
  display: none;
}

.index-category-list > li:hover .product-line {
  display: block;
}

.index-category-list > li:hover > a i.layui-icon-right {
  right: 4px;
}

.index-category-list > li.index-category-item-more > a span.center-middle {
  padding-left: 23px;
}

.index-category-list
  > li.index-category-item-more
  > a
  i.index-category-item-icon {
  position: absolute;
  left: 0px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-size: 15px;
  color: #e71a41;
}

.more-categories {
  font-size: 16px;
  font-weight: bold;
  color: #333333;
}

.index-category-open {
  width: 808px;
  height: 580px;
  background: #ffffff;
  border-left: 1px solid #f8f8f8;
  border-right: 1px solid #f8f8f8;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 0 10px 10px 0;
  box-sizing: border-box;
  position: absolute;
  top: 0px !important;
  left: 100%;
  z-index: 3;
  display: none;
  overflow: hidden;
  overflow-x: scroll;
  padding: 18px 0px 30px 10px;
}

.index-categories-calc .index-category-open {
  display: block;
  opacity: 0;
}

.index-category-open::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.index-category-list > li:hover .index-category-open {
  display: block;
}

.index-category-open-main {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.index-category-open-main dl {
  width: 33.33%;
  -webkit-column-count: 1;
  -moz-column-count: 1;
  column-count: 1;
  -webkit-column-gap: 32px;
  -moz-column-gap: 32px;
  column-gap: 32px;
  /* -webkit-column-rule:1px solid #efefef;
     -moz-column-rule:1px solid #efefef;
          column-rule:1px solid #efefef; */
  -webkit-column-fill: auto;
  -moz-column-fill: auto;
  column-fill: auto;
}

.index-category-open-main dl.column_count_2 {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  width: 66.67%;
}

.index-category-open-main dl.column_count_3 {
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
  width: 100%;
  color: #333;
}

C .index-category-open-main dl.column_count_4 {
  -webkit-column-count: 4;
  -moz-column-count: 4;
  column-count: 4;
  width: 100%;
  color: #333;
}

.index-category-open-main dt {
  width: 200px;
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
  margin-top: 19px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.index-category-open-main dt a {
  color: #333;
}

.index-category-open-main dt:first-child {
  margin-top: 0px !important;
  color: #333;
}

.index-category-open-main dd {
  font-size: 14px;
  font-weight: 400;
  margin-top: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.index-category-open-main dd a {
  color: #333;
}

.index-category-open-main a:hover {
  color: #e72241;
}

.more-categories-open {
  width: 608px !important;
  height: 580px !important;
  box-sizing: border-box !important;
  overflow: hidden;
  overflow-y: scroll;
}

.more-categories-open ul li:hover a span,
.more-categories-open ul li:hover a .layui-icon-right {
  color: #e72241;
}

.index-category-item-more:hover .more-category-red {
  color: #e72241;
}

.more-categories-content {
  width: 1132px !important;
  height: 575px !important;
  box-sizing: border-box;
}

.index-category-item-more > .index-category-open {
  padding: 0;
  border: none;
  width: 900px;
}

.more-category-product-line {
  width: 3px;
  height: 26px;
  background: #e71a41;
  z-index: 999;
  display: none;
}

.more-categories-ul > li:hover .more-category-product-line {
  display: block;
}

/* 11111 */
.index-category-more-open-main {
  width: 290px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  word-wrap: break-word;
  height: 100%;
}

.index-category-more-open-main dl {
  width: 200px;
  margin-top: 20px;
  margin-left: 10px;
  -webkit-column-count: 1;
  -moz-column-count: 1;
  column-count: 1;
  -webkit-column-gap: 32px;
  -moz-column-gap: 32px;
  column-gap: 32px;
  /* -webkit-column-rule:1px solid #efefef;
     -moz-column-rule:1px solid #efefef;
          column-rule:1px solid #efefef; */
  -webkit-column-fill: auto;
  -moz-column-fill: auto;
  column-fill: auto;
}

.index-category-more-open-main dl a {
  color: #333;
}

.index-category-more-open-main dl.column_count_2 {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  width: 66.67%;
}

.index-category-more-open-main dl.column_count_3 {
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
  width: 100%;
}

.index-category-more-open-main dt {
  width: 200px;
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
  margin-top: 19px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.index-category-more-open-main dt:first-child {
  margin-top: 8px !important;
}

.index-category-more-open-main dd {
  width: 200px;
  font-size: 14px;
  font-weight: 400;
  /* margin-top: 9px; */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 122222 */
.index-category-more-list > li > a .layui-icon-right {
  position: absolute;
  top: 50%;
  right: 50px;
  -webkit-transform: translateY(-50%) !important;
  -ms-transform: translateY(-50%) !important;
  transform: translateY(-50%) !important;
  -webkit-transition: all 0.3s ease !important;
  transition: all 0.3s ease !important;
  font-size: 14px !important;
}

.index-category-more {
  width: 100%;
  box-sizing: border-box;
  min-height: 482px;
  position: relative;
  border-left: 1px solid #f8f8f8 !important;
  overflow: hidden;
}

.index-category-more-list {
  margin-top: 40px;
  box-sizing: border-box;
  background-color: #fff;
  width: 304px;
  height: 538px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.index-category-more-list > li {
  width: 320px;
  height: 26px;
  display: flex;
  align-items: center;
  margin-top: 7px;
}

.index-category-more-list > li > a {
  width: 100%;
  height: 26px;
  display: block;
  padding: 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-indent: 25px;
  line-height: 26px;
  position: relative;
  color: #333;
}

.index-category-more-list > li > a span {
  width: 245px !important;
  height: 26px;
  display: block;
  padding: 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-indent: 22px;
  line-height: 26px;
  position: relative;
  color: #333;
}

.index-category-more-list li:hover {
  background-color: #f8f8f8;
  color: #e61e40;
}

.index-category-more-list > li a:hover {
  color: #e61e40;
}

.index-category-more-list .index-category-more-open {
  width: 304px;
  display: none;
  background-color: #fff;
  position: absolute;
  box-sizing: border-box;
  left: 304px;
  top: 0;
  right: 0;
  height: 100%;
  overflow: auto;
  border-left: 1px solid #f8f8f8;
}

.index-category-more-list > li.hover .index-category-more-open {
  display: block;
}

.index-category-more-open a:hover {
  color: #e61e40;
}

.index-category-more-open .index-category-more-title {
  font-size: 14px;
  font-weight: bold;
  line-height: 24px;
}

.index-category-more-open .index-category-more-item {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* padding-left: 8px; */
}

/* 分类导航广告 */
.index-category-open-adv {
  width: 170px;
}

.index-category-open-adv-link {
  display: block;
  padding: 9px 10px;
}

.index-category-open-adv-img {
  width: 150px;
  height: 150px;
  border: 1px solid #efefef;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 2px;
}

.index-category-open-adv-title {
  text-align: center;
  line-height: 30px;
  font-size: 19px;
  font-weight: 500;
}

.index-category-open-adv-link:hover .index-category-open-adv-title {
  color: #e61e40;
}

.index-category-item-more svg {
  fill: #e71a41 !important;
  position: absolute;
  top: 6px;
}

/* 首页轮播 */
#index-banner {
  width: 900px;
  height: 100%;
  box-sizing: border-box !important;
  position: relative;
  padding: 20px;
  float: left;
}

#index-banner .layui-carousel {
  width: 100% !important;
  height: 400px !important;
  background: #dddddd !important;
  border-radius: 15px !important;
  overflow: hidden;
}

#index-banner .swiper-slide {
  height: 400px !important;

  background-color: #efefef;
}

#index-banner .swiper-slide a .img-fluid {
}

#index-banner .layui-carousel-arrow {
  width: 30px !important;
  height: 48px;
  width: 20px;
  left: 0;
  border-radius: 0px 10px 10px 0px;
  color: #fff;
}

#index-banner .layui-carousel-arrow[lay-type="add"] {
  right: 0;
  border-radius: 10px 0px 0px 10px !important;
}

#index-banner .layui-carousel-ind li {
  width: 8px !important;
  height: 8px !important;
  background-color: #fff;
  z-index: 3;
  border: 2px solid #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#index-banner .layui-carousel-ind ul {
  background-color: rgba(255, 255, 255, 0.2);
}

#index-banner .layui-carousel-ind li.layui-this {
  background-color: rgba(0, 0, 0, 0);
  width: 16px !important;
  height: 6px !important;
  background: #e71a41 !important;
  border-radius: 3px !important;
  border: 2px solid #e71a41 !important;
  transform: translateY(-1px);
}

#index-banner .recommend-product {
  height: 120px;
  padding-top: 20px;
}

#index-banner .recommend-product .recommend-product-item {
  display: block;
  height: 120px;
  border-radius: 15px;
  position: relative;
}

#index-banner .recommend-product .recommend-product-item img {
  display: block;
  height: 88px;
  transition: transform 0.4s;
  margin: 0 auto;
}

#index-banner .recommend-product .recommend-product-item:hover img {
  transform: scale(1.2);
}

#index-banner .recommend-product .product-title {
  height: 32px;
  line-height: 32px;
  border-radius: 0px 0px 15px 15px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#index-banner .recommend-product .product-title .title-txt {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: break-word;
}

#index-banner .recommend-product .product-one .product-title {
  background: #96bdfe;
}

#index-banner .recommend-product .product-two .product-title {
  background: #bbabe8;
}

#index-banner .recommend-product .product-three .product-title {
  background: #fbc760;
}

#index-banner .recommend-product .product-four .product-title {
  background: #ffa86f;
}

#index-banner .recommend-product .product-one {
  background: #cae7ff;
  border: 1px solid #96bdfe;
  overflow: hidden;
}

#index-banner .recommend-product .product-two {
  background: #e1d8fa;
  border: 1px solid #bbabe8;
  overflow: hidden;
}

#index-banner .recommend-product .product-three {
  background: #fff1c0;
  border: 1px solid #fbc760;
  overflow: hidden;
}

#index-banner .recommend-product .product-four {
  background: #ffd4b7;
  border: 1px solid #ffa86f;
  overflow: hidden;
}

#index-pro {
  float: left;
  padding: 20px 20px 20px 0;
  display: none;
  position: relative;
  box-sizing: border-box;
}

#index-pro .index-industrial-belt {
  height: 102px;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  background-color: rgb(203, 199, 192);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

#index-pro .index-industrial-belt a {
  display: block;
  height: 100%;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(
    to top right,
    rgba(213, 199, 174, 0.5),
    rgba(180, 186, 178, 0.5)
  );
  backdrop-filter: blur(2px);
  color: #fff;
}

#index-pro .index-industrial-belt a img {
  max-height: 100%;
  margin-right: 16px;
}

#index-pro .index-industrial-belt a .index-industrial-belt-name {
  font-size: 18px;
  line-height: 24px;
  max-height: 72px;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

#index-pro .index-pro-title {
  fill: #e71a41;
  display: flex;
  align-items: center;
}

#index-pro .index-pro-title span {
  padding-left: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #333333;
}

.index-pro-product-item {
  display: block;
  display: flex;
  margin-top: 10px;
  color: #333333;
}

.index-pro-product-item .index-pro-product-img {
  width: calc(100 / 280 * 100%);
  padding-top: calc(100 / 280 * 100%);
  height: 0;
  position: relative;
  background-color: #efefef;
  border: 1px solid #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
}

.index-pro-product-item .index-pro-product-img img {
  display: block;
  width: 100%;
  transition: transform 0.4s;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.index-pro-product-item:hover .index-pro-product-img {
  box-shadow: 0px 0px 8px 0px rgba(231, 26, 65, 0.1);
}

.index-pro-product-item:hover .index-pro-product-img img {
  transform: scale(1.05);
}

.index-pro-product-item .index-pro-product-detail {
  width: calc(180 / 280 * 100%);
  padding-left: 8px;
  box-sizing: border-box;
}

.index-pro-product-item .index-pro-product-detail .index-pro-product-name {
  height: 48px;
  font-size: 14px;
  line-height: 16px;

  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  /* 这里是超出几行省略 */
}

.index-pro-product-item .index-pro-product-detail .index-pro-product-price {
  height: 24px;
  font-size: 18px;
  margin-top: 10px;
  line-height: 24px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: font-size 0.2s;
  color: #333;
}

.index-pro-product-item:hover .index-pro-product-price {
  font-size: 16px;
  font-weight: bold;
}

.index-pro-product-item .index-pro-product-detail .index-pro-product-moq {
  height: 14px;
  line-height: 14px;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.index-pro-product-moq-value {
  font-size: 12px;
  color: #207eff;
  transition: font-size 0.2s;
}

.index-pro-product-item:hover .index-pro-product-moq-value {
  font-weight: bold;
  color: #207eff;
  font-size: 14px;
}

#index-pro .inquiry {
  width: 100%;
  height: 50px;
  background: #ffffff;
  border: 1px solid #e71a41;
  border-radius: 25px;
  margin-top: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 10px;
  box-sizing: border-box;
}

#index-pro .inquiry svg {
  fill: #e71a41;
  width: 22px;
  display: block;
}

#index-pro .inquiry span {
  font-size: 16px;
  font-weight: bold;
  color: #e71a41;
  margin-left: 10px;
}

#index-pro .inquiry:hover {
  background-color: #e61e40;
  color: #fff;
}

#index-pro .inquiry-color:hover span {
  color: #fff;
}

#index-pro .inquiry-color:hover svg {
  fill: #fff;
}

@media (min-width: 1600px) {
  #index-banner {
    width: 840px !important;
  }

  #index-pro {
    display: block;
    width: calc(100% - 1140px);
  }
}

/* 间隔广告 */
.index-interval {
  background-color: #fff;
  border: solid 1px #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
}

.index-interval a {
  display: block;
}

/* 热门商品推广 */
.index-hot {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.index-hot-card {
  width: calc(50% - 10px);
  padding: 20px;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 10px;
  position: relative;
}

.index-hot-card .index-hot-hd {
  display: flex;
  width: calc(100% - 160px);
  position: absolute;
  left: 20px;
  top: 20px;
}

.index-hot-card .index-hot-hd .index-hot-square {
  width: 16px;
  height: 16px;
  background: #e71a41;
  margin-right: 10px;
}

.index-hot-card .index-hot-hd .index-hot-hd-main {
  width: calc(100% - 24px);
}

.index-hot-card .index-hot-hd .index-hot-hd-main .index-hot-hd-title {
  font-size: 18px;
  line-height: 18px;
  font-weight: bold;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.index-hot-card .index-hot-hd .index-hot-hd-main .index-hot-hd-desc {
  color: #666;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.index-hot-card .swiper-container {
  padding-top: 46px;
}

.index-hot-card .index-hot-product-item {
  max-width: 160px;
  width: calc(25% - 30px / 4);
  margin-right: 10px;
}

.index-hot-card .index-hot-product-item .index-hot-product-main {
  display: block;
}

.index-hot-card .index-hot-product-item .index-hot-product-img {
  width: 100%;
  height: 0;
  padding-top: 100%;
  position: relative;
  border: 1px solid #f8f8f8;
  border-radius: 14px;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #efefef;
}

.index-hot-card .index-hot-product-item .index-hot-product-img img {
  transition: transform 0.4s;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.index-hot-card .index-hot-product-item .index-hot-product-name {
  margin-top: 10px;
  height: 30px;
  line-height: 15px;
  font-size: 14px;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  word-break: break-word;
  -webkit-line-clamp: 2;
  /* 这里是超出几行省略 */
  overflow: hidden;
  cursor: pointer;
  color: #666666;
}

.index-hot-card .index-hot-product-item .index-hot-product-price {
  margin-top: 6px;
  height: 18px;
  line-height: 18px;
  font-size: 16px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
  transition: font-size 0.2s;
}

.index-hot-product-main:hover .index-hot-product-price {
  font-size: 14px;
}

.index-hot-card .index-hot-product-item .index-hot-product-moq {
  margin-top: 8px;
  height: 14px;
  line-height: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 400;
  color: #666;
}

.index-hot-product-value {
  font-size: 12px;
  color: #207eff;
  transition: font-size 0.2s;
}

.index-hot-product-main:hover .index-hot-product-value {
  font-weight: bold;
  color: #207eff;
  font-size: 14px;
}

.index-hot-card .index-hot-product-item .index-hot-product-inquiry-btn {
  margin-top: 8px;
  display: block;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e71a41;
  border-radius: 50px;
  font-weight: 400;
  color: #e71a41;
  cursor: pointer;
}

.index-hot-card
  .index-hot-product-item
  .index-hot-product-main:hover
  .index-hot-product-img
  img {
  transform: scale(1.05);
}

.index-hot-card .index-hot-product-item .index-hot-product-inquiry-btn:hover {
  background-color: #e71a41;
  color: #fff;
  border-color: #e71a41;
}

.index-hot-product-swiper-button {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  top: 0;
}

.index-hot-product-swiper-button > div {
  position: relative;
  width: 28px;
  height: 28px;
  line-height: 28px;
  background: #ffffff;
  border: 1px solid #e71a41;
  border-radius: 5px;
  text-align: center;
  color: #e71a41;
}

.index-hot-product-swiper-button > div.swiper-pagination {
  background-color: #e71a41;
  color: #fff;
  margin: 0 10px;
}

/* 分类商品推广 */

.index-rec-card {
  display: flex;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}

.index-rec-card .index-rec-card-hd {
  width: 20%;
}

.index-rec-card .index-rec-card-hd a {
  display: block;
  border-radius: 10px;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  position: relative;
  background-color: #37474f;
  padding: 24px;
  box-sizing: border-box;
}

.index-rec-card .index-rec-card-hd .index-rec-card-hd-title {
  display: block;
  padding: 8px 0 24px;
  line-height: 36px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
}

.index-rec-card .index-rec-card-hd .index-rec-card-hd-btn {
  display: block;
  margin: 0 auto;
  width: 160px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border: 1px solid #fff;
  border-radius: 18px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

.index-rec-card .index-rec-card-hd .index-rec-card-hd-btn:hover {
  background-color: #e71a41;
  color: #fff;
  border-color: #e71a41;
}

.index-rec-card .index-rec-card-products {
  width: 80%;
  padding: 20px 20px 10px;
}

.index-rec-product-item .index-rec-product-main {
  display: block;
}

.index-rec-product-item .index-rec-product-img {
  width: 100%;
  height: 0;
  padding-top: 100%;
  position: relative;
  background-color: #efefef;
  border: 1px solid #f8f8f8;
  border-radius: 14px;
  overflow: hidden;
  box-sizing: border-box;
}

.index-rec-product-item .index-rec-product-img img {
  transition: transform 0.4s;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.index-rec-product-item .index-rec-product-name {
  margin-top: 10px;
  height: 36px;
  line-height: 18px;
  font-size: 16px;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  word-break: break-word;
  -webkit-line-clamp: 2;
  /* 这里是超出几行省略 */
  overflow: hidden;
  color: #333;
}

.index-rec-product-item .index-rec-product-price {
  margin-top: 8px;
  height: 20px;
  line-height: 20px;
  font-size: 18px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
  transition: font-size 0.2s;
}

.index-rec-product-main:hover .index-rec-product-price {
  font-size: 16px;
}

.index-rec-product-item .index-rec-product-moq {
  margin-top: 12px;
  height: 14px;
  line-height: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 400;
  color: #333;
}

.index-rec-product-item .index-rec-product-value {
  font-size: 14px;
  color: #207eff;
  transition: font-size 0.2s;
}

.index-rec-product-main:hover .index-rec-product-value {
  font-weight: bold;
  color: #207eff;
  font-size: 18px;
}

.index-rec-product-item .index-rec-product-inquiry-btn {
  display: block;
  width: 100%;
  max-width: 263px;
  margin: 16px 0 0 0;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e71a41;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 400;
  color: #e71a41;
  cursor: pointer;
}

.index-rec-product-item
  .index-rec-product-main:hover
  .index-rec-product-img
  img {
  transform: scale(1.05);
}

.index-rec-product-item .index-rec-product-inquiry-btn:hover {
  background-color: #e71a41;
  color: #fff;
  border-color: #e71a41;
}

/* 询盘 */
.index-inquiry-card {
  background-color: #5d92c9;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  border-radius: 10px;
  margin-top: 20px;
  padding: 30px 30px 30px 60px;
  display: flex;
  align-items: center;
}

.index-inquiry-hd {
  width: 50%;
  text-shadow: 0 1px 2px #eb8799;
}

.index-inquiry-title {
  font-size: 36px;
  font-weight: bold;
  color: #fff;
}

.index-inquiry-desc {
  margin-top: 32px;
  font-size: 20px;
  line-height: 30px;
  color: #fff;
}

.index-inquiry-main {
  width: 50%;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px 40px;
}

.index-inquiry-main-title {
  font-size: 28px;
  font-weight: bold;
  padding-top: 10px;
}

.index-inquiry-form .index-inquiry-form-item {
  margin-top: 20px;
}

.index-inquiry-form .index-inquiry-form-item .layui-input {
  border-radius: 10px;
  padding: 10px 0 10px 10px;
  height: 48px;
  line-height: 28px;
}

.index-inquiry-form .index-inquiry-form-item .layui-textarea {
  border-radius: 10px;
  padding: 10px 0 10px 10px;
  resize: none;
}

.index-inquiry-form .index-inquiry-form-item .index-inquiry-form-btn {
  display: block;
  width: 208px;
  height: 40px;
  background: #fff;
  border: 1px solid #e71a41;
  border-radius: 20px;
  font-weight: bold;
  color: #e71a41;
  line-height: 40px;
  margin-left: auto;
  cursor: pointer;
  transition: all 0.4s;
}

.index-inquiry-form .index-inquiry-form-item .index-inquiry-form-btn:hover {
  background: #e71a41;
  color: #fff;
}

.index-blog {
  background-color: #fff;
  border-radius: 10px;
  margin-top: 20px;
  padding: 20px;
}

.index-blog-hd {
  display: flex;
  align-items: center;
  line-height: 24px;
  font-size: 20px;
  color: #333333;
  margin-bottom: 10px;
}

.index-blog-hd .index-blog-hd-square {
  width: 16px;
  height: 16px;
  background: #e71a41;
  margin-right: 10px;
}

.index-blog-hd .index-blog-hd-title {
  font-weight: bold;
  font-size: 20px;
  flex: 1;
}

.index-blog-hd .index-blog-hd-link {
  margin-left: 10px;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.index-blog-hd .index-blog-hd-link:hover {
  color: #e71a41;
}

.index-blog-bd a {
  display: block;
  width: 100%;
  text-align: center;
}

.index-blog-bd .index-blog-img {
  width: 100%;
  padding-top: calc(560 / 920 * 100%);
  border: 2px solid #f8f8f8;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background-color: #efefef;
}

.index-blog-bd .index-blog-img img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.index-blog-bd .index-blog-title {
  height: 40px;
  line-height: 40px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.index-blog-bd .index-blog-content {
  height: 36px;
  line-height: 18px;
  font-size: 16px;
  color: #666;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  word-break: break-word;
  -webkit-line-clamp: 2;
  /* 这里是超出几行省略 */
  overflow: hidden;
}

.index-blog-bd .index-blog-date {
  font-size: 14px;
  font-weight: 400;
  color: #999;
  margin-top: 10px;
}

.index-blog-bd a:hover > div {
  color: #e71a41 !important;
}

.index-blog-bd a:hover .index-blog-img {
  border-color: rgba(231, 26, 65, 0.15);
  box-shadow: 0px 0px 8px 0px rgba(231, 26, 65, 0.15);
}

img.error {
  transform: scale(0.8);
  /* width: 80px !important;
  height: 80px !important;
  position: absolute;
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important; */
  /* transform: translate(-40px,-40px); */
  /* margin-left: -25%;
  margin-top: -25%; */
}

#index-banner .swiper-slide a img.error {
  /* width: 200px !important;
  height: 200px !important; */
  /* transform: translate(-100px,-100px); */
}

#index-banner .recommend-product .recommend-product-item img.error {
  /* width: 88px !important;
  height: 88px !important;
  top: 0 !important; */
  /* transform: translateX(-44px); */
}

/* 商品广告 */

.home-booth {
  margin-top: 20px;
  padding-top: 20px;
  background-color: #fff;
  border-radius: 10px;
  height: 100%;
  position: relative;
}

.home-booth .index-booth-hd {
  display: flex;
  width: calc(100% - 160px);
  position: absolute;
  left: 20px;
  top: 20px;
}

.home-booth .index-booth-square {
  width: 16px;
  height: 16px;
  background: #e71a41;
  margin-right: 10px;
}

.home-booth .index-booth-hd-main {
  width: calc(100% - 24px);
}

.home-booth .index-booth-hd-main .index-booth-hd-title {
  font-size: 18px;
  line-height: 18px;
  font-weight: bold;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-booth .index-booth-hd-main .index-booth-hd-desc {
  color: #666;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-booth .swiper-container-booth {
  padding-top: 46px;
  height: 100%;
  overflow-y: auto;
}

.home-booth .index-hot-booth-item {
  width: 16.66%;
  float: left;
  box-sizing: border-box;
  padding: 0 20px;
  margin-bottom: 20px;
}

.index-hot-booth-item-margin {
  margin-right: 40px;
}

.home-booth .index-hot-booth-main {
  display: block;
}

.home-booth .index-hot-booth-img {
  width: 100%;
  height: 0;
  padding-top: 100%;
  position: relative;
  border: 1px solid #f8f8f8;
  border-radius: 14px;
  overflow: hidden;
  box-sizing: border-box;
}

.home-booth .index-hot-booth-img span {
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.home-booth .index-hot-booth-item .index-hot-booth-img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: all 0.4s;
}

.home-booth .index-hot-booth-item .index-hot-booth-slogans {
  width: 25px;
  height: 25px;
  line-height: 25px;
  background: rgba(231, 26, 65, 0.05);
  border-radius: 2px 2px 8px 2px;
  position: absolute;
  right: 0px;
  bottom: 0px;
  text-align: center;
}

.home-booth .index-hot-booth-slogans span {
  font-size: 12px;
  color: #fff;
  font-weight: 400;
}

.home-booth .index-hot-booth-name {
  margin-top: 10px;
  height: 30px;
  line-height: 15px;
  font-size: 14px;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  word-break: break-word;
  -webkit-line-clamp: 2;
  overflow: hidden;
  cursor: pointer;
  color: #666666;
  font-weight: 400;
}

.home-booth .index-hot-booth-item:hover .index-hot-booth-img {
  box-shadow: 0px 0px 8px 0px rgba(231, 26, 65, 0.1);
}

.home-booth .index-hot-booth-item:hover .index-hot-booth-img img {
  transform: scale(1.05);
}

.home-booth .index-hot-booth-item:hover .index-hot-booth-name {
  color: #e71a41;
}

.large-slogans {
  width: 24px;
  height: 24px;
  background: rgba(231, 26, 65, 0.05);
  border-radius: 8px 0px 0px 0px;
  position: absolute;
  right: 0px;
  bottom: 32px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.large-slogans span {
  width: 100%;
  font-size: 12px;
  color: #fff;
  font-weight: 400;
  line-height: 24px;
  display: inline-block;
  border-radius: 8px 0px 0px 0px;
}
