#produit {
    position: relative;
    top: 0;
    left: 0;
    padding: 60px 0;
    text-align: justify;
}

#produit .image_produit {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    margin-bottom: 30px;
    border: 1px solid #ddd;
}

#produit .image_produit img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#produit .miniatures_images img {
    border: 1px solid #ddd;
}

#produit h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

#produit h1:after {
    display: none;
}

#produit .marque {
    color: #E95D0F;
    font-weight: bold;
}

#produit .tags .badge {
    transition: background-color .25s;
}

#produit .tags .badge:hover {
    color: #FFFFFF;
    background: #E95D0F !important;
}

#produit .desc_courte {
    margin-top: 35px;
    margin-bottom: 35px;
}

#produit .prix {
    color: #E95D0F;
    font-size: 28px;
}

#produit #ajout_qte {
    margin-top: 35px;
}

#produit .bouton {
    background-color: #E95D0F;
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
}

#produit .bouton svg {
    margin-left: 10px;
}


#produit #conteneur_quantite {
    display: flex;
    align-items: center;
}

#produit #conteneur_quantite button {
    background-color: #ddd;
    color: #000;
    font-size: 16px;
    padding: 10px 20px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
}

#produit #conteneur_quantite input {
    background-color: #fff;
    color: #000;
    font-size: 16px;
    padding: 10px 20px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    border: 1px solid #ddd;
    margin: 0 10px;
}

#produit #description_longue {
    position: relative;
    top: 0;
    left: 0;
    margin-top: 60px;
    background-color: #F5F5F5;
    text-align: center;
    padding: 20px 0;
}

#produit #description_longue * {
    position: relative;
    top: 0;
    left: 0;
    z-index: 10;
}

#produit #description_longue:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 100vw;
    transform: translateX(-50%);
    background-color: #F5F5F5;
    z-index: 1;
}

#produit #description_longue .desc_longue {
    text-align: left;
}


/* --------------------------------------------------------------- */
/*
/* Box ajout panier
/*
/* --------------------------------------------------------------- */
#box_ajout_panier {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 450px;
    min-height: 180px;
    background-color: #fff;
    box-shadow: 0px 0px 10px #000;
    text-align: center;
    font-size: 16px;
    z-index: 1000001;

    opacity: 0;
    visibility: hidden;

    -webkit-transition: ease 0.3s all;
    -moz-transition: ease 0.3s all;
    -ms-transition: ease 0.3s all;
    -o-transition: ease 0.3s all;
    transition: ease 0.3s all;

    transform: translate(-50%, -50%);

}

#box_ajout_panier.affiche {
    opacity: 1;
    visibility: visible;

    -webkit-transition: ease 0.3s all;
    -moz-transition: ease 0.3s all;
    -ms-transition: ease 0.3s all;
    -o-transition: ease 0.3s all;
    transition: ease 0.3s all;
}

#box_ajout_panier h3 {
    padding: 10px 25px;
    background-color: #E95D0F;
    color: #FFF;
    margin-bottom: 25px;
}

#box_ajout_panier .boutons {
    padding: 15px;
    display: flex;
    justify-content: space-between;
}

#box_ajout_panier .boutons a {
    position: relative;
    top: 0;
    left: 0;
    font-weight: 100;
    text-transform: uppercase;
    display: block;
    background: rgb(255, 151, 49);
    background: -moz-linear-gradient(top, rgba(255, 151, 49, 1) 0%, rgba(233, 91, 41, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 151, 49, 1) 0%, rgba(233, 91, 41, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 151, 49, 1) 0%, rgba(233, 91, 41, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff9731', endColorstr='#e95b29', GradientType=0);
    padding: 10px 15px;
    width: 185px;
    text-align: left;
    font-size: 15px;
    color: #FFF;
    text-decoration: none;
    text-align: center;
}

/* --------------------------------------------------------------- */
/*
/* Responsive
/*
/* --------------------------------------------------------------- */


@media screen and (max-width: 1199px) {
    #produit .ajout_panier {
        margin-top: 20px;
    }

    .bloc-test {
        border: 2px solid gray;
    }

    #produit .image_produit {
        height: 375px;
    }
}

@media screen and (max-width: 991px) {
    #produit {
        padding: 0;
    }

    #produit .image_produit {
        height: 275px;
    }
}

@media screen and (max-width: 767px) {
    #produit .miniatures_images {
        width: 100%;
        margin-bottom: 30px;
    }

    #produit .miniatures_images a {
        padding: 6px;
        margin: 10px 0;
    }

}

@media screen and (max-width: 575px) {
    #produit .image_produit {
        margin: 10px auto;
        width: 70%;
    }

    #produit .details_produit .desc_courte {
        font-size: 14px;
        margin: 15px auto;
    }

    #box_ajout_panier .boutons {
        flex-wrap: wrap;
    }

    #box_ajout_panier .boutons a {
        width: 100%;
        margin: 10px 0;
    }


    .bloc-test {
        border: 1px solid gray;
        opacity: .3;
    }
}
