
.inquiry-cart-btn {
    position: fixed;
    right: 0;
    bottom: 280px;
    width: 44px;
    height: 44px;
    background-color: #005eaf;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 999;
}

.inquiry-cart-btn .icon-cart {
    color: #fff;
    font-size: 24px;
    display: inline-block;
    width: 24px;
    height: 24px;
    /*
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 2L3 6V20C3 20.5304 3.21071 21.0391 3.58579 21.4142C3.96086 21.7893 4.46957 22 5 22H19C19.5304 22 20.0391 21.7893 20.4142 21.4142C20.7893 21.0391 21 20.5304 21 20V6L18 2H6Z' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3 6H21' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16 10C16 11.0609 15.5786 12.0783 14.8284 12.8284C14.0783 13.5786 13.0609 14 12 14C10.9391 14 9.92172 13.5786 9.17157 12.8284C8.42143 12.0783 8 11.0609 8 10' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    */
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 2L3 6V20C3 20.5304 3.21071 21.0391 3.58579 21.4142C3.96086 21.7893 4.46957 22 5 22H19C19.5304 22 20.0391 21.7893 20.4142 21.4142C20.7893 21.0391 21 20.5304 21 20V6L18 2H6Z' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3 6H21' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16 10C16 11.0609 15.5786 12.0783 14.8284 12.8284C14.0783 13.5786 13.0609 14 12 14C10.9391 14 9.92172 13.5786 9.17157 12.8284C8.42143 12.0783 8 11.0609 8 10' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.inquiry-cart-btn .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: #fff;
    font-size: 12px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.compare-panel {
    position: fixed;
    right: 50px;
    bottom: 200px;
    width: 320px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    z-index: 998;
    display: none;
}


.panel-header {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    /*
    display: flex;
    justify-content: space-between;
    align-items: center;*/
}

.inquiry-pro-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.inquiry-pro-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.inquiry-pro-list .pro-item-img {
    width: 60px;
    height: 60px;
    border:1px solid #eee;
    margin-right: 10px;
}


.inquiry-pro-list .pro-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inquiry-pro-list .pro-item-info {
    flex: 1;
}

.inquiry-pro-list .pro-item-name {
    margin-bottom: 5px;
}

.inquiry-pro-list .pro-item-num {
    display: flex;
    align-items: center;
}

.inquiry-pro-list .quantity-btn {
    padding: 2px 8px;
    border: 0px solid #ddd;
    background: #f5f5f5;
    cursor: pointer;
}

.inquiry-pro-list .pro-item-num input {
    width: 40px;
    text-align: center;
    margin: 0 5px;
    border: 1px solid #ddd;
}

.inquiry-pro-list .pro-item-del {
    color: #ff4444;
    cursor: pointer;
    padding: 0 5px;
}

/* 原有样式保持不变 */

.panel-header {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.panel-actions {
    display: flex;
    gap: 8px;
}

.btn-action {
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-action:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.btn-action.close {
    padding: 4px 8px;
    font-size: 16px;
    line-height: 1;
}

.panel-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    text-align: center;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
    display: ;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 10px 20px;
    background: #2196F3;
    color: #fff!important;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    box-sizing: border-box;
}

.btn-submit:hover {
    opacity: 0.85;
}



.inquiry-form{
    width:100%;
    box-sizing: border-box;
    border:1px solid #DDD;
    margin-bottom: 20px;
}
.inquiry-form .inquiry-pro-item{
    display:flex;
    justify-content:
    space-between;
    align-items:center;
    width:90%;
    padding:20px 5%;
    border-bottom:1px solid #DDD;
}
.inquiry-form .inquiry-pro-item:last-child{border:none}
.inquiry-form .pro-item-name{width:50%}
.inquiry-form .pro-item-img {
    width: 80px;
    height: 80px;
    margin-right: 100px;
}
.inquiry-form .pro-item-img img{max-height:100px}
.inquiry-form .pro-item-name p{margin-top:6px}
.inquiry-form .pro-item-name p a{max-width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:40px;word-break:break-word;max-height:39px}
.inquiry-form .pro-item-del{
    cursor:pointer;
    padding:10px;
    font-size:20px; 
    font-family:'SimHei'; 
    font-weight:bold;
}



.inquiry-views-form{
    width:100%;
    box-sizing: border-box;
    border:1px solid #DDD;
    margin-bottom: 20px;
}

.inquiry-views-form .quantity-btn{
    display: none;
}

.inquiry-views-form .pro-item-num input {
    border: 0;
    pointer-events: none;
    background: transparent;
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
    margin-left: 30px;
}

.inquiry-views-form .pro-item-num {
    position: relative;
}

.inquiry-views-form .pro-item-num::before {
    content: "数量";
    position: absolute;
    left: 0;
    color: #666;
}


.inquiry-views-form .inquiry-pro-item{
    display:flex;
    justify-content:
    space-between;
    align-items:center;

    padding:20px 5%;
    border-bottom:1px solid #DDD;
}
.inquiry-views-form .inquiry-pro-item:last-child{border:none}
.inquiry-views-form .pro-item-name{width:50%}
.inquiry-views-form .pro-item-img {
    width: 80px;
    height: 80px;
    margin-right: 100px;
}
.inquiry-views-form .pro-item-img img{max-height:100px}
.inquiry-views-form .pro-item-name p{margin-top:6px}
.inquiry-views-form .pro-item-name p a{max-width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:40px;word-break:break-word;max-height:39px}
.inquiry-views-form .pro-item-del{
    display: none;
}

#dr_row_inquiryprolist{ display:none;}

@media screen and (max-width: 640px) {
    .inquiry-cart-btn,
    .compare-panel {
        bottom: 50px!important;
    }

    .inquiry-form .pro-item-img {
        margin-right: 10px;
    }
    
    .inquiry-form .inquiry-pro-item{
        width: 98%;
    }

}