/* Cost calculator: builds on softener-calculator.css (.hwiq-calc base styles). */
.hwiq-cost .cost-summary { color: #fff; font-weight: 500; }
.hwiq-cost .calc-big { font-size: 40px; }
.hwiq-cost .cost-options { grid-column: 1 / -1; min-width: 0; }
.hwiq-cost .cost-heading { margin: 8px 0 14px; font-size: 22px; }
.hwiq-cost .cost-option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.hwiq-cost .cost-option { margin: 0; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.hwiq-cost .cost-option legend { font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--navy); padding: 0 6px; margin-left: -6px; }
.hwiq-cost .cost-option .calc-hint { margin: 0 0 4px; font-size: 13px; }
.hwiq-cost .cost-option label { font-size: 14px; margin: 4px 0 2px; }
.hwiq-cost .cost-option input { max-width: 100%; font-size: 16px; padding: 8px 10px; }
.hwiq-cost .cost-table-wrap { margin: 20px 0 0; overflow-x: auto; }
.hwiq-cost .cost-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.hwiq-cost .cost-table th, .hwiq-cost .cost-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.hwiq-cost .cost-table thead th { background: var(--navy); color: #fff; font-size: 14px; }
.hwiq-cost .cost-table tbody th { font-weight: 600; color: var(--navy); }
.hwiq-cost .cost-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hwiq-cost .cost-table thead th:not(:first-child) { text-align: right; }
.hwiq-cost .cost-table tr.is-best th, .hwiq-cost .cost-table tr.is-best td { background: var(--green-soft); }
.hwiq-cost .cost-table tr.is-best td[data-col="total"] { font-weight: 700; color: var(--green-dark); }
.hwiq-cost .best-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; vertical-align: middle; }
.hwiq-cost .best-tag[hidden] { display: none; }
.hwiq-cost .cost-options > .calc-hint { margin-top: 10px; }

@media (max-width: 640px) {
	.hwiq-cost .calc-big { font-size: 34px; }
	.hwiq-cost .cost-option-grid { grid-template-columns: minmax(0, 1fr); }
	.hwiq-cost .cost-table-wrap { overflow: visible; }
	.hwiq-cost .cost-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
	.hwiq-cost .cost-table, .hwiq-cost .cost-table tbody, .hwiq-cost .cost-table tr, .hwiq-cost .cost-table th, .hwiq-cost .cost-table td { display: block; width: 100%; }
	.hwiq-cost .cost-table tr { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 12px; overflow: hidden; }
	.hwiq-cost .cost-table tbody th { border-bottom: 1px solid var(--line); }
	.hwiq-cost .cost-table td { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; }
	.hwiq-cost .cost-table td::before { content: attr(data-label); color: var(--muted); font-weight: 500; text-align: left; }
	.hwiq-cost .cost-table tr td:last-child { border-bottom: 0; }
}
