.eko-product-summary-inner-col .stock.out-of-stock,
.woocommerce-variation-availability .stock.out-of-stock,
.eko-stock-injected-availability {
    margin: 8px 0 10px;
    color: #111111;
    font-family: "montserratbold", sans-serif;
    font-size: 13px;
}

.eko-stock-notification-button-wrap {
    display: block;
    margin: 10px 0 10px;
    width: 100%;
    max-width: 420px;
}

.eko-product-main-wrapper .eko-product-summary-inner-col .eko-stock-notification-button,
.woocommerce .eko-stock-notification-button,
.woocommerce-page .eko-stock-notification-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 11px 18px !important;
    border: 0;
    border-radius: 18px;
    background: #7ab234;
    color: #ffffff !important;
    font-family: "montserratmedium", sans-serif;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.eko-product-main-wrapper .eko-product-summary-inner-col .eko-stock-notification-button:hover,
.eko-product-main-wrapper .eko-product-summary-inner-col .eko-stock-notification-button:focus {
    background: #6aa126;
    color: #ffffff !important;
}
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product .eko-stock-notification-button-wrap {
    width: 100%;
    max-width: 423px;
    margin: 0 0 8px;
}

.shop-single-product.product-type-simple .woocommerce-availability:has(.eko-stock-notification-button-wrap) {
    margin-bottom: 0 !important;
}

.shop-single-product.product-type-simple .woocommerce-availability:has(.eko-stock-notification-button-wrap) .eko-stock-notification-button-wrap {
    margin-bottom: 5px !important;
}

.shop-single-product.product-type-simple .woocommerce-availability:has(.eko-stock-notification-button-wrap) + form.simple_form,
.shop-single-product.product-type-simple .woocommerce-availability:has(.eko-stock-notification-button-wrap) + #tm-widget-hornet + form.simple_form {
    margin-top: 0 !important;
}

.shop-single-product.product-type-simple .woocommerce-availability:has(.eko-stock-notification-button-wrap) + #tm-widget-hornet {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product .eko-stock-notification-button {
    min-height: 42px;
    padding: 10px 15px !important;
    border: none;
    border-radius: 0;
    background: #f3c900;
    color: #000000 !important;
    font-family: "montserratmedium", sans-serif;
    font-size: 13px;
    line-height: 22px;
}

body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product .eko-stock-notification-button:hover,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product .eko-stock-notification-button:focus {
    background: #f3c900;
    color: #000000 !important;
    opacity: 0.7;
}
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-simple form.simple_form:not(.eko-stock-selected-unavailable) .simple-form-quantity-wrap,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-variable form.variations_form:not(.eko-stock-selected-unavailable) .woocommerce-variation-add-to-cart:not(.woocommerce-variation-add-to-cart-disabled) {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    max-width: 423px;
}

body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-simple form.simple_form:not(.eko-stock-selected-unavailable) .eko-quantity-wrap,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-variable form.variations_form:not(.eko-stock-selected-unavailable) .woocommerce-variation-add-to-cart:not(.woocommerce-variation-add-to-cart-disabled) .eko-quantity-wrap {
    flex: 0 0 auto;
    height: 42px;
    flex-direction: row !important;
}

body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-simple form.simple_form:not(.eko-stock-selected-unavailable) .eko-quantity-wrap .quantity,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-variable form.variations_form:not(.eko-stock-selected-unavailable) .woocommerce-variation-add-to-cart:not(.woocommerce-variation-add-to-cart-disabled) .eko-quantity-wrap .quantity {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
}

body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-simple form.simple_form:not(.eko-stock-selected-unavailable) .single_add_to_cart_button,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-variable form.variations_form:not(.eko-stock-selected-unavailable) .woocommerce-variation-add-to-cart:not(.woocommerce-variation-add-to-cart-disabled) .single_add_to_cart_button {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    margin-right: 0;
}

body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-simple form.simple_form:not(.eko-stock-selected-unavailable) .eko-ask-for-product-button,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-variable form.variations_form:not(.eko-stock-selected-unavailable) .woocommerce-variation-add-to-cart:not(.woocommerce-variation-add-to-cart-disabled) .eko-ask-for-product-button {
    display: flex !important;
    flex: 0 0 100%;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 42px;
    min-height: 42px;
    margin: 8px 0 0;
    padding: 10px 15px !important;
    border: none;
    background: #0092d7;
    color: #ffffff !important;
    font-family: "montserratmedium", sans-serif;
    font-size: 13px;
    line-height: 13px;
    text-align: center;
    text-transform: uppercase;
}


body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-variable form.variations_form.eko-stock-selected-unavailable .woocommerce-variation-add-to-cart,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-simple form.simple_form.eko-stock-selected-unavailable {
    width: 100%;
    max-width: 423px;
}

body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-variable form.variations_form.eko-stock-selected-unavailable .woocommerce-variation-add-to-cart .eko-stock-injected-availability {
    flex-basis: 100%;
    width: 100%;
    margin: 0 0 8px;
}

body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-variable form.variations_form.eko-stock-selected-unavailable .woocommerce-variation-add-to-cart .eko-stock-notification-button-wrap,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-simple form.simple_form.eko-stock-selected-unavailable .eko-stock-notification-button-wrap {
    flex-basis: 100%;
    width: 100%;
    max-width: none;
    margin: 0 0 8px 0;
}

body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-variable form.variations_form.eko-stock-selected-unavailable .woocommerce-variation-add-to-cart .eko-stock-notification-button,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-simple form.simple_form.eko-stock-selected-unavailable .eko-stock-notification-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 10px 15px !important;
    border: none;
    border-radius: 0;
    background: #f3c900;
    color: #000000 !important;
    font-family: "montserratmedium", sans-serif;
    font-size: 13px;
    line-height: 22px;
    text-align: center;
    text-transform: uppercase;
}

body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-variable form.variations_form.eko-stock-selected-unavailable .woocommerce-variation-add-to-cart .eko-stock-notification-button:hover,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-variable form.variations_form.eko-stock-selected-unavailable .woocommerce-variation-add-to-cart .eko-stock-notification-button:focus,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-simple form.simple_form.eko-stock-selected-unavailable .eko-stock-notification-button:hover,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-simple form.simple_form.eko-stock-selected-unavailable .eko-stock-notification-button:focus {
    background: #f3c900;
    color: #000000 !important;
    opacity: 0.7;
}

body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-variable form.eko-stock-selected-unavailable .woocommerce-variation-add-to-cart .eko-ask-for-product-button,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-simple form.eko-stock-selected-unavailable .eko-ask-for-product-button {
    display: flex !important;
    flex-basis: 100%;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 42px;
    min-height: 42px;
    margin: 0 0 8px 0;
    padding: 10px 15px !important;
    border: none;
    border-radius: 0;
    background: #0092d7;
    color: #ffffff !important;
    font-family: "montserratmedium", sans-serif;
    font-size: 13px;
    line-height: 13px;
    text-align: center;
    text-transform: uppercase;
}

body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-variable form.eko-stock-selected-unavailable .woocommerce-variation-add-to-cart .eko-ask-for-product-button:hover,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-variable form.eko-stock-selected-unavailable .woocommerce-variation-add-to-cart .eko-ask-for-product-button:focus,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-simple form.eko-stock-selected-unavailable .eko-ask-for-product-button:hover,
body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-simple form.eko-stock-selected-unavailable .eko-ask-for-product-button:focus {
    background: #0092d7;
    color: #ffffff !important;
    opacity: 0.85;
}

form.eko-stock-selected-unavailable .quantity,
form.eko-stock-selected-unavailable .eko-quantity-wrap,
form.eko-stock-selected-unavailable .single_add_to_cart_button,
form.eko-stock-selected-unavailable .added_to_cart,
form.variations_form .woocommerce-variation-add-to-cart-disabled .quantity,
form.variations_form .woocommerce-variation-add-to-cart-disabled .eko-quantity-wrap,
form.variations_form .woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button {
    display: none !important;
}

.eko-ask-for-available-popup .mfp-content {
    max-width: 520px;
}

.eko-ask-for-available-popup-wrap {
    max-width: 520px !important;
    margin: 7vh auto 0 !important;
    padding: 30px 34px 32px !important;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

.eko-stock-notification-form h3 {
    margin: 0 32px 14px;
    color: #111111;
    font-family: "montserratsemibold", sans-serif;
    font-size: 20px;
    line-height: 1.25;
    text-align: center;
}

.eko-stock-notification-form .product-name {
    margin: 0 0 18px;
    color: #333333;
    font-family: "montserratmedium", sans-serif;
    font-size: 15px;
    line-height: 1.45;
    text-align: center;
}

.eko-stock-notification-form__intro {
    margin: 0 0 22px;
    color: #555555;
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}

.eko-stock-notification-form label {
    display: block;
    margin: 0;
    color: #333333;
    font-family: "montserratmedium", sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.eko-stock-notification-form .wpcf7-form-control-wrap {
    display: block;
    margin-top: 7px;
}

.eko-stock-notification-form input[type="email"],
.eko-stock-notification-form input[type="tel"] {
    display: block;
    width: 100%;
    height: 42px;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    background: #ffffff;
    color: #222222;
    font-size: 14px;
}

.eko-stock-notification-form input[type="email"]:focus,
.eko-stock-notification-form input[type="tel"]:focus {
    border-color: #7ab234;
    box-shadow: 0 0 0 3px rgba(122, 178, 52, 0.13);
    outline: none;
}


.eko-stock-notification-form__phone {
    margin-top: 14px !important;
}

.eko-stock-notification-form__note {
    display: block;
    margin-top: 7px;
    color: #666666;
    font-family: "montserratregular", sans-serif;
    font-size: 11px;
    line-height: 1.45;
}
.eko-stock-notification-form__message {
    display: none;
    margin: 14px 0 0;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.eko-stock-notification-form__message.is-success,
.eko-stock-notification-form__message.is-error {
    display: block;
}

.eko-stock-notification-form__message.is-success {
    background: #eef7e8;
    color: #315d12;
}

.eko-stock-notification-form__message.is-error {
    background: #fbeceb;
    color: #842029;
}

.eko-stock-notification-form .submit {
    margin-top: 18px;
    text-align: center;
}

.eko-stock-notification-form .submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 42px;
    padding: 11px 18px;
    border: 0;
    border-radius: 18px;
    background: #7ab234;
    color: #ffffff;
    font-family: "montserratmedium", sans-serif;
    font-size: 13px;
    line-height: 18px;
    text-transform: uppercase;
}

.eko-stock-notification-form .submit-btn:hover,
.eko-stock-notification-form .submit-btn:focus {
    background: #6aa126;
}

.eko-stock-notification-form .submit-btn:disabled {
    cursor: progress;
    opacity: 0.72;
}

@media (max-width: 460px) {
    body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-variable form.variations_form.eko-stock-selected-unavailable .woocommerce-variation-add-to-cart,
    body.theme-ekofabryka:not(.theme-ekofabryka-v2) .shop-single-product.product-type-simple form.simple_form.eko-stock-selected-unavailable {
        max-width: none;
    }
}

@media (max-width: 540px) {
    .eko-stock-notification-button-wrap {
        max-width: none;
    }

    .eko-ask-for-available-popup-wrap {
        width: calc(100% - 28px) !important;
        padding: 26px 20px 28px !important;
    }

    .eko-stock-notification-form h3 {
        margin-left: 26px;
        margin-right: 26px;
        font-size: 18px;
    }
}
