/* 七澄 77 select product list layer, stage 3. Presentation only. */
.goodsSearch {
  background: #f5f7f5;
  color: #172126;
  min-height: 520px;
  padding-bottom: 48px;
}

.goodsSearch .categoryMain {
  border-bottom: 1px solid #e4ece9;
  box-shadow: 0 2px 12px rgba(18, 60, 67, 0.04);
}

.goodsSearch .categoryMain .categoryCount {
  max-width: 1200px;
  width: calc(100% - 32px);
}

.goodsSearch .categoryMain .categoryBtn {
  background: #123c43;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
}

.goodsSearch .categoryMain .item-link {
  color: #526267;
  transition: color 160ms ease, background-color 160ms ease;
}

.goodsSearch .categoryMain .item-link:hover,
.goodsSearch .categoryMain .item-link.font-color {
  background: #edf5f2;
  color: #123c43;
}

.goodsSearch .goodsBanner {
  background: #fff;
  border-bottom: 1px solid #e4ece9;
  border-radius: 0;
  overflow: hidden;
}

.goodsSearch .goodsBanner .swiper-slide img {
  object-fit: cover;
}

.goodsSearch .wrapper_1200 {
  max-width: 1200px;
  width: calc(100% - 32px);
}

.goodsSearch .goods-title {
  padding: 40px 0 24px;
  text-align: left;
}

.goodsSearch .goods-title .goods-name {
  height: 34px;
  width: 280px;
}

.goodsSearch .goods-title .goods-name img {
  object-fit: contain;
  object-position: left center;
}

.goodsSearch .goods-title .goods-desc {
  color: #6b797c;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 8px;
}

.goodsSearch .wrapper_1200 > .list {
  display: grid !important;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100% !important;
}

.goodsSearch .wrapper_1200 > .list .item,
.goodsSearch .wrapper_1200 > .list .item:first-child {
  background: #fff;
  border: 1px solid #e6eeeb;
  border-radius: 12px;
  box-sizing: border-box;
  cursor: pointer;
  height: auto;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  padding: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  width: auto;
}

.goodsSearch .wrapper_1200 > .list .item:hover {
  border-color: #b8d1cb;
  box-shadow: 0 12px 28px rgba(18, 60, 67, 0.1);
  transform: translateY(-2px);
}

.goodsSearch .wrapper_1200 > .list .item .pictrue,
.goodsSearch .wrapper_1200 > .list .item:first-child .pictrue {
  background: #f8faf9;
  border-radius: 9px;
  height: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.goodsSearch .wrapper_1200 > .list .item .pictrue img,
.goodsSearch .wrapper_1200 > .list .item:first-child .pictrue img {
  display: block;
  height: 100%;
  object-fit: contain;
  padding: 5%;
  width: 100%;
}

.goodsSearch .wrapper_1200 > .list .item .pictrue .border-picture {
  border-radius: 9px;
}

.goodsSearch .wrapper_1200 > .list .item .top,
.goodsSearch .wrapper_1200 > .list .item:first-child .top {
  float: none;
  margin-top: 12px;
  position: static;
  width: auto;
}

.goodsSearch .wrapper_1200 > .list .item .info {
  color: #26373b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  margin-top: 0;
  min-height: 43px;
}

.goodsSearch .wrapper_1200 > .list .item .price {
  margin: 12px 0 0;
  text-align: left;
}

.goodsSearch .wrapper_1200 > .list .item .price .font-color {
  color: #e88945 !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.goodsSearch .pages-box {
  padding: 28px 0 4px;
  text-align: center;
}

.goodsSearch .noCart {
  background: #fff;
  border: 1px solid #e6eeeb;
  border-radius: 12px;
  margin: 8px 0 0;
  padding: 48px 20px;
}

.goods-detail {
  background: #f5f7f5;
  border-top: 0;
  padding: 28px 0 64px;
}

.goods-detail .wrapper_1200 {
  max-width: 1200px;
  width: calc(100% - 32px);
}

.goods-detail .goods-main {
  background: #fff;
  border: 1px solid #e6eeeb;
  border-radius: 16px;
  box-sizing: border-box;
  padding: 24px;
}

.goods-detail .carousel {
  width: 380px;
}

.goods-detail .carousel .preview {
  background: #f8faf9;
  border-radius: 12px;
  object-fit: contain;
  padding: 4%;
}

.goods-detail .carousel .swiper-container {
  margin-bottom: 0;
  margin-top: 16px;
}

.goods-detail .carousel .swiper-container .swiper-slide {
  border-color: transparent;
  border-radius: 7px;
}

.goods-detail .carousel .swiper-container .swiper-slide.on {
  border-color: #6fafa2;
}

.goods-detail .text-wrapper {
  flex: 1;
  min-width: 0;
  padding-left: 32px;
}

.goods-detail .text-wrapper .price,
.goods-detail .text-wrapper .price_on,
.goods-detail .text-wrapper .price-count {
  color: #e88945 !important;
}

.goods-detail .text-wrapper .button-wrapper a,
.goods-detail .text-wrapper .button-wrapper .btn {
  background-color: #123c43 !important;
  border-radius: 8px;
}

.goods-detail .text-wrapper .button-wrapper a:hover,
.goods-detail .text-wrapper .button-wrapper .btn:hover {
  background-color: #1c5960 !important;
}

.goods-detail .detail-wrapper {
  background: #fff;
  border: 1px solid #e6eeeb;
  border-radius: 16px;
  margin-top: 24px;
  overflow: hidden;
}

.goods-detail .detail-wrapper .detail-hd {
  background: #fff;
  border-bottom: 1px solid #e6eeeb;
}

.goods-detail .detail-wrapper .detail-hd .item {
  color: #526267;
  font-weight: 600;
}

.goods-detail .detail-wrapper .detail-hd .item.on {
  background: #edf5f2 !important;
  color: #123c43 !important;
  box-shadow: inset 0 -3px 0 #e88945;
}

.goods-detail .detail-wrapper .detail-hd .item:hover {
  color: #123c43;
}

.goods-detail .product_content,
.goods-detail .productSpecs {
  background: #fff;
}

.goods-detail .product_content img {
  max-width: 100%;
}

.goods-detail .productSpecs .item .name {
  color: #78888a;
}

.goods-detail .productSpecs .item .val {
  color: #26373b;
}

@media screen and (max-width: 960px) {
  .goodsSearch .wrapper_1200 > .list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 680px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .goodsSearch,
  .goods-detail {
    max-width: 100%;
    min-width: 0 !important;
    overflow-x: hidden;
  }

  .goodsSearch .categoryMain {
    overflow-x: auto;
  }

  .goodsSearch .categoryMain .categoryCount {
    min-width: 0;
    width: max-content;
  }

  .goodsSearch .goodsBanner {
    display: none;
  }

  .goodsSearch .wrapper_1200,
  .goods-detail > .wrapper_1200 {
    box-sizing: border-box;
    max-width: 100% !important;
    min-width: 0 !important;
    width: calc(100% - 20px) !important;
  }

  .goodsSearch .wrapper_1200 > .list {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .goodsSearch .wrapper_1200 > .list .item,
  .goodsSearch .wrapper_1200 > .list .item:first-child {
    padding: 10px;
  }

  .goodsSearch .wrapper_1200 > .list .item .info {
    font-size: 13px;
  }

  .goods-detail {
    padding: 16px 0 32px;
  }

  .goods-detail .wrapper_1200 {
    display: block;
    width: calc(100% - 20px);
  }

  .goods-detail .goods-main {
    border-radius: 12px;
    padding: 14px;
    width: 100% !important;
  }

  .goods-detail .goods-main > .acea-row {
    display: block !important;
    width: 100% !important;
  }

  .goods-detail .carousel {
    box-sizing: border-box;
    max-width: 100% !important;
    width: 100% !important;
  }

  .goods-detail .carousel .preview {
    height: auto;
    max-height: 380px;
    max-width: 100% !important;
    width: 100%;
  }

  .goods-detail .text-wrapper {
    box-sizing: border-box;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 20px;
    width: 100% !important;
  }

  .goods-detail .detail-wrapper {
    border-radius: 12px;
    margin-top: 14px;
    max-width: 100% !important;
    width: 100% !important;
  }

  .goods-detail .detail-wrapper .detail-hd .item {
    padding-left: 12px;
    padding-right: 12px;
  }
}
