
.update-cart-form {
    display: flex;
    flex-direction: column;
}
.quantity-input {
    width: 75px!important;
    text-align: center;
    margin-top: 5px; 
    border: none!important;
    padding: 0.5px 1px!important;
}
.quantity-input span {
    display: inline-block;
    width: 75px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #f0f0f0;
    border-radius: 5px;
    font-weight: bold;
}
.update-btn {
    background-color: #000;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    width: 100%;
    text-align: center;
}
.update-btn:hover {
    background-color: #000;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    color:#fff;
}
.item-category {
    font-style: italic;
    color: #777;
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1); /* Légère ombre pour l'overlay */
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-item {
    position: relative; /* Pour que l'overlay se positionne correctement */
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

/* Animation du spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



@media (max-width: 768px) {
  .mini-cart {
    max-width: 100%;
    
}

}

