.spec-group {
            margin: 0.2rem 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        .spec-title {font-size: 13px; color: #666; font-weight: 500; margin-bottom: 0; flex-shrink: 0;}   
        .spec-options { display: flex; gap: 6px; flex-wrap: wrap; }
        .spec-btn {
            padding: 4px 10px;
            border: 1px solid #ddd; 
            border-radius: 4px; 
            cursor: pointer; 
            font-size: 12px;
            background: #fff; 
            transition: 0.2s;
        }
        .spec-btn.active {background: #2563eb; color: #fff; border-color: #2563eb;}
        
        .detail-price-block {display: flex; align-items: center; gap: 8px; margin: 0.2rem 0;}
        .detail-price {font-size: 24px; color: #e63946; font-weight: bold;}
        .detail-subtotal {font-size: 16px; color: #666;}
        .detail-stock {font-size: 14px; color: #666;}
        .detail-attrs {display: flex; flex-wrap: wrap; gap: 8px;}
        .detail-attr {padding: 6px 12px; background: #f5f5f5; border-radius: 4px; font-size: 13px; color: #666;}
        .detail-desc {padding: 1rem; background: #f9fafb; border-radius: 8px; line-height: 1.6; font-size: 14px; color: #666;}
        .detail-operation {display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem;}
        .detail-quantity {display: flex; align-items: center; gap: 8px;}
        .detail-quantity-btn {width: 40px; height: 40px; border: 1px solid #ddd; border-radius: 6px; cursor: pointer; font-size: 16px;}
        .detail-quantity-input {width: 80px; height: 40px; text-align: center; border: 1px solid #ddd; border-radius: 6px; outline: none; font-size: 16px;}
        .detail-remark {width: 100%; height: 44px; padding: 0 12px; border: 1px solid #ddd; border-radius: 6px; outline: none; font-size: 14px;}
        .detail-remark:focus {border-color: #2563eb;}
        .detail-btns {display: flex; gap: 0.6rem;}
        .detail-add-cart {flex: 1; padding: 0.8rem; background: #2563eb; color: #fff; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; transition: 0.2s;}
        .detail-add-cart:hover {background: #1d4ed8;}
        .detail-pay-btn {flex: 1; padding: 0.8rem; background: #e63946; color: #fff; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; transition: 0.2s;}
        .detail-pay-btn:hover {background: #dc2626;}
        .detail-cancel {flex: 1; padding: 0.8rem; background: #6b7680; color: #fff; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; transition: 0.2s;}
        .detail-cancel:hover {background: #4b4b63;}
        .detail-contact-btn {flex: 1; padding: 0.8rem; background: #10b981; color: #fff; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; transition: 0.2s;}
        .detail-contact-btn:hover {background: #059669;}
        .detail-tip {font-size: 14px; color: #2563eb; text-align: center; font-weight: 500;}
        
        /* 规格图文展示 */
        .spec-info-wrapper {
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid #eee;
        }
        .spec-info-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 0.8rem;
        }
        .spec-item-box {
            margin-bottom: 1rem;
            padding: 0.8rem;
            background: #f9fafb;
            border-radius: 8px;
        }
        .spec-item-title {
            font-size: 14px;
            font-weight: 600;
            color: #2563eb;
            margin-bottom: 0.5rem;
        }
        .spec-item-desc {
            font-size: 13px;
            color: #666;
            margin-bottom: 0.5rem;
            line-height: 1.5;
        }
        /* 规格图片轮播 */
        .spec-img-carousel {
            position: relative;
            width: 100%;
            height: 200px;
            border-radius: 8px;
            overflow: hidden;
            margin-top: 8px;
        }
        .spec-img-slide {
            width: 100%;
            height: 100%;
            display: none;
            cursor: zoom-in;
        }
        .spec-img-slide.active {display: block;}
        .spec-img-slide img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 8px;
            background: #f5f5f5;
        }
        /* 图片放大预览 */
        .img-preview-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.9);
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .img-preview-modal img {max-width: 90%; max-height: 90%; object-fit: contain;}
        .img-preview-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.2);
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
        }
        
        .detail-quantity-input:disabled,
        .detail-quantity-btn:disabled {
            background-color: #f5f5f5;
            color: #999;
            cursor: not-allowed;
            border-color: #ddd;
        }
        
        .cart-quantity-input:placeholder-shown { text-align: left; padding-left: 10px; }
        
        /* 移动端响应式 */
        @media (max-width: 768px) {
            .cart-toolbar {flex-wrap: wrap; align-items: center; gap: 0.8rem;}
            .check-all-btn {width: 100%;}
            .total-price {text-align: left; flex: 1;}
            .pay-btn {width: auto; padding: 0.6rem 1.5rem; white-space: nowrap;}
            .cart-item {padding: 0.8rem; gap: 0.8rem;}
            
            .cart-col1, .cart-col2, .cart-col3 {
                width: 100%;
                min-width: unset;
            }
            
            .cart-col3 {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                padding-top: 0.8rem;
                border-top: 1px solid #eee;
            }
            .cart-col3 .cart-price-group {text-align: left;}
            .cart-col3 .cart-quantity-input {width: 80px;}
            .cart-col3 .cart-del-btn {padding: 0.6rem 1rem; font-size: 0.9rem;}
            
            .cart-img {width: 60px; height: 60px;}
            .cart-col2-tags {gap: 0.3rem;}
            .cart-specs {font-size: 0.8rem; padding: 2px 5px;}
        }

        /* ========== 聊天弹窗样式 ========== */