@media (min-width: 1600px) {
  .layui-main {
    width: 1200px;
  }

  .categories-sub-width {
    width: 900px !important;
  }
}

@media (min-width: 1720px) {
  .layui-main {
    width: 1200px;
  }

  .categories-sub-width {
    width: 900px !important;
  }
}

main {
  min-height: calc(100vh - 616px);
}

.new-goods-title{
  display: flex;
  align-items: center;
}

.new-goods-title h2{
  margin: 0;
  font-size: 25px;
	line-height: 26px;
  font-weight: bold;
  color: #fff;
}

.new-goods-title h3{
  margin: 0 0 0 16px;
  font-size: 20px;
	line-height: 26px;
	color: #fff;
}

/* 商品列表 */
.new-goods-list { 
  display: flex;
  flex-wrap: wrap;
  margin: -8px;
  margin-top: 16px;
}

.new-goods-item { 
  padding: 8px;
  width: 20%;
}

/* 商品卡片 */
.goods-card{
  background-color: #fff;
  padding: 16px;
  border-radius: 8px;
}
.goods-card .goods-card-img {
	display: block;
	aspect-ratio: 1;
	background-color: #efefef;
	border-radius: 4px;
	overflow: hidden;
}

.goods-card .goods-card-img img {
	display: block;
	width: 100%;
	height: 100%;
}

.goods-card .goods-card-btn {
	margin-top: 8px;
	text-align: center;
}

.goods-card .goods-card-btn a {
	display: inline-block;
	width: auto;
	padding: 0 8px;
	background-image: linear-gradient(95deg, #feac75 0%, #f46b5e 50%, #e92947 100%);
	border-radius: 6px;
	text-align: center;
	line-height: 24px;
	font-size: 14px;
	color: #fff;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.goods-card .goods-card-title {
	display: block;
	font-size: 13px;
	color: #666;
	height: 30px;
	line-height: 15px;
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	margin: 4px 0;
}

.goods-card .goods-card-price {
	display: block;
	font-size: 14px;
	color: #333;
	font-weight: bold;
  font-size: 15px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.goods-card .goods-card-min-num {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 22px;
  height: 22px;
  margin: 4px 0;
}

.goods-card .goods-card-min-num-value{
  font-size: 12px;
  color: #1C8BFF;
  /* transition: font-size 0.2s */
}

.goods-card .goods-card-btn .goods-card-offer-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;
}

/* bannar */
.new-goods-bannar {
	height: 500px;
	margin: 0 auto;
	max-width: 1920px;
	position: relative;
}

#new-goods-bannar>div {
	height: 100%;
}

#new-goods-bannar .new-goods-bannar-item {
	height: 100%;
}

.new-goods-bannar-item a {
	display: block;
	height: 100%;
	width: 100%;
}

.new-goods-bannar-item a img {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.new-goods-bannar .layui-carousel-ind {
	display: none;
}

/* 发掘最新发布的产品 */
.new-goods-released{
  padding: 48px 0;
}

.new-goods-selected{
  padding: 48px 0;
}

.new-goods-tabs {
  margin-top: 24px;
	/* height: 60px; */
	background-color: #fff;
	border-radius: 5px;
  display: flex;
  align-items: center;
  overflow-x: auto;
}

.new-goods-tabs-tab{
  max-width: 240px;
  min-width: 180px;
  padding: 6px 16px;
	height: 60px;
  line-height: 20px;
	border-radius: 5px;
  font-size: 18px;
  color: #e62140;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.8s;
}

.new-goods-tabs-tab span{
  display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
  text-align: center;
}

.new-goods-tabs-tab.active{
	background-color: #e62140;
	color: #fff;
}


/* 询盘 */
.index-inquiry-card {
  max-width: 1920px;
  margin: 0 auto;
  background-color: #5d92c9;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  /* border-radius: 10px;
  margin-top: 20px; */
  padding: 48px 0;

}

.index-inquiry-card > div{
  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;
}

.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;
}

.new-goods-recommend{
  padding: 48px 0;
}

.new-goods-recommend .new-goods-title h2{
  color: #333;
}

.new-goods-recommend .new-goods-title h3{
  color: #333;
}