:root{
    --index-menu-width: 200px;
}
/*用户头部信息*/
.logined , .not-login{
    display: none;
}
.top-user-box{
    margin: -10px 0 0 0;
    font-size: 1rem;
    width: 340px;
    border-radius: 10px;
    background-size: cover;
    background-image: url(https://img.julecn.com/userpicb/20220310/up8mayTi.png);
}
.top-user-box .info{
    padding: 10px 0 10px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.top-user-box .info img{
    width: 65px;
    height: 65px;
    border-radius: 50px;
    border: 1px solid #c2c2c2;
}
.top-user-box .info .logout{
    margin-right: 15px;
}
.top-user-box .info .nickname{
    font-size: 1.2rem;
    white-space: nowrap;
    margin-left: 15px;
    text-overflow: ellipsis;
    overflow: hidden;
}
.top-user-box .count{
    display: flex;
}
.top-user-box .count a{
    width: 25%;
    text-align: center;
    flex-flow: column;
    display: flex;
    text-decoration: none;
}
/*用户头部信息结束*/

/*首页开始*/
.index{
}
.index .header{
    display: flex;
    justify-content: flex-end;
    padding: 15px 15px 0 15px;
    align-items: center;
}
.index .header .header-nav{
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
}
.index .header ul.header-nav li{
    padding: 0 10px;
} 
.index .header .header-search{
    width: 250px;
    margin-left: 60px;
}
.index .arrposid{
    display: flex;
    padding: 0px 5px 0px 5px;
    margin: 0;
}
.index .arrposid .item{
    padding: 15px 10px 0 10px;
}
.index .arrposid .item img{
    width: 100%;
}
.index .advert{
    padding: 20px 15px 15px 15px;
}
.index .advert img{
    width: 100%;
}
.index .nav-nom{
    display: flex;
    flex-wrap: wrap;
    padding: 15px 15px 0 15px;
    position: relative;
}
.index .menu{
    max-width: var(--index-menu-width);
    width: 100%;
    padding: 0;
    margin: 0;
    
    background: #0000001a;
}
.index .menu .category-item{
    padding: 5px 10px;
}
.index .menu .category-item:hover{
    background: #88bdff;
}
.index .menu .category-item:hover .content{
    display: block;
    
}
.index .menu .category-item .title{
    display: flex;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
}
.index .menu .category-item .content{
    display: none;
    padding: 15px;
    position: absolute;
    left: calc(var(--index-menu-width) + 15px);
    right: 15px;
    top: 15px;
    bottom: 15px;
    background: #fff;
    z-index: 2;
    webkit-box-shadow: 0 8px 16px rgb(0 0 0 / 18%);
    box-shadow: 0 8px 16px rgb(0 0 0 / 18%);
}
.index .menu .category-item i{
    font-size: 2rem;
}
.index .roll{
    max-width: calc(100% - var(--index-menu-width));
    width: 100%;
}
.index .roll img{
    width: 100%;
}
@media (max-width: 768px){
    .index .roll {
        max-width: 100%;
    }
}

.index .random-recommend{
    padding-bottom: 15px;
}
.index .random-recommend .container .show-item{
    padding-top: 15px;
}
.index .random-recommend .container .show-item:hover a{
    border: 1px solid #e32323;
}
.index .random-recommend .container .show-item a{
    display: block;
    text-decoration: none;
    color: #000;
    padding: 5px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: border-color 0.1s;
}
.index .random-recommend .container .show-item .img-wrapper{
    aspect-ratio: 1 / 1;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}
.index .random-recommend .container .show-item .info-wrapper{
    margin-top: 10px;
}
.index .random-recommend .container .show-item .info-wrapper .product-name{
    word-break: break-all;
    margin-bottom: 0;
}
.index .random-recommend .container .show-item .price-wrapper{
    margin-top: 10px;
    display: flex;
    align-items: flex-end;
    flex-direction: row;
}
.index .random-recommend .container .show-item .price-wrapper .month-sale{
    margin-left: 10px;
    color: #000;
}
.index .random-recommend .container .show-item .price-wrapper .price-unit{
    font-size: 14px;
    line-height: 14px;
    margin-bottom: 1px;
    margin-right: 2px;
    color: #f00;
}
.index .random-recommend .container .show-item .price-wrapper .price-value{
    font-size: 2rem;
    line-height: 2rem;
    color: #f00;
    font-weight: 700;
}
.index .random-recommend .container .show-item img{
    width: 100%;
}

/*首页结束*/


/*产品展示页*/
.product-show .root{
    margin-left: 0;
    margin-right: 0;
}
.product-show .root .roll{
    padding-left: 0;
    padding-right: 0;
}
.product-show .root .roll .swiper img{
    width: 100%;
}
.product-show .root .product-panel{
    padding-left: 15px;
    padding-right: 15px;
}
.product-show .root .product-panel .product-name{
    font-weight: 700;
    font-size: 2rem;
}
.product-show .root .product-panel .specification{
    display: inline-flex;
    margin-top: 15px;
}
.product-show .root .product-panel .specification .el-radio{
    margin-right: .5rem;
}
.product-show .root .product-panel .product-price{
    display: flex;
    color: #f00;
    align-items: baseline;
}
.product-show .root .product-panel .product-price .num{
    font-size: 2rem;
    font-weight: 700;
}
.product-show .root .product-panel .category-name{
    white-space: nowrap;
    align-items: center;
}
.product-show .root .product-panel .num{
    display: flex;
    align-items: center;
}
/*产品展示页结束*/