.header-dispo {
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #273f5d;
    padding-left: 20px;
    color:white;
}

.header-dispo .logo img {
    max-height: 50px;
    margin-left: 20px;
}

.main-dispo {
    margin-top: 60px;
    margin-bottom: 90px;
    padding: 0px 30px;
    transition: all 0.3s;
    min-height: 100vh;
}

.dispo-segments-nav {
    font-family: "Nunito", sans-serif;
    text-transform: capitalize;
    font-size: .9rem;
    font-weight: 700;
    cursor:pointer;
}
.dispo-segments-nav .nav-link {
    color:#273f5d;
}

/* === Card modèle globale === */
.modele-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 15px;
    margin-bottom: 25px;
}

/* Header (désignation / année / prix) */
.modele-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}
.modele-header .prix {
    font-size: 1.1rem;
    font-weight: 600;
}

/* === Couleurs bi-ton === */
.modele-card .couleurs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

/* === Pastilles couleurs génériques === */
.modele-card .couleur-vignette {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid #ccc;
}
.modele-card .couleur-vignette::before,
.modele-card .couleur-vignette::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    left: 0;
}
.modele-card .couleur-vignette::before { top: 0; }
.modele-card .couleur-vignette::after  { bottom: 0; }
.modele-card .couleur-vignette.active {
    border: 2px solid #000;
}

/* Noir (gris doux) */
.modele-card .color-noir::before  { background: #cfcfcf; }
.modele-card .color-noir::after   { background: #7a7a7a; }

/* Jaune */
.modele-card .color-jaune::before { background: #fff7cc; }
.modele-card .color-jaune::after  { background: #f2d96b; }

/* Bleu */
.modele-card .color-bleu::before  { background: #cce7f6; }
.modele-card .color-bleu::after   { background: #6baed6; }

/* Gris */
.modele-card .color-gris::before  { background: #eeeeee; }
.modele-card .color-gris::after   { background: #b0b0b0; }

/* Orange */
.modele-card .color-orange::before { background: #ffe0b2; }
.modele-card .color-orange::after  { background: #f4a261; }

/* Violet */
.modele-card .color-violet::before { background: #e8d4f7; }
.modele-card .color-violet::after  { background: #a678c8; }

/* Rose */
.modele-card .color-rose::before { background: #ffe0eb; }
.modele-card .color-rose::after  { background: #f48fb1; }

/* Vert */
.modele-card .color-vert::before { background: #d0f0d0; }
.modele-card .color-vert::after  { background: #7bc47f; }

/* Rouge */
.modele-card .color-rouge::before { background: #f8cccc; }
.modele-card .color-rouge::after  { background: #e57373; }

/* Beige */
.modele-card .color-beige::before { background: #fdf5e6; }
.modele-card .color-beige::after  { background: #d9c8a9; }

/* Mauve */
.modele-card .color-mauve::before { background: #f1d9f9; }
.modele-card .color-mauve::after  { background: #b57edc; }

/* Blanc (gris clair pour contraste) */
.modele-card .color-blanc::before { background: #ffffff; }
.modele-card .color-blanc::after  { background: #f5f5f5; }

/* Or (doré pastel) */
.modele-card .color-or::before { background: #fff5cc; }
.modele-card .color-or::after  { background: #d4af37; }


/* === Tailles / stock / référence === */
.modele-card .taille-box {
    text-align: center;
    margin-bottom: 10px;
}
.modele-card .taille-box .taille {
    font-weight: bold;
    font-size: 1rem;
}

/* Input + stock groupés */
.modele-card .input-group .form-control {
    text-align: center;
    max-width: 50px;
}
.modele-card .stock {
    min-width: 50px;
    text-align: center;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modele-card .stock-green  { background: #E6F0DD; color: #3a5522; }
.modele-card .stock-red    { background: #F4D5D5; color: #720406;}

.modele-card .ref {
    font-size: 0.70rem;
    color:#777;
}

/* === Bouton panier === */
.modele-card .ajout-panier {
    text-align: right;
    margin-top: 10px;
}
.modele-card .ajout-panier .btn {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    display:flex;
    align-items:center;
    justify-content:center;
}

.modele-card .qte-input:focus {
    outline: none;
    box-shadow: none;
    border-color: #ccc;
}