.compare {
    padding: 20px 0px 0px;
    min-height: 700px;
    background: #fff;
}

.compare .compare-head {
    width: 100%;
    height: 70px;
    position: relative;
}

.compare .compare-head h1 {
    display: inline-block;
    color: #333;
    font-size: 26px;
    font-weight: 500;
    line-height: 60px;
}

.compare .compare-head .compare-ext {
    position: absolute;
    right: 0;
    top: 15px;
}

.compare .compare-head .excel_download {
    margin-left: 30px;
    display: inline-block;
    cursor: pointer;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    border: solid 1px #d8d8d8;
    border-radius: 5px;
    padding: 3px 10px;
    background: #f4f4f5;
}


.compare .compare-del {
    display: block;
    overflow: hidden;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 15px;
}

.compare .compare-del i {
    font-size: 12px;
    color: #999;
}

.compare .compare-del i:hover {
    color: var(--core-color);
}


.compare .compare-img {
    margin-top: 15px;
    display: block;
    overflow: hidden;
    cursor: pointer;
}

.compare .compare-img img {
    width: 150px;
    height: 150px;
}

.compare .compare-title {
    margin: 10px 0;
    height: 50px;
    color: var(--core-color);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    padding-left: 3px;
    text-align: left;
}

.compare .compare-title a {
    font-size: 14px;
    font-weight: 500;
    line-height: 25px;
    display: block;
    color: #333333;
    transition: color ease 0.1s;
}


.compare .oplabin {
    text-align: left;
    padding-left: 30px;
    margin: 10px 0px;
}

/*加入购物车*/
.compare .compare-cart {
    margin: 5px 0px 10px 0px;
}

.compare .compare-cart .cart-btn {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    color: #ffffff;
    padding: 0 8px;
    background-color: var(--core-color);
    border: 1px solid var(--core-color);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

/*显示一样/不一样*/
.content .show-btn {
    color: #333;
    cursor: pointer;
    margin: 0 5px;
}

.content .show-btn.active {
    color: var(--core-color);
    cursor: auto;
}

.content .show-btn.active:hover {
    text-decoration: none;
}

.content .show-btn:hover {
    text-decoration: underline;
}


/*添加型号*/
.add_compare_product {
    margin: 15px 0;
}

.add_product_sn {
    box-sizing: border-box;
    width: 140px;
    border: 1px solid #ddd;
    padding: 0 10px;
    line-height: 30px;
    height: 30px;
    border-radius: 5px;
    margin-right: 5px;
    outline: none;
}

.add_product_sn_btn {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    color: #ffffff;
    padding: 0 8px;
    background-color: var(--core-color);
    border: 1px solid var(--core-color);
    border-radius: 5px;
    cursor: pointer;
}

/** Table 表格样式 **/
#tabvs {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #eaeaea !important;
    margin-bottom: 20px;
    font-size: 14px;
}

#tabvs th {
    border-collapse: collapse;
    border: 1px solid #eaeaea !important;
    padding: 5px 9px;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
}

#tabvs td {
    border-collapse: collapse;
    padding: 10px 10px;
    font-size: 14px;
    font-weight: normal;
    text-align: left;
    word-break: break-all;
    border: 1px solid #eaeaea;
    padding: 14px 16px;
}

#tabvs td label {
    font-weight: 500;
}

#tabvs td p {
    text-align: left;
    line-height: 24px;
}
