﻿*{
    box-sizing: border-box;
}
::-webkit-scrollbar {
    display: none;
}
html,body{ width: 100%; height: 100%; overflow: scroll;}
html::-webkit-scrollbar, body::-webkit-scrollbar{width:0px;height:0px;}
body{margin:0;}
a, a:visited, a:link, a:hover, a:active { text-decoration: none; }
img {
    object-fit: cover;
}
select {
    border: none;
    appearance: none;
    -moz-appearance:none;
    -webkit-appearance:none;
}
select:focus { outline: none; }
/* 轮播公共样式  开始处*/
.scroll-img-div{
    width: 100%;
    height: 5rem;
    position: relative;
    background-color: white;
}
.img-one-div{
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    overflow: hidden;
}

.animation-style{
    transition: all 0.4s linear;
}

.img-one-div img{
    height: 100%;
    width: auto;
    /* max-width: 100%;
    max-height: 5rem; */
    margin: 0 auto;
    position: relative;
}

.scroll-img-div .pageIndex{
    position: absolute;
    right: 0px;
    bottom: 0.41rem;
    height: 0.32rem;
    width:0.7rem;
    border-radius: 0.16rem 0 0 0.16rem;
    background:rgba(0,0,0,0.4);
    color: white;
    text-align: center;
    z-index: 3;
}

.l2r-old{
    animation: lr0-100 0.4s linear forwards;
    z-index: 1 !important;
}
.l2r-new{
    animation: lr-100-0 0.4s linear forwards;
    z-index: 2 !important;
}
@keyframes lr0-100 {
    from{
        left: 0;
    }
    to{
        left:-100%;
    }
}
@keyframes lr-100-0 {
    from{
        left: 100%;
    }
    to{
        left:0;
    }
}

.r2l-old{
    animation: rl0-100 0.4s linear forwards;
    z-index: 1 !important;
}
.r2l-new{
    animation: rl-100-0 0.4s linear forwards;
    z-index: 2 !important;
}
@keyframes rl0-100 {
    from{
        left: 0;
    }
    to{
        left:100%;
    }
}
@keyframes rl-100-0 {
    from{
        left: -100%;
    }
    to{
        left:0;
    }
}

/* 轮播公共样式  结束处*/

/* 金额的颜色样式 */
.money-color{
    color: #F74D4F;
}
/* 人民币羊头的样式 */
.rmb-mark-style{
    font-size:0.24rem;
    font-family:PingFang SC;
    /* font-weight:bold; */
    color:rgba(247,77,79,1);
}
.rmb-price-style{
    margin-right: 5px;
    font-size:0.4rem;
    font-family:PingFang SC;
    font-weight:bold;
    color:rgba(247,77,79,1);
}
/* 公共头部返回样式 */
.header-back{
    display: flex;
    justify-content: space-between;
    padding: 0 0.28rem;
    font-size:0.34rem;
    height: 0.8rem;
    font-family:PingFang SC;
    font-weight:bold;
    align-items: center;
}
.back-title{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.header-back .back-des{
    width: 0.17rem;
    height:0.3rem
}
.header-back .back-des img{
    width: 100%;
    height: 100%;
    display: block;
}
.user-center{
    margin-left: 0.33rem;
}
.header-share{
    width: 0.3rem;
    height: 0.3rem;
}
.header-share img{
    width: 100%;
    height: 100%;
    display: block;
}
.extend{
    width: 100%;
    height: 100%;
    display: block;
}
/* 活动价标签 */
.active-price{
    
    width: 0.98rem;
    height: 0.28rem;
    
    border-radius: 0.14rem;
    font-size: 0.2rem;
    font-family: PingFang SC;
    font-weight: 500;
    color: rgba(255, 150, 0, 1);
    line-height: 0.36rem;
    text-align: center;
    line-height: 0.258rem;

}
.activity-bgprice
{
    background: rgba(255, 246, 227, 1);
    }
/* 原价，被划掉的价格 */
.grey-old-price{
    font-size:0.2rem;
    font-family:PingFang SC;
    font-weight:400;
    text-decoration:line-through;
    color:rgba(153,153,153,1);
}
/* flex 布局的公共样式 */
.flex-style{
    display: flex;
    align-items: center;
}
.flex-just-content-s{
    justify-content: flex-start;
}
.flex-just-content-e{
    justify-content: flex-end;
}
.flex-just-content-c{
    justify-content: center;
}
.flex-just-content-b{
    justify-content: space-between;
}
.flex-just-content-a{
    justify-content: space-around;
}
/* 灰色空白 占位 */
.grey-bar-div{
    width: 100%;
    height: 0.14rem;
    background-color: #F5F5F5;
}
/* 遮罩背景颜色 */
.shade-style{
    width:100%;
    height:100%;
    position:fixed;
    top:0px;left:0px;
    background-color:rgba(0,0,0,0.5);
    z-index:10;
}


.sort-num-div{
    height: 0.4rem;
    width: 0.2rem;
}
.sort-num-div img{
    width: 0.1rem;
    height: 0.06rem;
    margin: 0;
    position: absolute;
    top: 0.1rem;
    left: 0.05rem;
}
.sort-up-div,.sort-down-div{
    height: 0.15rem;
    width: 0.2rem;
    position: relative;
}
.current-sort-div .sort-num-div .sort-up-div {

}
/* 公共的红色按钮 */
.red-button-style{
    width:6rem;
    height:0.8rem;
    background:linear-gradient(-83deg,rgba(253,104,71,1),rgba(245,65,82,1));
    border-radius:40px;
    font-size:0.3rem;
    font-family:PingFang SC;
    font-weight:500;
    color:rgba(255,255,255,1);
    text-align: center;
    line-height: 0.8rem;
}
.fix-bottom {
    height: 1rem;
}