


/* Container général */
.containerPage {
    width: 100%;
    max-width: 100vw;
}

.image {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding-top: 32px;
    padding-bottom: 32px;

}

.slide {

    display: flex;
    justify-content: center;
}

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;

    }

.blocT {
    position: sticky;
    bottom: 0;
    background-color: white;
    padding: 20px;
}
.sousBlocT {
    margin-left: 40%;
    margin-right: 40%;
    border: 2.5px solid #e3e3e3;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(80,80,80,0.08), 0 2px 4px 0 rgba(160,160,160,0.04);
    padding: 40px;

}

.deux{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
}
.fiche-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    margin-top: 20%;
}
.text {
    
    background: #fff;

    
    z-index: 10;
    display: flex;
    gap: 40px;
    align-items: flex-start;

}

.bloc {
    flex: 1 1 0;
    min-width: 260px;
    max-width: 420px;
    margin-right: 20px;
    font-size: 1.1rem;
}

.sousbloc {
    margin-bottom: 12px;
}

    .sousbloc:last-child {
        margin-bottom: 0;
    }

.btn.btn-outline-dark {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px 0;
    border-radius: 6px;
    border: 1.5px solid #111;
    background: #fff;
    color: #111;
    font-weight: 500;
    font-size: 1em;
    transition: background .2s, color .2s, box-shadow .2s;
    cursor: pointer;
}

    .btn.btn-outline-dark:hover {
        background: #111;
        color: #fff;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }

.center {
    text-align: center;
}

h2 {
    font-size: 1.5em;
    margin: 10px 0 6px 0;
}

h3 {
    font-size: 1.2em;
    font-weight: 500;
    margin: 4px 0 10px 0;
}

p {
    margin: 4px 0 6px 0;
}



@media (max-width: 900px) {
    .text {
        flex-direction: column;
        gap: 0;
        min-height: 170px;
        padding: 18px 4vw 10px 4vw;
        margin-left: 1%;
        margin-right: 1%;
    }

    .bloc {
        max-width: unset;
        width: 100%;
        margin-right: 0;
    }


}

@media (max-width: 500px) {


    .text {
        padding: 12px 2vw 9px 2vw;
        min-height: 120px;
    }
}

::-webkit-scrollbar {
    width: 10px;
    background: #eee;
}

::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 8px;
}
/* Le bandeau blanc en bas */
.blocT {
    width: 100vw;
    background: #fff;
    left: 0;
    bottom: 0;
    z-index: 101;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 360px; /* ajuste la hauteur à ta convenance */
    box-shadow: 0 -8px 36px rgba(30,30,30,0.08);
}

/* La carte produit au centre */
.sousBlocT {
    background: #fff;
    border: 2.5px solid #e3e3e3;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(80,80,80,0.08), 0 2px 4px 0 rgba(160,160,160,0.04);
    padding: 36px 10px 10px 20px;
    min-width: 340px;
    max-width: 530px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Ref + nom en haut à gauche */
.fiche-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
}

.fiche-ref {
    color: #888;
    font-size: 1.08em;
    font-weight: 500;
    text-align: left;
}

.fiche-titre {
    display: block;
    font-size: 1.3em;
    font-weight: 600;
    color: #181818;
    margin-top: 2px;
}

/* Description au centre */
.fiche-desc {
    text-align: center;
    font-size: 1.1em;
    color: #222;
    margin: 16px 0 20px 0;
    line-height: 1.35;
}

.fiche-bas {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    margin-top: 24px;
    position: relative;
}

/* Logo à gauche */
.fiche-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 7px;
    border: 1px solid #eee;
    background: #fafafa;
    margin: 0;
}

/* Prix centré horizontalement mais placé plus haut */
.fiche-prix {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100px; /* ← Ajuste cette valeur pour monter/descendre le prix */
    font-size: 1.4em;
    font-weight: 700;
    color: #181818;
    background: #fff;
    padding: 0 10px;

    z-index: 1;
    text-align: center;
}

/* Bouton à droite */
.fiche-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

    .fiche-cta .btn {
        min-width: 148px;
        padding: 11px 0;
        border-radius: 6px;
        font-size: 1em;
        font-weight: 500;
    }

.fiche-livraison {
    font-size: 0.97em;
    color: #555;
    text-align: right;
}

/* Responsive mobile */
@media (max-width: 700px) {
    .blocT {
        min-height: 280px;
        padding: 0 1vw;

    }

    .sousBlocT {
        min-width: unset;
        max-width: 97vw;
        padding: 15px 4vw 17px 4vw;
    }

    .fiche-bas {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .fiche-logo,
    .fiche-prix,
    .fiche-cta {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .fiche-logo {
        margin: 0 auto 6px auto;
        width: 40px;
        height: 40px;
    }

    .fiche-cta .btn {
        min-width: 90px;
        padding: 10px 0;
    }
}
.fiche-details-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
}

.btn-details-popup {

    color:black;
    padding: 0px 16px;
    font-size: 0.90em;
    cursor: pointer;
    text-decoration:none;

}

    

.sousBlocT {
    position: relative;
}

/* état normal */
.blocT {
    transition: transform .35s ease, opacity .35s;

}

    /* appliqué quand on scrolle plus bas que X px */
    .blocT.shrink {
        transform: scale(.8); /* zoom arrière */
        opacity: .85; /* facultatif : léger fade */
    }


.btn-details-popup:hover {
    text-decoration: underline;
}