/* ====== BASE / LAYOUT (все новые классы под префиксом test_calc_) ====== */
.calcWrap {
    margin-top: 25px;
}
.test_calc_wrap {
    background: #fff;
}

.test_calc_row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.test_calc_grid-2 {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 10px
}

.test_calc_grid-3 {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 40px;
}

.test_calc_grid-4 {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 10px
}

.test_calc_mt-10 {
    margin-top: 10px
}

.test_calc_mt-16 {
    margin-top: 16px
}

.test_calc_mt-20 {
    margin-top: 20px
}

.test_calc_mt-26 {
    margin-top: 26px
}
.test_calc_mt-32 {
    margin-top: 32px
}

.test_calc_mt-60 {
    margin-top: 60px
}

.test_calc_mb-10 {
    margin-bottom: 10px
}

/* ====== TOP SWITCHES ====== */
.test_calc_switches {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.test_calc_switch_btn {
    padding: 11px 27px;
    border: 1px solid #000;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    transition: all .2s ease-in-out;
}
.test_calc_switch_btn:hover {
    border-color: #C59669;
    color: #C59669;
}
.test_calc_switch_btn.test_calc_active {
    border-color: #C59669;
    color: #C59669;
}

.test_calc_switch_btn.test_calc_disable {
    background: #9f9fa0;
}
.test_calc_stage {
    margin-top: 55px;
    margin-bottom: 70px;
}
.test_calc_stage:last-of-type {
    margin-bottom: 0;
}
.test_calc_stage_name {
    display: inline-flex;
    background: #C59669;
    color: #fff;
    padding: 11px;
    font-size: 16px;
}
/* ====== SIZES + COEFS ====== */
.test_calc_card {
    margin-top: 45px;
}

.test_calc_card_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.test_calc_card_head_title {
    font-weight: 600;
    font-size: 25px;
}

.test_calc_card_head_icon {
    width: 16px;
    height: 16px;
    transition: transform .25s ease
}

.test_calc_card.test_calc_open .test_calc_card_head_icon {
    transform: rotate(180deg)
}

.test_calc_card_body {
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s ease, padding .2s ease;
    padding: 0;
}

.test_calc_card.test_calc_open .test_calc_card_body {
    max-height: 4000px;
}

.test_calc_field label {
    display: block;
    font-size: 16px;
    color: #828282;
    margin-bottom: 19px;
}

.test_calc_input {
    width: 100%;
    font-size: 16px;
    color: #000000;
    padding: 13px 12px;
    border: 1px solid #999999;
    background: #fff;
    outline: none
}

.test_calc_input:focus {
    border-color: #C29468;
    box-shadow: 0 0 10px 1px rgba(194, 148, 104, .2)
}

.test_calc_input[readonly] {
    background: #F4F4F4;
    color: #000000
}

.test_calc_box_area_total {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    color: #333333;
    font-size: 16px;
    line-height: 1.3;
    padding: 22px;
    background: #F8F8F8;
    border-left: 3px solid #C59669;
}

.test_calc_box_area_total b {
    color: #000000;
}

.test_calc_box_area_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.test_calc_box_area_item {
    padding: 14px 16px;
    border: 1px solid #D9D9D9;
    background: #F8F8F8;
}

.test_calc_box_area_label {
    margin-bottom: 8px;
    color: #828282;
    line-height: 1.2;
}

.test_calc_box_area_value {
    color: #333333;
    line-height: 1.3;
}

.test_calc_box_area_value b {
    color: #000000;
    font-size: 18px;
}

.test_calc_box_area_note {
    margin-left: 8px;
    color: #C59669;
    font-size: 12px;
    white-space: nowrap;
}

/* ====== TABLES ====== */
.test_calc_table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #999999;
    overflow: hidden;
    background: #fff
}

.test_calc_table th, .test_calc_table td {
    border-bottom: 1px solid #eef1f5;
    padding: 10px 12px;
    font-size: 14px
}

.test_calc_table thead th {
    background: #f3f6fb;
    font-weight: 700;
    text-align: left
}

.test_calc_table tbody tr:hover {
    background: #f8fbff
}

.test_calc_table tbody tr td a {
    color: black
}

.test_calc_table tbody tr td a:hover {
    text-decoration: underline;
}

#test_calc_sizes_body input[type="number"]::-webkit-outer-spin-button,
#test_calc_sizes_body input[type="number"]::-webkit-inner-spin-button,
.popup-feedback input[type="number"]::-webkit-outer-spin-button,
.popup-feedback input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#test_calc_sizes_body input[type="number"],
.popup-feedback input[type="number"] {
    -moz-appearance: textfield;
}

.test_calc_qty:focus {
    border-color: #C29468;
    box-shadow: 0 0 10px 1px rgba(194, 148, 104, .2);
}

.test_calc_price {
    text-wrap: nowrap
}

.test_calc_sum {
    text-wrap: nowrap;
    font-weight: 700
}

.table_radio {
    width: 18px;
    height: 18px
}

.checkbox_custom {
    position: relative;
}
.checkbox_custom_input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}
.checkbox_custom_text {
    color: #C59669;
    font-size: 16px;
}
.checkbox_custom_input:checked + .checkbox_custom_label .checkbox_custom_box::after {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.checkbox_custom_label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    gap: 15px;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: color var(--duration);
    transition: color var(--duration);
}

.checkbox_custom_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    width: 18px;
    height: 18px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -webkit-transition: border-color var(--duration);
    transition: border-color var(--duration);
    border: 1px solid var(--orange);
}

.checkbox_custom_box::after {
    content: "";
    width: 10px;
    height: 10px;
    -webkit-transition: all var(--duration);
    transition: all var(--duration);
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    background: url("https://www.zatvor.ru/template/images/img/svg/check.svg") no-repeat center;
    background-size: contain;
}
.checkbox_custom--radio .checkbox_custom_box {
    border-radius: 50%;
}

.checkbox_custom--radio .checkbox_custom_box::after {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    transform: scale(0);
}

.calc {
    display: table;
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #999999;
}

.calc__head {
    display: table-row;
    font-weight: 400;
    background: #F4F4F4;
    font-size: 16px;
    border-bottom: 1px solid #999999;
}

.calc__cell-name {
    color: #333333;
    font-size: 20px;
    font-weight: 600;
}
.calc__cell-name a {
    color: #333333;
}
.calc__cell-name a:hover {
    text-decoration: underline;
}
.calc__cell-price {
    color: #999999;
    font-size: 18px;
}
.calc__row {
    display: table-row;
    border-bottom: 1px solid #999999;
}
.calc__row.enable .calc__cell-price {
    color: #000;
}
.calc__cell,
.calc__head-cell {
    display: table-cell;
    padding: 25px 0;
    vertical-align: middle;
    text-align: center;
}
.calc__head-cell--sum {
    text-align: right;
    padding-right: 20px;
}
.calc__cell {
    padding-left: 20px;
    padding-right: 20px;
}
.calc__head-cell--first {
    text-align: left;
    padding-left: 60px;
}
.calc__cell--first {
    text-align: left;
    padding-left: 60px;
    padding-right: 0;
}
.calc__cell-total {
    text-align: right;
    font-weight: 600;
    font-size: 20px;
}
.calc__inp-qty {
    font-size: 16px;
    width: 100%;
    max-width: 70px;
    text-align: center;
    border: 1px solid #999999;
    padding: 13px 10px;
}
.calc__inp-ratio {
    max-width: 78px;
}
.test_calc_koeff--manager {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.test_calc_koeff_real {
    font-size: 12px;
    line-height: 1.2;
    color: #777777;
    white-space: nowrap;
}
/* чекбокс + название */
.calc__main {
    position: relative;
    display: flex;
    align-items: center;
    /*gap: 10px;*/
}
.calc__checkbox {
    position: absolute;
    left: -38px;
}
/* label скрыты на десктопе */
.calc__cell::before {
    display: none;
}
.calc_switches_footer {
    display: none;
}
@media (max-width: 768px) {
    .calc__cell-name {
        font-size: 16px;
    }
    .calc__head-cell {
        font-size: 12px;
    }
    .calc__cell-price,
    .calc__cell-total {
        font-size: 16px;
    }

    .calc__inp-qty {
        padding: 10px;
    }
}
@media (max-width: 767px) {

    .calc_switches_footer {
        position: relative;
        display: flex;
        padding-top: 30px;
    }
    .calc_switches_footer:before {
        position: absolute;
        left: -40px;
        top: 0;
        width: calc(100% + 80px);
        content: '';
        height: 1px;
        background: #999999;
    }
    .test_calc_card_head {
        margin-bottom: 16px;
    }
    .test_calc_card {
        margin-top: 20px;
    }
    .calc {
        display: block;
        border: 0;
    }

    .calc__head {
        display: none;
    }

    .calc__checkbox {
        left: -32px;
    }
    .calc__cell-name {
        font-size: 14px;
    }
    .calc__row {
        display: block;
        border: 1px solid #999;
        padding: 12px 50px;
        margin-bottom: 12px;
        background: #fff;
    }

    /* чекбокс + название */
    .calc__main {
        display: flex;
        margin-right: auto;
        margin-bottom: 10px;
    }

    /* остальные строки */
    .calc__cell {
        display: flex;
        justify-content: flex-start;
        gap: 13px;
        text-align: left;
        padding: 6px 0;
        border: none;
        font-size: 14px;
    }

    .calc__cell::before {
        width: 85px;
        display: block;
        content: attr(data-label);
        color: #000000;
        font-weight: 400;
        font-size: 12px;
    }
    .calc__cell--first:before {
        display: none;
    }
    .calc__cell-total {
        font-size: 14px;
    }
    .calc__inp-qty {
        padding: 7px 10px;
        font-size: 14px;
    }
}

@media screen and (max-width: 481px) {
    .calc_switches_footer:before {
        left: -24px;
        width: calc(100% + 48px);
    }
}

@media screen and (max-width: 768px) {
    .test_calc_category {
        margin: 0 -40px;
    }

}
@media screen and (max-width: 767px) {

    .test_calc_wrap {
    }

    .test_calc_table thead {
        display: none;
    }

    .test_calc_table,
    .test_calc_table tbody,
    .test_calc_table tr {
        display: block;
        width: 100%;
    }

    .test_calc_table tr {
        border: 1px solid #ddd;
        margin-bottom: 12px;
        padding: 10px;
        background: #fff;
    }

    .test_calc_table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        padding: 6px 0;
    }

    /* Лейблы слева */
    .test_calc_table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
    }

    /* Первая строка: чекбокс + название в одну линию */
    .test_calc_table td:first-child,
    .test_calc_table td:nth-child(2) {
        display: inline-flex;
        width: auto;
    }

    .test_calc_table td:first-child::before {
        content: "";
    }

    .test_calc_table td:nth-child(2)::before {
        content: "";
    }

    /* Обертка для чекбокс + название */
    .test_calc_table tr {
        display: flex;
        flex-direction: column;
    }

    .test_calc_table tr > td:nth-child(1),
    .test_calc_table tr > td:nth-child(2) {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    /* делаем первую строку */
    .test_calc_table tr > td:nth-child(1) {
        order: -2;
    }

    .test_calc_table tr > td:nth-child(2) {
        order: -1;
        font-weight: 600;
    }
}

@media screen and (max-width: 481px) {
    .checkbox_custom_box {
        width: 18px;
        height: 18px;
    }

    .checkbox_custom_box::after {
        width: 10px;
        height: 10px;
    }
}


/* ====== COLLAPSIBLE (категории и разделы) ====== */
.test_calc_category {
    background: #fff
}

.test_calc_category {
}

.test_calc_category_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #C29468;
}

.test_calc_category_label {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.test_calc_category_title {
    font-size: 20px;
    color: #000;
    font-weight: 600;
    margin: 0;
}

.test_calc_category_price {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: 600;
    gap: 5px;
    font-size: 20px;
    color: #000;
    white-space: nowrap;
}

.test_calc_section_icon_clear {
    width: 45px;
    height: 45px;
    transition: transform .25s ease;
    fill: none;
    margin-left: 15px;
    cursor: pointer;
}

.test_calc_category_body {
    position: relative;
    overflow: hidden;
    display: none;
    transition: max-height .35s ease, padding .2s ease;
    padding: 0;
    z-index: 0;
}

.test_calc_open > .test_calc_category_body,
.test_calc_open > .test_calc_section_body {
    padding: 0;
    z-index: 1;
}

.test_calc_section {
    border-bottom: 1px solid #C29468;
}
.test_calc_section:last-of-type {
    border-bottom: 0;
}
.test_calc_section + .test_calc_section {

}

.test_calc_section_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.test_calc_section_title {
    font-size: 20px;
    font-weight: 600
}

.test_calc_section_icon {
    color: #C29468;
    font-size: 20px;
    width: 14px;
    transition: transform .25s ease
}

.test_calc_section.test_calc_open > .test_calc_section_head > .test_calc_category_label .test_calc_section_icon {
    color: transparent;
}
.test_calc_section_icon:before {
    content: '-';
    position: absolute;
    font-size: 20px;
    width: 14px;
    color: transparent;
    transition: all .2s;
}
.test_calc_section.test_calc_open > .test_calc_section_head > .test_calc_category_label .test_calc_section_icon:before {
    color: #C29468;
}

.test_calc_category_icon {
    margin-top: -5px;
    color: #C29468;
    font-size: 20px;
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.test_calc_category.test_calc_open > .test_calc_category_head > .test_calc_category_label .test_calc_category_icon {
    color: transparent;
}
.test_calc_category_icon:before {
    content: '-';
    position: absolute;
    font-size: 20px;
    width: 14px;
    color: transparent;
    transition: all .2s;
}
.test_calc_category.test_calc_open > .test_calc_category_head > .test_calc_category_label .test_calc_category_icon:before {
    color: #C29468;
}

.test_calc_section_body {
    position: relative;
    overflow: hidden;
    display: none;
    transition: max-height .35s ease, padding .2s ease;
}
.test_calc_category_body_first .test_calc_section:not(.test_calc_open) > .test_calc_section_body {
    position: relative;
    overflow: hidden;
    display: none;
    padding: 0;
    z-index: 0;
}
/* ====== TOTALS ====== */
.test_calc_mile {
    display: grid;
    gap: 10px;
    justify-content: end;
}

.test_calc_totals {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: #F4F4F4;
    padding: 42px 65px;
    margin: 70px 0 32px;
}

.test_calc_total {
    font-size: 25px;
    border-radius: 10px;
    font-weight: 600;
}

.test_calc_total--base {
    color: #C29468;
}

.test_calc_total--base span {
}

.test_calc_total--face {
    border-color: #8dc63f;
    background: #ffffff;
}

.test_calc_total--face span {
    color: #8dc63f
}

.test_calc_total--sum span {
    font-size: 30px;
}

/* ====== ACTION BUTTONS ====== */
.test_calc_actions {
    display: grid;
    column-gap: 55px;
    row-gap: 26px;
    align-items: center;
    justify-content: flex-start;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 26px;
}
.test_calc_actions:last-of-type {
    margin-bottom: 0;
}

.test_calc_print_actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

.disabled {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.test_calc_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 20px;
    font-size: 16px;
    min-height: 60px;
    border: 1px solid #C29468;
    background: #fff;
    color: #C59669;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: .2s
}

.disabled .test_calc_btn {
    opacity: .5;
}

.test_calc_btn:hover {
    background: #C29468;
    border-color: #C29468;
    color: #fff
}

.test_calc_btn svg {
    flex: 0 0 auto;
    width: 25px;
    height: 22px;
    fill: currentColor
}
.test_calc_btn:hover svg {
    fill: #fff;
}
.test_calc_btn--copy:hover svg,
.test_calc_btn--send:hover svg {
    stroke: #fff;
}
#test_calc_copy {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

#test_calc_copy .tooltip {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    white-space: nowrap;
}

#test_calc_copy .tooltip.show {
    opacity: 1;
}
.btn-calc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 21px;
    border: 1px solid #C29468;
    color: #C29468;
    font-size: 16px;
    font-weight: 600;
}
.btn-calc__more {
    cursor: pointer;
    display: none;
    margin-top: 12px;
    width: 100%;
    text-transform: uppercase;
}
.test_calc_btn__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}
.calc-radio-section {
    padding-left: 30px;
    padding-top: 27px;
    border-top: 1px solid #C29468;
}
.calc-radio-section__title {
    color: #333;
    font-weight: 600;
    font-size: 25px;
}
.test_calc_section_checkboxes_head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
    border-bottom: 1px solid #C29468;
}
.test_calc_section_head_third {
    padding-left: 35px;
}
.test_calc_category_body_third {
    margin-left: 35px;
}
.test_calc_section_switcher .checkbox_custom {
    padding: 10px 0 20px;
}
.test_calc_section_switcher .checkbox_custom_text {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
}

.test_calc_section_body_second {
    border-top: 1px solid #C29468;
}
.test_calc_section_body_second.test_calc_open {
    border-top: 0;
}
.test_calc_category_body_four .test_calc_section_head {
    padding-left: 40px;
}
.test_calc_section_head_five .test_calc_section_title,
.test_calc_section_head_third .test_calc_section_title {
    color: #333;
}
.test_calc_section_body_five {
    margin-left: 40px;
}
.test_calc_section_body_six {
    margin-left: 30px;
}
/* ====== UTIL ====== */
@media (max-width: 1024px) {
    .test_calc_btn__content {
        gap: 10px;
    }
    .test_calc_actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .test_calc_grid-4 {
        grid-template-columns:repeat(3, 1fr)
    }

    .test_calc_grid-3 {
        grid-template-columns:repeat(3, 1fr)
    }
}

@media (max-width: 768px) {
    .test_calc_actions {
        grid-template-columns: repeat(2, 1fr);
    }
    .test_calc_category_body_third {
        margin-left: 0;
    }
    .test_calc_category_body_third .test_calc_section_checkboxes_head {
        padding-left: 17px;
    }
    .test_calc_category_head {
        padding: 16px 40px;
    }
    .test_calc_section {
        padding: 0 40px;
    }
    .test_calc_open .test_calc_category_head {
        background: #F4F4F4;
    }
    .test_calc_actions {
        column-gap: 10px;
        align-items: stretch;
        grid-template-columns:repeat(2, 1fr)
    }
    .test_calc_totals {

    }

    .test_calc_category {
        border-top: 1px solid #C59669;
    }
    .test_calc_category + .test_calc_category{
        border-top: none;
    }
    .test_calc_stage_name {
        margin-bottom: 25px;
    }
    .test_calc_category_body_four .test_calc_section {
        padding: 0;
    }
}
@media (max-width: 767px) {
    .test_calc_section_head_third {
        padding-left: 30px;
    }
    .test_calc_category_body_third .test_calc_section_checkboxes_head {
        padding-left: 30px;
    }
    .test_calc_section_body_six {
        margin-left: 0;
    }
    .test_calc_section_body_five {
        margin-left: 0;
    }
    .test_calc_section_switcher .checkbox_custom_text {
        font-size: 14px;
    }
    .btn-calc__more {
        display: flex;
        margin-bottom: 20px;
    }
    .calc__row.is-hidden {
        display: none;
    }
    .test_calc_btn {
        font-size: 14px;
        padding: 14px 10px;
    }
    .test_calc_totals {
        margin: 20px 0 26px;
    }
    .test_calc_switch_btn {
        width: 100%;
    }
    .test_calc_category {
        margin: 0 -24px;
    }
    .test_calc_category_head {
        padding: 24px;
    }
    .test_calc_category_head .test_calc_category_icon {
        display: none;
    }
    .test_calc_section {
        padding: 0 24px;
    }
    .test_calc_mt-60 {
        margin-top: 35px;
    }
    .test_calc_totals {
        padding: 20px 16px;
    }
    .test_calc_total {
        font-size: 18px;
    }
    .test_calc_total--sum span {
        font-size: 18px;
    }
    .test_calc_stage {
        margin-top: 26px;
        margin-bottom: 35px;
    }
    .test_calc_stage_name {
        padding: 12px;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .test_calc_field label {
        margin-bottom: 11px;
        font-size: 12px;
    }
    .test_calc_input {
        padding: 12px;
    }
    .test_calc_box_area {
        padding: 16px;
    }
    .test_calc_box_area_total {
        font-size: 14px;
    }
    .test_calc_box_area_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .test_calc_box_area_item {
        padding: 12px;
    }
    .test_calc_box_area_note {
        display: block;
        margin-left: 0;
        margin-top: 4px;
        white-space: normal;
    }
    .test_calc_mt-32 {
        margin-top: 16px;
    }
    .test_calc_grid-3 {
        gap: 16px;
    }
    .test_calc_grid-3 {
        grid-template-columns:repeat(2, 1fr)
    }

    .test_calc_section_icon_clear {
        width: 30px;
        height: 30px;
    }
    .test_calc_category_title {
        font-size: 14px;
    }
    .test_calc_category_price {
        font-size: 14px;
    }
    .test_calc_section_title {
        font-size: 14px;
    }
    .test_calc_actions {
        column-gap: 10px;
        align-items: stretch;
        grid-template-columns: 1fr;
    }
}

.complect-form__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.complect-form__label {
    display: block;
    margin-bottom: 6px;
    color: var(--black);
    font-size: 13px;
    line-height: 1.3;
}

.complect-form__group-label {
    margin-bottom: 10px;
    color: var(--black);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.complect-form__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}

.complect-form__checkbox-field {
    margin-top: 2px;
}

.complect_contact_fields {
    gap: 16px;
}

@media screen and (max-width: 600px) {
    .complect-form__grid,
    .complect-form__options {
        grid-template-columns: 1fr;
    }
}

.popup.popup-feedback[data-popup-target="complect"].show {
    top: 15px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-animation: none;
    animation: none;
    overscroll-behavior: contain;
}

.popup-large {
    max-width: 80%;
}

.complect_contact_fields, .complect_finance_fields {
    display: none;
}

.complect-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
