.cart-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.ml-3 {
    margin-left: 1rem;
}

.price-label {
    font-weight: bold;
    color: #007bff;
    font-size: 15px;

}

.price-value {
    font-weight: bold;
    color: #333;
    font-size: 15px;
}

.responsive-div {
    width: 100%;
    /* Par défaut : 100% */
}

@media (min-width: 768px) {
    .responsive-div {
        width: 50%;
        /* 50% pour les écrans ≥768px */
    }
}

/* Style for the responsive div to center it on screen */
.responsive-div2 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 600px;
    /* Limit for larger screens */
    padding: 20px;
    z-index: 1050;
    /* Ensures it stays above other elements */
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: auto;
}

/* Adjust width for larger screens */
@media (min-width: 768px) {
    .responsive-div2 {
        width: 80%;
    }
}


#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
