/**index.wxss**/
@import '../../../style/iconfont/iconfont.wxss';
@import '../../../template/loading/loading.wxss';
@import '../../font/iconfont.wxss';

/* .store {
  height: 125px;
  padding: 20rpx 30rpx 10rpx;
  background-color: #d31944;
  color: #fff;
}

.manjian_price {
  margin-left: 10rpx;
  text-decoration: line-through;
  color: gray;
}

.store>.store_des {
  font-size: 20rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 5rpx;
}

.store .view_order {
  border: 1px solid #fff;
  border-radius: 16rpx;
  padding: 10rpx;
  position: absolute;
  top: 30rpx;
  right: 6%;
  font-size: 24rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.store .store_general {
  display: flex;
  flex-direction: row;
}

.store_general .store_info {
  display: flex;
  flex-direction: column;
}

.store_info>.store_name {
  font-size: 32rpx;
  padding: 2rpx;
}

.store_info>.store_delivery, .store_info>.store_address {
  font-size: 22rpx;
  line-height: 32rpx;
}

.store_phone {
  font-size: 22rpx;
  line-height: 32rpx;
}

.store_info>.store_address {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.store .store_img {
  margin-right: 32rpx;
  margin-top: 10rpx;
}

.store .store_img, .store_img>image {
  width: 160rpx;
  height: 160rpx;
  background-color: #fff;
} */

/*      neww head CSS      */

.toolong {
  overflow: hidden;
}

.store {
  width: 100vw;
  height: 36vh;
  position: relative;
  background-color: #fff;
}

.red_banner {
  width: 100vw;
  height: 8vh;
  background-color: #da1548;
}

.white_banner {
  width: 100vw;
  height: 28vh;
  background-color: #fff;
  /* position: absolute; */
  margin-top: 200rpx;
}

.banner_img image {
  width: 160rpx;
  height: 160rpx;
}

.banner_img {
  position: absolute;
  top: 10rpx;
  left: 300rpx;
}

.message_box {
  margin: 0 auto;
  width: 80vw;
  margin-top: -100rpx;
  /* text-align: center; */
  display: flex;
  flex-direction: column;
  /* justify-content: center;  */
  align-items: center;
  flex-wrap: wrap;
  line-height: 36rpx;
}

.title {
  font-size: 36rpx;
  color: rgb(51, 51, 51);
}

.gray {
  font-size: 24rpx;
  color: rgb(102, 102, 102);
}

.introduce {
  width: 100%;
  height: 78rpx;
  font-size: 24rpx;
  color: rgb(153, 153, 153);
  margin-top: 10rpx;
  /* padding-bottom: 10rpx; */
  overflow: hidden;
}

/*页面背景色*/

page {
  background: #eee;
}

.loading_mask {
  position: fixed;
  top: 0;
  z-index: 999999;
  display: flex;
  flex-direction: row;
  justify-content: center;
  background: #f8f8f8;
  width: 100vw;
  height: 100vh;
  padding-top: 20vh;
  opacity: 1;
  transition: all 0.6s linear;
}

.loading_mask.onLoad {
  visibility: hidden;
  background: transparent;
}

/*商品区域*/

.goods_box {
  overflow: hidden;
  display: flex;
  flex-direction: row;
  /* border-top: 2rpx solid #eee; */
  margin-bottom: 12%;
}

.goods_box .goods_cate {
  background-color: #eee;
  width: 160rpx;
}

.goods_box .goods_cate .goods_cate_scroll {
  width: 160rpx;
  border-radius: 1rpx solid #f5f5f5;
}

.goods_box .goods_cate .goods_cate_scroll .goods_cate_item {
  position: relative;
  background-color: #f6f5f5;
  padding: 36rpx 24rpx 40rpx;
  font-size: 24rpx;
  box-sizing: border-box;
  border-left: 3px solid transparent;
  line-height: 1;
  border-bottom: 1px solid #ededed;
  color: #737373;
  width: 160rpx;
}

.goods_box .goods_cate .goods_cate_scroll .goods_cate_item.active {
  border-left-color: #d31944;
  background-color: #fff;
  font-weight: bold;
}

page {
  background-color: #eee;
}

/*商品列表*/

.goods_box .goods_list {
  background-color: #fff;
  flex: 1;
  padding-bottom: 20%;
}

.goods_box .goods_list .goods_list_scroll {
  height: 800rpx;
  box-sizing: border-box;
}

.goods_box .goods_list_scroll .goods_cate_item>.goods_cate_title {
  background-color: #f6f6f6;
  border-left: 4rpx solid #ededed;
  color: #111;
  line-height: 65rpx;
  font-size: 28rpx;
  font-weight: 500;
  padding-left: 16rpx;
}

.goods_box .goods_list .goods_list_scroll .goods_item {
  padding: 20rpx 20rpx 25rpx 16rpx;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
}

.goods_box .goods_list .goods_list_scroll .goods_item:last-child {
  padding-bottom: 35px;
}

.goods_box .goods_list .goods_list_scroll .goods_item .goods_left {
  margin-right: 30rpx;
  width: 120rpx;
  height: 120rpx;
}

.goods_box .goods_list .goods_list_scroll .goods_item .goods_left>image {
  width: 120rpx;
  height: 120rpx;
  background-color: #eee;
}

.goods_box .goods_list .goods_list_scroll .goods_item .goods_right {
  flex: 1;
  max-width: 415rpx;
  height: 55px;
  line-height: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.goods_top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.goods_box .goods_list .goods_right .goods_info .goods_name {
  max-width: 360rpx;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 28rpx;
  line-height: normal;
}

.icon-start {
  font-size: 42rpx;
  color: gray;
}

.goods_box .goods_list .goods_right .goods_info .goods_desc {
  color: #666;
  font-size: 12px;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 360rpx;
  white-space: nowrap;
  margin-top: 8rpx;
  margin-bottom: 6rpx
}

.goods_box .goods_list .goods_right .goods_info .goods_desc>.sales {
  margin-right: 30rpx;
}

.goods_box .goods_list .goods_list_scroll .goods_item .goods_right .price {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  margin-top: 20rpx;
}

.goods_box .goods_list .goods_list_scroll .goods_item .goods_right .price .price_num {
  color: #ff6000;
  font-size: 30rpx;
}

.price_btn {
  display: flex;
  justify-content: space-around;
}

.price_btn .btn {
  border-radius: 50%;
  line-height: 30rpx;
  height: 32rpx;
  width: 32rpx;
  border: 1px solid #ffd101;
  text-align: center;
  padding: 7rpx;
}

.price_btn .add {
  background-color: #ffd101;
  color: #fff;
}

.price_btn .monitor {
  padding: 0 20rpx;
  line-height: 50rpx;
}

.price_btn .minus {
  background-color: #fff;
  color: #d31944;
}

/*底部*/

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  box-sizing: border-box;
  height: 45px;
  line-height: 45px;
  background-color: #474749;
  border-top: 1px solid #eee;
  z-index: 999;
  display: flex;
  flex-direction: row;
  font-size: 30rpx;
  padding-left: 130rpx;
}

.footer .cart {
  position: absolute;
  top: -25rpx;
  left: 20rpx;
  width: 100rpx;
  height: 100rpx;
  border-radius: 50%;
  text-align: center;
  border: 10rpx solid #4b4b4d;
  box-sizing: border-box;
  box-shadow: 0 3rpx 8rpx rgba(0, 0, 0, 0.18);
  background-color: #3d3d3d;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer .cart.active {
  background-color: #ffd101;
}

.footer .cart.active .iconfont {
  color: #f1f1f1 !important;
}

.footer .cart>.iconfont {
  color: #999;
  font-size: 56rpx;
}

.footer .cart>.bubble {
  position: absolute;
  right: 0;
  top: 0;
  background-color: #ff4f28;
  color: #fff;
  line-height: 1;
  border-radius: 7px;
  padding: 3rpx 8rpx;
  font-size: 22rpx;
  transform: translate(50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer .to_txt {
  font-size: 11px;
  color: #a3a3a4;
}

.footer .current_price {
  color: #fff;
  display: flex;
  flex-direction: column;
  line-height: 1;
  justify-content: space-around;
  padding: 10rpx 0;
}

.footer .current_price>.deliver_price {
  font-size: 30rpx;
}

.off_price {
  color: gray;
  text-decoration: line-through;
  margin-left: 12rpx;
}

.footer .current_price text {
  font-size: 23rpx;
}

.footer .pay_btn {
  background-color: #ffd101;
  color: #fff;
  margin-left: auto;
  max-width: 180rpx;
  flex: 1;
  text-align: center;
}

/* 浮层 */

.layer {
  position: fixed;
  bottom: 90rpx;
  background-color: #fff;
  width: 100vw;
  box-sizing: border-box;
  box-shadow: 0 0 3000px 3000px rgba(0, 0, 0, 0.18);
  transition: ease all 0.2s;
}

.layer::-webkit-scrollbar {
  opacity: 0;
}

.layer .layer_header {
  display: flex;
  justify-content: space-between;
  height: 80rpx;
  border-bottom: 0.5px solid #ddd;
  line-height: 80rpx;
  background-color: #eceff1;
  padding: 0 30rpx;
  color: #666;
}

.layer_header>.cart_title {
  display: flex;
  align-items: center;
}

.layer_header>.cart_title .cart_title_icon {
  display: inline-block;
  width: 6rpx;
  height: 32rpx;
  background-color: #d31944;
  margin-right: 12rpx;
}

.layer_header>.clear .iconfont {
  font-size: 26rpx;
  margin-right: 10rpx;
}

.layer_header>.clear {
  line-height: 80rpx;
  font-size: 24rpx;
}

.layer .cart_item {
  display: flex;
  align-items: center;
  line-height: 128rpx;
  height: 128rpx;
  border-bottom: 0.5px solid #eee;
  margin: 0 30rpx;
  padding-right: 10rpx;
}

.layer .cart_item>.cart_item_name {
  max-width: 345rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.layer .cart_item>.cart_item_price {
  margin-left: auto;
  margin-right: 30rpx;
  color: #ff6000;
}

/* 商品详情 */

.goods_detail_mask {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.2);
}

.goods_detail_mask .goods_detail {
  position: absolute;
  top: 270rpx;
  left: 50%;
  transform: translateX(-50%);
  width: 500rpx;
  overflow: hidden;
  background-color: #fff;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  font-size: 13px;
  padding: 20rpx;
}

.goods_detail_mask .goods_detail .goods_detail_name {
  width: 400rpx;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
}

.goods_detail_mask .goods_detail .goods_detail_img,
.goods_detail_mask .goods_detail .goods_detail_img image {
  width: 150rpx;
  height: 150rpx;
  margin-bottom: 30rpx;
}

.goods_detail_mask .goods_detail .goods_detail_row {
  width: 400rpx;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 13px;
}

.goods_detail_mask .goods_detail .goods_detail_desc.goods_detail_row {
  width: 400rpx;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.goods_detail_mask .goods_detail .goods_detail_price {
  margin-top: 20rpx;
  font-size: 13px;
}

/*商品详情*/

.gap {
  margin: 0 10rpx;
}

scroll-view::-webkit-scrollbar {
  opacity: 0;
}

.goods_other {
  background: #eee;
  font-size: 24rpx;
  text-align: center;
  color: #666;
  border-bottom: 1rpx solid #f5f5f5;
  line-height: 75rpx;
}

.goods_other.active {
  color: rgb(51, 51, 51);
  font-weight: bold;
  background-color: #fff;
}

.goods_layer {
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  /* left: 0; */
  z-index: 1000;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

.goods_box_layer {
  width: 82vw;
  height: 812rpx;
  background: #fff;
  position: fixed;
  bottom: 20%;
  left: 9%;
  border-radius: 16rpx;
  /* left: 0; */
  /* border-top-left-radius: 36rpx;
  border-top-right-radius: 36rpx; */
  overflow: hidden;
  /* display:flex;
flex-direction:row;
justify-content:space-around;
align-items:center; */
}

.goods_list_layer_img{
  width: 100%;
  height: 100%;
}

.goods_list_layer image {
  width: 100%;
  height: 520rpx;
  border-top-left-radius: 16rpx;
  border-top-right-radius: 16rpx; 
}

.goods_info_layer {
  padding: 10rpx;
  font-size: 32rpx;
  border-bottom: 2rpx solid #eee;
}

.goods_recommend_layer {
  padding: 10rpx;
  font-size: 30rpx;
  letter-spacing: 2rpx;
}

.layer_price {
  margin-top: 10rpx;
  color: #d31944;
  font-size: 26rpx;
}

.layer_title {
  font-size: 26rpx;
  color: gray;
}

/* 店铺简介  */

/* .shop_msg .red_bc{
  width: 100vw;
  height: 7vh;
  background-color: #FFD101;
}

.shop_msg .white_bc{
  width: 100vw;
  background-color: #fff;
  position: relative;
  font-size: 24rpx;
  padding: 90rpx 60rpx 20rpx 60rpx;
  box-sizing: border-box;
  text-align: center;

}

.shop_msg image{
  width: 160rpx;
  height: 160rpx;
  position: absolute;
  top: -75rpx;
  left: 39%;
}

.msg_title{
  font-size: 30rpx;
  padding: 16rpx;
}

.time_phone text:nth-child(2){
  margin-left: 30rpx;
}

.shop_introduce{
  color: #999;
} */

/* new 店铺简介  */

.shop_head {
  display: flex;
  flex-direction: column;
  width: 96vw;
  background-color: #fff;
  padding: 20rpx;
  font-size: 28rpx;
  color: #999;
  letter-spacing: 1rpx;
  margin-bottom: 10rpx;
}

.shop_box_top {
  display: flex;
  flex-direction: row;
}

.shop_box_top {
  display: flex;
  flex-direction: row;
}

.shop_top_left {
  width: 20%;
}

.shop_top_middle {
  width: 40%;
  /* overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; */
  display: flex;
  flex-direction: column;
  /* justify-content: space-around; *//* align-items: center; *//* margin-left: 36rpx; *//* margin-top: 22rpx; */
  font-size: 24rpx;
  color: #666;
}

.shop_top_name {
  width: 80%;
  margin-top: 22rpx;
  margin-left: 30rpx;
  font-size: 28rpx;
  color: #111;
}

.shop_top_address {
  width: 88%;
  margin-top: 22rpx;
  margin-left: 30rpx;
  display: flex;
}

.shop_address_text {
  width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop_top_time {
  margin-top: 2rpx;
  margin-left: 30rpx;
}

.shop_top_right {
  width: 40%;
  display: flex;
  flex-direction: column;
  color: #666;
  font-size: 24rpx;
}

.shop_top_phone {
  margin-top: 82rpx;
  width: 70%;
  margin-left: 30rpx;
}

.icon-dianhua {
  font-size: 28rpx;
}

.shop_top_delivery {
  margin-left: 30rpx;
  margin-top: 2rpx;
}

.shop_top_left image {
  width: 160rpx;
  height: 160rpx;
}

.shop_box_bottom {
  letter-spacing: 1rpx;
}

/*  购物车蒙板  */

.goods_property {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  /* left: 0; */
  z-index: 1000;
  /* margin: 0 auto; */
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

.property_box {
  position: fixed;
  top: 30%;
  left: 10%;
  width: 80vw;
  background-color: #fff;
  border-radius: 10rpx;
  /* padding: 30rpx; */
}

.property_title {
  text-align: center;
  /* display: flex; */
  width: 100%;
  /* flex-direction: row; *//* justify-content: space-between; *//* padding: 20rpx 30rpx; */
}

.title_text {
  /* margin-left: 186rpx;
  margin-top: 20rpx; */
  text-align: center;
  width: 100%;
  padding: 20rpx 0;
  font-size: 34rpx;
}

.property_text {
  padding: 0 30rpx;
  margin-left: 8rpx;
  font-size: 30rpx;
}

.car_close {
  /* margin-left: 50rpx;
  margin-bottom: 20rpx; */
  position: absolute;
  top: 10rpx;
  right: 20rpx;
}

.car_close image {
  width: 60rpx;
  height: 60rpx;
}

.property_content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 20rpx;
  padding: 20rpx 30rpx;
}

.property_list {
  border: 2rpx solid #eee;
  color: #111;
  background-color: #fff;
  margin: 10rpx 10rpx;
  padding: 6rpx 10rpx;
  border-radius: 6rpx;
  font-size: 28rpx;
}

.property_list.active {
  border: 2rpx solid #f3ba1f;
  color: #f3ba1f;
  background-color: #fffbef;
}

.prooerty_row {
  background-color: #eee;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  align-items: center;
  padding: 26rpx 30rpx;
  /* justify-content: space-between; */
}

.property_price {
  color: red;
  width: 60%;
  font-size: 40rpx;
  margin-left: 16rpx;
}

.car_btn {
  width: 40%;
  border-radius: 60rpx;
  color: #111;
  background-color: orangered;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #fbd25b;
  padding: 10rpx;
  font-size: 30rpx;
  margin-left: 50rpx;
}

.car2 {
  color: #111;
  padding-right: 10rpx;
}

.push_car {
  width: 120rpx;
  letter-spacing: 2rpx;
  font-size: 28rpx;
  text-align: center;
  height: 58rpx;
  line-height: 58rpx;
  border-radius: 50rpx;
  background-color: #fbd25b;
  margin-left: 30rpx;
  margin-bottom: 20rpx;
}

.pp_ppPrice {
  margin-left: 38rpx;
  color: #da1548;
  font-size: 38rpx;
}

.car_text{
  font-size: 26rpx;
}