/* ============ Page Banner ============ */
.page-banner { background: #f0f0f0; padding: 50px 0 40px; text-align: center; border-bottom: 1px solid #eee; }
.page-banner h1 { font-size: 30px; font-weight: 700; color: #434343; margin-bottom: 12px; letter-spacing: 2px; }
.breadcrumb { font-size: 13px; color: #888; }
.breadcrumb a { color: #434343; font-weight: 600; text-decoration: underline; }
.breadcrumb a:hover { color: #F5A623; }
.breadcrumb span { margin: 0 6px; }
.breadcrumb .current { color: #888; }

/* ============ Cart Main ============ */
.cart-main { padding: 40px 0 60px; }

/* ============ Empty Cart ============ */
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 0; }
.cart-empty i { font-size: 64px; color: #ddd; margin-bottom: 20px; }
.cart-empty p { font-size: 16px; color: #999; margin-bottom: 25px; }
.btn-go-shopping { display: inline-block; padding: 10px 30px; background: #F5A623; color: #fff; font-size: 14px; font-weight: 500; border-radius: 2px; transition: background .3s; }
.btn-go-shopping:hover { background: #e09500; }

/* ============ Cart Table ============ */
.cart-table-wrap { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table thead { background: #f9f9f9; border-bottom: 2px solid #eee; }
.cart-table th { padding: 14px 12px; font-size: 13px; font-weight: 600; color: #666; text-align: left; white-space: nowrap; }
.cart-table td { padding: 18px 12px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }

.col-product { min-width: 280px; }
.col-model { min-width: 140px; font-size: 13px; color: #666; font-weight: 500; }
.col-qty { min-width: 120px; }
.col-action { width: 60px; text-align: center !important; }

/* ============ Cart Product Cell ============ */
.cart-product { display: flex; align-items: center; gap: 15px; }
.cart-product-img { flex: 0 0 70px; height: 70px; background: #f9f9f9; display: flex; align-items: center; justify-content: center; border: 1px solid #eee; }
.cart-product-img img { max-width: 60px; max-height: 60px; }
.cart-product-name h4 { font-size: 14px; font-weight: 600; color: #434343; margin-bottom: 4px; }
.cart-product-name p { font-size: 12px; color: #999; }

/* ============ Quantity Control ============ */
.qty-control { display: inline-flex; align-items: center; border: 1px solid #ddd; border-radius: 2px; overflow: hidden; }
.qty-btn { width: 30px; height: 30px; background: #f9f9f9; border: none; font-size: 14px; color: #666; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .3s; }
.qty-btn:hover { background: #eee; }
.qty-input { width: 44px; height: 30px; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; text-align: center; font-size: 13px; color: #434343; font-family: inherit; outline: none; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ============ Remove Button ============ */
.btn-remove { color: #ccc; font-size: 15px; transition: color .3s; }
.btn-remove:hover { color: #e74c3c; }

/* ============ Cart Bottom Bar ============ */
.cart-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; margin-top: 10px;}
.cart-bottom-left { display: flex; align-items: center; gap: 20px; }
.btn-continue { font-size: 13px; color: #F5A623; font-weight: 500; }
.btn-continue:hover { text-decoration: underline; }

.btn-download { padding: 12px 28px; background: #fff; border: 1px solid #ddd; color: #666; font-size: 14px; font-weight: 500; cursor: pointer; border-radius: 2px; transition: all .3s; font-family: inherit; }
.btn-download:hover { border-color: #F5A623; color: #F5A623; }
.btn-download i { margin-right: 4px; }
.btn-inquiry { padding: 12px 40px; background: #F5A623; border: none; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; border-radius: 2px; transition: background .3s; font-family: inherit; }
.btn-inquiry:hover { background: #e09500; }

/* ============ Clear Cart Button ============ */
.btn-clear-cart { padding: 12px 28px; background: #fff; border: 1px solid #e74c3c; color: #e74c3c; font-size: 14px; font-weight: 500; cursor: pointer; border-radius: 2px; transition: all .3s; font-family: inherit; }
.btn-clear-cart:hover { background: #e74c3c; color: #fff; }
.btn-clear-cart i { margin-right: 4px; }
.cart-bottom-right { display: flex; align-items: center; gap: 10px; }

/* ============ Inquiry Modal ============ */
.inquiry-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s; }
.inquiry-modal-overlay.show { opacity: 1; visibility: visible; }
.inquiry-modal { background: #fff; width: 580px; max-width: 90vw; max-height: 90vh; overflow-y: auto; border-radius: 6px; padding: 36px 40px; position: relative; transform: translateY(30px); transition: transform .3s; }
.inquiry-modal-overlay.show .inquiry-modal { transform: translateY(0); }
.inquiry-modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 26px; color: #999; cursor: pointer; transition: color .3s; line-height: 1; }
.inquiry-modal-close:hover { color: #434343; }
.inquiry-modal h3 { font-size: 22px; font-weight: 700; color: #434343; margin-bottom: 8px; }
.inquiry-modal-desc { font-size: 13px; color: #999; margin-bottom: 24px; }
.inquiry-form-row { display: flex; gap: 16px; }
.inquiry-form-row .inquiry-form-group { flex: 1; }
.inquiry-form-group { margin-bottom: 18px; }
.inquiry-form-group label { display: block; font-size: 14px; font-weight: 600; color: #434343; margin-bottom: 6px; }
.inquiry-form-group label .required { color: #e74c3c; }
.inquiry-form-group input,
.inquiry-form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 3px; font-size: 14px; font-family: inherit; color: #434343; outline: none; transition: border-color .3s; box-sizing: border-box; }
.inquiry-form-group input:focus,
.inquiry-form-group textarea:focus { border-color: #F5A623; }
.inquiry-form-group input::placeholder,
.inquiry-form-group textarea::placeholder { color: #bbb; }
.inquiry-form-group textarea { resize: vertical; min-height: 100px; }
.inquiry-submit-btn { padding: 12px 40px; background: #F5A623; border: none; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; border-radius: 4px; transition: background .3s; font-family: inherit; }
.inquiry-submit-btn:hover { background: #e09500; }
.inquiry-submit-btn:disabled { background: #ccc; cursor: not-allowed; }

/* ============ Responsive ============ */
@media (max-width: 768px) {
    .cart-bottom { flex-direction: column; gap: 15px; align-items: flex-start; }
    .cart-bottom-right { width: 100%; flex-wrap: wrap; justify-content: space-between; }
    .inquiry-modal { padding: 24px 20px; }
    .inquiry-form-row { flex-direction: column; gap: 0; }
}
