.sm-form__block {
    min-width: 0;
    padding: 0;
    border: 0;
}

.sm-form__block__title {
    display: block;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 0;
}

.sm-form__hint {
    display: block;
    margin-top: 4px;
    font-family: "SMTextsFont", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    text-transform: none;
}

.sm-form__item {
    display: grid;
    gap: 12px;
}

.sm-form__item .sm-form_checkbox {
    min-height: 22px;
    margin-left: 30px;
}

.sm-form__options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
}

.sm-form_checkbox_input[type="radio"] + .sm-form_checkbox_box {
    border-radius: 50%;
}

.sm-form__conditional-input {
    width: calc(100% - 30px);
    height: 48px;
    margin: -2px 0 2px 30px;
}

.sm-form__conditional-group {
    margin: 18px 0 0 30px;
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.45);
}

.sm-form__conditional-group[hidden] {
    display: none;
}

.sm-form__subfield {
    display: block;
    margin: 16px 0 8px;
    font-size: 15px;
    line-height: 1.4;
}

.sm-form__number {
    max-width: 140px;
    margin-top: 0;
}

.sm-form__textarea {
    min-height: 116px;
    height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
    resize: vertical;
}

.sm-form__textarea--compact {
    min-height: 92px;
    margin-top: 0;
}

.sm-form__input:focus,
.sm-form__input:focus-visible,
.sm-form__input:active {
    outline: none;
    border-color: #fff;
    background: transparent;
    color: #fff;
    box-shadow: none;
}

.sm-form__honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.sm-form__status {
    min-height: 22px;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.sm-form__status.is-error {
    color: #ffd4d4;
}

.sm-form .sm-btn,
.sm-form .sm-btn:hover,
.sm-form .sm-btn:focus,
.sm-form .sm-btn:focus-visible,
.sm-form .sm-btn:active {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    outline: none;
    box-shadow: none;
}

.sm-form .sm-btn {
    cursor: pointer;
    transition: transform 140ms ease, opacity 140ms ease;
}

.sm-form .sm-btn:active:not(:disabled) {
    transform: translateY(1px) scale(0.98);
}

.sm-form .sm-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

@media (max-width: 500px) {
    .sm-form__block__title {
        font-size: 17px;
        line-height: 1.35;
    }

    .sm-form__hint {
        font-size: 12px;
    }

    .sm-form__options-grid {
        grid-template-columns: 1fr;
    }

    .sm-form__input {
        font-size: 16px;
    }

    .sm-form__conditional-group {
        margin-left: 14px;
        padding-left: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sm-form .sm-btn {
        transition: none;
    }

    .sm-form .sm-btn:active:not(:disabled) {
        transform: none;
    }
}
