/**
* 2007-2021 PrestaShop
*
* 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    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2021 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.ecommaddtocart_advanced  .add-to-cart-productlist {
    text-align: center;
    color: white;
    cursor: pointer;
    width: 100px;
    height: 40px;
    line-height: 40px;
    border: none;
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 12px;
    display: block;
    margin: 0 auto;
    background: #559CA1;
}

.ecommaddtocart_advanced .add-to-cart-productlist:hover {
    opacity: 0.8;
}

.ecommaddtocart_advanced  .product-quantity{
    display: none;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    align-content: center;
    width: 100px;
    height: 40px;
    line-height: 29px;
    border: 1px solid #559CA1;
    margin: 0 auto;
    border-radius: 6px;
    color: black;
    background: #ECF2F0;
    margin: 0px;
    border-radius: 10px;
}

.qtymax_txt {
    font-size: 10px;
    text-align: center;
    color: red;
}


.ecommaddtocart_advanced.added .product-quantity {
    display: flex;
}

.ecommaddtocart_productlist.added .product-quantity {display: flex;margin: 0 auto;}

.ecommaddtocart_advanced.added .add-to-cart, .ecommaddtocart_advanced.added .add-to-cart-productlist {
    display: none;
}
.ecommaddtocart_advanced  p.p-quantity {
    color: black;
    margin-bottom: 0px;
    font-size: 12px;
}
.ecommaddtocart_advanced .product-quantity div {
    width: 20px;
    text-align: center;
    cursor: pointer;
    color: #559CA1;
}
#product .product-actions .product-add-to-cart .product-quantity .add {
    display: none;
}
.product-add-to-cart .ecommaddtocart_advanced .product-quantity {
    width: 100%;
    max-width: 319px;
    height: 52px;
    line-height: 52px;
}
.product-add-to-cart .ecommaddtocart_advanced .add-to-cart-productlist {
    width: 100%;
    max-width: 319px;
    height: 52px;
    line-height: 52px;
}

.ecommaddtocart_advanced .no_stock {
    background: #EBD4D3;
    border: none;
    margin: 0 auto!important;
    display: block;
    color: #B03832;
    border-radius: 6px;
    line-height: 40px;
    padding: 0px 15px;
}

.ecommaddtocart_advanced .no_stock .material-icons {
      color: #B03832;
}

div#ecommaddtocart_nostock_modal .modal-dialog {
    max-width: 450px;
}

div#ecommaddtocart_nostock_modal .modal-dialog .modal-content {
    border-radius: 6px;
    border: none;
}

div#ecommaddtocart_nostock_modal .modal-dialog .modal-content .btn {
    width: 100%;
    margin: 20px 0px 10px;
}

div#ecommaddtocart_nostock_modal .modal-dialog .modal-content .btn .material-icons {
    color: white;
}

div#ecommaddtocart_nostock_modal .gdpr_consent {
    margin-top: 12px;
}

div#ecommaddtocart_nostock_modal .error {
    color: red;
    padding-top: 10px;
    display: none;
}

div#ecommaddtocart_nostock_modal .success {
    color: green;
    padding-top: 10px;
    display: none;
}

div#ecommaddtocart_nostock_modal .header {
    padding-bottom: 17px;
}