.dm-cart-quote-action { margin-top:10px; display:flex; flex-direction:column; gap:6px; }
.dm-cart-quote-action .dm-create-quote-button { width:100%; text-align:center; background:#fff!important; color:#901813!important; border:1px solid #901813!important; }
.dm-cart-quote-action small { color:#666; line-height:1.35; }

.dm-quote-view { max-width:1000px; }
.dm-quote-view-head { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; margin-bottom:16px; }
.dm-quote-view-head h2 { margin-bottom:5px; }
.dm-quote-view-head p { margin:4px 0; }
.dm-quote-status { display:inline-block; padding:5px 10px; border-radius:14px; background:#f2f2f2; font-size:12px; white-space:normal; }
.dm-status-converted, .dm-status-accepted, .dm-order-status { background:#d7f0df; color:#176b35; }
.dm-status-expired, .dm-status-refused, .dm-status-cancelled { background:#f6d9d9; color:#8a2424; }
.dm-status-sent, .dm-status-viewed { background:#e5efff; color:#225ea8; }

.dm-quote-actions-top { margin:10px 0 22px; }
.dm-quote-products-table-wrap { overflow-x:auto; border:1px solid #e4e4e4; }
.dm-quote-products-table { width:100%; border-collapse:collapse; margin:0; }
.dm-quote-products-table th { background:#901813; color:#fff; text-align:left; padding:10px; font-size:13px; }
.dm-quote-products-table th:not(:first-child),
.dm-quote-products-table td:not(:first-child) { text-align:right; white-space:nowrap; }
.dm-quote-products-table td { padding:12px 10px; border-bottom:1px solid #e4e4e4; vertical-align:top; }
.dm-quote-products-table tbody tr:last-child td { border-bottom:0; }
.dm-quote-products-table td > small { display:block; color:#777; margin-top:3px; }
.dm-quote-product-meta { display:flex; flex-wrap:wrap; gap:4px 14px; color:#666; font-size:12px; margin-top:6px; }
.dm-quote-product-meta span { display:inline-block; }

.dm-quote-totals { display:flex; justify-content:flex-end; margin:20px 0; }
.dm-quote-totals table { min-width:360px; border-collapse:collapse; }
.dm-quote-totals th, .dm-quote-totals td { padding:7px 10px; border-bottom:1px solid #e5e5e5; }
.dm-quote-totals th { text-align:left; }
.dm-quote-totals td { text-align:right; }
.dm-quote-totals tr.total { background:#901813; color:#fff; font-size:16px; }

.dm-quote-note-front { background:#f7f7f7; border-left:3px solid #901813; padding:12px 14px; margin:20px 0; }
.dm-quote-decision { margin-top:25px; padding:18px; border:1px solid #ddd; }
.dm-quote-decision-buttons { display:flex; gap:10px; flex-wrap:wrap; }
.dm-quote-decision-buttons form { margin:0; }
.dm-quote-linked-order, .dm-quote-waiting, .dm-quote-update-request { margin-top:22px; padding:15px; background:#f7f7f7; border-left:3px solid #901813; }
.dm-quote-update-request form { margin:10px 0 0; }
.dm-quotes-table-wrap { overflow-x:auto; }

@media (max-width:700px) {
	.dm-quote-view-head { flex-direction:column; gap:8px; }
	.dm-quote-products-table th { font-size:11px; padding:8px 6px; }
	.dm-quote-products-table td { padding:9px 6px; font-size:12px; }
	.dm-quote-totals { justify-content:stretch; }
	.dm-quote-totals table { min-width:100%; width:100%; }
}