.swal-member-center,
.swal-agreement-box {
  width: 60vw;
  height: 42vw;
  padding: 2vw;
  display: flex;
  gap: 1.5vw;
  flex-direction: column;
  background: url("../imgs/vip-modal-bg.png") no-repeat center center / 100% 100%;
  @media screen and (max-width: 824px) {
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
    background: url("../imgs/vip-modal-bg.png") no-repeat center center / cover;
    border-radius: 10px;
  }
}
.swal-detail-box {
  width: 50vw;
  height: 30vw;
  padding: 5vw;
  display: flex;
  gap: 1.5vw;
  flex-direction: column;
  background: url("../imgs/detail-bg.png") no-repeat center center / 100% 100%;
  @media screen and (max-width: 924px) {
    width: 80vw;
    height: 48vw;
  }
  @media screen and (max-width: 824px) {
    width: 90vw;
    height: 54vw;
  }
}
.swal-close {
  width: 2vw;
  height: 2vw;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  @media screen and (max-width: 824px) {
    width: 6vw;
    height: 6vw;
    top: 10px;
    right: 10px;
  }
}
.swal-detail-box > .swal-close {
  width: 2.5vw;
  height: 2.5vw;
  @media screen and (max-width: 924px) {
    width: 3.75vw;
    height: 3.75vw;
  }
  @media screen and (max-width: 824px) {
    top: 0;
    right: 0;
    width: 5vw;
    height: 5vw;
  }
}
.modal-title {
  color: #fff;
  font-size: 1.5vw;
  line-height: 1.5vw;
  text-align: center;
  @media screen and (max-width: 824px) {
    font-size: 5vw;
    line-height: 5vw;
  }
}
.modal-content {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* 会员中心 */
.swal-member-center .member-center-top-tips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5vw;
}
.swal-member-center .member-center-top-tips > .top-tips {
  display: flex;
  align-items: center;
  gap: 8px;
}
.swal-member-center .member-center-top-tips > .top-tips > .top-tips-icon {
  width: 1.8vw;
  height: 1.8vw;
  @media screen and (max-width: 824px) {
    width: 4vw;
    height: 4vw;
  }
}
.swal-member-center .member-center-top-tips > .top-tips > .top-tips-text {
  color: #fff;
  font-size: 1vw;
  line-height: 1vw;
  @media screen and (max-width: 824px) {
    font-size: 3vw;
    line-height: 3vw;
    margin: 6px 0;
  }
}
.swal-member-center .vip-grid-box {
  padding-top: 1vw;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5vw;
  @media screen and (max-width: 824px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw;
  }
}
.swal-member-center .vip-grid-box > .vip-grid-item {
  width: 100%;
  position: relative;
  padding-bottom: 145%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1vw;
  border-radius: 8px;
  background: url("../imgs/yue-bg.png") no-repeat center center / 100% 100%;
  @media screen and (max-width: 824px) {
    padding-bottom: 130%;
  }
}
.swal-member-center .vip-grid-box > .ji {
  background: url("../imgs/ji-bg.png") no-repeat center center / 100% 100%;
}
.swal-member-center .vip-grid-box > .nian {
  background: url("../imgs/nian-bg.png") no-repeat center center / 100% 100%;
}
.swal-member-center .vip-grid-box > .yongjiu {
  background: url("../imgs/yongjiu-bg.png") no-repeat center center / 100% 100%;
}
.swal-member-center .vip-grid-box > .vip-grid-item > .vip-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 15%;
  padding-bottom: 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1vw;
  @media screen and (max-width: 824px) {
    gap: 3vw;
  }
}
.swal-member-center
  .vip-grid-box
  > .vip-grid-item
  > .vip-item
  > .vip-item-icon {
  width: 33%;
  height: auto;
}
.swal-member-center
  .vip-grid-box
  > .vip-grid-item
  > .vip-item
  > .vip-item-title,
.swal-member-center
  .vip-grid-box
  > .vip-grid-item
  > .vip-item
  > .vip-item-tips-list {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.swal-member-center
  .vip-grid-box
  > .vip-grid-item
  > .vip-item
  > .vip-item-title
  > .vt-tit {
  color: #333;
  font-size: 1.2vw;
  @media screen and (max-width: 824px) {
    font-size: 4vw;
  }
}
.swal-member-center
  .vip-grid-box
  > .vip-grid-item
  > .vip-item
  > .vip-item-title
  > .vt-desc {
  color: #666;
  font-size: 1vw;
  @media screen and (max-width: 824px) {
    font-size: 2.6vw;
  }
}
.swal-member-center
  .vip-grid-box
  > .vip-grid-item
  > .vip-item
  > .vip-item-price-box {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 1vw;
  font-size: 0.8vw;
  line-height: 0.8vw;
  @media screen and (max-width: 824px) {
    font-size: 2.8vw;
    line-height: 2.8vw;
  }
}
.swal-member-center
  .vip-grid-box
  > .vip-grid-item
  > .vip-item
  > .vip-item-price-box
  .vp-price {
  color: #333;
  font-size: 1.2vw;
  font-weight: bold;
  line-height: 1.2vw;
  @media screen and (max-width: 824px) {
    font-size: 4.2vw;
    line-height: 4.2vw;
  }
}
.swal-member-center
  .vip-grid-box
  > .vip-grid-item
  > .vip-item
  > .vip-item-tips-list {
  flex: 1;
  overflow-y: auto;
}

.swal-member-center
  .vip-grid-box
  > .vip-grid-item
  > .vip-item
  > .vip-item-tips-list::-webkit-scrollbar {
  width: 0.2vw;
  height: 0.2vw;
  background-color: #f8f8f8;
}
.swal-member-center
  .vip-grid-box
  > .vip-grid-item
  > .vip-item
  > .vip-item-tips-list::-webkit-scrollbar-thumb {
  background-color: #dc74c8;
}
.swal-member-center
  .vip-grid-box
  > .vip-grid-item
  > .vip-item
  > .vip-item-tips-list
  > .vip-item-tips-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.swal-member-center
  .vip-grid-box
  > .vip-grid-item
  > .vip-item
  > .vip-item-tips-list
  > .vip-item-tips-item
  > .vip-item-tips-icon {
  width: 0.6vw;
  height: 0.6vw;
  @media screen and (max-width: 824px) {
    width: 2vw;
    height: 2vw;
  }
}
.swal-member-center
  .vip-grid-box
  > .vip-grid-item
  > .vip-item
  > .vip-item-tips-list
  > .vip-item-tips-item
  > .vip-item-tips-text {
  font-size: 0.6vw;
  @media screen and (max-width: 824px) {
    font-size: 2.4vw;
  }
}
.swal-member-center
  .vip-grid-box
  > .vip-grid-item
  > .vip-item
  > .vip-item-list
  > .vip-item-tips-item
  > .vip-item-tips-text {
  color: #fff;
  font-size: 1vw;
  line-height: 1vw;
}

.member-center-bot {
  flex: 1;
  width: 100%;
  padding: 1vw;
  margin-top: 1vw;
  border-radius: 16px;
  border: 2px solid #ffffff;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0px 5px 108px 0px #fff0f1;
  @media screen and (max-width: 824px) {
    margin-top: 3vw;
  }
}
.member-center-bot > .zfb-wx-qrcode-box,
.member-center-bot > .activated-vip-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1vw;
}
.member-center-bot > .zfb-wx-qrcode-box > .qrcode-user-info,
.member-center-bot > .activated-vip-box > .activated-user-info {
  width: 100%;
  font-size: 0.9vw;
  display: flex;
  align-items: center;
}
.member-center-bot > .zfb-wx-qrcode-box > .qrcode-user-info > .qrcode-avatar,
.member-center-bot
  > .activated-vip-box
  > .activated-user-info
  > .activated-avatar {
  width: 1.2vw;
  height: 1.2vw;
  border-radius: 50%;
  margin-right: 0.5vw;
}
.member-center-bot > .zfb-wx-qrcode-box > .qrcode-code-box {
  flex: 1;
  width: 60%;
  display: flex;
  gap: 1.2vw;
  align-items: center;
  @media screen and (max-width: 824px) {
    width: 95%;
    gap: 3vw;
  }
}
.member-center-bot > .zfb-wx-qrcode-box > .qrcode-code-box > .code-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.member-center-bot
  > .zfb-wx-qrcode-box
  > .qrcode-code-box
  > .code-box
  > .qrcode-img-box {
  width: 100%;
  padding-bottom: 100%;
  position: relative;
  border: 1px solid #15ba11;
  margin-bottom: 6px;
  border-radius: 8px;
}
.member-center-bot
  > .zfb-wx-qrcode-box
  > .qrcode-code-box
  > .code-box
  > .qib-2 {
  border-color: #00a7ff;
}
.member-center-bot
  > .zfb-wx-qrcode-box
  > .qrcode-code-box
  > .code-box
  > .qib-3 {
  border-color: #ea5597;
}
.member-center-bot
  > .zfb-wx-qrcode-box
  > .qrcode-code-box
  > .code-box
  > .qrcode-img-box
  > .qrcode-img {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  object-fit: cover;
}
.member-center-bot
  > .zfb-wx-qrcode-box
  > .qrcode-code-box
  > .code-box
  > .type-icon-text {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.member-center-bot
  > .zfb-wx-qrcode-box
  > .qrcode-code-box
  > .code-box
  > .type-icon-text
  > .type-icon {
  width: 1.2vw;
  height: 1.2vw;
  margin-right: 4px;
  @media screen and (max-width: 824px) {
    width: 4vw;
    height: 4vw;
  }
}
.member-center-bot
  > .zfb-wx-qrcode-box
  > .qrcode-code-box
  > .code-box
  > .type-icon-text
  > .type-text {
  font-size: 1vw;
  line-height: 1vw;
  @media screen and (max-width: 824px) {
    font-size: 2.4vw;
    line-height: 2.4vw;
  }
}
.member-center-bot
  > .zfb-wx-qrcode-box
  > .qrcode-code-box
  > .code-box
  > .type-icon-text
  > .tt-e {
  font-size: 0.65vw;
  line-height: 0.65vw;
  @media screen and (max-width: 824px) {
    font-size: 2.4vw;
    line-height: 2.5vw;
  }
}
.member-center-bot > .zfb-wx-qrcode-box > .qrcode-code-box > .arrow-line-box {
  flex: 2;
  display: flex;
  align-items: center;
  @media screen and (max-width: 824px) {
    flex: 0.5;
  }
}
.member-center-bot
  > .zfb-wx-qrcode-box
  > .qrcode-code-box
  > .arrow-line-box
  > .arrow-line {
  width: 100%;
  height: auto;
}
.member-center-bot > .zfb-wx-qrcode-box > .qrcode-tips {
  color: #f12b39;
  font-size: 0.7vw;
  line-height: 0.7vw;
  @media screen and (max-width: 824px) {
    font-size: 2.3vw;
    line-height: 2.3vw;
  }
}
.member-center-bot > .activated-vip-box > .activated-vip-tips {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1vw;
}
.member-center-bot
  > .activated-vip-box
  > .activated-vip-tips
  > .activated-vip-tips-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.member-center-bot
  > .activated-vip-box
  > .activated-vip-tips
  > .activated-vip-tips-title
  > .activated-vip-tips-title-icon {
  width: auto;
  height: 1.3vw;
}
.member-center-bot
  > .activated-vip-box
  > .activated-vip-tips
  > .activated-vip-tips-title
  > .activated-vip-tips-title-text {
  color: #000;
  font-size: 1.2vw;
  line-height: 1.2vw;
  font-weight: bold;
}
.member-center-bot
  > .activated-vip-box
  > .activated-vip-tips
  > .activated-tips-list {
  flex: 1;
  width: 100%;
  display: grid;
  gap: 0.6vw 0.4vw;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.member-center-bot
  > .activated-vip-box
  > .activated-vip-tips
  > .activated-tips-list
  > .activated-tips-item {
  color: #5f2bbf;
  font-size: 0.8vw;
  line-height: 0.8vw;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
background: url("../imgs/tips-bg.png") no-repeat center center / 100% 100%;
}
.member-center-bot
  > .activated-vip-box
  > .activated-vip-tips
  > .activated-tips-list
  > .activated-tips-item
  > img {
  width: auto;
  height: 50%;
  margin-right: 10px;
}
/* 商品详情 ↓ */
.swal-detail-box .goods-thumb {
  width: 16.6vw;
  height: 16.6vw;
  border-radius: 10px;
  @media screen and (max-width: 924px) {
    width: 25vw;
    height: 25vw;
  }
  @media screen and (max-width: 824px) {
    width: 30vw;
    height: 30vw;
  }
}
.swal-detail-box .goods-info-box {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2vw;
  /* align-items: center; */
  /* justify-content: space-between; */
}
.swal-detail-box .goods-info-box > .goods-info {
  flex: 1;
  height: 20vw;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1vw;
  @media screen and (max-width: 924px) {
    height: 25vw;
  }
  @media screen and (max-width: 824px) {
    height: 30vw;
  }
}
.swal-detail-box .goods-info-box > .goods-info > .goods-name {
  width: 100%;
  max-width: 21.5vw;
  color: #323232;
  padding: 1vw 2vw;
  background: #eee;
  border-radius: 16px;
  font-size: 1.25vw;
  font-weight: bold;
  text-align: left;
  /* 单行超出部分隐藏先手省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* opacity: 0.6; */
  @media screen and (max-width: 924px) {
    max-width: 30vw;
    font-size: 2vw;
  }
  @media screen and (max-width: 824px) {
    max-width: 35vw;
    font-size: 2.5vw;
  }
}
.swal-detail-box .goods-info-box > .goods-info > .goods-desc {
  flex: 1;
  overflow-y: auto;
  color: #666;
  font-size: 1vw;
  margin-left: 2vw;
  @media screen and (max-width: 924px) {
    font-size: 1.5vw;
    margin-left: 3vw;
  }
  @media screen and (max-width: 824px) {
    font-size: 2vw;
    margin-left: 4vw;
  }
}
.swal-detail-box .goods-info-box > .goods-info > .goods-desc > p {
  text-align: left;
  margin-bottom: 10px;
}
.swal-detail-box .goods-info-box > .goods-info > .download-file-btn {
  height: 2.5vw;
  color: #fff;
  padding: 0 50px;
  display: flex;
  align-items: center;
  font-size: 1.25vw;
  line-height: 1.25vw;
  border-radius: 24px;
  margin-top: auto;
  margin-left: 2vw;
  cursor: pointer;
  user-select: none;
  @media screen and (max-width: 924px) {
    height: 3.75vw;
    font-size: 2vw;
    margin-left: 3vw;
  }
  @media screen and (max-width: 824px) {
    height: 5vw;
    font-size: 2.5vw;
    margin-left: 4vw;
  }
}

.swal-detail-box .details-tips {
  width: 100%;
  text-align: left;
  font-size: 1vw;
  color: #f12b39;
  margin-top: auto;
  @media screen and (max-width: 924px) {
    font-size: 1.5vw;
  }
  @media screen and (max-width: 824px) {
    font-size: 2vw;
  }
}

.agreement-iframe {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
  @media screen and (max-width: 824px) {
    height: calc(100% - 20px);
    margin-top: 10px;
  }
}
.agreement-iframe::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.agreement-iframe iframe {
  width: 100%;
  height: 100%;
  border: none;
  overflow: hidden;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
}

.toast-modal {
  width: 320px;
  /* height: 120px; */
  display: flex;
  flex-direction: column;
  color: #333;
  padding: 12px 16px;
  background: #fff;
  border-radius: 10px;
}
.toast-modal .toast-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}
.toast-modal > .toast-title > .toast-icon {
  width: 30px;
  height: 30px;
}

.toast-modal > .toast-text {
  flex: 1;
  width: 100%;
  font-size: 16px;
  text-align: left;
  text-indent: 2em;
}
