/* LVMH RFQ — ส่วนที่ธีม (ม็อกอัป) ยังไม่มี · หน้าตาหลักอยู่ใน CSS ของธีม */
.rfq-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rfq-error { color: var(--c-danger, var(--c-danger)); font-weight: 600; margin: 14px 0 0; }
.rfq-form [hidden] { display: none !important; }
.rfq-items .q-item { display: grid; grid-template-columns: 72px 1fr auto 32px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--c-line, var(--c-line)); }
.rfq-items .q-item:last-child { border-bottom: 0; }
.rfq-items .q-img { width: 72px; height: 72px; background: var(--c-bg, var(--c-bg)); display: grid; place-items: center; }
.rfq-items .q-img img { max-width: 90%; max-height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.rfq-items .q-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rfq-items .q-info b { font-size: 15px; line-height: 1.4; }
.rfq-items .q-note { padding: 8px 10px; font-size: 13px; margin-top: 4px; }
.rfq-items .q-qty { display: flex; gap: 8px; align-items: center; }
.rfq-items .q-unit { width: auto; padding: 8px 10px; font-size: 14px; }
.rfq-items .q-remove { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--c-muted, var(--c-muted)); cursor: pointer; }
.rfq-items .q-remove:hover { color: var(--c-danger, var(--c-danger)); }
.rfq-items .qty { display: inline-flex; border: 1px solid var(--c-line, var(--c-line)); }
.rfq-items .qty button { width: 34px; border: 0; background: var(--c-surface); cursor: pointer; font-size: 16px; }
.rfq-items .qty input { width: 56px; border: 0; text-align: center; -moz-appearance: textfield; }
.rfq-items .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.rfq-empty { padding: 24px 0; text-align: center; }
.dropzone { cursor: pointer; }
.btn.is-added { filter: saturate(.6); }
.rfq-doc-note { background: var(--c-accent-50, var(--c-accent-50)); padding: 10px 14px; margin: 0 0 14px; }
@media (max-width: 700px) {
	.rfq-items .q-item { grid-template-columns: 56px 1fr 28px; }
	.rfq-items .q-qty { grid-column: 2 / 3; }
	.rfq-items .q-img { width: 56px; height: 56px; }
}

/* ค้นหาแล้วเพิ่มสินค้า (หน้าใบเสนอราคา) */
.rfq-add-toggle { background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.rfq-add { position: relative; margin: var(--sp-4) 0 var(--sp-2); }
.rfq-add .input-group > span [data-lucide] { width: 18px; height: 18px; }
.rfq-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: var(--sp-1) 0; list-style: none; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--ui-radius-box); box-shadow: var(--shadow); max-height: 360px; overflow-y: auto; }
.rfq-result { display: grid; grid-template-columns: 44px 1fr auto; gap: var(--sp-3); align-items: center; padding: var(--sp-2) var(--sp-3); cursor: pointer; }
.rfq-result.is-active, .rfq-result:hover { background: var(--ui-primary-soft); }
.rfq-result-img { width: 44px; height: 44px; background: var(--c-bg); display: grid; place-items: center; overflow: hidden; }
.rfq-result-img img { width: 100%; height: 100%; object-fit: contain; }
.rfq-result-name { font-size: var(--fs-sm); line-height: 1.4; }
.rfq-result-name small { display: block; }
.rfq-result-empty { padding: var(--sp-3) var(--sp-4); font-size: var(--fs-sm); color: var(--c-muted); }

/* ตะกร้าว่าง: ชวนเลือกสินค้า */
.rfq-empty-state { text-align: center; padding: var(--sp-5) var(--sp-3) var(--sp-3); display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); }
.rfq-empty-state b { font: 600 17px var(--font-head); color: var(--c-navy-900); }
.rfq-empty-state p { margin: 0; max-width: 520px; font-size: var(--fs-sm); }
.rfq-empty-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--ui-primary-soft); color: var(--ui-primary); display: grid; place-items: center; }
.rfq-empty-ico [data-lucide] { width: 24px; height: 24px; }
.rfq-empty-groups { justify-content: center; --gap: var(--sp-2); }

/* ส่งรายการทาง LINE (ใต้รายการสินค้า) · การชำระเงิน (คอลัมน์ขวา) */
.rfq-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--c-line, #e5e7eb); }
.rfq-line[hidden] { display: none; }
.rfq-line .btn svg { width: 18px; height: 18px; flex: none; }
.rfq-payment { margin-top: 20px; }
.rfq-payment h4 { margin: 0 0 6px; }
.rfq-bank { list-style: none; margin: 0; padding: 12px 14px; background: var(--c-bg, #f5f7fa); font-size: 14px; line-height: 1.6; }
.rfq-bank li:nth-child(2) { font-weight: 700; color: var(--c-navy, #08285a); }
