:root {
    --icon-dot: url("https://static.insales-cdn.com/assets/1/551/6701607/1748015647/icon-dot.svg");
    --icon-dot-hover: url("https://static.insales-cdn.com/assets/1/551/6701607/1748015647/icon-dot_hover.svg");

    --icon-wa: url("https://static.insales-cdn.com/assets/1/551/6701607/1748015647/icon-wa.svg");
    --icon-tg: url("https://static.insales-cdn.com/assets/1/551/6701607/1748015647/icon-tg.svg");
    --icon-vk: url("https://static.insales-cdn.com/assets/1/551/6701607/1748015647/icon-vk.svg");
    --icon-vb: url("https://static.insales-cdn.com/assets/1/551/6701607/1748015647/icon-vb.svg");

    --icon-phone: url("https://static.insales-cdn.com/assets/1/551/6701607/1748015647/icon-phone.svg");
    --icon-email: url("https://static.insales-cdn.com/assets/1/551/6701607/1748015647/icon-email.svg");

    --img-house: url("Liquid argument error: Liquid error (styles line 14): Allowed size: 16..2048");
}

/* button > span {
    color: #000;
} */

.t396 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    user-select: none;
}

.t396__elem {
    background-color: #e3e3e3;
    border-radius: 30px;
}

.form__container {
    padding: 30px 30px 0 30px;
}

.t396__artboard {
    width: 100%;
    border: 1px solid #E3E3E3;
    max-width: 630px;
    border-radius: 30px;
}

.t-title {
    margin-bottom: 2rem;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    color: #0f0f0f;
    font-size: 20px;
    font-family: 'Unbounded', Arial, sans-serif;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.5px;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}

.t-form__inputsbox {
    display: grid;
    grid-template-columns: 49% 49%;
    gap: 10px;
}

.select__title {
    color: rgb(0, 0, 0) !important;
    border-radius: 24px !important;
    height: 42px !important;
    border: 1px solid rgb(153, 153, 153) !important;
    background-color: rgb(247, 247, 247) !important;
}

.first-screen__form-select>.select__body {
    display: none;
}

fieldset {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.t-radio__control {
    display: flex;
    align-items: center;
    gap: 0 3px;
}

.t-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #000;
}

.t-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    position: relative;
}

.t-radio:checked {
    border: 2px solid #000 !important;
}

.select__options {
    top: auto !important;
}

.t-input {
    color: rgb(0, 0, 0, 0.8);
    border: 1px solid rgb(153, 153, 153);
    background-color: rgb(247, 247, 247);
    border-radius: 24px;
    text-align: center;
    font-size: 15px;
    font-weight: 400;
    height: 42px;

    margin-left: .5rem;
    margin-right: .5rem;
    max-width: 185px;
    width: 100%;
}

.t-input::-webkit-inner-spin-button,
.t-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.t-inputquantity__wrapper {
    display: flex;
    align-items: center;
}


.quantity__input-wrapper {
    position: relative;
    max-width: 185px;
    width: 100%;
}

.quantity__input-wrapper::after {
    content: "ШТ";
    position: absolute;
    top: 50%;
    right: 37px;
    translate: 5px -50%;
    color: #5F5F5F;
    font-weight: 500;
    font-size: 15px;
}

.t-inputquantity__btn {
    position: absolute;
    top: 50%;
    translate: 0 -50%;
}

.t-inputquantity__btn-minus {
    left: 25px;
}

.t-inputquantity__btn-plus {
    right: 8px;
}

.tn-form__submit {
    width: 100%;
    display: flex;
    justify-content: end;
}

.t-inputquantity__btn {
    font-size: 32px;
    color: #4F4F4F;
    font-weight: 300;
}

.form__footer {
    text-align: left;
    font-weight: 300;
    font-family: Unbounded;
    font-size: 13px;
    color: rgb(111, 111, 111);
    background-color: #343434;
    max-width: 630px;
    width: 100%;
    height: 108px;

    border-radius: 0 0 30px 30px;

    padding: 27px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form__footer-info {
    display: flex;
    flex-direction: column;
}

.form__footer-title {
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 6px;
    display: block;
}

.form__footer-price {
    color: #68B222;
    font-size: 20px;
    font-weight: 700;
}

.bottom-form {}

.bottom-form__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 16px;
    padding-inline: 30px;
}

.bottom-form__item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.bottom-form__label {
    color: #343434;
    margin-bottom: 10px;
    display: block;
    font-size: 15px;
}

.bottom-form__input {
    max-width: 300px;
    width: 100%;
    border-radius: 30px;

    border: 1px solid #BFBFBF;
    background-color: #fff;
    color: #464646;
    font-size: 17px;

    padding: 12px 20px;
}

.t-submit {
    padding: 0px 15px;
    display: block;
    max-width: 340px;
    width: 100%;
    font-weight: 500;
    height: 48px;
    color: #ffffff;
    background-color: #539b11;
    border-radius: 25px;
    font-size: 15px;
}

.t-submit::disabled {
    background-color: #549b1178;
    cursor: no-drop;
}

.lumber-calc__app .select__value:after {
    content: none;
}

.t-input-error {
    color: red;
    margin-top: 8px;
}

.success-message {
    display: none;
    padding-left: 30px;
    padding-bottom: 10px;
    color: green
}

.success-message.is-show {
    display: block;
}

.selection-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.left-side-wrapper.left-side-wrapper--toggle .t-inputquantity__wrapper {
    display: none;
}

.form__radio-wrapper {
    display: none;
}

.left-side-wrapper.left-side-wrapper--toggle .form__radio-wrapper {
    display: block;
}

.quantity__input-wrapper.meters {
    display: none;
}

.right-side-wrapper.right-side-wrapper--toggle .quantity__input-wrapper.meters {
    display: block;
}

.right-side-wrapper.right-side-wrapper--toggle .volume-wrapper {
    display: none;
}

.quantity__input-wrapper.meters::after {
    content: "м²";
    position: absolute;
    top: 50%;
    right: 37px;
    translate: 5px -50%;
    color: #5F5F5F;
    font-weight: 500;
    font-size: 15px;
}

.form__radio-legend {
    margin-bottom: 12px;
    color: #0B0B0B;
    font-size: 16px;
    display: block;
}

.form__radio-inner {
    display: flex;
    gap: 0 25px;
}

.form__radio-item {
    display: flex;
    flex-direction: column;
}

.form__radio-label {
    color: #0B0B0B;
    font-size: 16px;
    margin-top: 4px;
}


/* дополнение */
.lumber-calc .select__body::after {
    content: "";
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    position: absolute;
    top: 50%;
    right: 1.25rem;
    transform: translateY(-50%);
    display: block;
    width: 0.75rem;
    height: 0.75rem;
    background-image: var(--icon-angle-white-down);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.lumber-calc ._select-open > .select__body::after {
    transform: translateY(-50%) rotate(180deg);
}

.lumber-calc .select__title {
    text-align: left;
}

@media (max-width: 63.9988em) {
    .t-form__inputsbox {
        display: block;
    }

    .t-title {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .form__footer {
        flex-direction: column;
        align-items: start;
        gap: 26px 0;
        height: fit-content
    }

    .tn-form__submit {
        justify-content: start;
    }

    .tn-form__submit>button {
        max-width: 100% !important;
    }
}
