<script>
document.addEventListener("DOMContentLoaded", function() {
(function () {
setTimeout(function(){
//Устанавливаем минимальное значение работ
const minimalprice = 6000;
const span = document.createElement('span');
span.textContent = minimalprice;
span.className = 'calc-psevdo';
const target = document.querySelector('.uc-calc-min .t-calc');
target.insertAdjacentElement('afterEnd', span);
const hideCalcInput = document.querySelector(".uc-calc-min .t-calc__hiddeninput");
hideCalcInput.addEventListener('change', function(event) {
let summa = target.innerHTML;
if (summa < minimalprice) summa = minimalprice;
document.querySelector(".uc-calc-min .t-calc__hiddeninput")
span.textContent = summa;
setTimeout(function() {
hideCalcInput.value = summa;
}, 50);
});
}, 1500);
})();
});
</script>
<style>
/*Скрываем значение калькулятора*/
.uc-calc-min .t-calc{
display:none;
}
/*Задаём цвет итоговой сумме*/
span.calc-psevdo ,
span.t-calc__postfix-text {
color: #FF7300;
}
</style>