/* «Сообщить о поступлении» — блок на карточке товара и модалка */

.rbx-notify {
    margin-top: 1.25em;
}

.rbx-notify__note {
    color: #7a7a7a;
    margin-bottom: 0.75em;
}

.rbx-notify__btn {
    width: 100%;
}

.rbx-notify__done {
    display: none;
    gap: 0.75em;
    align-items: flex-start;
    padding: 1em 1.25em;
    border: 1px solid #e5e5e5;
    line-height: 1.45;
}

.rbx-notify__done svg {
    flex: 0 0 18px;
    margin-top: 2px;
}

.rbx-notify._done .rbx-notify__note,
.rbx-notify._done .rbx-notify__btn {
    display: none;
}

.rbx-notify._done .rbx-notify__done {
    display: flex;
}

/* модалка */

.notify-modal .modal__dialog {
    width: 30em;
}

.notify-modal__title {
    font-size: 24px;
    line-height: 1.15;
    text-transform: uppercase;
    margin: 0 2em 0.5em 0;
}

.notify-modal__lead {
    color: #5a5a5a;
    line-height: 1.45;
}

.notify-modal__product {
    display: flex;
    gap: 1em;
    align-items: center;
    padding: 1em 0;
    margin: 1.25em 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.notify-modal__img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    object-fit: cover;
    background: #f5f5f5;
}

.notify-modal__size {
    color: #7a7a7a;
    margin-top: 0.25em;
}

.notify-form .fg {
    margin-bottom: 1em;
}

.notify-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.notify-consent {
    display: flex;
    gap: 0.65em;
    align-items: flex-start;
    margin-bottom: 1.25em;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.45;
    color: #5a5a5a;
}

.notify-consent + .notify-consent {
    margin-top: -0.5em;
}

.notify-consent input {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    border: 1px solid #3c3c3c;
    background: #fff;
    cursor: pointer;
}

.notify-consent input:checked {
    background: #3c3c3c;
}

.notify-consent input:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.notify-consent input:focus-visible {
    outline: 2px solid #3c3c3c;
    outline-offset: 2px;
}

.notify-form__error {
    margin: -0.5em 0 1em;
    font-size: 13px;
    color: #c0392b;
}

.notify-form__submit,
.notify-modal__close {
    width: 100%;
}

.notify-form__submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.notify-form__hint {
    margin-top: 0.75em;
    font-size: 13px;
    color: #8a8a8a;
    text-align: center;
}

.notify-modal__success p {
    margin: 0 0 1.5em;
    line-height: 1.5;
    color: #5a5a5a;
}

@media screen and (max-width: 576px) {
    .notify-modal__title {
        font-size: 20px;
    }
}
