/* =========================================
   询价车页面专属样式 (自动适配所有主题)
   ========================================= */
.cart-container { max-width: 800px; margin: 60px auto; padding: 0 20px; }
.cart-card { background: var(--bg-dark); border: 1px solid rgba(128, 128, 128, 0.2); border-radius: 8px; padding: 30px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.cart-card h2 { font-size: 1.2rem; color: var(--gold); margin-bottom: 20px; border-bottom: 1px solid rgba(128,128,128,0.2); padding-bottom: 15px; font-weight: normal; }

/* 商品列表 */
.cart-list { list-style: none; padding: 0; margin: 0; }
.cart-item { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid rgba(128,128,128,0.2); }
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; border: 1px solid rgba(128,128,128,0.2); }
.cart-item-info { flex: 1; }
.cart-item-info h4 { margin: 0 0 5px; color: var(--text-light); font-size: 1rem; font-weight: normal; }
.cart-item-del { color: #ff4d4f; cursor: pointer; font-size: 0.85rem; border: none; background: none; transition: 0.3s; }
.cart-item-del:hover { color: #ff7875; text-decoration: underline; }

/* 空状态 */
.empty-cart { text-align: center; padding: 40px 0; color: var(--text-gray); }
.empty-cart svg { width: 60px; height: 60px; margin-bottom: 15px; fill: var(--text-gray); opacity: 0.3; }
.empty-cart a { color: var(--gold); text-decoration: none; margin-top: 10px; display: inline-block; }

/* 表单 */
.form-group-cart { margin-bottom: 20px; }
.form-group-cart label { display: block; color: var(--text-gray); margin-bottom: 8px; font-size: 0.9rem; }
.form-group-cart input, .form-group-cart textarea {
    width: 100%; padding: 12px 15px; background: rgba(128,128,128,0.05);
    border: 1px solid rgba(128,128,128,0.2); color: var(--text-light); border-radius: 4px; outline: none; transition: 0.3s; font-family: inherit; font-size: 0.95rem;
}
.form-group-cart input:focus, .form-group-cart textarea:focus { border-color: var(--gold); background: rgba(128,128,128,0.1); }
.form-group-cart textarea { resize: vertical; height: 100px; }

/* 验证码 */
.captcha-group { display: flex; gap: 10px; align-items: center; }
.captcha-group input { flex: 1; }
.captcha-group img { height: 46px; border-radius: 4px; cursor: pointer; border: 1px solid rgba(128,128,128,0.2); }

/* 按钮 */
.btn-submit-cart {
    display: block; width: 100%; padding: 15px; background: var(--gold); color: #111;
    border: none; border-radius: 4px; font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: 0.3s; letter-spacing: 1px;
}
.btn-submit-cart:hover { opacity: 0.85; }

@media (max-width: 768px) {
    .cart-container { margin: 30px auto; }
    .cart-card { padding: 20px; }
}