.test-panier-popup {
    font-size: 2rem;
    color: greenyellow;
}

.my-15 {
    margin: 15px 0px 15px 0px;
}

/*le style de la popup du panier*/
.nav-list-panier {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    height: 100%;
    /*min-height: 900px;*/
    width: 0;
    transition: all 0.2s ease;
    display: none;
    overflow: auto;
}

/*le style du block de gauche */
.left-popup-panier{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background-color:#000000 ;
    opacity: 0.4;
    z-index: 600;
}

/*le style du block de droite*/
.right-popup-panier{
    position: fixed;
    top: 0;
    right: 0;
    width: 590px;
    height: 100vh;
    background-color: #F9F9F9;
    z-index: 700;
    overflow: hidden;
}

/*le style du block de droite avec les classes */
.body-popup-panier {
    padding: 10px;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom : 5px solid #bd2425;
}

.body-popup-panier  svg {
    width: 35px;
    height: 35px;
    fill: #bd2425;
    transition: all 0.2s ease;
}

.body-popup-panier svg:hover {
    fill: #ffffff;
    rotate: -45deg;
    cursor: pointer;
}

.body-popup-panier > div:first-child > p{
    font-size: 1.8rem;
    text-transform: uppercase;
}

.main-popup-panier {
    padding: 10px;
    background-color: #FFFFFF;
}

.main-popup-panier > div:first-child > p{
    font-size: 1.2rem;
}

.article-popup-panier {
    padding-right: 8px
}

.article-popup-panier > div:first-child {
   display: flex;

}

.article-popup-panier > div:first-child > div:first-child {
    width: 20%;
}

.article-popup-panier > div:first-child > div:first-child > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.article-popup-panier > div:first-child > div:last-child {
    width: 80%;
    padding: 0px 4px 0px 4px;
}

.article-popup-panier > div:first-child > div:last-child > p {
    font-size: 0.9rem;
}

.article-popup-panier > div:last-child  svg{
    width: 15px;
    height: 15px;
    fill: #bd2425;
    transition: all 0.2s ease;
}

.article-popup-panier > div:last-child svg:hover{
    fill: #000000;
    cursor: pointer;
}

.article-popup-panier > div:last-child  {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #bd2425;
}

.article-popup-panier > div:last-child > div:nth-child(2) {
    display: flex;
    font-size: 0.8rem;

}

.footer-popup-panier{
    background-color: #F9F9F9;
    border-top: 5px solid #FF9900;
    padding: 15px 8px 25px 8px;
}

.footer-popup-panier p {
    font-size: 0.8rem;
    margin: 2px 0px;
    padding: 0;
}

.footer-popup-panier > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-popup-panier > div:nth-child(4) > p {
    font-weight: bold;
}

.footer-popup-panier > div:nth-child(4) > p:first-child {
    font-size: 0.9rem;
}

.footer-popup-panier > div:nth-child(4) > p:last-child {
    font-size: 1.4rem;
}

.visible {
    right: 0;
    width: 100%;
}

.close {
    right: -530px;
}

/*le style et l'affichage de la scroll barr*/
.myautoscroll{
    overflow: auto;
    height: auto;
    max-height: 50vh;
}

#style-scroll-2::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

#style-scroll-2::-webkit-scrollbar
{
    width: 7px;
    background-color: #F5F5F5;
}

#style-scroll-2::-webkit-scrollbar-thumb
{
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #D62929;
}



/* Responsive */

@media (max-width: 1480px) {}

@media (max-width: 1280px) {}

@media (max-width: 959px) {}

@media (max-width: 769px) {
    .right-popup-panier{
        width: 100%;
    }
}

@media (max-width: 479px) {
}