/**
* 2007-2024 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-2024 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.
*/
#header .header-nav #id_floting_cart,
#id_floting_cart {
    z-index: 99999999999;
    position: absolute;
    top: 81px;
    width: 20vw;
    height: calc(100vh - 175px);
    right: -70px;
    background-color: #fff;
    transition: 0.3s;
    text-align: left;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 6px 31px -12px #00000061;
}

#id_floting_cart>.title {
    padding: 10px ;
    background-color: var(--secondary);
    color: var(--white);
}

#id_floting_cart.display_hidden {
    right: -45vw;
}

#id_floting_cart #product_list .quantity-row,
#id_floting_cart #product_list .total-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}




#id_floting_cart #product_list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
    flex: 1;
    padding-bottom: 10px;
    overflow-y: scroll;
    background-color: var(--background_strong);
    
}

#id_floting_cart #total_cart {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 25px 20px;
    color: var(--primary);
    -webkit-box-shadow: -1px -9px 19px -5px rgba(0,0,0,0.15); 
box-shadow: -1px -9px 19px -5px rgba(0,0,0,0.15);
}

#id_floting_cart .strong_title:hover,
#id_floting_cart .strong_title {
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
   
}

#id_floting_cart .strong {
    font-weight: 600;
    color: var(--primary);
}

#id_floting_cart #product_list .product-box {
    width: calc(100% - 20px);;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
    font-weight: 400;
    font-size: 12px;
    color: var(--primary);
    background-color: var(--white);
    padding: 10px;
    border-radius: 9px;
    margin: 0 10px;
}

#id_floting_cart #product_list .typologie_cart {
    font-size: 16px;
    font-weight: 600;
    padding: 10px;
    background-color: var(--background_light);
    color: var(--primary);
    width: 100%;
    text-align: left;
}

#id_floting_cart .cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 10px;
    padding: 10px 20px 25px 20px;
    padding-bottom: 25px;
}

#id_floting_cart .loader_cart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    animation: rotate 0.6s infinite linear;
    border: 5px solid var(--primary_light);
    border-top-color: transparent;
    margin: auto;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

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

#product_list::-webkit-scrollbar {
    width: 9px;
    height: 14px;
}

#product_list::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
}

#product_list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border: 2px solid var(--background_light);
    border-radius: 50px;
}

#product_list::-webkit-scrollbar-track {
    background: var(--background_light);
    border-radius: 47px;
}

#product_list::-webkit-scrollbar-corner {
    background: transparent;
}



#id_floting_cart .cta a.btn{
    width: 100%;
}
@media (max-width:767px) {
    #header .header-nav #id_floting_cart, #id_floting_cart{
        display: none;
    }
}