.calc {
    max-width: 800px;
}
div[id^="tab-custom"] .calc {
    justify-content: center;
}
div[id^="tab-custom"] .block0.type0 {
    display: none;
}
div[id^="tab-custom"] #total_cart {
    display: none;
}
.calc .row {
    width: 100%;
    max-width: 800px;
}
.type1,
.type2 {
    margin: 10px 0 30px 0;
}
.col2 {
    display: grid;
    padding: 20px 30px !important;
    background: rgb(235, 247, 235);
    border-radius: 20px;
}
.label-block {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
input.text.weight {
    width: 70px;
    padding: 0 30px 0 0;
    text-align: right;
    display: initial;
    font-weight: 600;
    font-size: 16px;
}
input.text.age {
    width: 80px;
    padding: 0 50px 0 0;
    text-align: right;
}
.unit {
    padding: 0px;
}
.block1 .unit {
    margin-left: -28px;
    margin-right: 10px;
}
.block2 .unit {
    margin-left: -50px;
}
input.range,
input.text,
#activity {
    width: 100%;
}
#pet,
#activity {
    font-size: 16px;
}
input.range {
    margin: 5px 0;
}
input.text.price {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}
div[id^="tab-custom"] .calc input.text.price {
    pointer-events: none;
}
.start_end {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}
.value1,
.value2 {
    background: #fff;
    color: #3d3d3d;
    padding: 0 5px;
    border-radius: 3px;
    font-weight: 600;
    border: 1px solid #3d3d3d;
}
.label-text {
    font-weight: 700;
    display: flex;
    align-items: end;
    font-size: 16px;
    margin-bottom: 10px;
}
.comment {
    font-size: 12px;
}

.total {
    line-height: 1.3;
}
.total_weight_in_day_label {
    font-weight: 600;
    font-size: 18px;
}
.total_weight_in_day {
    font-weight: 600;
    font-size: 30px;
}
.total_weight_in_day_comment,
.total_price_comment {
    font-size: 12px;
    margin-bottom: 20px;
}
.total_price,
.total_weight_in_month {
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.total_price .value,
.total_weight_in_month .value{
    font-size: 18px;
    flex-grow: 1;
    text-align: end;
    margin-right: 3px;
}
.total_label {
    font-weight: 600;
    font-size: 20px;
    line-height: 1;
    /*text-align: justify;*/
    margin-bottom: 10px;
}

#total_cart {
    margin: 10px 0px;
}


@media (max-width: 575px) {
    .calc {
        justify-content: center;
        display: grid;
        padding: 0 10px;
    }
    .calc .row {
        width: auto !important;
    }
    .total_weight_in_day_label {
        font-size: 16px;
    }
    .total_label {
        font-size: 18px;
    }
}