/* Elusvali — Notify When Back In Stock — modal & button styles */

.notify-me-wrap { margin: 16px 0; }

.notify-me-btn,
.notify-me-btn.button,
button.notify-me-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    background: #2c5f5d;
    color: #fff;
    border: 0;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'PT Sans', Arial, sans-serif !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-transform: none;
    transition: background 0.15s ease, transform 0.15s ease;
}
.notify-me-btn > span {
    font-family: 'PT Sans', Arial, sans-serif !important;
}
.notify-me-btn:hover,
.notify-me-btn:focus {
    background: #244c4a;
    color: #fff;
    outline: none;
}
.notify-me-btn:active { transform: translateY(1px); }

/* ---------- Modal ---------- */

body.notify-modal-open { overflow: hidden; }

.notify-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    animation: notify-fade-in 0.15s ease-out;
}

@keyframes notify-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.notify-modal {
    background: #fff;
    width: 100%;
    max-width: 440px;
    border-radius: 12px;
    padding: 28px 28px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.30);
    position: relative;
    box-sizing: border-box;
    color: #222;
    font-family: inherit;
    animation: notify-pop-in 0.18s ease-out;
}

@keyframes notify-pop-in {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.notify-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
}
.notify-modal-close:hover { color: #222; }

.notify-modal h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.notify-modal-product {
    margin: 0 0 18px;
    font-size: 14px;
    color: #666;
}
.notify-modal-product:empty { display: none; }

.notify-modal-form { display: block; }

.notify-modal-field {
    display: block;
    margin-bottom: 14px;
}
.notify-modal-field > span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}
.notify-modal-field input[type="email"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
    color: #222;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.notify-modal-field input[type="email"]:focus {
    border-color: #2c5f5d;
    box-shadow: 0 0 0 3px rgba(44, 95, 93, 0.15);
    outline: none;
}

.notify-modal-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 4px 0 18px;
    font-size: 13.5px;
    line-height: 1.4;
    color: #444;
    cursor: pointer;
    user-select: none;
}
.notify-modal-checkbox input[type="checkbox"] {
    margin: 2px 0 0;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.notify-modal-checkbox-extra {
    margin-top: 8px;
    padding: 10px 12px;
    background: #f5f9f9;
    border: 1px solid #d8e6e5;
    border-radius: 8px;
}
.notify-modal-checkbox-extra strong {
    display: block;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 2px;
}
.notify-modal-checkbox-desc {
    display: block;
    font-size: 12.5px;
    font-style: normal;
    color: #555;
    line-height: 1.4;
}

.notify-modal-submit {
    display: block;
    width: 100%;
    padding: 13px 16px;
    background: #2c5f5d;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-family: 'PT Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.15s ease;
}
.notify-modal-submit:hover:not(:disabled) { background: #244c4a; }
.notify-modal-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.notify-modal-status {
    margin-top: 12px;
    min-height: 1.2em;
    font-size: 13.5px;
    line-height: 1.4;
}
.notify-modal-status.error   { color: #c0392b; }
.notify-modal-status.success { color: #2c8a3a; }
