.estimated-total-box {
  background-color: #d4edec;
  border: 1.5px dashed #6DBDB8;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

/* ── Rows ── */

.estimated-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.estimated-total-row + .estimated-total-row {
  border-top: 1px solid rgba(109, 189, 184, 0.18);
}

/* ── Séparateur de section (trait plus marqué) ── */

.etb-row--section-start {
  border-top: 1.5px solid rgba(109, 189, 184, 0.45) !important;
  margin-top: 4px;
  padding-top: 7px;
}

/* ── Labels ── */

.estimated-total-label {
  font-weight: 500;
  font-size: 0.78rem;
  line-height: 1.3;
}

.etb-tax {
  font-weight: 400;
  font-size: 0.68rem;
}

.etb-ctx {
  font-weight: 400;
  font-size: 0.68rem;
  font-style: italic;
}

/* ── Valeurs ── */

.estimated-total-value {
  font-weight: 600;
  font-size: 0.85rem;
  color: #5a9e9a;
  white-space: nowrap;
}

/* ── Grand total ── */

.etb-row--grand-total {
  border-top: 2px solid #6DBDB8 !important;
  margin-top: 6px;
  padding: 8px 0 2px;
}

.etb-row--grand-total .estimated-total-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: #2d2d2d;
}

.etb-row--grand-total .etb-ctx {
  color: #3a8a85;
  font-weight: 600;
  font-style: normal;
}

.etb-row--grand-total .estimated-total-value {
  font-weight: 800;
  font-size: 1.2rem;
  color: #3a8a85;
}

/* ── Sous-totaux (mise en avant légère) ── */

.etb-row--subtotal-unit .estimated-total-label,
.etb-row--subtotal .estimated-total-label {
  font-weight: 600;
}

.etb-row--subtotal-unit .estimated-total-value,
.etb-row--subtotal .estimated-total-value {
  font-weight: 700;
}

/* ── Mention sous le total ── */

.etb-notice {
  text-align: right;
  font-size: 0.65rem;
  font-style: italic;
  color: #6a7a78;
  margin-top: 2px;
}
