@media only screen and (max-width: 750px) {
    html {
        font-size: 13.33vw;
    }
}


@media only screen and (min-width: 750px) {
    html {
        font-size: 100px;
    }

    .container {
        width : 750px !important;
        margin: 0 auto;
    }
}

body {
    font-size: 0.16rem;
    margin   : 0;
}

* {
    box-sizing: border-box;
}

.container {
    display        : flex;
    flex-direction : column;
    margin         : 0 auto;
    width          : 100%;
    min-height     : 100vh;
}
.hidden {
    display: none;
}
.page-bg {
    position: relative;
    width              : 100%;
    min-height         : 100vh;
    background-image   : url(../../../../images/activity/double11/page-bg.png);
    background-size    : contain;
    background-position: top;
    background-repeat  : no-repeat;
    background-color   : #f8edec;
    padding            : 0;
    padding-bottom: .88rem ;
}

.page-content {
    width     : 100%;
    padding   : .36rem;
    margin-top: 8.73rem;
}

/* ---------- 卡片通用：圆角半径统一收口到一个变量 ---------- */
section {
    position     : relative;
    width        : 100%;
    --card-radius: .28rem;
    border-radius: var(--card-radius);
    position     : relative;
    margin-bottom: .32rem;
    min-height   :3rem;
       outline: 2px solid #FFFFFF;
}

.card-bg {
    position  : absolute;
    opacity   : .5;
    top       : 0;
    left      : 0;
    width     : 72%;
    height    : 2.78rem;
    z-index   : 0;
    background: url(../../../../images/activity/double11/card-bg.png)top/cover no-repeat;
}

.card-header {
    position       : relative;
    z-index        : 1;
    width          : 100%;
    display        : flex;
    justify-content: space-between;
    align-items    : center;
}

.card-title {
    padding: .33rem .31rem;
}

.card-rt {
    position     : absolute;
    right        : 0;
    bottom       : 0;
    margin-bottom: -.22rem;
}
/* 满减 */
.card-full-reduce{
    height    : 6.75rem;
    background: linear-gradient(180deg, #FB1276 0%, #FF5F5F 100%);
}

.card-full-reduce .title {
    width : 3.21rem;
    height: .79rem;
}

.card-full-reduce .rt {
    width : 3.32rem;
    height: 2.49rem;
}

.card-body {
    position      : relative;
    z-index       : 3;
    padding       : 0 .36rem;
    display       : flex;
    flex-direction: column;
}
.reduce-bg{
    background:url(../../../../images/activity/double11/reduce-bg.png)center/contain no-repeat;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding:.38rem .46rem;
    gap:.24rem;
}
.reduce-item{
    background:url(../../../../images/activity/double11/reduce-item.png)center/cover no-repeat;
    width: 2.43rem;
    height:1.95rem;
    font-size  : .26rem;
    color      : #FFFFFF;
    padding-top    : .38rem;
    padding-left  : .46rem;
}
.reduce-full span{
    font-weight: 800;
}
.text-lg{
    font-size: .32rem;
    font-weight: 700;
}
.reduce-price{
    font-size  : .56rem;
    line-height: .58rem;
    font-weight: 800;
}

/* 再送好礼 */
.card-gifts {
    background: linear-gradient(180deg, #F90632 0%, #FF8080 100%);

}

.card-gifts .title {
    width : 2.37rem;
    height: .79rem;
}

.card-gifts .rt {
    width : 3.35rem;
    height: 3.47rem;
    margin-bottom: -1.2rem;
    margin-right: -.24rem;
}

.gift-item {
    width        : 100%;
    padding      : .3rem .5rem;
    background   : #FFFFFF;
    border-radius: .24rem;
    outline      : .04rem solid rgba(255, 255, 255, 0.38);
    margin-bottom: .24rem;
    position     : relative;
}

.gift-price {
    font-size  : .3rem;
    font-family: AlibabaPuHuiTi_2_105_Heavy;
    color      : #333333;
    line-height: .48rem;
    font-weight: 800;
}

.text-red {
    color: #FC240C;
}

.gift-things {
    font-size  : .36rem;
    font-family: AlibabaPuHuiTi_2_105_Heavy;
    color      : #333333;
    font-weight: 800;
    line-height: .58rem;
}

.gift-tips {
    font-family: AlibabaPuHuiTi_2_55_Regular;
    font-size  : .26rem;
    color      : #FD663C;
}
.gift-img{
    position: absolute;
    top: 0.2rem;
    right: 0.52rem;
    width: 1.6rem;
    height: 1.6rem;
}
/* 好课精选 */
.card-courses{
    background: linear-gradient(180deg, #F90632 0%, #FF8080 100%);

}
.card-courses .title {
    width : 1.71rem;
    height: .96rem;
}

.card-courses .rt {
    width : 2.71rem;
    height: 2.04rem;
}
.course-item{
    width        : 100%;
    padding:.2rem .24rem;
    background: #FFFFFF;
    border-radius: .24rem;
    margin-bottom:.16rem;
    cursor: pointer;
}
.course-name{
    font-size: .3rem;
    font-weight: 600;
    font-family: PingFangSC, PingFang SC;
    line-height: .42rem;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom:.08rem;
}
.course-intro{
    font-size: .24rem;
    color:#666;
    line-height: .33rem;
    width: 100%;
     margin-bottom:.08rem;
}
.course-tips{
    display: flex;
    gap:.06rem;
      margin-bottom:.18rem;
}
.course-tip{
    background: #FFF5F1;
    border-radius: 4px;
    padding: .02rem .08rem;
    color: #FF6430;
    font-size: .22rem;
}
.course-bottom{
    display: flex;
    justify-content: space-between;
}
.course-price{
    font-size: .36rem;
    color: #FC240C;
    font-weight: 800;
    line-height: .5rem;
}
.course-btn{
    background: #FB314D;
    border-radius: .08rem;
    color: #FFFFFF;
    padding: .08rem .24rem;
    font-size: .26rem;

}
.course-more{
     cursor: pointer;
    margin:.12rem auto;
    width: 5.28rem;
    height: .8rem;
    font-size: .38rem;
    font-weight: 800;
    line-height: .8rem;
    text-align: center;
    color:#fff;
    background:url(../../../../images/activity/double11/course-more.png)center/cover no-repeat;
}

/* 推荐好礼 */
.card-referrals{
        background: linear-gradient(180deg, #F52BAF 0%, #FFC1F7 100%);
}
.card-referrals .title {
    width : 2.26rem;
    height: .95rem;
}
.card-referrals .rt{
    width : 3.62rem;
    height: 2.92rem;
     margin-bottom: -.58rem;
      margin-right: -.24rem;
}
.referral-item{
    background: #FFFFFF;
    border-radius: .24rem;
    padding:.3rem .5rem;
    font-size: .3rem;
    margin-bottom:.24rem;
}
.referral-title{
    font-weight: 700;
    margin-bottom:.08rem;
}
.referral-tip{
    font-size: .26rem;
    color: #FD663C;
        margin-bottom:.24rem;
}
.referral-gifts{

    display: flex;
    justify-content: space-between;
     font-size: .26rem;
     padding:.24rem 0;
}
.dot-line-x{
    height:1px;
    width:100%;
background: linear-gradient(
    to left,  /*to结束的方向*/
    transparent 0%,
    transparent 50%,
    #ccc 50%,
    #ccc 100%
);
background-size: 4px 1px;
background-repeat: repeat-x;
}
.dot-line-y{
    width:1px;
    height:1rem;
    background: linear-gradient(
    to bottom,  
    transparent 0%,
    transparent 50%,
    #ccc 50%,
    #ccc 100%
);
background-size: 1px 4px;
background-repeat: repeat-y;
}
.referral-label {
   
    font-weight: 600;
}
.referral-gifts .text-red{
    font-size: .4rem;
    font-weight: 800;   
}

/* 固定定位的按钮 */
.page-fixed{
     position: fixed;
     z-index: 99;
     bottom: 0;
     left: 0;
     right: 0;
     /* fixed 元素的包含块是视口，width:100% 拿到的是窗口宽度；
        这里改用 left/right 撑满 + max-width 收口 + auto 外边距居中，
        宽度就和 .container 一致了（300 行上面的 450 见 rem.css 断点） */
     width: auto;
     max-width: 750px;
     margin: 0 auto;
     padding-bottom: .44rem ;
}
.fixed-btn{ 
    margin: 0 auto;
    width: 6.06rem;
    height: .88rem;
    cursor: pointer;
    background: url(../../../../images/activity/double11/course-more.png) center/cover no-repeat;
}

/* guide 配置接管后的文案按钮：底色、文字色由 JS 内联写入，这里只管排版 */
.fixed-btn--guide{
    border-radius: .44rem;
    font-size: .32rem;
    font-weight: 700;
    line-height: .88rem;
    text-align: center;
    padding: 0 .2rem;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fixed-rb{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: .24rem;
}
.fixed-time{
    width: fit-content;
    background: linear-gradient( 90deg, #ffe0ed 0%, #fff1e5 100%);
    outline: 2px solid #FFFFFF;
    border-radius: .44rem;
    padding: .08rem .24rem;
    color: #6F1107;
    font-size: .22rem;
}
.fixed-time span{
    background: #FFFFFF;
    border-radius: .05rem;
    padding: 0 .08rem;
}
/* 购课动态：可视 3 条，整列向上匀速滚动 */
.fixed-users{
    --feed-h: .42rem;       /* 单条高度 */
    --feed-gap: .12rem;     /* 条间距 */
    --feed-visible: 3;      /* 可视条数 */
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: .24rem 0;
    height: calc(var(--feed-visible) * (var(--feed-h) + var(--feed-gap)) - var(--feed-gap));
}

/* 每条绝对定位，位移和透明度由 JS 逐帧算 */
.fixed-users .user-item{
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    height: var(--feed-h);
    line-height: var(--feed-h);
    opacity: 0;
    will-change: transform, opacity;
}

.user-item{
    width: fit-content;
background: rgba(0,0,0,0.7);
font-size: .22rem;
line-height: .42rem;
height: .42rem;
border-radius: .42rem;
color: #fff;
padding: 0 .24rem;
margin-bottom:.12rem;
}
.user-name{
color: #FF5D5E;
margin-right:.08rem;
}
.fixed-rt{
    /* 默认隐藏，只有 PC 端由 JS 放开 */
    display: none;
    position:fixed;
    right:0;
    top:50%;
    transform: translateY(-50%);
background: linear-gradient( 180deg, #FB1276 0%, #FF5F5F 100%);
    color: #fff;
    border-radius: .16rem 0 0 .16rem;
    padding: .15rem .13rem;
    cursor: pointer;
}
.fixed-rt .icon{
    width: .24rem;
    height: .24rem;
    margin-bottom:.08rem;
    background: url(../../../../images/activity/double11/zixun.png) center/cover no-repeat;
}
.fixed-rt .text{
    font-size: .18rem;
    line-height: 1.2;
    width:.24rem;
    text-align: center;
}
.wrapper{ 
    width: fit-content;
    border-radius: .28rem;
    background: linear-gradient( 180deg, #FFEFF6 0%, #FFFFFF 100%);
    padding: .34rem .66rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position:relative;
}
.layui-layer{
    background: transparent!important;
    box-shadow: none!important;
}
.layer-title{
    font-size: .32rem;
    font-family: AlibabaPuHuiTi_3_115_Black;
    color: #333333;
    line-height: .45rem;
    font-weight: 800;
    margin-bottom:.12rem;
}
.layer-subtitle{
    font-size: .24rem;
    color:#333333;
    line-height: .33rem;
    text-align: center;
    margin-bottom:.32rem;
}
.layer-select{
    display: flex;
    padding: .28rem .32rem;
    margin-bottom:.32rem;
    font-size: .24rem;
    color: #333333;
    background: #EEEEEE;
    border-radius: .24rem;
    cursor: pointer;

}
.select-title{
    margin-right: .32rem;
}
.select-inner{
    width: 2.4rem;
}
.placeholder{
    color: #666666;
}
.select-icon svg{
    width: .18rem;
    height: .18rem;
}
.qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.qrcode-img{
    width: 2.4rem;
    height: 2.4rem;
    border-radius: .24rem;
    margin-bottom:.12rem;
}
.qrcode-tips,.qrcode-info{
    font-size: .24rem;
    color:#666666;
}
/* .wrapper-close{
    position: absolute;
    top: .32rem;
    right: .32rem;
    z-index: 9999;
}
.wrapper-close .layer-icon{ 
    color: #333333;
   width: .32rem;
   height: .32rem;
} */
.layui-layer-setwin .layui-layer-close2{
    right:0!important;
    top:0!important;
 }
 .dropdown-item{
    max-height: 4.5rem;
    overflow-y: auto;
    font-size: .24rem;
   width: 2.4rem;
 }