<style>
/*Скрываем значение калькулятора*/
.blockcalc .t-calc{display:none;}
/*Задаём цвет итоговой сумме*/
span.calc-psevdo , span.t-calc__postfix-text {color: #FF7300;}
</style>
<script>
$( document ).ready(function() {
//Добавляем класс к ID нашего блока
$('#rec87796122').addClass('blockcalc');
//Устанавливаем минимальное значение работ
var minimalprice = 6000;
$('<span class="calc-psevdo">'+minimalprice+'</span>').insertAfter( ".t-calc" );
$(".blockcalc .t-calc").bind( 'DOMSubtreeModified',function() {
var summa = $('.blockcalc .t-calc').html();
if (summa < minimalprice){ summa = minimalprice};
$('.calc-psevdo').html(summa);
setTimeout(function() { $('.blockcalc .t-calc__hiddeninput').val(summa); }, 50);
}); });
</script>
<style>
.blockcalc .t-calc{display:none;}
</style>
<script>
$( document ).ready(function() {
$('#rec416024154').addClass('blockcalc');
let minimalprice = 6000;
function createSpanCalc(){
setTimeout(function() {
$('<span class="calc-psevdo">'+minimalprice+'</span>').insertAfter( ".t-calc" );
}, 2500);
};
createSpanCalc();
$(".blockcalc").on('DOMSubtreeModified', ".t-calc", function() {
let summa = $('.blockcalc .t-calc').html();
if (summa < minimalprice){ summa = minimalprice};
$('.calc-psevdo').html(summa);
setTimeout(function() { $('.blockcalc .t-calc__hiddeninput').val(summa); }, 50);
});
$(window).resize(function() {clearTimeout(window.resizedFinished); window.resizedFinished = setTimeout(function(){
createSpanCalc()
}, 1000);});
});
</script>