.Cart {
    border-radius: 1.1rem;
    width: 320px;
    height: 545px;
    margin-top: 120px;
    margin-left: 77%;
    background-color: white;
    border: 2px solid white;
    position: absolute;
    z-index: 22;
    display: none;

}

.Cart-product-top-total-text-span {
    color: #64748B;
    font-size: 12px;
    font-family: "Poppins", sans-serif;
}

.Cart::before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: white;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    border-left: 2px solid white;
    border-top: 2px solid white;
}

.Cart-header {
    width: 100%;
    height: 60px;
    border-bottom: 1px solid #ccc;
}

.Cart-header-text {
    position: absolute;
    margin-top: 20px;
    font-size: 19px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-left: 40%;
}

.Cart-product-liste {
    width: 100%;
    height: 61%;
    overflow: auto;

}

.Cart-product-liste::-webkit-scrollbar {
    width: 0px;
}

.Cart-product {
    width: 95%;
    margin-left: 8px;
    margin-top: 5px;
    height: 115px;
    border-bottom: 1px solid #ebebeb;
    display: flex;
}

.Cart-product-total {
    width: 96%;
    margin-left: 10px;
    height: 130px;
    z-index: 22;
    display: block;
}

.Cart-product-total-justify {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.Cart-product-top-total-price {
    font-size: 19px;
    color: #333;
    margin-top: 10px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-right: 10px;
}

.Cart-product-top-total-text {
    font-size: 18px;
    color: #15A6DD;
    margin-top: 10px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.Cart-product i {
    color: #15A6DD;
    font-size: 16px;
    margin-top: 5px;
    cursor: pointer;
}

.Cart-product-image {
    height: 93%;
    width: 35%;

}

.Cart-product-image img {
    height: 100%;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;

}

.Cart-product-contenent {
    width: 55%;
    margin-left: 10px;
    height: 93%;

}

.Cart-product-contenent-titre {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: start;
    margin-top: 5px;
}

.Cart-product-contenent-rating i {
    font-size: 15px;
    color: #FBBC04;
}

.Cart-product-contenent-price {
    margin-top: 5px;
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
}

/* Style de la quantité */
.quantity-systeme {
    display: flex;
    align-items: center;
    margin-top: 5px;
    margin-right: 5px;
}

.quantity-systeme input[type="button"],
.quantity-systeme input[type="text"] {
    width: 24px;
    height: 24px;
    text-align: center;
    border: none;
    font-size: 14px;
    border-radius: 50%;
    outline: none;
    margin-left: 5px;

}

.quantity-systeme input[type="button"] {
    cursor: pointer;
    background-color: #f2f2f2;
    color: black;
}

.quantity-systeme input[type="button"]:hover {
    background-color: #056bfa27;
}

/*                    product-total Button style  */
.Cart-product-total-button {
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    border: none;
    font-size: 16px;
    background-color: inherit;
    border-radius: 100px;
    font-weight: 600;
    color: #ccc;
    box-shadow: 0 0 0 2px #ccc;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.Cart-product-total-button span:last-child {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #2196F3;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.Cart-product-total-button span:first-child {
    position: relative;
    z-index: 1;
}

.Cart-product-total-button:hover {
    box-shadow: 0 0 0 5px #2195f360;
    color: #ffffff;
}

.Cart-product-total-button:active {
    scale: 0.95;
}

.Cart-product-total-button:hover span:last-child {
    width: 150px;
    height: 150px;
    opacity: 1;
}

#Card-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.178);
    /* Couleur d'arrière-plan semi-transparente */
    display: none;
    /* Démarrez avec l'overlay masqué */
    z-index: 10;
    /* Assurez-vous que l'overlay est au-dessus du contenu, mais derrière la sidebar */
}

@media (min-width: 700px) and (max-width: 899px) {

    /* Zoom: 170% */
    .Cart {
 

        width: 170px;
        height: 310px;
        margin-top: 60px;
        margin-left: calc(100% - 185px);
    }


    .Cart-product-contenent-titre {
        font-size: 8px;
        margin-top: 2px;
    }

    .Cart-header {
        height: 25px;
    }

    .Cart-header-text {
        margin-top: 10px;
        font-size: 10px;
        margin-left: 35%;
    }

    .Cart-product-liste {
        width: 100%;
        height: 55%;
    }


    .Cart-product {
        height: 65px;


    }

    .Cart-product-total {
        width: 96%;
        height: 90px;

    }
    .Cart-product-top-total-text-span {
        color: #64748B;
        font-size: 8px;
        font-family: "Poppins", sans-serif;
    }
    
    .Cart-product-total-justify {
        margin-top: 10px;
    }

    .Cart-product-top-total-price {
        font-size: 10px;
    }

    .Cart-product-top-total-text {
        font-size: 10px;

    }

    .Cart-product i {
        font-size: 10px;
    }

    .Cart-product-image {
        height: 93%;
        width: 35%;

    }

    .Cart-product-image img {
        height: 100%;
        width: 100%;
    }

    .Cart-product-contenent-rating i {
        font-size: 8px;
        margin-top: 3px;
    }

    .Cart-product-contenent-price {
        margin-top: 3px;
        font-size: 8px;
    }

    .Cart-product-total-button {
        padding: 7px 14px;
        font-size: 10px;
    }

    .Cart-product-total-button span:last-child {

        width: 20px;
        height: 20px;

    }

    .quantity-systeme input[type="button"],
    .quantity-systeme input[type="text"] {
        width: 14px;
        height: 14px;

        font-size: 10px;

    
    }
}

@media (min-width: 900px) and (max-width: 1099px) {

    /* Zoom: 150% */
    .Cart {

        width: 200px;
        height: 350px;
        margin-top: 80px;
        margin-left: calc(100% - 250px);
    }


    .Cart-product-contenent-titre {
        font-size: 10px;
        margin-top: 5px;
    }

    .Cart-header {
        height: 30px;
    }

    .Cart-header-text {
        margin-top: 10px;
        font-size: 12px;
        margin-left: 35%;
    }

    .Cart-product-liste {
        width: 100%;
        height: 55%;
    }


    .Cart-product {
        height: 75px;
 

    }

    .Cart-product-total {
        width: 96%;
        height: 100px;

    }
    .Cart-product-top-total-text-span {
        color: #64748B;
        font-size: 10px;
        font-family: "Poppins", sans-serif;
    }
    
    .Cart-product-total-justify {
        margin-top: 10px;
    }

    .Cart-product-top-total-price {
        font-size: 12px;
    }

    .Cart-product-top-total-text {
        font-size: 12px;

    }

    .Cart-product i {
        font-size: 12px;
    }

    .Cart-product-image {
        height: 93%;
        width: 35%;

    }

    .Cart-product-image img {
        height: 100%;
        width: 100%;
    }


    .Cart-product-contenent-titre {
        margin-top: 5px;
    }

    .Cart-product-contenent-rating i {
        font-size: 10px;
    }

    .Cart-product-contenent-price {
        margin-top: 5px;
        font-size: 12px;
    }

    .Cart-product-total-button {
        padding: 8px 16px;
        font-size: 12px;
    }

    .Cart-product-total-button span:last-child {

        width: 20px;
        height: 20px;

    }

    .quantity-systeme input[type="button"],
    .quantity-systeme input[type="text"] {
        width: 14px;
        height: 14px;
       
        font-size: 10px;

    
    }

}

@media (min-width: 1100px) and (max-width: 1199px) {

    /* Zoom: 130% */
    .Cart {


        width: 260px;
        height: 420px;
        margin-top: 80px;
        margin-left: calc(100% - 280px);
    }

    .Cart::before {
        width: 20px;
        height: 20px;
        top: -12px;
        left: 50%;

    }

    .Cart-product-contenent-titre {
        font-size: 12px;
        margin-top: 5px;
    }

    .Cart-header {
        width: 100%;
        height: 40px;
    }

    .Cart-header-text {
        margin-top: 10px;
        font-size: 14px;
        margin-left: 35%;
    }

    .Cart-product-liste {
        width: 100%;
        height: 55%;
    }


    .Cart-product {
        height: 90px;


    }

    .Cart-product-total {
        width: 96%;
        height: 130px;

    }
    .Cart-product-top-total-text-span {
        color: #64748B;
        font-size: 12px;
        font-family: "Poppins", sans-serif;
    }
    
    .Cart-product-total-justify {
        margin-top: 10px;
    }

    .Cart-product-top-total-price {
        font-size: 14px;
    }

    .Cart-product-top-total-text {
        font-size: 14px;

    }

    .Cart-product i {
        font-size: 14px;
    }

    .Cart-product-image {
        height: 93%;
        width: 35%;

    }

    .Cart-product-image img {
        height: 100%;
        width: 100%;
    }


    .Cart-product-contenent-titre {
        margin-top: 5px;
    }

    .Cart-product-contenent-rating i {
        font-size: 12px;
    }

    .Cart-product-contenent-price {
        margin-top: 5px;
        font-size: 14px;
    }

    .Cart-product-total-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .Cart-product-total-button span:last-child {

        width: 20px;
        height: 20px;

    }

}

@media (min-width: 1200px) and (max-width: 1299px) {

    /* Zoom: 120% */
    .Cart {
  
        width: 260px;
        height: 420px;
        margin-top: 80px;
        margin-left: calc(100% - 280px);
    }

    .Cart::before {
        width: 20px;
        height: 20px;
        top: -12px;
        left: 50%;

    }

    .Cart-product-contenent-titre {
        font-size: 12px;
        margin-top: 5px;
    }

    .Cart-header {
        width: 100%;
        height: 40px;
    }

    .Cart-header-text {
        margin-top: 10px;
        font-size: 14px;
        margin-left: 35%;
    }

    .Cart-product-liste {
        width: 100%;
        height: 55%;
    }


    .Cart-product {
        height: 90px;
     

    }

    .Cart-product-total {
        width: 96%;
        height: 130px;

    }
    .Cart-product-top-total-text-span {
        color: #64748B;
        font-size: 12px;
        font-family: "Poppins", sans-serif;
    }
    
    .Cart-product-total-justify {
        margin-top: 10px;
    }

    .Cart-product-top-total-price {
        font-size: 14px;
    }

    .Cart-product-top-total-text {
        font-size: 14px;

    }

    .Cart-product i {
        font-size: 14px;
    }

    .Cart-product-image {
        height: 93%;
        width: 35%;

    }

    .Cart-product-image img {
        height: 100%;
        width: 100%;
    }


    .Cart-product-contenent-titre {
        margin-top: 5px;
    }

    .Cart-product-contenent-rating i {
        font-size: 12px;
    }

    .Cart-product-contenent-price {
        margin-top: 5px;
        font-size: 14px;
    }

    .Cart-product-total-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .Cart-product-total-button span:last-child {

        width: 20px;
        height: 20px;

    }


}

@media (min-width: 1300px) and (max-width: 1449px) {

    /* Zoom: 110% */
    .Cart {
        background-color: #ffffff;
        width: 300px;
        height: 545px;
        margin-top: 80px;
        margin-left: calc(100% - 335px);


    }

    .Cart-header-text {
        margin-left: 33%;
    }

}

@media (min-width: 1450px) {
    /* Zoom: 100%*/
}

@media (min-width: 1650px) {
    /*Zoom: 90% */
}

@media (min-width: 1850px) {
    /*Zoom: 80% */
}

@media (min-width: 2050px) {
    /*Zoom: 60%*/
}