/* pages/buyVip/buyVip.wxss */

page {
  height: 100%;
}

.buy-vip-container {
  position: relative;
  height: 100%;
}

.vip-card-wrapper {
  margin-bottom: 200rpx;
}

/* 会员信息 */

.top-bg {
  background-color: #e43130;
  height: 530rpx;
}

.member-info {
  padding: 50rpx 30rpx;
  display: flex;
  align-items: center;
  position: relative;
}

.member-info .head-portrait {
  width: 120rpx;
  height: 120rpx;
  border-radius: 50%;
  overflow: hidden;
}

.member-info .head-portrait image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.member-info .text-box {
  margin: 0 30rpx 0 20rpx;
  flex: 1;
}

.member-info .text-box .name-box {
  display: flex;
  align-items: center;
}

.member-info .text-box .name-box .name {
  font-size: 32rpx;
  font-weight: 600;
  color: #fff;
  max-width: 216rpx;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-info .text-box .name-box .level {
  position: relative;
  width: 124rpx;
  height: 32rpx;
  margin-left: 10rpx;
  margin-top: 6rpx;
  box-sizing: border-box;
  background: #fff;
  border-radius: 32rpx;
  background: #fff;
}

.member-info .text-box .name-box .level .l-bg {
  position: absolute;
  left: 4rpx;
  top: 4rpx;
  width: 24rpx;
  height: 24rpx;
}

.member-info .text-box .name-box .level .text {
  color: #7c4733;
  font-size: 20rpx;
  font-family: arial;
  position: relative;
  line-height: 32rpx;
  margin-left: 36rpx;
}

.member-info .text-box .date {
  margin-top: 14rpx;
  font-size: 24rpx;
  color: #fff;
}

.member-info .buy-btn {
  width: 170rpx;
  height: 60rpx;
  line-height: 60rpx;
  text-align: center;
  font-size: 28rpx;
  color: #7c4733;
  background: #fbe3b4;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 70rpx;
  font-weight: 600;
}

/* /会员信息 */

/* 卡片轮播 */

swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

swiper.pic-swiper {
  margin-top: -330rpx;
  position: relative;
  height: 340rpx;
}

swiper-item {
  font-size: 26rpx;
  margin-left: 35rpx;
}

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

swiper.pic-swiper .banner {
  width: 640rpx;
  height: 340rpx;
  border-radius: 14rpx 14rpx 0 0;
}

.level-mark {
  position: absolute;
  right: 0;
  top: 0;
  background-color: #ffecc8;
  width: 80rpx;
  max-width: 100rpx;
  height: 40rpx;
  line-height: 40rpx;
  color: #7d4834;
  text-align: center;
  border-radius: 0 14rpx 0 14rpx;
  font-size: 24rpx;
  padding: 0 8rpx;
}

.card-face {
  display: flex;
  flex-direction: column;
  padding: 50rpx 30rpx 30rpx;
  height: 340rpx;
  box-sizing: border-box;
  color: #fff;
  justify-content: space-between;
  position: relative;
}

.vip-pic {
  width: 640rpx;
  height: 340rpx;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.white-bg {
  background-color: #fff;
}

.vip-info {
  font-weight: 600;
}

.vip-level {
  font-size: 36rpx;
}

.vip-price {
  font-size: 26rpx;
}

.vip-price .amount {
  font-size: 70rpx;
}

.vip-level-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: lighter;
  font-size: 24rpx;
  padding-bottom: 10rpx;
}

.vip-level-progress .level-tips {
  flex: 6;
  margin-right: 20rpx;
  align-self: center;
}

.vip-level-progress .level-progress {
  margin: 6rpx 0;
}

.vip-level-progress .level-span {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

.vip-level-progress .level-text {
}

/* 会员权益 */

.vip-rights-container {
  background-color: #fff;
  width: 750rpx;
  height: 660rpx;
  border-radius: 14rpx 14rpx 0 0;
  position: relative;
  margin-top: -20rpx;
  padding: 50rpx 30rpx;
  box-sizing: border-box;
}

.vip-rights-container::after {
  border-left: 12rpx solid transparent;
  border-right: 12rpx solid transparent;
  border-bottom: 12rpx solid #fff;
  content: "";
  position: absolute;
  top: -10rpx;
  left: 50%;
  width: 0;
  z-index: 9999;
  transform: translateX(-50%);
}

.member-tit {
  display: flex;
  align-items: center;
}

.member-tit .text {
  flex: 1;
  font-size: 32rpx;
  font-weight: 600;
  position: relative;
  padding-left: 16rpx;
}

.member-tit .text::before {
  position: absolute;
  left: 0;
  top: 15%;
  display: block;
  width: 6rpx;
  height: 70%;
  content: " ";
  background: #e43130;
  border-radius: 6rpx;
}

.rights-item-con {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 40rpx 0 80rpx 0;
  padding: 0 10rpx;
  box-sizing: border-box;
  height: 700rpx;
  overflow-y: scroll;
}

.rights-item-con::after{
  content: '';
  width: 30%;
}

.rights-item {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40rpx;
  padding: 0 15rpx;
  box-sizing: border-box;
}

.rights-img {
  width: 100rpx;
  height: 100rpx;
  border-radius: 50%;
  overflow: hidden;
}
.rights-img image{
  width: 100%;
  height: 100%;
  display: block;
}

.rights-tit {
  font-size: 30rpx;
  margin: 25rpx 0 15rpx 0;
}

.rights-desc {
  font-size: 22rpx;
  color: #999;
  text-align: center;
}

/* 底部按钮 */

.bottom {
  box-shadow: 1rpx -1rpx 6rpx #eee;
  width: 100%;
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
}

.bottom-item {
  flex: 1;
  text-align: center;
  padding: 25rpx 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.btn {
  background: #e43130;
  font-weight: bold;
  color: #fff;
}
.btn-gray{
  background: #aaa;
  color: #fff;
}

.bottom .vip-price {
  color: #e43130;
}

.vip-total-balck {
  color: #000;
}

.symbol {
  font-size: 26rpx;
}

.amount.pay-amount {
  font-weight: bold;
  font-size: 50rpx;
}
