/*
|--------------------------------------------------------------------------
| Back In Stock - Button
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| Single Product Wrapper
|--------------------------------------------------------------------------
*/

.notifex-stock-wrapper {
    display: flex;

    flex-direction: column;

    align-items: stretch;

    width: 100%;

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    gap: 9px;
}


/*
|--------------------------------------------------------------------------
| Single Product Stock Status
|--------------------------------------------------------------------------
*/

.notifex-stock-status {
    display: block;

    margin: 0;
    padding: 0;

    color: #777777;

    font-family: inherit;

    font-size: 14px;
    font-weight: 400;

    line-height: 1.6;

    text-align: right;
}


/*
|--------------------------------------------------------------------------
| Single Product Notify Button
|--------------------------------------------------------------------------
|
| The "button" class allows compatible themes to provide
| their own button styling.
|
| Notifex only controls layout-related properties here.
|
*/

.notifex-stock-wrapper
.notifex-stock-notify-button {
    display: flex !important;

    align-items: center;
    justify-content: center;

    width: 50% !important;

    min-height: 44px;

    margin: 0 !important;
    padding: 9px 16px !important;

    box-sizing: border-box;

    font-family: inherit !important;

    line-height: 1.5 !important;

    text-align: center;

    text-decoration: none !important;

    cursor: pointer;

    box-shadow: none;
    color:#fff !important;
    background-color:#e83535 !important;
}


/*
|--------------------------------------------------------------------------
| Single Product Notify Button - Hover
|--------------------------------------------------------------------------
*/

.notifex-stock-wrapper
.notifex-stock-notify-button:hover {
    opacity: 0.92;
}


/*
|--------------------------------------------------------------------------
| Single Product Notify Button - Focus
|--------------------------------------------------------------------------
*/

.notifex-stock-wrapper
.notifex-stock-notify-button:focus {
    outline: none !important;

    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.08) !important;
}


/*
|--------------------------------------------------------------------------
| Single Product Notify Button - Disabled
|--------------------------------------------------------------------------
*/

.notifex-stock-wrapper
.notifex-stock-notify-button:disabled {
    opacity: 0.55 !important;

    cursor: wait !important;
}


/*
|--------------------------------------------------------------------------
| Product Loop
|--------------------------------------------------------------------------
*/

.notifex-stock-loop {
    display: flex;

    flex-direction: column;

    align-items: stretch;

    width: 100%;

    margin: 8px 0 0;

    padding: 0;

    box-sizing: border-box;

    text-align: center;
}


/*
|--------------------------------------------------------------------------
| Product Loop - Stock Status
|--------------------------------------------------------------------------
*/

.notifex-stock-loop-status {
    display: block;

    width: 100%;

    margin: 0 0 8px;

    padding: 0;

    box-sizing: border-box;

    color: #777777;

    font-family: inherit;

    font-size: 13px;

    font-weight: 400;

    line-height: 1.6;

    text-align: center;
}


/*
|--------------------------------------------------------------------------
| Product Loop - Notify Button
|--------------------------------------------------------------------------
|
| The "button" class allows compatible themes to provide
| their own button styling.
|
*/

.notifex-stock-loop-button {
    display: flex !important;

    align-items: center;
    justify-content: center;

    width: 100% !important;

    min-height: 40px;

    margin: 0 !important;

    padding: 8px 14px !important;

    box-sizing: border-box;

    font-family: inherit !important;

    line-height: 1.5 !important;

    text-align: center;

    text-decoration: none !important;

    cursor: pointer;

    box-shadow: none;
}


/*
|--------------------------------------------------------------------------
| Product Loop - Hover
|--------------------------------------------------------------------------
*/

.notifex-stock-loop-button:hover {
    opacity: 0.92;
}


/*
|--------------------------------------------------------------------------
| Product Loop - Focus
|--------------------------------------------------------------------------
*/

.notifex-stock-loop-button:focus {
    outline: none !important;

    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.08) !important;
}


/*
|--------------------------------------------------------------------------
| Product Loop - Disabled
|--------------------------------------------------------------------------
*/

.notifex-stock-loop-button:disabled {
    opacity: 0.5 !important;

    cursor: wait !important;
}


/*
|--------------------------------------------------------------------------
| Modal
|--------------------------------------------------------------------------
*/

.notifex-stock-modal {
    display: none;

    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 100%;

    padding: 20px;

    box-sizing: border-box;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.52);

    z-index: 999999;

    direction: rtl;
}


.notifex-stock-modal.is-open {
    display: flex;
}


/*
|--------------------------------------------------------------------------
| Modal Inner
|--------------------------------------------------------------------------
*/

.notifex-stock-modal-inner {
    position: relative;

    width: 100%;
    max-width: 420px;

    margin: 0;

    padding: 28px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.08);

    border-radius: 12px;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.16);

    color: #222222;

    font-family: inherit;

    text-align: right;

    overflow: hidden;
}


/*
|--------------------------------------------------------------------------
| Modal Close
|--------------------------------------------------------------------------
*/

.notifex-stock-modal-close {
    position: absolute;

    top: 10px;
    left: 10px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    margin: 0 !important;

    padding: 0 !important;

    box-sizing: border-box;

    background: transparent !important;

    border: 0 !important;

    border-radius: 6px;

    color: #777777 !important;

    font-family: Arial, sans-serif !important;

    font-size: 21px !important;

    font-weight: 400 !important;

    line-height: 1 !important;

    text-align: center;

    cursor: pointer;

    box-shadow: none !important;

    transition:
        background-color 0.18s ease,
        color 0.18s ease;
}


.notifex-stock-modal-close:hover {
    background: #f3f3f3 !important;

    color: #222222 !important;
}


.notifex-stock-modal-close:focus {
    outline: none !important;

    box-shadow: none !important;
}


/*
|--------------------------------------------------------------------------
| Modal Title
|--------------------------------------------------------------------------
*/

.notifex-stock-modal-inner h3 {
    display: block;

    margin: 0 0 8px;

    padding: 0;

    color: #222222;

    font-family: inherit;

    font-size: 19px;

    font-weight: 600;

    line-height: 1.6;

    text-align: right;
}


/*
|--------------------------------------------------------------------------
| Modal Description
|--------------------------------------------------------------------------
*/

.notifex-stock-modal-inner p {
    display: block;

    margin: 0 0 20px;

    padding: 0;

    color: #707070;

    font-family: inherit;

    font-size: 13px;

    font-weight: 400;

    line-height: 1.8;

    text-align: right;
}


/*
|--------------------------------------------------------------------------
| Phone Input
|--------------------------------------------------------------------------
*/

#notifex-stock-phone {
    display: block !important;

    width: 100% !important;

    height: 44px !important;

    min-height: 44px !important;

    margin: 0 0 12px !important;

    padding: 0 12px !important;

    box-sizing: border-box !important;

    background: #ffffff !important;

    border: 1px solid #d9d9d9 !important;

    border-radius: 7px !important;

    color: #222222 !important;

    font-family: inherit !important;

    font-size: 14px !important;

    font-weight: 400 !important;

    line-height: 44px !important;

    direction: ltr;

    text-align: left;

    outline: none !important;

    box-shadow: none !important;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}


/*
|--------------------------------------------------------------------------
| Phone Input - Focus
|--------------------------------------------------------------------------
*/

#notifex-stock-phone:focus {
    background: #ffffff !important;

    border-color: #999999 !important;

    outline: none !important;

    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.05) !important;
}


/*
|--------------------------------------------------------------------------
| Phone Input - Placeholder
|--------------------------------------------------------------------------
*/

#notifex-stock-phone::placeholder {
    color: #a0a0a0;

    opacity: 1;
}


/*
|--------------------------------------------------------------------------
| Submit
|--------------------------------------------------------------------------
*/

.notifex-stock-submit {
    display: flex !important;

    align-items: center;
    justify-content: center;

    width: 100% !important;

    height: 44px !important;

    min-height: 44px !important;

    margin: 0 !important;

    padding: 0 18px !important;

    box-sizing: border-box;

    background: #222222 !important;

    border: 1px solid #222222 !important;

    border-radius: 7px !important;

    color: #ffffff !important;

    font-family: inherit !important;

    font-size: 14px !important;

    font-weight: 500 !important;

    line-height: 1 !important;

    text-align: center;

    cursor: pointer;

    box-shadow: none !important;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        opacity 0.18s ease;
}


/*
|--------------------------------------------------------------------------
| Submit - Hover
|--------------------------------------------------------------------------
*/

.notifex-stock-submit:hover {
    background: #111111 !important;

    border-color: #111111 !important;

    color: #ffffff !important;
}


/*
|--------------------------------------------------------------------------
| Submit - Focus
|--------------------------------------------------------------------------
*/

.notifex-stock-submit:focus {
    outline: none !important;

    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.08) !important;
}


/*
|--------------------------------------------------------------------------
| Submit - Disabled
|--------------------------------------------------------------------------
*/

.notifex-stock-submit:disabled {
    opacity: 0.55 !important;

    cursor: wait !important;
}


/*
|--------------------------------------------------------------------------
| Error
|--------------------------------------------------------------------------
*/

.notifex-stock-error {
    display: none;

    margin: 10px 0 0;

    padding: 0;

    color: #b42318;

    font-family: inherit;

    font-size: 13px;

    font-weight: 400;

    line-height: 1.7;

    text-align: right;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 480px) {

    .notifex-stock-modal {
        padding: 14px;
    }

    .notifex-stock-modal-inner {
        max-width: 100%;

        padding: 24px 20px 20px;

        border-radius: 10px;
    }

    .notifex-stock-modal-inner h3 {
        font-size: 18px;
    }

}