/* ===== Модальное окно "Уведомить о наличии" =====
   Стилистика и цвета намеренно совпадают с #callback-overlay из
   chat_widget.css (тёплый айвори + графит) — единый визуальный язык
   для всех попапов сайта, а не два разных стиля модалок. */

#stock-notify-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 28, 25, 0.45);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#stock-notify-modal {
    position: relative;
    background: #FBF9F6;
    width: 100%;
    max-width: 360px;
    padding: 40px 32px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

#stock-notify-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 16px;
    color: #8a8378;
    cursor: pointer;
}

#stock-notify-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    letter-spacing: 0.5px;
    color: #2b2a28;
    margin: 0 0 8px;
}

#stock-notify-product-name {
    font-size: 13px;
    color: #8a8378;
    margin: 0 0 20px;
}

#stock-notify-subtitle {
    font-size: 13.5px;
    line-height: 1.5;
    color: #6f6a62;
    margin: 0 0 22px;
}

.stock-notify-field {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d9d2c3;
    background: transparent;
    padding: 8px 4px;
    font-size: 15px;
    text-align: center;
    color: #2b2a28;
    outline: none;
    transition: border-color .2s;
    margin-bottom: 16px;
}

.stock-notify-field::placeholder {
    color: #8a8378;
}

.stock-notify-field:focus {
    border-bottom-color: #2b2a28;
}

#stock-notify-error {
    min-height: 18px;
    font-size: 12px;
    color: #b3452f;
    margin-top: -4px;
    margin-bottom: 8px;
}

#stock-notify-submit {
    margin-top: 10px;
    width: 100%;
    padding: 12px;
    background: #2b2a28;
    color: #FBF9F6;
    border: none;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
}

#stock-notify-submit:hover {
    background: #46443f;
}

#stock-notify-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

#stock-notify-success {
    display: none;
    font-size: 14px;
    line-height: 1.6;
    color: #2b2a28;
}