.container_product{
    margin: 150px 50px;
    color: white;
}
.container_product_top{
    display: flex;
    justify-content: space-between;
}
.all_carousel{
    width: 100%;
}
.text_product{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.text_product .header{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
}
.text_product .header .prix{
    color: #e67e22;
}
.text_product .contact_seller{
    border: 1px #535353 solid;
    padding: 10px 30px;
    border-radius: 5px;
    cursor: pointer;
    background: #202425;
    color: #e67e22;
    float: right;
}
/* Style pour le carrousel */
.carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.carousel {
    display: flex;
    overflow: hidden;
    width: 90%;
    position: relative;
    height: 450px;
    border: 2px #535353 solid;
    background: black;
}

.carousel-item {
    flex: 0 0 100%;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.carousel-item {
    margin: auto;
    display: none;
    flex: 0 0 100%;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.carousel .active {
    display: block;
}

.carousel-item img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    margin: auto;
    height: 450px;
}
.carousel-prev, .carousel-next {
    position: absolute;
    width: 80px;
    height: inherit;
    background-color: black;
    cursor: pointer;
    z-index: 1;
    right: 0;
}

.carousel-prev {
    left: 0px;
    background: rgb(43,43,43);
    background: linear-gradient(90deg, rgba(43,43,43,1) 0%, rgba(43,43,43,0) 100%);
}

.carousel-next {
    right: 0px;
    background: rgb(43,43,43);
    background: linear-gradient(90deg, rgba(43,43,43,0) 0%, rgba(43,43,43,1) 100%);
}

.carousel-prev:before, .carousel-next:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
}

.carousel-next:before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.carousel-prev:before {
    transform: translate(-50%, -50%) rotate(135deg);
}

.carousel-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.carousel-preview-item {
    margin: 0 10px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
    width: 30%;
}

.carousel-preview-item.active {
    opacity: 1;
}
.carousel-preview-item img{
    max-width: 150px;
    width: 100%;
}