/**
* 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.
*/

/* MODAL STOCK */

.modal-stock {
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
}

.modal-stock .content {
    overflow: hidden;
    max-width: 500px;
    width: 90%;
    z-index: 91;
    margin: 0 auto;
    height: 400px;
    background: white;

}

.modal-stock .content .top {
    height: 50%;
    position: relative;
    background: white;
}

.notify-btn {
    /* background: #111; */
    display: inline-block;
    cursor: pointer;
    /* transition: 0.4s;

    padding: 5px 20px; */
    margin: 15px 0;
    /* border: 2px solid #111;
    color: white;
    font-size: 1rem; */
}

.desktop_device .notify-btn:hover {
    /* background: white;
    border: 2px solid #111;
    color: #111; */
}

#product .modal-stock .js-mailalert,
#manufacturer .modal-stock .js-mailalert,
#category .modal-stock .js-mailalert,
body.is_blog .modal-stock .js-mailalert {
    display: flex;
}

#product .modal-stock .js-mailalert .btn,
#manufacturer .modal-stock .js-mailalert .btn,
#category .modal-stock .js-mailalert .btn,
body.is_blog .modal-stock .js-mailalert .btn {
    background: #111;
    text-transform: none;
    border: 2px solid #111;

    height: 40px;
    color: white;
    font-size: 1rem;
    box-shadow: none;
    margin-top: 40px;
}

#product.desktop_device .modal-stock .js-mailalert .btn:not(:disabled),
#manufacturer.desktop_device .modal-stock .js-mailalert .btn:not(:disabled),
#category.desktop_device .modal-stock .js-mailalert .btn:not(:disabled),
body.is_blog.desktop_device .modal-stock .js-mailalert .btn:not(:disabled) {
    cursor: pointer;
}

#product.desktop_device .modal-stock .js-mailalert .btn:not(:disabled):hover,
#manufacturer.desktop_device .modal-stock .js-mailalert .btn:not(:disabled):hover,
#category.desktop_device .modal-stock .js-mailalert .btn:not(:disabled):hover,
body.is_blog.desktop_device .modal-stock .js-mailalert .btn:not(:disabled):hover {
    background: white;
    border: 2px solid #111;
    color: #111;
}

#product .modal-stock .js-mailalert input,
#manufacturer .modal-stock .js-mailalert input,
#category .modal-stock .js-mailalert input,
body.is_blog.desktop_device .modal-stock .js-mailalert input {
    margin-bottom: 10px;
    height: 40px;

    background: white;
    color: #111;
    border: 1px solid #444;
    padding: 10px;
    font-size: 1rem;
    width: 100%;
}

#_sd_popup_notify_stock-modal .modal-stock input[type="email"] {
    border: 1px solid #444;
    padding: 10px 15px;
    height: 40px;
}

#_sd_popup_notify_stock-modal ._sd_popup_notify_stock-email button {
    width: 100%;
    background: #333;
    color: white;
    height: 40px;
    border: none;
    box-shadow: none;
    margin-top: 20px;
    cursor: pointer;
}

#_sd_popup_notify_stock-modal ._sd_popup_notify_stock-email button:disabled {
    opacity: 0.25;
    cursor: initial;
}

#product .modal-stock .js-mailalert>.mar_b6,
#manufacturer .modal-stock .js-mailalert>.mar_b6,
#category .modal-stock .js-mailalert>.mar_b6,
body.is_blog .modal-stock .js-mailalert>.mar_b6 {
    display: none;
}

.modal-stock .content .top img {
    position: absolute;
    left: -25px;
    width: 115%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}

.show-modal-stock {
    visibility: visible;
    opacity: 1;
}

.desktop_device .modal-stock .content {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    font-size: 1rem;
    height: 600px;
    display: grid;
    grid-template-columns: 1.75fr 2fr;
    background: white;

}

.desktop_device .modal-stock .top {
    height: 100%;
    position: relative;
    background: white;
    max-width: 417px;
}

.desktop_device .modal-stock .bottom {
    height: auto;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 6px;
}

.desktop_device .modal-stock .top img {
    max-width: none;
    left: 0;
    position: static;
    width: 100%;
}

#modal-unavailable-sizes,
.modal-unavailable-sizes {
    width: 100%;
    padding: 10px;

    border: none;
    cursor: pointer;
    /* box-shadow: 0px 0px 1px rgb(0 0 0 / 84%); */
    background: white;
    border: 1px solid #444;
    text-indent: 5px;
    margin-bottom: 30px;
    /* background: url(http://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png) no-repeat right;
    background-position-x: 366px; */

}

/* .desktop_device #modal-unavailable-sizes {
    -webkit-appearance: none;
} */


#modal-unavailable-sizes option,
.modal-unavailable-sizes option {
    padding: 5px !important;
}

#product .modal-stock .right,
#manufacturer .modal-stock .right,
#category .modal-stock .right,
body.is_blog .modal-stock .right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 65px;
    text-align: center;
}

#product .modal-stock .left,
#manufacturer .modal-stock .left,
#category .modal-stock .left,
body.is_blog .modal-stock .left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-stock__product-name {
    color: #111;
    margin-bottom: 40px;
}

.modal-stock .js-mailalert {
    display: flex;
    flex-direction: column;
}

#product .modal-stock .content,
#manufacturer .modal-stock .content,
#category .modal-stock .content,
body.is_blog .modal-stock .content {
    position: relative
}

#product .modal-stock .close,
#manufacturer .modal-stock .close,
#category .modal-stock .close,
body.is_blog .modal-stock .close {
    position: absolute;
    color: #000;
    top: 10px;
    right: 15px;
}

#_sd_popup_notify_stock-modal .modal-stock .gdpr_consent .custom-input-box {
    margin-right: 10px;
}

#_sd_popup_notify_stock-modal .modal-stock .gdpr_consent {
    padding-top: 10px;
}

#_sd_popup_notify_stock-modal .consent-wrapper {
    display: flex;
    text-align: left;
    font-size: 14px;
    gap: 10px;
    margin-top: 6px;
    line-height: 14px;
}

#_sd_popup_notify_stock-modal .consent-wrapper p {
    margin-bottom: 0;
}

/*** mobile ***/

.mobile_device .modal-stock .content {
    height: 90%;
    overflow: auto;
    display: grid;
    grid-template-rows: 30vh 1fr;
}

.mobile_device .modal-stock .left {
    height: 100%;
}

.mobile_device .modal-stock .left img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    /* object-position: 0 -250px; */
}

#product.mobile_device .modal-stock .right,
#manufacturer.mobile_device .modal-stock .right,
#category.mobile_device .modal-stock .right,
body.is_blog.mobile_device .modal-stock .right {
    display: flex;
    height: 100%;
    padding: 20px 0px;
    width: 75%;
    margin: 0 auto;
}

#product.mobile_device .modal-stock__product-name,
#manufacturer.mobile_device .modal-stock__product-name,
#category.mobile_device .modal-stock__product-name,
body.is_blog.mobile_device .modal-stock__product-name {
    max-height: 36px;
    font-size: 1.1rem;
    overflow: hidden;
    margin-top: 0px;
    margin-bottom: 20px;
}

.mobile_device .modal-stock .right p {
    margin-bottom: 0.6rem;
}

#product.mobile_device .modal-stock .js-mailalert input,
.mobile_device #modal-unavailable-sizes,
#product.mobile_device .modal-stock .js-mailalert input,
.mobile_device .modal-unavailable-sizes {
    height: 36px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

#product.mobile_device .modal-stock .js-mailalert input,
#manufacturer.mobile_device .modal-stock .js-mailalert input,
#category.mobile_device .modal-stock .js-mailalert input,
body.is_blog.mobile_device .modal-stock .js-mailalert input {
    padding-left: 18px;
}

.mobile_device #_sd_popup_notify_stock-modal .modal-stock input[type="email"] {
    height: 35px;
    font-size: 14px;
}

#product.mobile_device .modal-stock .js-mailalert .btn,
#manufacturer.mobile_device .modal-stock .js-mailalert .btn,
#category.mobile_device .modal-stock .js-mailalert .btn,
body.is_blog.mobile_device .modal-stock .js-mailalert .btn {
    font-size: 0.9rem;
    margin-top: 10px;
}

.mobile_device #modal-unavailable-sizes,
.mobile_device .modal-unavailable-sizes {
    padding: 8px 14px;
}


@media (max-width: 320px) {

    #product.mobile_device .modal-stock .js-mailalert .btn,
    #manufacturer.mobile_device .modal-stock .js-mailalert .btn,
    #category.mobile_device .modal-stock .js-mailalert .btn,
    body.is_blog.mobile_device .modal-stock .js-mailalert .btn {
        font-size: 0.8rem;
        margin-top: 10px;
    }

    #product.mobile_device .modal-stock__product-name,
    #manufacturer.mobile_device .modal-stock__product-name,
    #catgory.mobile_device .modal-stock__product-name,
    body.is_blog.mobile_device .modal-stock__product-name {
        margin-bottom: 10px;
    }
}



@media (max-width: 420px) {
    .mobile_device #_sd_popup_notify_stock-modal .consent-wrapper {
        font-size: 12px;
        line-height: 12px;
    }
}