/**index.wxss**/

page {
  background: #f7f7f7;
  height: auto;
}

/* 轮播图及搜索框 */
swiper {
  width: 100%;
  height: 400rpx;
  overflow: hidden;
  margin-top: 80rpx;
}

swiper.pic-swiper {
  margin-top: 101rpx;
  padding: 10rpx 0;
  background: #fff;
  height: 400rpx;
}

swiper-item {
  font-size: 26rpx;
  font-weight: bold;
}

swiper.pic-swiper .img-box {
  font-size: 0;
}

.wx-swiper-dots {
  margin-bottom: 15rpx;
}

.banner-item {
  box-sizing: border-box;
}

.banner-item .img-box {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 20rpx 10rpx;
}

.banner-item .img-box image {
  border-radius: 8rpx;
  box-shadow: 0 4px 10px 0 rgba(83, 83, 83, 0.288);
}

swiper.pic-swiper .banner {
  position: absolute;
  width: 690rpx;
  margin: 0 10rpx;
  height: 388rpx;
  border-radius: 8rpx;
  display: inline-block;
  box-shadow: 0 4px 10px 0 rgba(83, 83, 83, 0.288);
}

.top-navbar-box {
  display: flex;
  align-items: center;
  margin-left: 20rpx;
}

.top-navbar-box .shop-title {
  font-weight: bold;
  font-size: 36rpx;
}

.shop-info {
  margin-left: 12rpx;
  display: flex;
  font-weight: bold;
  font-size: 24rpx;
}

.search-box {
  display: flex;
  padding: 20rpx 20rpx 30rpx;
}

.top-search-input {
  margin-left: 20rpx;
  margin-top: -10rpx;
  display: flex;
  align-items: center;
  width: 500rpx;
  border: 2rpx solid #04358D;
  border-radius: 40rpx;
  height: 60rpx;
}

.top-search-swiper {
  height: 60rpx;
  line-height: 60rpx;
  margin-top: 0;
  font-size: 24rpx;
  color: #AAAAAA;
  margin-left: 28rpx;
}
.top-search-line {
  color: #DEDEDE;
  margin-right: 16rpx;
}

.top-search-text {
  width: 100rpx;
  font-weight: bold;
  font-size: 28rpx;
  color: #04358D;
}

.search-input {
  display: flex;
  align-items: center;
  width: 642rpx;
  border: 2rpx solid #04358D;
  border-radius: 40rpx;
  height: 60rpx;
}

.search-swiper {
  height: 60rpx;
  line-height: 60rpx;
  margin-top: 0;
  font-weight: normal;
  font-size: 24rpx;
  color: #AAAAAA;
  margin-left: 28rpx;
}

.search-line {
  color: #DEDEDE;
  margin-right: 16rpx;
}

.search-text {
  width: 100rpx;
  font-weight: bold;
  font-size: 28rpx;
  color: #04358D;
}

.top-share {
  position: relative;
  text-align: center;
  margin-left: 16rpx;
}

.share-btn {
  position: absolute;
  top: 0;
  left: 0;
  height: 90rpx;
  text-align: center;
  background-color: transparent;
  /*按钮透明*/
  border: none;
}

.share-btn::after {
  border: none;
}

.share-text {
  font-weight: normal;
  font-size: 22rpx;
  color: #222222;
}

.recommended-box {
  height: 80rpx;
}

.recommended-swiper {
  height: 80rpx;
  white-space: nowrap;
}

.recommended-text {
  margin-left: 20rpx;
  display: inline-block;
  padding: 6rpx 12rpx;
  background: #dddbdb;
  text-align: center;
  border-radius: 22rpx 22rpx 22rpx 22rpx;
  font-size: 24rpx;
  color: #222222;
}

.container .bg-sear {
  position: fixed;
  z-index: 999;
  width: 100%;
  line-height: 56rpx;
  background: #fff;
  padding: 20rpx 0;
  text-align: center;
  top: 0;
}

.bg-sear .section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60rpx;
  background: #fff;
  z-index: 1;
  border-radius: 50rpx;
  width: 92%;
  margin: auto;
  left: 4%;
  background: #eeeeee;
}

.bg-sear .section .placeholder {
  display: block;
  font-size: 28rpx;
  color: #999;
}

.bg-sear .section .search-img {
  width: 32rpx;
  height: 32rpx;
  margin-right: 10rpx;
}

/* 分类栏目 */
.swiper-grid-box {
  padding: 16rpx;
  margin-top: -30rpx;
}

.swiper-grid {
  margin-top: -10rpx;
  border-radius: 16rpx;
  background-color: #fff;
}
.my-grid-item .van-grid-item__content {
  padding: 0rpx;
  margin-top: 20rpx;
}
.swiper-grid-image{
  width:100rpx;
  height:100rpx;
  border-radius: 50%;
}
.swiper-grid-text {
  font-weight: normal;
  font-size: 24rpx;
  color: #222222;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 120rpx;
  text-align: center;
  line-height:2.4;
  letter-spacing: normal;
}

.bonus-box {
  display: flex;
}

.content-bonus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 216rpx;
  height: 64rpx;
  background: #FFFFFF;
  border-radius: 16rpx 16rpx 16rpx 16rpx;
  margin-left: 20rpx;
}

.bonus-text {
  margin-left: 10rpx;
  font-size: 24rpx;
}

/*秒杀*/
.seckill-box {
  margin: 20rpx;
  padding: 20rpx;
  background: linear-gradient(91deg, #FFEEEE 0%, #FFFFFF 18%, #FFFFFF 100%);
  display: flex;
  position: relative;
  overflow: hidden;
}

.seckill-time {
  width: 160rpx;
  text-align: center;
}

.seckill-title {
  font-weight: 800;
  font-size: 28rpx;
}

.more-icon {
  position: absolute;
  display: flex;
  align-items: center;
  height: 100%;
  top: 0;
  right: 0;
  width: 40rpx;
  background-color: #fff;
}

.times {
  margin-top: 8rpx;
  margin-bottom: 8rpx;
  font-size: 20rpx;
  color: #AAAAAA;
}

.seckill-content {
  display: flex;
}

.seckill-product-box {
  margin-left: 30rpx;
}

.seckill-Price {
  position: relative;
  font-weight: bold;
  font-size: 24rpx;
  color: #FF4A39;
}

.price-bg {
  position: absolute;
}

.price-num {
  position: absolute;
  left: 10rpx;
}

.custom-class {
  background-color: #FFFFFF;
}

.recommended-card {
  position: relative;
  margin: 20rpx;
  padding: 20rpx;
  background-color: #FFFFFF;
  display: flex;
  width: 670rpx;
  overflow: hidden;
}

.new-text {
  text-align: center;
}

.new-text-two {
  width: 120rpx;
}

.recommended-Price {
  text-align: center;
  height: 32rpx;
  background: #FFEEEC;
  border-radius: 16rpx;
  font-weight: bold;
  font-size: 24rpx;
  color: #FF4A39;
}

/* 每日上新 */
.content {
  text-align: justify;
}
.reset-localization{
  text-align: center;
  font-size: 26rpx;
  color: #AAAAAA;
}
.swiper-card-box {
  margin-top: 10rpx;
  height: 470rpx;
  margin-left: 3%;
  width: 96%;
}

.wx-swiper-dots-horizontal .wx-swiper-dot {
  width: 24rpx;
  height: 8rpx;
  border-radius: 4rpx;
}

.swiper-card {
  margin-top: 10rpx;
  height: 462rpx;
  background: #FFFFFF;
  border-radius: 16rpx;
}

.swiper-card-img {
  height: 462rpx;
  width: 354rpx;
  border-radius: 16rpx;
}

.item {
  background-color: #fff;
  margin: 10rpx 4%;
  margin-bottom: 0rpx;
  display: inline-block;
  width: 96%;
  border-radius: 16rpx;
  overflow: hidden;
}

.item-ava {
  width: 40rpx;
  height: 40rpx;
  border-radius: 16rpx;
}

.heart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-right: 8rpx;
  margin-top: 20rpx;
}

.name-price {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 36rpx;
  color: #FF4D3A;
}

.item-img {
  width: 100%
}

.item-title {
  font-weight: bold;
  font-size: 28rpx;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-family: 'PingFang SC-Medium';
  color: #1e1e1e;
  margin: 10rpx;
  height: 40rpx;
  line-height: 40rpx;
  /* background-color: turquoise; */
}

.item .name {
  padding: 0 15rpx;
  margin-top: 20rpx;
  padding-bottom: 10rpx;
  align-items: center;
  font-size: 22rpx;
  font-family: 'PingFang SC-Medium';
}

.name image {
  flex: 0 0 auto;
}

.item-title-box {
  display: flex;
  position: relative;
  z-index: 2;
}

.name-title {
  font-weight: normal;
  font-size: 22rpx;
  color: #AAAAAA;
}

.name text:last-child {
  color: #c4c4c4;
  text-decoration: underline;
  line-height: 10rpx;

}

.left,
.right {
  display: inline-block;
  vertical-align: top;
  width: 49%;
}

.stepper-box {
  display: flex;
  align-items: center;
}

.stepper-minus {
  width: 40rpx;
  height: 40rpx;
  background-color: #F0F0F0;
  font-size: 40rpx;
  text-align: center;
  line-height: 40rpx;
}

.stepper-num {
  width: 80rpx;
  height: 40rpx;
  background-color: #F0F0F0;
  text-align: center;
  line-height: 40rpx;
  margin-left: 4rpx;
}

.stepper-add {
  margin-left: 4rpx;
  width: 40rpx;
  height: 40rpx;
  background-color: #F0F0F0;
  font-size: 40rpx;
  text-align: center;
  line-height: 40rpx;
}

.tips {
  height: 60rpx;
  line-height: 60rpx;
  text-align: center;
  font-size: 24rpx;
  color: #AAAAAA;
}
.loading-box{
  text-align: center;
  line-height: 80rpx;
  height: 80rpx;
}
.popup-box {
  padding: 20rpx;
}

.popup-detail {
  display: flex;
  align-items: center;
}

.shop-price {
  font-family: PingFang SC, PingFang SC;
  font-weight: 800;
  font-size: 48rpx;
  color: #FF4D3A;
}

.shop-detail {
  margin-top: 24rpx;
  display: flex;
  align-items: center;
}

.shop-isselect {
  font-weight: normal;
  font-size: 24rpx;
  color: #AAAAAA;
}

.shop-info {
  font-family: PingFang SC, PingFang SC;
  font-weight: 800;
  font-size: 28rpx;
  color: #222222;
}

.shop-address-info {
  width: 300rpx;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.popup-line {
  border: 2rpx solid #F0F0F0;
}

.shop-color {
  margin-top: 28rpx;
}

.color-text {
  font-family: PingFang SC, PingFang SC;
  font-weight: 800;
  font-size: 28rpx;
}

.color-btn-box {
  display: flex;
  align-items: centers;
  margin-top: 10rpx;
}

.color-btn {
  width: 136rpx;
  height: 64rpx;
  background: #04358D;
  border-radius: 32rpx;
  font-weight: normal;
  font-size: 28rpx;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20rpx;
}

.popup-num-box {
  margin-top: 40rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bottom-button-box {
  background: #FFFFFF;
  box-shadow: 0rpx -6rpx 12rpx 2rpx rgba(0, 0, 0, 0.09);
  border-radius: 32rpx 32rpx 0rpx 0rpx;
  display: flex;
  justify-content: center;
}

.bottom-button {
  width: 702rpx;
  height: 80rpx;
  background: #04358D;
  border-radius: 40rpx;
  margin-top: 30rpx;
  font-family: PingFang SC, PingFang SC;
  font-weight: bold;
  font-size: 28rpx;
  color: #FFFFFF;
  text-align: center;
  line-height: 80rpx;
}