.header-image-commande {
    position: relative;
    height: 65vh;
    background-image: url('../assets/img/commande.png'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
}

.header-image-commande::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.4); 
}

.header-image-commande .container {
    position: relative;
    z-index: 1;
} 

.card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


.panier-card {
    background: rgba(20,20,20,0.9);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 100px;
}

.panier-item {
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    animation: fadeIn 0.3s ease;
}

.qty-btn {
    background: #dc3545;
    border: none;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-weight: bold;
}

.btn-checkout {
    border-radius: 12px;
    font-weight: bold;
    padding: 10px;
    transition: 0.3s;
}

.btn-checkout:hover {
    transform: scale(1.05);
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(5px);}
    to {opacity: 1; transform: translateY(0);}
}

.product-img {
    height: 200px;
    object-fit: cover;
}

.product-card {
    border-radius: 20px;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.panier-card {
    background: #111;
    color: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: sticky;
    top: 100px;
}

.panier-item {
    background: rgba(255,255,255,0.08);
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qty-btn {
    background: #dc3545;
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: bold;
}

.btn-checkout {
    border-radius: 12px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-checkout:hover {
    transform: scale(1.05);
}