@charset "UTF-8";

.detail-page{
    margin: auto;
    max-width: 750px;
    padding-bottom: .152rem;
    background-color: #ffffff;
}

.main-image{
    border-radius: 0.2rem;
}

.main-image img {
    background-size: 100% 100%;
    width: 100%;
}

.product-title{
    font-size: 0.3rem;
    font-weight: bold;
    display: block;
    margin-top: 0.1rem;
}

.product-detail{
    text-align: center;
}

.info-content a{
    color: #337ab7;
    text-decoration: none;
}

.info-content b:before{
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: .2rem .1rem 0 .1rem;
    border-color: #f14e4e transparent transparent transparent;
    display: inline-block;
    margin-right: .1rem;
}

.info-content b{
    margin: .2rem 0 .2rem 0;;
    display: inline-block;
}

.detail-content{
    margin: 0.1rem 0.16rem 0;
}

.yuezu {
    margin-top: 0.1rem;
    font-size: 0.28rem;
}

.yuezu span{
    color: red;
    word-break: break-all;
}

.yuezu span a{
    cursor: pointer;
    color: #337ab7;
    text-decoration: none;
}

.attrs {
    align-items: center;
    background-color: #f8f8f8;
    border-radius: .175rem;
    display: flex;
    justify-content: space-around;
    padding: .175rem;
    margin: .175rem 0;
    font-size: 0.28rem;
}

.attrs .item {
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 30%;
}

.attrs .item .title {
    color: #333;
    font-weight: 700;
}

.attrs .item .desc {
    color: #777;
    margin-top: .125rem;
    text-align: center;
}

.tabs {
    align-items: center;
    border-radius: .725rem;
    background-color: #f8f8f8;
    display: inline-flex;
    justify-content: space-around;
    margin: 0.175rem auto 0;
    width: auto;
}

.tabs .tab.active {
    background-color: #1a54fa;
    font-weight: 700;
    color: #fff;
}

.tabs .tab {
    border-radius: .725rem;
    border: none;
    cursor: pointer;
    font-size: .3rem;
    margin: 0.06rem;
    padding: 0.1rem .2rem;
    transition: background-color .2s;
}

.layui-table th{
    text-align: center;
}

.layui-table tbody{
    text-align: center;
}

.info {
    margin-top: 0.2rem;
    word-break:break-all;
}

.info-content img{
    width: 100%;
}

.info-content{
    font-size: 0.28rem;
}

.tabbar-item {
    flex: none;
}

.tabbar-button {
    width: 56%;
    border-radius: 0.4rem;
    color: #fff;
    background: #1a54fa;
    text-align: center;
    font-size: 0.3rem;
    height: 0.8rem;
    margin-top: 0.18rem;
    margin-bottom: 0.23rem;
}

.tabbar-button-full-width {
    width: 98%;
}

.tabbar-button:hover {
    color: #fff;
}

.off {
    background: darkgrey;
}


.purchase-pop {
    max-width: 7.5rem;
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 11;
    margin: 0 auto;
}

.closebtn img {
    padding: 0.1rem;
    border-radius: 50%;
    background: #f7f7f7;
    margin-top: 0.1rem;
    width: 0.6rem;
}

.closebtn {
    position: absolute;
    top: 0px;
    right: 0.1rem;
    z-index: 1;
}

.purchase-box {
    background: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    border-radius: 0.3rem 0.3rem 0 0;
    padding: 0.3rem;
    max-height: 100vh;
}

.purchase-body{
    overflow-y: auto;
    max-height: 90vh;
}

.purchase-box .info-title {
    text-align: center;
    font-size: 0.4rem;
    font-weight: bold;
}

.info-box .tip1 {
    font-size: 0.32rem;
    font-weight: bold;
    position: relative;
    padding: 0 0.3rem 0.2rem;
    margin-top: 0.3rem;
}

.info-box .tip1::after {
    position: absolute;
    content: "";
    left: 0;
    top: 0.1rem;
    width: 0.06rem;
    height: 0.28rem;
    background: #1a54fa;
    border-radius: 0.1rem;
}

.info-box .tip2 {
    font-size: 0.26rem;
    padding-bottom: 0.2rem;
    padding-top: 0.05rem;
    color: rgba(58, 156, 255, 1);
}

.info-box .item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f7f7f7;
    padding-bottom: 0.2rem;
    margin-bottom: 0.2rem;
    width: 100%
}

.info-box .item span {
    display: block;
    width: 1.6rem;
    font-size: 0.3rem;
}

.info-box .item input {
    width: 6rem;
    /*padding-left: 8px;*/
    font-size: 0.3rem;
}

.info-box .item input::placeholder {
    color: #ccc;
    font-size: 0.25rem;
}

.submitDiv a {
    width: 100%;
    border-radius: 0.4rem;
    color: #fff;
    background: #1a54fa;
    text-align: center;
    line-height: 0.7rem;
    font-size: 0.3rem;
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
    box-shadow: 0px 2px 6px #1a54fa;
}


.idcard-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 0.2rem;
    margin-bottom: 0.2rem;
    width: 100%; /* 保证idcard-box占据全宽 */
    box-sizing: border-box; /* 包含内边距和边框在宽度计算中 */
}

.idcard-box .img-box {
    width: 50%; /* 使用百分比设置宽度 */
    height: 0; /* 重置高度 */
    padding-bottom: 35%; /* 保持宽高比 (宽度的35%) */
    background-size: cover; /* 覆盖整个区域 */
    background-position: center; /* 居中背景图片 */
    position: relative; /* 为绝对定位图片做准备 */
    border-radius: 0.1rem;
}

.idcard-box .img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.1rem;
    /*object-fit: cover; !* 覆盖整个区域，避免变形 *!*/
}

.idcard-box .upload-box {
    width: 47%;
    box-sizing: border-box; /* 包含内边距和边框在宽度计算中 */
}

.idcard-box .upload-box .uploadbtn button,
.upload-btn { /* 合并重复的按钮样式 */
    display: block;
    width: 70%; /* 按钮占据上传区域的全部宽度 */
    line-height: 0.5rem;
    border-radius: 0.4rem;
    color: #fff;
    text-align: center;
    background: #1a54fa;
    margin: 0 auto;
    font-size: 0.3rem;
    box-sizing: border-box; /* 包含内边距和边框在宽度计算中 */
}

.upload-btn {
    position: relative;
}

.upload-btn .upload-input {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    border: 0 none;
    filter: alpha(opacity=0);
    opacity: 0;
    width: 100%;
}

.upload-tips {
    margin-top: 0.1rem;
    font-size: 0.26rem;
    line-height: 0.37rem;
    color: #666;
    box-sizing: border-box; /* 包含内边距和边框在宽度计算中 */
}


.front{
    background: url(../images/s1.jpg) no-repeat center center;
}

.back{
    background: url(../images/s2.jpg) no-repeat center center;
}

.head{
    background: url(../images/s3.jpg) no-repeat center center;
}

.showSubscribeMpBox{
    display: none;
    overflow: auto;
    max-width: 5rem;
}

.showSubscribeMpBox img{
    width: 100%;
}

.chooseNumbersBox{
    display: none;
    overflow: auto;
    padding: 0.25rem;
}

.chooseNumbersBox .numbers{
    column-count: 2;
    column-gap: 0.35rem;
    /*height: 13.75rem;*/
    min-height: 4.75rem;
}

.chooseNumbersBox .numbers .item.active {
    background: #ECF4FF;
    border: .02rem solid #3C85ED;
    color: #3c85ed;
}

.chooseNumbersBox .numbers .item {
    background: #F8F8F8;
    border: .0625rem solid #F8F8F8;
    border-radius: 1rem;
    color: #333;
    display: block;
    min-height: 0.7rem;
    margin-bottom: 0.25rem;
    text-align: center;
    width: 100%;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    font-size: 0.28rem;
}

.chooseNumbersBox .changes{
    padding-bottom: 0.2rem;
    text-align: center;
}

.label-box{
    margin-top: 0.1rem;
    font-size: 0.26rem;
}

.label-box span{display: inline-block;color: #fff;border-radius: 0.1rem;padding: 0.02rem 0.03rem 0.02rem 0.03rem;margin: 0 0.04rem 0.04rem 0;}
.label-box span:nth-child(1){border: 1px #009688 solid;color: #009688!important;}
.label-box span:nth-child(2){border: 1px #FFB800 solid;color: #FFB800!important;}
.label-box span:nth-child(3){border: 1px #1E9FFF solid;color: #1E9FFF!important;}
.label-box span:nth-child(4){border: 1px #53890C solid;color: #53890C!important;}
.label-box span:nth-child(5){border: 1px #a848c4 solid;color: #a848c4!important;}

.topTabs{
    background: rgb(248, 248, 248);
    position: fixed;
    top: 0px;
    max-width: 7.5rem;
    width: 100%;
    display: none;
    z-index: 2;
}

.topTabs .tab{
    flex-grow: 1;
    text-align: center;
    line-height: .8rem;
    font-size: .3rem;
}

.topTabs .tab.active {
    font-weight: 700;
    color: #1a54fa;
}

.notify-wrapper {
    height: 1.2rem;
    opacity: 1;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(0,#fff 70%,transparent);
    mask-image: linear-gradient(0,#fff 70%,transparent);
    overflow: hidden;
    position: absolute;
    -webkit-transform: translateY(calc(-100% - .25rem));
    -ms-transform: translateY(calc(-100% - .25rem));
    transform: translateY(calc(-100% - .25rem));
    transition: .3s;

}

.notify-content {
    height: 100%;
}

.notify-item-wrapper {
    height: .58rem;
    line-height: .58rem;
    padding: .06rem;
}

.notify-content p{
    align-items: center;
    background: rgba(0,0,0,.5);
    border-radius: .32rem;
    box-shadow: 0 0 .04rem .04rem rgba(0,0,0,.05);
    color: #fff;
    display: flex;
    font-size: .26rem;
    height: .5rem;
    padding: 0 .12rem;
}

.agreement{
    font-size: 0.26rem;
}

.agreement span{
    color: #666;
}

.agreement a{
    color: rgb(0, 99, 255);
}

.red-packet-icon-container {
    position: fixed; /*  改为 fixed 定位，相对于 viewport 固定位置 */
    /*top: 0px;         !*  距离浏览器窗口顶部的距离，可以调整 *!*/
    right: 0.16rem;        /*  距离浏览器窗口右侧的距离，可以调整 */
    bottom: 4rem;
    z-index: 100;      /*  设置层叠顺序，确保图标在其他内容之上 */
}

.red-packet-icon {
    width: 40px;      /*  固定图标宽度，可以根据你的图标大小和需求调整 */
    height: 40px;     /*  固定图标高度，通常宽度和高度保持一致 */
    display: block;   /*  将 img 元素设置为块级元素 */
    border-radius: 10px; /*  可选：添加圆角 */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /*  可选：添加阴影效果 */
}

.ext-title{
    font-size: 0.32rem;
    font-weight: bold;
    position: relative;
    padding: 0 0rem 0.2rem;
    margin-top: 0.3rem;
}

.layui-upload-drag{
    width: 100%;
    padding-bottom: 11%;
}

.ext-img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ext-upload-input{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.ext-select {
    display: block; /* 恢复默认块级布局 */
}
.ext-select select {
    font-size: 0.3rem;
    width: 100%; /* 下拉框宽度填充容器 */
    height: 0.7rem;
    padding: 0 15px;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='%23999' d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
