.communication-methods {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-top: 8px;
    display: flex;
}
ul.communication-methods>li::before {
    content: none;
}

.communication-methods li {
    margin: 0 4px 0 0;
    height: 39px;
    position: relative;
    min-width: 130.67px;
}
.communication-methods li:last-child {
    margin-right: 0;
}

.communication-methods label,
.communication-methods input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.communication-methods input[type="radio"] {
    opacity: 0.01;
    z-index: 100;
}

.communication-methods input[type="radio"]:checked+label,
.Checked+label {
    background: #B6C92F;
    color: #FFFFFF;
}
.communication-methods input[type="radio"]+label i:not(.svg) {
    color: #B6C92F;
}
.communication-methods input[type="radio"]:checked+label i {
    color: #FFFFFF;
}

.form .communication-methods label {
    padding: 5px;
    border: 1px solid #B6C92F;
    border-radius: 6px;
    cursor: pointer;
    z-index: 90;
    text-align: center;
    color: #B6C92F;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.communication-methods input[type="radio"]+label span {
    margin-right: 6px;
}

.communication-methods label:hover {
    background: #b6c92f33;
}
.form.form-with-communication-method .form-group i:not(.svg) {
    position: unset;
}
.communication-methods-container .communication-methods-item {
    display: none;
}
.communication-methods-container .communication-methods-item.showField {
    display: block;
}
.row[data-sid="COMMUNICATION_METHOD"] .form-group {
    line-height: 0;
    margin-bottom: 8px;
}
.row[data-sid="COMMUNICATION_METHOD"] .form-group label {
    margin-bottom: 0;
}
.product-with-image {
    display: flex;
}
.product-with-image .product-image {
    margin-right: 10px;
    height: 70px;
    border: 1px solid #D7D8DA;
    border-radius: 6px;
    display: flex;
    align-items: center;
}
.product-with-image .product-image img {
    padding: 5px;
    width: 68px;
    height: auto;
    aspect-ratio: auto;
    max-height: 70px;
}
.product-with-image .product-field input#POPUP_PRODUCT {
    width: 320px;
}
.form-image_contacts {
    margin-left: 23px;
    margin-bottom: 15px;
}
.form-image_contacts--text {
    font-weight: 500;
}
.form-image_contacts--footer .email-copy:hover::after {
    bottom: -10px;
    right: 0;
    transform: unset;
    background-color: rgba(235, 235, 238, 1);
    z-index: 5;
    left: 25px;
    width: max-content;
    top: unset;
}
.form-image_contacts--footer .email-and-copy {
    margin-right: 15px;
}
.form-image_contacts--footer .email-copy.click:hover::after {
    background-color: rgba(124, 201, 147, 1); /* Цвет фона подсказки */
    color: #fff;
}
.form-send__info.form-send__info-custom {
    text-align: left;
}
.form-send__info-text {
    color: #222228;
}
.licence_block-custom input.form-checkbox__input {
    display: block;
    height: 13px;
    margin-top: 0;
}

#licenses_popup-error {
    position: absolute;
    top: 45px;
    opacity: 0;
}
.form .licence_block.licence_block-custom.error label,
.form .licence_block.licence_block-custom.error a {
    color: #ec617a;
}

.form .licence_block.licence_block-custom {
    display: flex;
    align-items: flex-start; /* Выравниваем элементы по верхнему краю */
    gap: 10px; /* Расстояние между input и label */
}

.licence_block-custom input.form-checkbox__input {
    display: block;
    flex-shrink: 0; /* Запрещаем сжатие input */
    margin-top: 3px; /* Небольшая корректировка выравнивания по вертикали */
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #B6C92F;
    outline: none;
    width: 16px;
    height: 16px;
    outline: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    border-radius: 0;
}
.licence_block-custom input.form-checkbox__input:checked {
    background-color: #b6c92f;
    border-color: #b6c92f;
}

.licence_block-custom input.form-checkbox__input:checked::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 14px;
    left: 2px;
    top: -2px;
}

.licence_block label {
    flex-grow: 1; /* Позволяем label занимать доступное пространство */
    min-width: 0; /* Разрешаем перенос текста */
    text-align: left;
}

.licence_block label span {
    display: inline-block; /* Для корректного переноса текста */
    width: 100%; /* Занимаем всю ширину label */
    white-space: normal; /* Разрешаем перенос текста */
    line-height: 1.4; /* Улучшаем читаемость многострочного текста */
}
.form-inline_wrapper {
    width: 460px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: white;
    padding: 30px;
}
.form textarea {
    width: 100%;
}