/* pages/goods/goods.wxss */
.nogoods {
  line-height: 340rpx;
  text-align: center;
  color: #999;
  font-size: 32rpx;
}

.goods .loadMore {
  background: #f5f5f5;
  width: 100%;
  height: 80rpx;
  line-height: 80rpx;
  text-align: center;
  clear: both;
}

.goods .fe-mod-8-hp-line-info .title {
  text-align: left;
}

.goods .fe-mod:hover {
  border: 4rpx dashed rgba(0, 0, 0, 0);
  cursor: default;
}

.goods .fe-mod,
.goods .fe-mod:hover {
  border: 0;
}

.goods .jiudroom {
  background: #fff;
}

.goods .jiudroom .li .roomimg {
  position: absolute;
  height: 170rpx;
  width: 170rpx;
  left: 20rpx;
}

.goods .jiudroom .li {
  position: relative;
  padding: 20rpx 140rpx 20rpx 210rpx;
  height: 212rpx;
  border-bottom: 2rpx solid #ececec;
  font-size: 24rpx;
}

.goods .jiudroom-price {
  right: 20rpx;
  top: 20rpx;
  width: 140rpx;
  text-align: center;
}

.goods .pa {
  position: absolute !important;
}

.goods .jiudroom-price .ins {
  text-decoration: none;
  font-size: 24rpx;
  color: #f88917;
}

.goods .jiudroom-price .del {
  color: #999;
  text-decoration: line-through;
}

.goods .jiudroom-text .h1 {
  font-size: 32rpx;
  margin-bottom: 28rpx;
  height: 40rpx;
  line-height: 40rpx;
  width: 100%;
  overflow: hidden;
  font-weight: normal;
  margin-top: -2rpx;
}

.goods .btnbook {
  background: #f88917;
  border-radius: 6rpx;
  color: #fff;
  border: none;
  width: 100%;
  height: 68rpx;
  line-height: 68rpx;
  font-size: 28rpx;
  margin-top: 10rpx;
}

.goods .fe-mod-8 {
  height: auto;
  overflow: hidden;
  background: #fff;
}

.goods .fe-mod-8 .a,
.goods .fe-mod-8 .a:hover {
  color: inherit;
  text-decoration: none;
}

.goods .fe-mod-8-title {
  padding: 0 16rpx;
  font-size: 32rpx;
  color: #666;
  text-align: left;
}

.goods .fe-mod-8-good {
  height: auto;
  width: 50%;
  box-sizing: border-box;
  float: left;
}

.goods .fe-mod-8-main {
  height: auto;

  /* padding: 10rpx;
	background: #fff; */
}

.goods .fe-mod-8-main-img {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  background-size: 100% 100% !important;
  background-position: center;
  border-top-left-radius: 16rpx;
  border-top-right-radius: 16rpx;
}

.distance {
  position: absolute;
  top: 0;
  right: 20rpx;
  color: #fff;
  border-radius: 10rpx;
  background: #ff2c29;
  padding: 0 10rpx;
}

.goods .fe-mod-8-main-img.oo2 {
  /* min-height: 43vw; */
  background: #fff;
  position: relative;
  text-align: center;
}

.goods .fe-mod-8-main-img.oo2 image {
  width: 43vw;
  height: 43vw;
}

.goods .fe-mod-8-main-img.oo3 {
  /* min-height: 25vw; */
  position: relative;
  text-align: center;
}

.goods .fe-mod-8-main-img.oo3 image {
  width: 100%;
  height: 100%;
  border-top-left-radius: 16rpx;
  border-top-right-radius: 16rpx;
}

.goods .fe-mod-8 .new {
  height: 60rpx;
  width: 60rpx;
  background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/ico_new.png") no-repeat;
  background-size: 60rpx;
  position: absolute;
  top: -2rpx;
  left: -2rpx;
}

.goods .fe-mod-8 .saleimg {
  height: 100rpx;
  width: 100rpx;
  position: absolute;
  top: -6rpx;
  left: -6rpx;
}

.goods .fe-mod-8 .sale-xp {
  background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sale-xp.png");
  background-size: 100rpx;
}

.goods .fe-mod-8 .sale-rx {
  background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sale-rx.png");
  background-size: 100rpx;
}

.goods .fe-mod-8 .sale-tj {
  background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sale-tj.png");
  background-size: 100rpx;
}

.goods .fe-mod-8 .sale-xs {
  background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/img/sale-xs.png");
  background-size: 100rpx;
}

.goods .fe-mod-8 .sale-by {
  background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/img/sale-by.png");
  background-size: 100rpx;
}

.goods .fe-mod-8 .sale-cx {
  background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/img/sale-cx.png");
  background-size: 100rpx;
}

.goods .fe-mod-8 .recom {
  height: 60rpx;
  width: 60rpx;
  background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/img/ico_recom.png") no-repeat;
  position: absolute;
  top: -2rpx;
  left: -2rpx;
}

.goods .fe-mod-8 .hot {
  height: 60rpx;
  width: 60rpx;
  background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/img/ico_hot.png") no-repeat;
  background-size: 60rpx;
  position: absolute;
  top: -2rpx;
  left: -2rpx;
}

.goods .fe-mod-8-main-name {
  height: auto;
  font-size: 28rpx;
  text-align: center;
  line-height: 40rpx;
  color: #999;
  margin-top: 10rpx;

  /* border-top: solid 1rpx #ccc; */
  padding: 0 16rpx;
}

.goods .fe-mod-8-main-name-name {
  height: 80rpx;
  text-align: left;

  /* text-overflow: -o-ellipsis-lastline; */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #333;
}

.goods .fe-mod-8-main-name-buy {
  height: 40rpx;
  width: 60rpx;
  float: right;
  background-repeat: no-repeat;
}

.goods .fe-mod-8 .buy-1 {
  background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/img/ico_buy_1.png");
  background-size: 60rpx 40rpx;
}

.goods .fe-mod-8 .buy-2 {
  background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/img/ico_buy_2.png");
  background-size: 60rpx 40rpx;
}

.goods .fe-mod-8 .buy-3 {
  background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/img/ico_buy_3.png");
  background-size: 60rpx 40rpx;
}

.goods .fe-mod-8 .buy-4 {
  background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/img/ico_buy_4.png");
  background-size: 60rpx 40rpx;
}

.goods .fe-mod-8-main-price {
  height: 48rpx;
  width: 100%;
  font-size: 14px;
  text-align: left;
  line-height: 48rpx;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  padding-left: 6rpx;
  position: absolute;
  bottom: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  content: "...";
}

.goods .fe-mod-8-hp-line {
  height: 180rpx;
  background: #fff;
  padding: 10rpx;
}

.goods .fe-mod-8-hp-line-img {
  height: 160rpx;
  width: 160rpx;
  background: #ddd;
  position: relative;
}

.distance_hp {
  position: absolute;
  bottom: 10rpx;
  right: 10rpx;
  color: #fff;
  border-radius: 10rpx;
  background: #ff2c29;
  padding: 0 10rpx;
}

.goods .fe-mod-8-hp-line-img image {
  height: 100%;
  width: 100%;
}

.goods .fe-mod-8-hp-line-info {
  height: 160rpx;
  background: #fff;
  padding-left: 20rpx;
  flex: 1;
}

.goods .fe-mod-8-hp-line-info .title {
  height: 80rpx;
  font-size: 28rpx;
  color: #333;
  line-height: 40rpx;

  /* text-overflow: -o-ellipsis-lastline; */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.goods .fe-mod-8-hp-line-info .price {
  height: 60rpx;
  width: 100%;
  margin-top: 20rpx;
  font-size: 28rpx;
  color: #bbb;
  line-height: 60rpx;
  float: left;
  overflow: hidden;
  padding: 0;
}

.goods .fe-mod-8-hp-line-info .price .p1 {
  float: left;
  color: #f60;
}

.goods .fe-mod-8-hp-line-info .price .p2 {
  font-size: 24rpx;
  padding-left: 10rpx;
  text-decoration: line-through;
  float: left;
  line-height: 64rpx;
}

.goods .fe-mod-8-hp-line-info .price .p3 {
  color: #999;
  padding-left: 20rpx;
  float: left;
  font-size: 24rpx;
}

.goods .fe-mod-8-hp-line-info .price .p4 {
  color: #999;
  padding-left: 20rpx;
  float: left;
  font-size: 24rpx;
  width: 160rpx;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: bold;
}

.goods .new-goods {
  /* padding: 8rpx; */
  width: calc(98% - 16rpx);
  float: left;
  margin: 16rpx 24rpx;
  border-radius: 16rpx;
}

.goods .card-price {
  color: #f60;
  overflow: hidden;
  position: relative;
  height: 40rpx;
  text-align: left;
  margin: 0 16rpx;
}

.goods .colorBlack {
  color: #999;
}

.goods .good-new {
  /* padding: 8rpx; */
  margin-bottom: 2%;
  border-radius: 16rpx;
  background: #fff;
}

.goods .good-new a {
  /* border: 2rpx solid #e5e5e5; */
  border-radius: 16rpx;
  display: block;
  background: #fff;
}

.goods .add-cart {
  position: absolute;
  right: 0;
  bottom: 0;
}

.goods .fe-mod-8-hp-line {
  border: 2rpx solid #e5e5e5;
  display: flex;
  background: #fff;
  margin: 10rpx 0;
}
