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

.cc_espartano__availability_button {
    background: #F9A825;
    font-size: 16px;
    color: white;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 4px;
    margin: 15px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.cc_espartano__availability_button svg {
    width: 20px;
}
.cc_espartano__availability_modal {
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cc_espartano__availability_modal__overlay {
    background: rgba(0,0,0,0.25);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.cc_espartano__availability_modal__content {
    position: relative;
    background: white;
    width: 750px;
    height: 350px;
    border-radius: 10px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.cc_espartano__availability_modal__fetching {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-direction: column;
} 
.cc_espartano__availability_modal__product {
    display: none;
    height: 100%;
    width: 100%;
}
.cc_espartano__availability_modal__product.show {
    display: flex;
}
.cc_espartano__availability_modal__product_image {
    display: flex;
    align-items: center;
}
.cc_espartano__availability_modal__product_image img {
    width: 350px;
}
.cc_espartano__availability_modal__product_info {
    padding: 0px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    flex: 1;
}
.cc_espartano__availability_modal__product_name {
    font-weight: 600;
    color: #111;
    font-size: 18px;
}
.cc_espartano__availability_modal__product_price {
    font-size: 22px;
    font-weight: 600;
    color: #cb1518;
}
.cc_espartano__availability_modal__product_add_button {
    height: 45px;
    background: #111;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}
.cc_espartano__availability_modal__product_add_button:hover {
    background: white;
    border: 2px solid #111;
    color: #111;
}
.cc_espartano__availability_modal__product_oem {
    display: flex;
    gap: 5px;
}
.cc_espartano__availability_modal__close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}
.cc_espartano__availability_modal__close svg {
    width: 30px;
}
.cc_espartano__availability_modal__added_to_cart {
    display: none;
}
.cc_espartano__availability_modal__added_to_cart.show {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
}
.cc_espartano__availability_modal__view_cart {
    text-align: center;
    font-size: 20px;
    background: #111;
    color: white;
    border-radius: 4px;
    padding: 7px 30px;
    cursor: pointer;
}
.cc_espartano__availability_modal__added_text {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cc_espartano__availability_modal__added_text svg {
    width: 30px;
    color: #009688;
}
.cc_espartano__availability_modal__added_text div {
    font-size: 22px;
}
.cc_espartano__availability_modal__no_available {
    display: none;
    gap: 10px;
}
.cc_espartano__availability_modal__no_available.show {
    display: flex;
}
.cc_espartano__availability_modal__desc {
    margin-top: -10px;
    font-weight: 600;
    font-size: 12px;
}
@media (max-width: 991px)
{
    .cc_espartano__availability_modal__content {
        width: 90%;
        height: auto;
        max-height: 80dvh;
        padding: 20px;
    }
    .cc_espartano__availability_modal__product_image img {
        width: 135px;
    }
    .cc_espartano__availability_modal__product.show {
        flex-direction: column;
        gap: 15px;
    }
    .cc_espartano__availability_modal__product_info {
        padding: 0px;
    }
}
