/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to http://www.prestashop.com for more information.
 *
 * @author Goryachev Nikolay <versus73333333@gmail.com>
 * @copyright 2021-2023 Goryachev Nikolay
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 * International Registered Trademark & Property of PrestaShop SA
*/

.product-add-to-cart_one-click .ngioc-block-btn {
    margin-top: 0;
    margin-bottom: 0;
}
.product-add-to-cart_one-click .ngioc-btn {
    font-size: 1.15em;
    min-height: 3.1em;
    font-weight: 500;
    padding: 0.3em 0.95em;
    width: 100%;
}
.ngioc-btn.ngioc-loader {
    overflow: hidden;
}
.ngioc-modal[data-type-form="one_click_product"] .ngioc-modal_box {
    max-width: 710px;
}
.ngioc-modal .modal-body {
    padding-bottom: 40px;
}

[data-type-form="one_click_cart"].ngioc-btn {
    width: 100%;
}

[data-type-form="one_click_cart"] .modal-header {
    align-items: center;
}
[data-type-form="one_click_cart"] .modal-title {
    margin-bottom: 0;
}

[data-type-form="one_click_product"] .modal-body {
    padding-top: 0;
    padding-left: 75px;
    padding-right: 75px;
}
[data-type-form="one_click_product"] .modal-header {
    min-height: 46px;
}
[data-type-form="one_click_product"] .ngioc-modal-dialog_btn-close {
    right: 19px;
    top: calc(50% + 15px);
    font-size: 2.2em;
}
[data-type-form="one_click_product"] .ngioc-modal-dialog_btn-close:not(:hover) {
    color: #000000;
}
[data-type-form="one_click_product"] .ngioc-form-fields {
    padding-right: 40px;
}
[data-type-form="one_click_product"] .ngioc-content-product {
    padding-left: 40px;
    align-items: flex-start;
}
.ngioc-modal_box {
    border-radius: 16px;
}
.ngioc-found-cheaper_title {
    font-size: 1.9em;
    line-height: 1.2;
    color: #000;
    font-weight: 600;
    margin-bottom: 1.4em;
    text-align: left;
    justify-content: flex-start;
}
.ngioc-form-field_number-captcha {
    display: flex;
    margin-bottom: 5px;
}
.ngioc-form-field_number-captcha .captcha-code {
    padding-right: 10px;
    min-width: 85px;
}
.ngioc-form-actions {
    justify-content: flex-start;
}
.ngioc-form-action_btn-post {
    width: 100%;
    max-width: 175px;
}
.ngioc-form-field {
    margin-bottom: 1.2rem;
}
.ngioc-form-field .custom-checkbox_label {
    margin-bottom: 0;
}
.ngioc-form-field .custom-checkbox_text {
    font-size: 1.1em;
}
.ngioc-form-field .custom-checkbox_text > p {
    margin-bottom: 0;
}
.ngioc-form-field .custom-checkbox_text a {
    text-decoration: underline;
}
.ngioc-form-field .form-control {
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid #ececec;
    background-color: #f5f5f5;
    font-size: 1.05em;
    line-height: 16px;
    padding: 5px 27px;
}
.ngioc-form-actions {
    margin-top: 40px;
}
.ngioc-product-cover {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-radius: 16px;
    margin-bottom: 1.9em;
    max-height: 173px;
}
.ngioc-product-name {
    font-size: 1.25em;
    color: #000000;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 8px;
}
.ngioc-product-qty {
    display: flex;
    padding: 0.65em 1.4em;
    border-radius: 10px;
    background-color: #008ad2;
}
.ngioc-product-qty .input-group > .input-group-append > .btn,
.ngioc-product-qty .input-group > .input-group-prepend > .btn,
.ngioc-product-qty .bootstrap-touchspin-up,
.ngioc-product-qty .bootstrap-touchspin-down {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    min-width: 2.4em;
    height: 2.4em;
    min-height: 2.4em;
    font-weight: 400;
    font-size: 1.2em;
    border-radius: 0.5em;
    padding: 0.3em 0.3em;
    color: #000000;
}
.ngioc-product-qty .input-group > .input-group-prepend > .btn.bootstrap-touchspin-down,
.ngioc-product-qty .bootstrap-touchspin-down {
    margin-right: 0.6em;
}
.ngioc-product-qty .input-group > .input-group-append > .btn.bootstrap-touchspin-up,
.ngioc-product-qty .bootstrap-touchspin-up {
    margin-left: 0.6em;
}
.ngioc-product-qty .input-group:not(.has-validation) > .form-control:not(:last-child) {
    border-radius: 0.5em;
    height: 2.2em;
    text-align: center;
    font-weight: 500;
    color: #000000;
}

.ngioc-product-total-price {
    margin-top: 0;
    margin-bottom: 1.3em;
}
.ngioc-product-total-price_val {
    font-weight: 800;
    font-size: 20px;
}
.ngioc-product-total-regular-discount {
    font-size: 1.15em;
    margin-top: 0.5em;
    margin-bottom: 0;
}
.ngioc-product-total-regular-price {
    margin-bottom: 0;
}
.ngioc-loader:before {
    background: url('../../img/loader.gif') no-repeat center;
    background-size: 84%;
}

[data-type-form="one_click_cart"] {

}
.ngioc-btn-open-form:after {
    content: attr(data-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media(max-width: 992px) {
    .ngioc-found-cheaper_title {
        font-size: 2em;
        margin-bottom: 1em;
    }
    [data-type-form="one_click_product"] .modal-body {
        padding: 0 30px 55px;
    }
    .ngioc-content-product-box {
        display: flex;
        max-width: none;
        margin-bottom: 1.9em;
    }
    [data-type-form="one_click_product"] .ngioc-form-fields,
    [data-type-form="one_click_product"] .ngioc-content-product {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    [data-type-form="one_click_product"] .ngioc-content-product {
        padding-left: 15px;
    }
    [data-type-form="one_click_product"] .ngioc-form-fields {
        display: flex;
        flex-wrap: wrap;
        padding-left: 0;
        padding-right: 0;
    }
    .ngioc-product-cover {
        width: 50%;
        padding-right: 15px;
        margin-bottom: 0;
    }
    .ngioc-product-details {
        width: 50%;
        padding-left: 15px;
        display: flex;
        flex-wrap: wrap;
        align-content: space-between;
    }
    .ngioc-product-name {
        font-size: 1.4em;
        margin-bottom: 15px;
    }

    .ngioc-form-field {
        padding-left: 8px;
        padding-right: 8px;
    }
    [data-type-form="one_click_product"] .ngioc-form-field {
        width: 50%;
        margin-left: 0;
        margin-right: 0;
    }
    [data-type-form="one_click_product"] .ngioc-form-field--number_captcha,
    [data-type-form="one_click_product"] .ngioc-form-field--confirmation {
        width: 100%;
    }
    .form-control-elem {
        padding-left: 8px;
        padding-right: 8px;
    }
    .ngioc-form-actions {
        margin-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .custom-checkbox_text {
        font-size: 1.15em;
    }
}

@media(max-width: 768px) {
    [data-type-form="one_click_product"] .ngioc-modal-dialog_btn-close {
        right: 5px;
    }
    [data-type-form="one_click_product"] .modal-body {
        padding: 15px 15px 55px;
    }
    [data-type-form="one_click_product"] .ngioc-form-field {
        width: 100%;
    }
    .ngioc-form-field .form-control {
        font-size: 16px;
    }
    .ngioc-form-actions {
        justify-content: center;
        width: 100%;
    }
    .ngioc-form-action_btn-post {
        font-size: 1.2em;
    }
    .ngioc-content-product-box {
        flex-wrap: wrap;
        margin-bottom: 0;
    }
    .ngioc-product-cover,
    .ngioc-product-details {
        width: 100%;
    }
    .ngioc-product-details {
        padding-left: 0;
    }
    .ngioc-product-name {
        font-size: 1.5em;
    }
    [data-type-form="one_click_product"] .ngioc-content-product {
        margin-bottom: 25px;
    }
    .ngioc-product-cover {
        max-width: 250px;
        margin: 0 auto 18px;
    }
    .ngioc-product_block-info {
        width: 100%;
        margin-bottom: 8px;
    }
    .ngioc-product_block-qty {
        width: 100%;
    }

    [data-type-form="one_click_cart"] .ngioc-form-field {
        width: auto;
    }
}