/* RB Estimates — estimate page + account list. Uses the theme palette vars
   (assets/theme.css :root) when present, with safe fallbacks. */

/* Colour comes from .btn-amber (theme.css); this only positions the button. */
.rb-add-to-estimate { margin-top: 8px; }

.rb-estimate { max-width: none; margin: 0; }

.rb-estimate-empty { max-width: 640px; padding: 20px 0 40px; }
.rb-estimate-empty h3 { font-size: 1.3rem; margin: 0 0 8px; }
.rb-estimate-empty p { color: var(--ink-soft, #4b5548); margin: 0 0 16px; }
.rb-estimate-table { width: 100%; border-collapse: collapse; }
.rb-estimate-table th {
	background: var(--wash-2, #eef2e7); text-align: left; font-size: .72rem; text-transform: uppercase;
	letter-spacing: .03em; color: var(--ink-soft, #4b5548); padding: 10px 8px; border-bottom: 2px solid var(--line, #e3e7dd);
}
.rb-estimate-table td { padding: 14px 8px; border-bottom: 1px solid var(--line, #e3e7dd); vertical-align: middle; }
.rb-est-prod { display: flex; gap: 12px; align-items: center; }
.rb-est-prod img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line, #e3e7dd); border-radius: 6px; background: #fff; }
.rb-est-prod a { font-weight: 600; color: var(--ink, #1c2318); }
.rb-est-sku { font-size: .78rem; color: var(--ink-soft, #4b5548); }
.rb-est-qty { width: 68px; text-align: center; border: 1px solid var(--line-2, #d3dac9); border-radius: 6px; padding: .45em; }
.rb-est-remove { background: none; border: 0; color: var(--red, #c0392b); font-size: 1.1rem; cursor: pointer; }

.rb-estimate-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 18px; }
.rb-estimate-note { flex: 1 1 320px; font-size: .82rem; color: var(--ink-soft, #4b5548); }
.rb-estimate-summary { flex: 0 0 280px; }

.rb-estimate-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.rb-estimate-login { font-size: .85rem; color: var(--ink-soft, #4b5548); margin-top: 10px; }

.rb-estimates-list .rb-est-row-actions { white-space: nowrap; }
.rb-estimates-list .btn, .rb-estimates-list .button { padding: .4em .8em; font-size: .82rem; }

/* Header estimate count badge (matches the cart badge) */
.est-count { background: var(--navy, #1f3a5f) !important; color: #fff !important; }
