/*
* app.css
* Editor: PhpStorm
* Author: liangguanyu <547931003@qq.com>
* Date: 2022/2/5 下午2:54
*/
body {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-text-size-adjust: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #fafafa;
    margin: 0;
    padding: 0;
    font-size: 13px;
    --main-color: #000;
    --yellow: #fc0;
    --font-size: 13px;
    --border-color: #f0f0f0;
    --container-width: 1100px;
    min-width: calc(var(--container-width) + 20px);
}
h1,h2,h3,h4,h5,p,ul,li{
    padding: 0;
    margin: 0;
}
[v-cloak] {
    visibility: hidden;
}
a{
    text-decoration: none;
    color: #333;
    cursor: pointer;
}
.block{
    width: 100% !important;
}
.text-primary{
    color: orangered;
}
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.flex {
    display: flex;
}

.flex-item {
    flex: 1;
}

.flex-middle {
    align-items: center;
}
.m-t-5{
    margin-top: 5px!important;
}
.m-t-10{
    margin-top: 10px!important;
}
.m-t-15{
    margin-top: 15px!important;
}
.m-t-20{
    margin-top: 20px!important;
}
.m-t-25{
    margin-top: 25px!important;
}
.m-t-30{
    margin-top: 30px!important;
}
.container{
    width: var(--container-width);
    margin: 0 auto;
}
.header{
    background: #fff;
}
.top{
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    background: #f7f8fc;
}
.top a + a{
    margin-left: 20px;
}
.top .el-dropdown{
    font-size: var(--font-size);
}
.search .el-button{
    background: var(--yellow)!important;
    border-color: var(--yellow);
    color: #000!important;
}
.search .el-input__inner{
    border-color: var(--yellow)!important;
    border-width: 2px;
}
.search .search-input .el-input__inner{
    border-top-right-radius: 0;border-bottom-right-radius: 0;

}

.main{
    min-height: calc(100vh - 200px);
}

.navbar{
    background: var(--main-color);
}
.navbar .el-menu{
    border-bottom: 0!important;
}

.navbar .el-menu-item,
.navbar .el-submenu__title{
    height: 50px!important;
    line-height: 50px!important;
    padding: 0!important;
    background: var(--main-color)!important;
    border-bottom-width: 0!important;

}
.navbar .el-menu-item.is-active{
    border-bottom-width: 0;
}
.navbar .el-menu-item{
    margin-right: 10px;
}
.navbar .el-menu-item a{
    padding:0 20px;
    line-height: 32px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 30px;
}
.navbar .el-menu-item.is-active a,
.navbar .el-menu-item:hover a{
    background-color: var(--yellow);
    color: #000;
}
.el-button--warning{
    background-color: var(--yellow) !important;
    border-color: var(--yellow);
    border:none;
    color: #000!important;
}
.el-button--warning:hover{
    opacity: 0.8;
}
.el-button--warning[disabled]{
    opacity: 0.4;
}
.header-user-popover{
    background-color: rgba(0,0,0,.98);
    color: #fff;
    border-color: #000;
    box-shadow:0 0 15px rgba(255,255,255,.3);
}
.header-user-popover a{
    color: #fff;
}
.header-user-popover .popper__arrow,
.header-user-popover .popper__arrow::after{
    border-bottom-color: #000!important;
}
.header-user-info p{
    font-size: 12px;
    margin-top: 3px;
}
.header-user-menu{
    padding: 0;
    margin:10px 0;
    list-style: none;
}
.header-user-menu li{
    font-size: 13px;
    padding: 6px 0;
}
.header-user-menu li:hover{
    opacity: 0.8;
}
.header-user-menu li a i{
    transform: scale(1.14);
    display: inline-block;
    margin-right: 4px;
}
.header-user-menu li a em{
    opacity: 0.6;
}
.header-user-menu li a span{
    margin-left: 5px;
    margin-right: 10px;
}
.el-pagination.is-background .el-pager li:not(.disabled):hover,
.el-pagination.is-background .el-pager li:not(.disabled).active{
    background-color: var(--main-color);
    color: var(--yellow);
}
.el-radio-button__orig-radio:hover+.el-radio-button__inner{
    color: var(--main-color);
}
.el-radio-button__orig-radio:checked+.el-radio-button__inner{
    background-color: var(--main-color);
    color: var(--yellow);
    border-color: var(--main-color);
    box-shadow: -1px 0 0 0 var(--main-color);
}
.el-loading-spinner .path{
    stroke: var(--main-color);
}
.dialog-middle{
    display: flex;
    align-items: center;
}
.dialog-middle .el-dialog{
    margin-top: inherit!important;
}

.pagination {
    list-style: none;
    padding: 10px;
    margin: 10px;
    text-align: center;
}
.pagination li{
    display: inline-block;
}
.pagination li span,.pagination li a{
    display: block;
    padding: 0 3px;
    line-height: 28px;
    min-width: 25px;
    margin: 5px;
    border-radius: 3px;
    background-color: #f4f4f5;
    color: #606266;
}
.pagination li.active span{
    color: var(--yellow)!important;
    background-color: var(--main-color);
}
.pagination li.disabled span{
    color: #c0c4cc;
    cursor: not-allowed;
}
/**
panel
 */
.panel{
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,.05);
}
.panel-header{
    border-bottom: 1px solid #f0f0f0;
    line-height: 3.2;
    font-size: 16px;
    margin: 0 15px;
    font-weight: 500;
}
.panel-body{
    padding:10px 15px;
}

/**
品牌格子
 */
.brand-item {
    background: #fff;
    text-align: center;
    margin-bottom: 15px;
    padding:15px 10px;
    line-height: 1;
    display: block;
    transition: all .2s ease;
}
.brand-item:hover{
    opacity: 0.8;
}
.brand-item-border{
    border:1px solid var(--border-color)
}
.brand-item img{
    height: 80px;

}
.brand-item-hover:hover{
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    transform: scale(1.1);
}
.brand-item-hover:hover img{

}
/**
型号格子
 */
.product-version-badge{
    font-style: normal;
    font-weight: normal;
    border:1px solid #ddd;
    color: #999;
    font-size: 14px;
    padding:5px 15px;
    border-radius: 30px;
    vertical-align: middle;
    margin-left: 5px;
}
.product-item{
    background: #fff;
    text-align: center;
    margin: 15px 0;
    padding: 10px 0;
    position: relative;
    overflow: hidden;
    display: block;
    transition: all 0.2s ease;
    border-radius: 5px;
}
.product-item-badge{
    position: absolute;
    right: 0;
    top: 0;
    background-color: orangered;
    color: #fff;
    padding: 3px 8px;
    font-size: 12px;
    text-align: center;
    display: inline-block;
    border-radius: 0 10px 0 10px;
    z-index: 3;
}
.product-item-badge-inline{
    position: inherit;
    padding:3px 5px;
    border-radius: 5px;
    transform: scale(0.8)
}
.product-item-border{
    border:1px solid var(--border-color);
}
.product-item-shadow{
    border: none;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}
.product-item-hover:hover{
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    transform: translateY(-5px);
    opacity: 0.9;
}
.product-item:hover .product-item-add-compare{
    visibility: visible;
    transform: translateX(0);
    opacity: 1;
}
.product-item-add-compare{
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,.7);
    box-shadow: 0 0 10px rgba(255,255,255,.1);
    color: #fff;
    padding:2px 5px;
    border-radius: 2px;
    font-size: 12px;
    visibility: hidden;
    cursor: pointer;
    transition: all .4s ease-in-out;
    transform: translateX(100%);
    opacity: 0;
}
.product-item .el-image,
.product-item img{
    height: 150px;
    margin: 0 10px;
    width: calc(100% - 20px);
}
.product-item h1{
    font-size: 14px;
    padding:5px 10px;
    height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-item p{
    color: #999;
    height: 18px;
}
.product-item-links{
    padding:0 10px;
}
.product-item-links a{
    border:1px solid #ddd;
    margin: 0 5px;
    line-height: 2.3;
}
.product-item-links a:hover{
    background: var(--yellow);
    border-color: var(--yellow);
}

/**
评论卡片
 */
.comment-item{
    background-color: #fff;
    padding: 10px 15px 15px 15px;
    margin:10px 0;
    border-radius: 5px;
    background: url("../img/comment-bg.png") no-repeat;
    background-size: 120px;
    background-position-y: 3px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: 0.2s;
}
.comment-item:hover{
    opacity: 0.9;
    transform: translateY(-5px);
}
.comment-item-score strong{
    font-size: 24px;
    display: inline-block;
    padding-right: 2px;
}
.comment-item-product{
    margin-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.comment-item-product p{
    margin-top: 3px;
}
.comment-item-product .el-image{
    margin-right: 15px;
    width: 70px;height: 70px;
    opacity: 0.95;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}
.comment-item-user{
    margin: 15px 0 10px 0;
}
.comment-item-user .el-avatar{
    margin-right: 10px;
}
.comment-item-content{
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor:pointer;
    display: -webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient: vertical;
    min-height: 65px;
    color: #444;
    line-height: 1.7;
}
.comment-tool a{
    background: #f0f0f0;
    border-radius: 5px;
    margin-left: 10px;
    color: #333;
    font-size: 13px;
    padding: 6px;
}
.comment-tool a.disabled{
    color: #999;
    opacity: 0.8;
}
/**
底部
 */
.footer{
    background-color: var(--main-color);
    padding: 30px 0;
    margin-top: 30px;
    color: #fff;

}
.footer a{
    color: #fff;
}
.footer-light .footer{
    background-color: transparent;
    margin-top: 0;
    color: #999;
}
.footer-light .footer a{
    color: #999;
}

.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #ffcc00;
    border-color: #ffcc00;
    color: #000;
}
.el-checkbox__inner::after{
    border-color: #000;
}
.el-checkbox__input.is-checked+.el-checkbox__label{
    color: #666;
}

/**
登录弹窗
 */
.login-dialog .el-dialog__body{
    padding: 10px 30px 30px 30px;
}
.login-dialog .el-dialog__header{
    padding:30px 30px 20px 30px;

}
.login-dialog .el-dialog__header .el-dialog__title{
    font-size: 24px;
    font-weight: 500;
    text-align: center;
}
.login-dialog .el-tabs{
    text-align: center;
}
.login-dialog .el-tabs__header{
    margin-bottom: 15px;
    display: inline-block;
}
.login-dialog .el-tabs__nav-wrap::after{
    background-color: transparent !important;
}
.login-dialog .el-tabs__item{
    position: relative;
    font-size: 15px;
    color: #666;
}
.login-dialog .el-tabs__item:not(:last-child):after{
    content:"";
    position: absolute;
    top:50%;
    margin-top: -8px;
    height: 16px;
    width: 1px;
    background-color: #eee;
    right: 0;
}
.login-dialog .el-tabs__item.is-active{
    color: var(--main-color);
}
.login-dialog .el-tabs__active-bar{
    background-color: var(--yellow);
    height: 4px;
}
.login-dialog .el-tabs__content{
    margin-top: 10px;
    text-align: left;
}
.login-dialog  .el-input__inner{
    background-color: #f7f7f7;
    border: none;
    height: 44px;
    line-height: 44px;
}

/**
会员中心
 */

.user-container{
    min-height: 620px;
}

.h5_preview_dialog .el-dialog__header {
    color: #fff;
    background: var(--main-color) !important;
    border-radius: 2px 2px 0 0;
    padding: 20px 15px 15px;
}
.h5_preview_dialog .el-dialog__title{
    color: #fff;
}

/**
评论弹窗
 */

.comment-dialog .el-dialog__header {
    color: #fff;
    background: var(--main-color) !important;
    border-radius: 2px 2px 0 0;
    padding: 20px 15px 15px;
}
.comment-dialog .el-dialog__title{
    color: #fff;
}
.comment-dialog .el-form-item__label{
    line-height: 1;
}

/**
用户中心
 */
.user-center-header{
    border-bottom: 2px solid #eee;

}
.user-center-header h1{
    display: inline-block;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 15px;
    margin-bottom: -2px;
    width: 170px;
    font-weight: 500;
    font-size: 24px;
    text-align: center;
}
.sidebar{
    width: 170px;margin-right: 20px;
}
.sidebar ul li{
    list-style: none;
    border-bottom: 1px solid #eee;

}

.sidebar ul li a{
    display: block;
    padding: 15px 0;
    padding-left: 30px;
    font-size: 14px;

}
.sidebar ul li a i{
    font-size: 20px;
    vertical-align: -2px;
    width: 30px;
    text-align: center;
    color: #999;
}
.sidebar ul li.active{
    background: var(--yellow);
    border-radius: 3px;
}
.sidebar ul li.active *{
    color: var(--main-color);
}

.swiperBox {
    height: 120px;
    width: 100%;
    padding-top: 10px;
    position: relative;
}

.directionIcon:hover {
    opacity: 1;
}
#swiper {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.imgBox {
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    display: flex;
}
.imgDiv {
    width: 100%;
    margin-left: 15px;
    text-align: center;
}
.imgDiv:hover img{
    transform: scale(1.1);
    opacity: 0.8;
}
.imgDiv img {
    height: 80px;
    width: auto;
    transition: all 0.2s ease;
/*width: 260 px;*/
/* height: 120 px;*/
}

.service-item{

}
.service-item i{
    font-size: 34px;
    margin-right: 10px;
}
.service-item  h2{
    margin-bottom: 5px;
    font-size: 16px;
}
.service-item p{
    color: #666;
}

