/**
* 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: 90;
    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 {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.4s;
    padding: 5px 0px;
    margin: 15px 0;
    color: #111;
    font-size: 1rem;
}
.notify-btn .text {
    font-size: 15px;
}
.notify-btn .icon-sd-envelope {
    font-size: 29px;
}
._sd_popup_notify_stock__modal {
    height: 100vh;
    background: rgba(0,0,0,0.5);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}
._sd_popup_notify_stock__loader i {
    color: white;
    font-size: 240px;
    animation: rotate infinite 1.25s linear;
}
._sd_popup_notify_stock__loader img {
    width: 125px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

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

#product .modal-stock .js-mailalert .btn,
#manufacturer .modal-stock .js-mailalert .btn,
#category .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)  {
    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  {
    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 {
    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: #111;
    border-radius: 4px;
    color: white;
    height: 50px;
    text-transform: uppercase;
    border: none;
    box-shadow: none;
    margin-top: 40px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Rubik_GF';
}
#_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 {
    display: none;
}
.modal-stock .content .top img {
    position: absolute;
    left: -25px;
    width: 115%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}
.modal-stock .content::-webkit-scrollbar {
    width: 8px;
}
.modal-stock .content::-webkit-scrollbar-track {
    background: #ebebeb;
}
.modal-stock .content::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 20px;
}
.modal-stock .content {
    scrollbar-width: thin;
    scrollbar-color: #333;
    overflow: auto;
}

.modal-stock .content .title {
    text-align: left;
    color: #111;
    font-size: 26px;
    margin-top: 12px;
    margin-bottom: 30px;
}
.modal-stock .content .subtitle {
    color: #111;
    text-align: left;
    font-weight: 500;
    margin-bottom: 30px;
}
.modal-stock .content .input-title {
    text-align: left;
    font-weight: 400;
    color: #b1b1b1;
    font-size: 15px;
    margin-bottom: 5px;
}
.modal-stock .content input[type="email"] {
    border: none;
    border-bottom: 1px solid #111;
}
.show-modal-stock {
    visibility: visible;
    opacity: 1;
}
.desktop_device .modal-stock .content {
    margin: 0 auto;
    font-size: 1rem;
    height: 85vh;
    background: white;
    border-radius: 12px;
}
.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;
    font-size: 20px;
    cursor: pointer;
    /* box-shadow: 0px 0px 1px rgb(0 0 0 / 84%); */
    background: white;
    border-bottom: 1px solid #111;
    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 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.modal-stock__product-name {
    color: #111;
    margin-bottom: 30px;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.modal-stock .js-mailalert {
    display: flex;
    flex-direction: column;
}

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

#product .modal-stock  .close,
#manufacturer .modal-stock  .close,
#category .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: 15px;
    line-height: 14px;
    align-items: flex-start;
}

#_sd_popup_notify_stock-modal .consent-wrapper p{
    margin-bottom: 0;
    line-height: 20px;
}
#_sd_popup_notify_stock-modal .consent-wrapper input[type="checkbox"] {
    margin-top: 3px;
}

/*** mobile ***/

.mobile_device .modal-stock .content {
    height: 85vh;
    overflow: auto;
    border-radius: 12px;
}

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

#product.mobile_device .modal-stock .right,
#manufacturer.mobile_device .modal-stock .right,
#category.mobile_device .modal-stock .right {
    display: block;
    height: 100%;
    padding: 20px 0px;
    width: 90%;
    margin: 0 auto;
}
#product.mobile_device .modal-stock .right img,
#manufacturer.mobile_device .modal-stock .right img,
#category.mobile_device .modal-stock .right img {
    width: 100px !important;
}
#product.mobile_device .modal-stock__product-name,
#manufacturer.mobile_device .modal-stock__product-name,
#category.mobile_device .modal-stock__product-name{
    /* max-height: 22px; */
    font-size: 1.1rem;
    overflow: hidden;
    margin-top: 0px;
    margin-bottom: 15px;
}
.mobile_device .modal-stock .right p {
    margin-bottom: 0.6rem;
}
.mobile_device .modal-stock .right .title {
    font-size: 20px;
}
#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 {
    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 {
    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 {
        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{
        margin-bottom: 10px;
    }
}

.modal-stock .psgdpr_consent_message * {
    font-family: 'Rubik' !important;
}

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