/* Блок подписки в каталоге */
.design-reborn .header-menu__catalog-subscribe {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    margin-top: 20px;
    padding: 30px 30px;
    text-align: center;
}

.design-reborn .header-menu__catalog-subscribe-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ad-black);
    margin-bottom: 20px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    text-transform: none;
    text-align: left;
}

.design-reborn .header-menu__catalog-subscribe-btn {
    width: 100%;
    height: 45px;
    background: #171717;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: opacity .2s;
    letter-spacing: 0.5px;
}

.design-reborn .header-menu__catalog-subscribe-btn:hover {
    opacity: 0.85;
}

/* Модальное окно подписки */
.header-subscribe-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
}

.header-subscribe-modal.is-open {
    display: flex;
}

.header-subscribe-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.header-subscribe-modal__content {
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    width: 90%;
    max-width: 500px;
    max-height: 400px;
    border-radius: 4px;
    animation: modalFadeIn 0.3s ease;
}

.header-subscribe-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    color: #171717;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s;
    z-index: 2;
}

.header-subscribe-modal__close:hover {
    opacity: 0.7;
}

.header-subscribe-modal__close svg {
    width: 20px;
    height: 20px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.header-subscribe-modal__inner {
    padding: 60px 60px 50px;
}

.header-subscribe-modal__title {
    font-size: 22px;
    font-weight: 500;
    font-family: 'Noto Sans', sans-serif;
    text-align: left;
    margin-bottom: 22px;
    color: var(--ad-black);
    letter-spacing: 1px;
}

.header-subscribe-modal__form form {
    display: flex;
    flex-direction: column;
}

.header-subscribe-modal__label {
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    color: rgba(30, 30, 30, 0.4);
    margin-bottom: 22px;
    display: block;
}

.header-subscribe-modal__input {
    width: 100%;
    height: 60px;
    border: 1px solid rgba(30, 30, 30, 0.2);
    border-radius: 6px;
    padding: 0 10px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    margin-bottom: 40px;
    outline: none;
    transition: border-color .2s;
    color: #171717;
    max-height: 48px;
}

.header-subscribe-modal__input:focus {
    border-color: var(--ad-black);
}

.header-subscribe-modal__input::placeholder {
    color: rgba(30, 30, 30, 0.3);
}

.header-subscribe-modal__submit {
    width: 100%;
    height: 45px;
    background: #171717;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Noto Sans', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .2s;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.header-subscribe-modal__submit:disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.header-subscribe-modal__submit:not(:disabled):hover {
    opacity: 0.85;
}

.header-subscribe-modal__disclaimer {
    font-size: 12px;
    line-height: 1.3;
    color: #171717;
    text-align: left;
    font-family: 'Noto Sans', sans-serif;
}

.header-subscribe-modal__result {
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    margin-top: -10px;
    margin-bottom: 15px;
}

.header-subscribe-modal__result--error {
    color: #d32f2f;
}

.header-subscribe-modal__result--success {
    color: #2e7d32;
    text-align: center;
    padding: 20px;
    font-size: 16px;
}


.mobile-menu .design-reborn .header-menu__catalog-subscribe
{
    padding: 20px 0;
}

.mobile-menu .design-reborn .header-menu__catalog-subscribe-text
{
    padding: 0 10px;
    font-size: 12px;
}

.mobile-menu .design-reborn .header-menu__catalog-subscribe-btn
{
    max-width: none;
    width: 95%;
}

.mobile-menu .design-reborn.mobile-menu__subscribe
{
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    background: #fff;
}


@media (max-width: 560.98px)
{
    .header-subscribe-modal__title
    {
        font-size: 14px;
    }

    .header-subscribe-modal__inner
    {
        padding: 30px 20px;
    }

    .header-subscribe-modal__label
    {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .header-subscribe-modal__input
    {
        font-size: 14px;
        margin-bottom: 30px;
        height: 42px;
    }

    .header-subscribe-modal__disclaimer
    {
        font-size: 10px;
    }

    .header-subscribe-modal__submit
    {
        font-size: 14px;
    }

}
