﻿.page-panier {
    padding-top: 1rem;
}

.titre-panier {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.carte-panier {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.ligne-panier {
    padding: 1.25rem 0;
    border-bottom: 1px solid #f1f5f9;
}

    .ligne-panier:last-child {
        border-bottom: none;
    }

.image-produit-panier {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 14px;
    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
}

.nom-produit-panier {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.prix-unitaire-panier {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.controle-quantite {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

    .controle-quantite button {
        border: none;
        background: transparent;
        width: 38px;
        height: 38px;
        font-weight: 700;
    }

    .controle-quantite span {
        min-width: 42px;
        text-align: center;
        font-weight: 600;
    }

.bouton-supprimer-lien {
    border: none;
    background: none;
    color: #6b7280;
    padding: 0;
    text-decoration: underline;
    font-size: 0.92rem;
}

.prix-ligne-panier {
    font-size: 1.05rem;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.resume-commande {
    position: sticky;
    top: 95px;
    padding: 1rem;
}

    .resume-commande h4 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 1.25rem;
    }

.resume-ligne {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
    color: #374151;
}

.resume-total {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.7rem;
}

.texte-info-resume {
    color: #6b7280;
    font-size: 0.92rem;
    margin-top: 0.9rem;
}

.info-commande-limite {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    font-size: 0.95rem;
}

.actions-panier {
    margin-top: 1.5rem;
}

.bouton-principal-panier {
    width: 100%;
    border-radius: 999px;
    padding: 0.85rem 1rem;
    font-weight: 600;
}

.lien-retour-achats {
    display: inline-block;
    margin-top: 1rem;
    color: #111827;
    text-decoration: none;
    font-weight: 500;
}

.etat-vide-panier {
    padding: 2rem;
    text-align: center;
}

@@media (max-width: 991.98px) {
    .resume-commande {
        position: static;
        margin-top: 1.5rem;
    }

    .prix-ligne-panier {
        text-align: left;
        margin-top: 1rem;
    }
}

.champ-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.champ-wrapper {
    border: 1px solid #d1d5db;
    border-radius: 14px;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .champ-wrapper:focus-within {
        border-color: #111827;
        box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
    }

.champ-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    color: #111827;
    border-radius: 14px;
}

    .champ-input::placeholder {
        color: #9ca3af;
    }

.champ-erreur {
    margin-top: 0.5rem;
    font-size: 0.88rem;
    color: #dc2626;
}

.champ-wrapper.erreur {
    border-color: #dc2626;
}

.delai-fabrication-produit {
    color: #b02a37;
    background: #fdeaea;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 3px 6px;
    border-radius: 4px;
    display: inline-block;
   
    margin-bottom: 6px;
}

#cgv-erreur {
    color: #DE2323;
    font-size: 0.85rem;
}
    


