/* Styl Back in Stock Notifier */

/* Wrapper na stronie produktu */
.bl-oos-wrapper, .bl-stock-notifier-wrapper {
    margin: 20px 0;
    text-align: left; /* lub center zależy od designu strony */
}

.bl-stock-msg {
    font-size: 14px;
    color: #ae1f1f; /* Czerwonawy kolor dla 'niedostępny' */
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bl-stock-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #fff; /* Tło przycisku */
    color: #3e3e3e; /* Ciemny brąz/szary */
    border: 1px solid #d2b48c; /* Delikatna ramka beżowa */
    padding: 12px 24px;
    font-family: inherit;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bl-stock-btn:hover {
    background-color: #f9f5f0; /* Bardzo jasny beż przy hover */
    border-color: #c0a075;
}

/* Modal */
.bl-stock-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Półprzezroczyste tło */
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bl-stock-modal-content {
    background: #fdfbf7; /* Beżowe tło */
    padding: 40px;
    width: 100%;
    max-width: 450px;
    position: relative;
    border: 1px solid #eaddcf; /* Subtelna ramka */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.bl-stock-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #8a7a6a;
}
.bl-stock-close:hover {
    color: #000;
}

.bl-stock-title {
    font-family: inherit; /* Użyj czcionki motywu */
    font-size: 22px;
    margin-bottom: 10px;
    color: #3e3e3e;
}

.bl-stock-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.bl-stock-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;
    outline: none;
}
.bl-stock-input:focus {
    border-color: #d2b48c;
}

.bl-stock-submit {
    background: #3e3e3e; /* Ciemny przycisk */
    color: #fff;
    border: none;
    padding: 12px 24px;
    width: 100%;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.bl-stock-submit:hover {
    background: #000;
}

.bl-stock-success-msg {
    margin-top: 20px;
    color: #4a7c59; /* Zielony sukces */
    font-weight: 600;
    border: 1px solid #cce5d4;
    padding: 15px;
    background: #f0fdf4;
}
