.page-main {
  background: url("../images/custom/bg_page2.jpg") center no-repeat;
  background-size: 100% 100%;
  max-width: 750px;
  margin: 0 auto;
}
.hide {
  display: none;
}
.pic-block {
  display: block;
  width: 100%;
}
.mgb-15 {
  margin-bottom: 0.3rem;
}
.mgb-20 {
  margin-bottom: 0.4rem;
}
.mgt30 {
  margin-top: 0.3rem;
}

/* 核心优势 */
.core-advantages {
  position: relative;
  padding-bottom: 2.1rem;
}
.advantage {
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(50% 50% at 42% 34%, #FEBC8E 0%, #D38753 100%);
  border-radius: 50%;
  font-family: 'PingFangSC, PingFang SC';
  font-weight: 600;
  color: #FFF;
  text-align: center;
}
.feature-bzpp {
  position: absolute;
  left: 0.14rem;
  bottom: 4.1rem;
  width: 1.26rem;
  height: 1.26rem;
  font-size: 0.28rem;
  line-height: 0.4rem;
  text-shadow: 0 0.02rem 0.06rem #B16632;
}
.feature-sgcs {
  position: absolute;
  left: 1.4rem;
  bottom: 5.4rem;
  width: 1.04rem;
  height: 1.04rem;
  font-size: 0.24rem;
  line-height: 0.34rem;
  text-shadow: 0 0.02rem 0.04rem #B16632;
}
.feature-ydydz {
  position: absolute;
  left: 3rem;
  bottom: 4.4rem;
  width: 1.48rem;
  height: 1.48rem;
  box-shadow: 0 0 0.2rem 0 #F5F1E7;
  font-size: 0.3rem;
  line-height: 0.42rem;
  text-shadow: 0 0.02rem 0.04rem #B16632;
}
.feature-zyqm {
  position: absolute;
  left: 5rem;
  bottom: 5.4rem;
  width: 1.04rem;
  height: 1.04rem;
  font-size: 0.24rem;
  line-height: 0.34rem;
  text-shadow: 0 0.02rem 0.04rem #B16632;
}
.feature-mywz {
  position: absolute;
  right: 0.26rem;
  bottom: 4.1rem;
  width: 1.26rem;
  height: 1.26rem;
  font-size: 0.28rem;
  line-height: 0.4rem;
  text-shadow: 0 0.02rem 0.06rem #B16632;
}

/* 轮播图 */
.swiper-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  /* margin: 0.2rem 0; */
}
.swiper-slide {
  width: 80%;
  background-size: cover;
  background-position: center;
}
.swiper-slide img {
  display: block;
  width: 100%;
}

/* 遮罩 */
.modal-mask {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 998;
  background: rgba(0,0,0,0.6);
}
/* 弹层容器 */
.modal-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 999;
  width: 100%;
  max-width: 750px;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
}
#packageModal {
  padding: 0 0.3rem;
}
/* 弹层-老师列表 */
.modal-teachers {
  position: fixed;
  /* top: 50%; */
  left: 50%;
  bottom: 1.66rem;
  z-index: 996;
  width: 100%;
  max-width: 750px;
  padding: 0 0.3rem;
  transform: translateX(-50%);
}
.video-box {
  margin: 0 0.15rem;
}

/* 模块 */
.module-wrap {
  padding: 0 0.3rem;
  padding-bottom: 0.9rem;
  background: url('../images/custom/bg_flower2.png') right bottom no-repeat;
  background-size: 5.24rem 5.24rem;
}  
.module-box {
  position: relative;
  padding: 0.14rem;
  background-color: rgba(255, 255, 255, 0.49);
  border-radius: 0.2rem;
  margin-bottom: 0.4rem;
}
.module-box .module-panel {
  background-color: #fff;
  border: 0.02rem solid #FFDDAA;
  border-radius: 0.2rem;
}
.module-panel.famous-teacher {
  padding: 0.6rem 0.24rem 0.32rem;
}
.module-panel.six-dimen {
  padding: 1rem 0.4rem 0.7rem;
}
.module-panel.media-witness {
  padding: 0.9rem 0.48rem 0.56rem;
}
.module-panel.honor-qualifacation {
  padding: 0.6rem 0.24rem;
}
.module-panel.naming-process {
  padding: 1.1rem 0.6rem 0.2rem;
}
.module-panel.physical-style {
  padding: 0.9rem 0.24rem 0.46rem;
}
.module-panel.reason-choose {
  padding: 1.2rem 0.24rem 0.4rem;
}
.module-panel.industry-anthority {
  padding: 0.7rem 0.24rem 0.5rem;
}
#packageModal .module-box {
  padding-top: 0.6rem;
  /*padding-bottom: 0.6rem;*/
  background-color: #fff;
}
.module-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 3.68rem;
  height: 0.54rem;
  background: url("../images/custom/bg_module_title.png") center no-repeat;
  background-size: 100% 100%;
  font-size: 0.32rem;
  font-weight: 600;
  line-height: 0.54rem;
  color: #fff;
  text-align: center;
}
.module-title.middle {
  width: 4.2rem;
}
.module-title.large {
  width: 5.08rem;
}
.module-desc {
  font-size: 0.26rem;
  font-weight: 400;
  line-height: 0.38rem;
  color: #333;
  text-align: center;
}
.famous-teacher .module-desc {
  font-weight: 600;
}
.module-desc .keynote {
  color: #DE423D;
}
/* 商品套餐 */
.goods-infos {
  position: relative;
  background-color: #F6EDE2;
  border-radius: 0.12rem;
  padding: 0.3rem 0.18rem 0.3rem 2.4rem;
}
.goods-infos .img-teacher {
  position: absolute;
  left: 0.28rem;
  bottom: 0.36rem;
  z-index: 1;
  width: 1.86rem;
  height: 2.3rem;
}
.goods-infos .teacher-title {
  position: relative;
  z-index: 1;
  width: 8em;
  font-size: 0.3rem;
  font-weight: 600;
  line-height: 0.4rem;
  color: #333;
  margin-bottom: 0.2rem;
}
.goods-infos .teacher-title::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  height: 0.16rem;
  background: linear-gradient( 297deg, rgba(208,130,78,0) 0%, #F6AE80 100%);
  border-radius: 0.14rem;
}
.goods-infos .teacher-intro {
  font-size: 0.24rem;
  line-height: 0.36rem;
  font-weight: 400;
  color: #333;
}
.goods-box .price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-box .now-price {
  font-size: 0.3rem;
  line-height: 0.4rem;
  font-weight: 600;
  color: #DE423D;
}
.price-box .btn-naming {
  width: 8em;
  padding: 0.08rem 0.28rem;
  background: linear-gradient(to top, #D0824E 1%, #F6AE80 100%);
  border-radius: 0.28rem;
  font-size: 0.3rem;
  font-weight: 600;
  line-height: 0.4rem;
  color: #fff;
  cursor: pointer;
}

/* 套餐 */
.package-item {
  position: relative;
  display: flex;
  background-color: #fff;
  border: 0.02rem solid #ffdb15;
  border-radius: 0.1rem;
  color: #333;
  margin-bottom: 0.15rem;
}
.package-name {
  font-family: serif;
  writing-mode: vertical-lr;
  border-right: 0.02rem solid #ffdb15;
  font-size: 0.28rem;
  font-weight: 600;
  text-align: center;
  line-height: 0.7rem;
}
.package-desc {
  flex: 1;
  padding: 0.28rem 1.66rem 0.28rem 0.4rem;
  font-family: serif;
  font-size: 0.24rem;
  font-weight: 600;
  line-height: 0.26rem;
}
.package-price {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  width: 1.6rem;
  height: 0.75rem;
  line-height: 0.75rem;
  text-align: center;
  border-radius: 0.3rem 0 0.1rem 0;
  font-size: 0.26rem;
}
.package-price .price-value {
  font-size: 0.42rem;
  vertical-align: baseline;
}
.package-item .icon-checkbox {
  position: absolute;
  top: 0.2rem;
  right: 0.24rem;
  width: 0.5rem;
  height: 0.5rem;
}
.package-item .icon-checked {
  display: none;
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  width: 0.44rem;
  height: 0.34rem;
  z-index: 6;
}
.package-item.on .package-name {
  background-color: #11967d;
  border: 0.02rem solid #ffdb15;
  border-radius: 0.1rem 0 0 0.1rem;
  color: #fff;
}
.package-item.on .package-desc {
  /*background: url(../images/custom/icon_recommend.png) left top no-repeat;*/
  background-size: 0.66rem 0.66rem;
}
.package-item.recommend .package-desc {
  background: url(../images/custom/icon_recommend.png) left top no-repeat;
  background-size: 0.66rem 0.66rem;
}
.package-item.on .icon-checked {
  display: block;
}
.package-item.on .package-price {
  background-color: #dc1111;
  color: #fff;
}
/* 支付方式 */
.pay-type-box {
  display: flex;
  justify-content: space-between;
  /*margin-top: 0.5rem;*/
}
.btn-pay-type {
  display: block;
  width: 3.05rem;
  height: 0.75rem;
  border-radius: 0.08rem;
  font-size: 0.28rem;
  line-height: 0.75rem;
  font-weight: 400;
  color: #fff;
  text-align: center;
}
.btn-pay-type.wechat {
  background-color: #76ce44;
}
.btn-pay-type.alipay {
  background-color: #01aaed;
}
.icon-pay-app {
  width: 0.38rem;
  height: 0.3rem;
  margin-right: 0.1rem;
  vertical-align: middle;
}
/* 安全保障 */
.security-box {
  display: flex;
  justify-content: space-between;
  margin-top: 0.2rem;
}
.icon-safe {
  display: block;
  width: 1.98rem;
  height: 0.68rem;
}
.tips-safe {
  font-family: 黑体;
  font-size: 0.3rem;
  color: #209e07;
  text-align: center;
  margin-top: 0.1rem;
}

/* 六大维度 */
.dimen-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 0.74rem 0.46rem;
}
.dimen-item .img-dimen {
  width: 100%;
  height: auto;
  margin-bottom: 0.2rem;
}
.dimen-item .dimen-name {
  position: relative;
  z-index: 1;
  width: 4em;
  font-size: 0.3rem;
  font-weight: 600;
  color: #333;
  line-height: 0.42rem;
  margin: 0 auto;
}
.dimen-item .dimen-name::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  height: 0.16rem;
  background: linear-gradient(297deg, rgba(208,130,78,0) 0%, #F6AE80 100%);
  border-radius: 0.14rem;
}

/* 媒体见证 */
.enterprise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.2rem 0.08rem;
}

/* 荣誉资质 */
.pic-item {
  display: flex;
  gap: 0.2rem;
  width: 100%;
  margin-bottom: 0.3rem;
}
.pic-item:last-child {
  margin-bottom: 0;
}
.pic-item .pic-little {
  flex: 1;
  min-width: 0; /* 关键：允许项目收缩到0宽度 */
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* 起名流程 */
.process-list {
  color: #333;
  text-align: center;
}
.process-item {
  margin-bottom: 0.5rem;
}
.process-item .process-name {
  height: 0.56rem;
  background: linear-gradient(to top, rgba(208,130,78, 0.2) 1%, rgba(246,174,128, 0.2) 100%);
  border-radius: 0.28rem;
  font-size: 0.3rem;
  line-height: 0.56rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.process-item .process-desc {
  font-size: 0.24rem;
  line-height: 0.36rem;
  font-weight: 400;
}
.bg-flower1 {
  position: absolute;
  left: -0.3rem;
  top: -0.36rem;
  width: 2.26rem;
  height: 4.42rem;
}

/* 选择理由 */
.reason-item {
  position: relative;
  border-radius: 6px;
  background: #F6EDE2;
  padding: 37px 32px 25px;
  margin-bottom: 0.6rem;
}
.reason-item:last-child {
  margin-bottom: 0;
}
.reason-item .reason-keyword {
  position: absolute;
  left: 50%;
  top: -0.28rem;
  transform: translateX(-50%);
  width: 2.84rem;
  height: 0.56rem;
  border-radius: 0.28rem;
  background: linear-gradient(to top, #D0824E 1%, #F6AE80 100%);
  font-size: 0.3rem;
  line-height: 0.52rem;
  font-weight: 600;
  color: #FFF;
  text-align: center;
}
.reason-item .reason-desc {
  font-size: 0.28rem;
  line-height: 0.4rem;
  font-weight: 400;
  text-align: center;
  color: #666;
}
.reason-desc .red {
  font-weight: 600;
  color: #DE423D;
}

.bg-cloud {
  position: absolute;
  right: -0.3rem;
  top: -1.12rem;
  width: 1.82rem;
  height: 2.74rem;
}

/* 好评 */
.comment-sketch {
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  color: #333;
  text-align: center;
}
.comment-sketch .red {
  font-weight: 600;
  color: #DE423D;
}

.bottom-fixed {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0);
  z-index: 99;
  width: 100%;
  max-width: 750px;
  padding: 0.15rem 0.3rem;
  background: linear-gradient(#fff, #fdf4d9);
  cursor: pointer;
}

@keyframes btn_ani {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }

  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
.btn-to-buy {
  /* display: block;
  animation: btn_ani 1.5s linear infinite; */

  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  background: linear-gradient(to top, #D0824E 1%, #F6AE80 100%);
  border-radius: 0.48rem;
  padding: 0.18rem;
  color: #fff;
  text-align: center;
}
.btn-to-buy .btn-name {
  font-size: 0.32rem;
  line-height: 0.32rem;
  font-weight: 600;
}
.btn-to-buy .btn-tips {
  font-size: 0.24rem;
  line-height: 0.28rem;
  font-weight: 500;
}