/**
 * Real cost calculator on the lot page (same look as the installment simulator: gray inputs on the left, result
 * in the brand color on the right). The column selectors go through .buycost > .row so the padding wins over the
 * theme rule .no-gutters > [class*="col-"] { padding: 0 }.
 */
.buycost {
  background: #f1f1f1;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.3rem;
  overflow: hidden;
}

.buycost > .row > .buycost-left {
  padding: 1rem 1.25rem;
}

.buycost-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2d3b39;
  margin-bottom: 0.45rem;
}

.buycost-field {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border-radius: 10px;
  padding: 0.3rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2d3b39;
}

.buycost-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  outline: 0;
}

.buycost-field:focus-within {
  box-shadow: 0 0 0 2px var(--primary);
}

.buycost-lines {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  font-size: 0.9rem;
  color: #2d3b39;
}

.buycost-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.buycost-lines li:last-child {
  border-bottom: 0;
}

.buycost-lines li span:last-child {
  font-weight: 700;
  white-space: nowrap;
}

.buycost > .row > .buycost-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  padding: 1.25rem 2rem;
}

.buycost-total-label {
  font-size: 0.9rem;
}

.buycost-total {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
}

.buycost-percent {
  font-size: 0.9rem;
  min-height: 1.35em;
}

.buycost-note {
  font-size: 0.85rem;
  color: #6c757d;
}
