.home-banner {
  margin: auto;
}

.home-banner, .home-banner img {
  width: 100%;
  max-width: 1920px;
  height: auto;
}

.home-banner .classification-box {
  position: absolute;
  top: 14.5%;
  right: 8.9%;
  bottom: 12.8%;
  left: 69.8%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.home-banner .classification-box > a {
  height: 100%;
  width: 100%;

  display:flex;
  justify-content: end;
}

.home-banner .classification-box > a img {
  width: 100%;
  height: 100%;
}

.home-banner .item {
  position: relative;
}

.category {
  padding: 50px 100px 0;

  background-color: white;
}

@media (max-width: 1700px) {
  .promise-box {
    padding: 50px;
  }

  .category, .gram, .best-selling, .customers-box > .item-box {
    padding-left: 50px !important;
    padding-right: 50px !important;
  }
}
@media (max-width: 940px) {
  .category, .gram, .best-selling, .customers-box > .item-box, .promise-box {
    padding-left: 10% !important;
    padding-right: 10% !important;
  }
}
@media (max-width: 650px) {
  .category {
    padding-top: 20px;
  }

  .gram {
    padding-bottom: 0 !important;
  }

  .category, .gram, .best-selling, .customers-box > .item-box, .promise-box {
    padding-left: 4% !important;
    padding-right: 4% !important;
  }
  
  .promise-box > .title {
    font-size: 28px !important;
  }

  .promise-box > .describe {
    font-size: 14px;
  }
}
@media (max-width: 550px) {
  .customers-box > .item-box .item img {
    width: 80px !important;
    height: 80px !important;
  }
  .customers-box > .item-box .item .appraise {
    font-size: 12px !important;
  }
}

.category > .title {
  color: black;
  font-size: 20px;
  font-weight: bold;
  line-height: 43px;
  text-align: center;

  margin-bottom: 25px;
}

.category > .img-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.category > .img-box .img-item {
  width: calc(50% - 15px);

  margin-bottom: 30px;

  position: relative;
}

.category > .img-box .img-item a {
  width: 100%;

  padding-bottom: 62.5%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category > .img-box .img-item a img {
  width: 100%;
  height: 100%;
  position: absolute;
  transform: translateY(50%);
  
  object-fit: cover;
}

.category > .img-box .img-item .img-title {
  color: #262626;
  font-size: 24px;
  font-weight: bold;
  font-family: "Brandon Grotesque",Helvetica,Arial,sans-serif;
  text-align: center;
  line-height: 43px;

  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  background-color: rgba(255, 255, 255, .8);
  padding: 5px 0;
}
@media (max-width: 650px) {
  .category > .img-box .img-item .img-title {
    font-size: 16px;
    line-height: 30px;

    padding: 0;
  }
}

.category-bottom-img-a {
  width: 100%;

  padding-bottom: 41.7%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-bottom-img {
  width: 100%;
  height: 100%;
  position: absolute;
  transform: translateY(50%);
  
  object-fit: cover;
}

.promise-box {
  text-align: center;

  padding: 50px;

  background-color: #EEEEEE;
}

.promise-box > .title {
  color: black;
  font-size: 36px;
  font-weight: bold;
}

.promise-box > .describe {
  font-size: 16px;
  font-weight: 400;
  color: #8C8C8C;

  margin-top: 25px;
}

.promise-box > .detail {
  width: 100%;

  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;

  margin-top: 70px;
}

.promise-box > .detail .item {
  width: 25%;

  margin: 10px 0;
}

.promise-box > .detail .item img {
  width: 160px;
  height: 160px;
}

.promise-box > .detail .item .detail-title {
  color: black;
  font-size: 30px;
  font-weight: bold;
}

.promise-box > .detail .item .detail-describe {
  color: black;
  font-size: 16px;
  font-weight: 400;

  margin-top: 15px;
}

@media (max-width: 1345px) {
  .promise-box > .detail .item {
    width: calc(50% - 40px);

    margin: 20px 0;
  }
}

@media (max-width: 920px) {
  .promise-box > .detail {
    margin-top: 40px;
  }

  .promise-box > .detail .item {
    width: 50%;
  }

  .promise-box > .detail .item .detail-title {
    font-size: 18px;
  }

  .promise-box > .detail .item .detail-describe {
    font-size: 14px;
  }

  .promise-box > .detail .item img {
    width: 100px;
    height: 100px;
  }
}

.best-selling {
  max-width: 100vw;
  
  padding: 20px 100px 0;

  background-color: white;
}

.best-selling > .top-box {
  margin-bottom: 40px;

  display: flex;
  justify-content: space-between;
}

@media (max-width: 980px) {
  .best-selling > .top-box {
    flex-direction: column;
  }

  .best-selling > .top-box .classify ul li:first-child {
    margin-left: 0;
  }

  .best-selling > .top-box .classify ul li {
    font-size: 14px !important;
  }

  .best-selling > .top-box .classify {
    margin-top: 30px;
  }
}

.best-selling > .top-box .title {
  color: #262626;
  font-size: 20px;
  font-weight: bold;
  font-family: 'brandon grotesque weight';
  line-height: 43px;
}

.best-selling > .top-box .classify {
  display: flex;
  align-items: flex-end;
}

.best-selling > .top-box .classify ul {
  display: flex;
  list-style: none;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.best-selling > .top-box .classify ul::-webkit-scrollbar {
  display: none;
}

.best-selling > .top-box .classify ul li {
  color: #8C8C8C;
  font-size: 18px;
  font-weight: bold;
  font-family: 'brandon grotesque';
  white-space: nowrap;

  margin-left: 50px;
  padding-bottom: 8px;

  cursor: pointer;
}

.best-selling > .top-box .classify ul .activity {
  color: #262626;

  font-family: 'brandon grotesque weight';

  border-bottom: 3px solid #262626;
}

.best-selling > .commodity-list {
  margin-bottom: 30px;
}

.best-selling > .commodity-list .commodity-list-img-box {
  display: flex;

  overflow-x: auto;
  overflow-y: hidden;

  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling : touch;
}

.best-selling > .commodity-list .commodity-list-img-box::-webkit-scrollbar {
  display: none;
}

.best-selling > .commodity-list .commodity-list-img-box > .goup-box {
  width: 50%;

  display: flex;
  flex-shrink: 0;

  cursor: pointer;

  scroll-snap-align: start;
}

.best-selling > .commodity-list .item {
  width: calc(50% - 18px);

  display: flex;
  flex-direction: column;
  flex-shrink: 0;

  margin-right: 10px;
}
.best-selling > .commodity-list .item:last-child {
  margin-right: 0;
}
@media (max-width: 900px) {
  .best-selling > .commodity-list .commodity-list-img-box > .goup-box {
    width: 100% !important;
  }

  .best-selling > .commodity-list .item {
    width: calc(25% - 18px) !important;
  }
}

.best-selling > .commodity-list .item .title {
  color: black;
  font-size: 14px;
  font-weight: 400;
  line-height: 15px;

  overflow: hidden;
  text-overflow: ellipsis;
  -moz-text-overflow: "…";
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin: 5px 0;
}

.best-selling > .commodity-list .item .price-box {
  display: flex;

  margin-top: 3px;
}

.best-selling > .commodity-list .item .price-box .discount-price {
  color: red;
  font-size: 18px;
  font-weight: 600;
  margin-right: 8px;
}

.best-selling > .commodity-list .item .price-box .price {
  color: #B6B6B6;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  text-decoration: line-through;
}

.best-selling > .commodity-list .item img {
  width: 100%;
  height: auto;

  -webkit-user-drag: none;
}

.best-selling > .commodity-list .commodity-index {
  height: 20px;
  margin-top: 10px;

  display: none;
  align-items: center;
  justify-content: center;
}

.best-selling > .commodity-list .commodity-index > div {
  width: 8px;
  height: 8px;
  margin: 0 3px;
  border-radius: 50%;
  background-color: #8C8C8C;
}

.best-selling > .commodity-list .commodity-index > .activity {
  background-color: #010101 !important;
}

@media (max-width: 900px) {
  .best-selling > .commodity-list .item {
    width: calc(50% - 2px) !important;
  }
  .best-selling > .commodity-list .item:nth-child(2n) {
    margin-right: 0;
  }

  .best-selling > .commodity-list .commodity-index {
    display: flex;
  }
}

.best-selling > a {
  width: 100%;
  padding-bottom: 30%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.best-selling > a .banner {
  width: 100%;
  height: 100%;
  position: absolute;
  transform: translateY(50%);
  object-fit: cover;
}

.best-selling .best-selling-loading {
  height: 500px;

  display: flex;
}

.customers-box {
  padding: 40px 0;

  background-color: #F5F5F5;
}

.customers-box > .title {
  color: black;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  
  margin-bottom: 40px;
}

.customers-box > .item-box {
  padding: 0 40px;

  display: flex;
}

.customers-box > .item-box > div {
  flex-wrap: wrap;
  justify-content: center;
}

.customers-box > .item-box .item {
  max-width: 475px;

  padding: 20px 15px;
  margin: 10px;

  display: flex;
  align-items: center;

  background-color: white;
}

.customers-box > .item-box .item img {
  width: 110px;
  height: 110px;

  margin-right: 10px;
}

.customers-box > .item-box .item .appraise {
  flex: 1;
  
  color: black;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;

  margin: auto 0;
}

.customers-box > .item-box .item .appraise .userName {
  word-break: break-all;
}

.gram {
  text-align: center;

  padding: 0 100px 70px;

  background-color: white;
}

.gram > .title {
  color: black;
  font-size: 20px;
  font-weight: bold;
  line-height: 43px;

  margin-bottom: 30px;
}

.gram > .describe {
  color: #8C8C8C;
  font-size: 14px;
  font-weight: 400;

  margin-top: 15px;
  margin-bottom: 30px;
}

.gram > .img-box {
  margin: 0;
  padding: 0;
  max-width: unset !important;

  display: flex;
}

.gram > .img-box img {
  width: 100%;
  height: 100%;
  vertical-align: middle
}

.gram > .img-box .img-box-left {
  flex: 0 0 auto;
  width: 41%;
  margin-right: 1%;
}

.gram > .img-box .img-box-right {
  flex: 0 0 auto;
  width: 58%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gram > .img-box .img-box-right .img-box-right-item {
  height: 49%;

  display: flex;
  justify-content: space-between;
}

.gram > .img-box .img-box-right .img-box-right-item .right-img {
  width: 32%;
}

.gram > .img-box a > i {
  font-size: 32px;
  margin-bottom: 10px;
}

.right-img,
.main-img {
  position: relative;

  cursor: pointer;
}
.right-img a,
.main-img a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  color: white;

  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background-color: rgba(0, 0, 0, 0.4);
}
.right-img a > img,
.main-img a > img {
  width: 50px !important;
  height: 50px !important;

  margin-bottom: 10px;
}
.right-img:hover > a,
.main-img:hover > a {
  display: flex;
}

.gaim > .img-box .main-img img {
  width: 100%;
  height: 100%;
  vertical-align: middle;
}

.gram .about {
  margin-top: 30px;

  font-family: "Source-Sans-Pro";
}

.gram .about .title {
  color: black;
  font-size: 20px;
  font-weight: bold;
  line-height: 43px;
}

.gram .about > .describe {
  color: #191919;
  font-family: "Source-Sans-Pro", Arial, sans-serif;
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  text-align: left;
  
  margin: 20px 0 40px;

  position: relative;
  overflow: hidden;
}

.gram .about > .describe .show-more {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(transparent, white);

  cursor: pointer;
}

.gram .about > .describe .show-more i {
  font-size: 18px;
  animation: upDown .6s linear infinite backwards;
}

@keyframes upDown {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0px);
  }
}

/****幻灯片插件的 ***/
.bx-wrapper .bx-viewport {
  border:none !important;
  box-shadow:none !important;
}
#index-slide-wrapper{
  background: white;
}

#index-slide-wrapper  .bx-wrapper{
  margin: 0;
}
#index-slide-wrapper .item{
  margin: auto;
}
#index-slide-wrapper .index-slide-image-mobile {
  display: none;
}

[v-cloak] {
  display: none;
}

/** 首页手机端顶部分类 **/
#index-category-slide {
  display: none;
  width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;
}
#index-category-slide ul {
  width: 100%;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}
#index-category-slide ul li {
  margin: 10px 5px;
  padding: 0;
  width: 25%;
  margin-bottom: 30px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  position: relative;
  border-radius: 100px;
}

#index-category-slide ul li:first-child {
  margin-left: 10px;
}

#index-category-slide ul li:last-child {
  margin-right: 10px;
}

#index-category-slide ul li::after {
  content: " ";
  display: block;
  padding-bottom: 100%;
}

#index-category-slide ul li a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  text-decoration: none;
  color: black;
}

#index-category-slide ul li span {
  width: 100%;
  position: absolute;
  top: 100%;
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 480px) {
  #firstRender {
    display: block;
  }

  #firstRender + .commodity-index {
    display: none;
  }

  .home-banner .classification-box {
    display: none;
  }

  #index-slide-wrapper .index-slide-image-pc {
    display: none;
  }

  #index-slide-wrapper .index-slide-image-mobile {
    display: block;
  }

  #index-category-slide {
    display: block;
  }

  .category-bottom-img-a.apply_mobile {
    padding-bottom: 150%;
  }

  .category-bottom-img {
    display: none;
  }

  .category > .img-box .img-item {
    width: calc(50% - 10px);
    margin-bottom: 20px;
  }

  .category > .img-box .img-item a {
     padding-bottom: 170%;
     border-radius: 15px;
   }

  .best-selling > .commodity-list .item .title {
    height: 45px;
    color: #191919;
    font-size: 14px;
    font-family: 'Source-Sans-Pro',Arial, sans-serif;
  }

  .best-selling > .commodity-list .commodity-list-img-box > .goup-box {
    margin-bottom: 10px;
  }

  .best-selling > .commodity-list .item img {
    object-fit: cover;
    height: 275px;
  }

  .best-selling > .commodity-list .commodity-list-img-box {
    overflow: hidden;
  }
}
