﻿
.compare-panel {
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: 990;
    display: none;
    box-sizing: border-box;
    width: 100%;
    height: 100px;
    background: #f1f1f1;
    font-size: 14px
}

.compare-panel .button-area {
    float: right;
    display: flex;
    height: 100%;
    color: #FFF;
    align-items: center
}

.compare-panel .button-area>div:first-child {
    display: flex;
    flex-direction: column;
    padding: 0px 20px
}

.compare-panel .button-area .contact-button {
    margin: 0;
    padding: 0px 12px;
    border: none;
    border-radius: 3px;
    color: #FFF;
    font-size: 13px;
    line-height: 28px;
    cursor: pointer;
    width: 100%;
    background: linear-gradient(135deg, #214c96, #588be4);
    text-align: center;
}

.clear-all,
.close {
    position: relative;
    display: inline-block;
    color: #666;
    vertical-align: middle;
    opacity: .5
}

.clear-all .ic-close,
.close .ic-close {
    position: absolute;
    top: 45px;
    left: 12px;
    width: 32px;
    height: 32px
}

.clear-all .ic-close:after,
.clear-all .ic-close:before,
.close .ic-close:after,
.close .ic-close:before {
    position: absolute;
    left: 15px;
    width: 2px;
    height: 16px;
    background-color: #FFF;
    content: ""
}

.clear-all .ic-close:before,
.close .ic-close:before {
    transform: rotate(45deg)
}

.clear-all .ic-close:after,
.close .ic-close:after {
    transform: rotate(-45deg)
}

.button-area .clear-all {
    cursor: pointer;
    width: 60px;
    height: 100%;
    background: #aaa;
    text-align: center;
    display: inline-grid;
    align-items: center;
    justify-content: center;
    margin-left: 10px
}

.button-area .clear-all img {
    width: 24px
}

.button-area .close {
    position: relative;
    display: inline-grid;
    width: 60px;
    height: 100%;
    background: #999;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    align-items: Center
}

.button-area .close i {
    color: #FFF
}

.list-wrapper {
    position: relative;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    margin-right: 350px;
    height: 100%;
    align-items: center;
    padding-left: 0px
}

.list-wrapper::-webkit-scrollbar {
    height: 8px
}

.list-wrapper::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: rgba(0, 0, 0, .1)
}

.list-wrapper::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgba(0, 0, 0, .3)
}

.list-wrapper .next,
.list-wrapper .pre {
    position: absolute;
    top: 0px;
    display: block;
    width: 32px;
    height: 60px;
    color: #999;
    font-size: 32px;
    line-height: 60px;
    cursor: pointer
}

.list-wrapper .next {
    right: 0px;
    color: #FFF;
    text-align: right
}

.list-wrapper .item-clear {
    position: relative;
    float: right;
    display: flex;
    box-sizing: border-box;
    width: 20px;
    height: 100%;
    border-left: 1px solid #ebecf0;
    cursor: pointer;
    justify-content: center;
    align-items: center
}

.list-wrapper .item-clear .ic-close {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%
}

.list-wrapper .item-clear .ic-close:after,
.list-wrapper .item-clear .ic-close:before {
    position: absolute;
    top: 42%;
    left: 8px;
    width: 2px;
    height: 10px;
    background-color: #2a2a2a;
    content: ""
}

.list-wrapper .item-clear .ic-close:before {
    transform: rotate(45deg)
}

.list-wrapper .item-clear .ic-close:after {
    transform: rotate(-45deg)
}

.list-wrapper .item-clear .fa {
    color: #c4c6cf
}

.list-wrapper .item-content {
    display: flex;
    overflow: hidden;
    padding: 4px;
    justify-content: center;
    align-items: center
}

.list-wrapper .item-img {
    float: left;
    display: flex;
    overflow: hidden;
    width: 80px;
    height: 60px;
    align-items: center
}

.list-wrapper .item-img img {
    width: 100%
}

.list-wrapper .item-title {
    display: block;
    display: -webkit-box;
    overflow: hidden;
    margin-left: 10px;
    padding-right: 4px;
    width: calc(100% - 80px);
    max-height: 35px;
    color: #666;
    text-overflow: ellipsis;
    font-size: 12px;
    line-height: 18px;
    word-break: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.selected-item .item-box {
    width: 220px;
    height: 68px;
    background: #FFF
}

.cart-list {
    padding: 0px 32px
}

.selected-all {
    display: flex;
    margin-left: 0px
}

.selected-item {
    padding: 10px 6px
}

.orderNow {
    margin: 8px 20px 0 auto;
    background: linear-gradient(135deg, #f66f08, #ffa35f);
    color: #FFF;
    line-height: 28px;
    padding: 0px 12px;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    cursor: pointer;
    display: block;
    width: 100%
}

.orderlayer {
    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 999;
    display: flex;
    align-items: flex-start;
    padding-top: 15%;
    justify-content: center;
    background: rgba(0, 0, 0, .5)
}

.orderlayer::before {
    content: '';
    display: block;
    width: 100px;
    height: 100px;
    position: absolute;
    top: 40%;
    left: 50%;
    margin: -50px 0 0 -50px;
    background: url(../images/lodding.webp) no-repeat center;
    background-size: cover;
    animation: swiper-preloader-spin 4s linear infinite
}

.comparenum {
    color: #999
}
