
.bloc.bloc_product {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: var(--height-header);
}

.bloc.bloc_product .wrapper {
    width: 100%;
    flex-grow: 1;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--gap-5);
    gap: var(--gap-5);
}

.bloc.bloc_product .wrapper .breadcrumb {
    font-size: 1.5rem;
    line-height: 1.8rem;
}

.bloc.bloc_product .wrapper .top {
    display: flex;
    flex-direction: row-reverse;
    gap: var(--gap-3);
}

.bloc.bloc_product .wrapper .top .details {
    height: 100%;
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--gap);
}

.bloc.bloc_product .wrapper .top .details h1 {
    font-size: var(--size-h1-title);
    line-height: var(--size-h1-title-height);
}

.bloc.bloc_product .wrapper .top .details .price {
    text-transform: uppercase;
    font-size: 1.5rem;
    background-color: var(--color-blue);
    color: var(--color-white);
    padding: var(--gap-xs) var(--gap);
    margin: var(--gap-2) 0;
    width: 150px;
    text-align: center;
    position: relative;
}

.bloc.bloc_product .wrapper .top .details .stock {
    position: absolute;
    text-transform: uppercase;
    font-size: 1.5rem;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: var(--gap-xs) var(--gap);
    width: 250px;
    top: -30px;
    right: -20px;
    z-index: -1;
    cursor: pointer;
}

.bloc.bloc_product .wrapper .top .details a .price,
.bloc.bloc_product .wrapper .top .details a .stock {
    transition: all 300ms ease-in-out;
}

.bloc.bloc_product .wrapper .top .details a:hover .price {
    background-color: var(--color-black);
}

.bloc.bloc_product .wrapper .top .details a:hover .stock {
    background-color: var(--color-blue);
}

.bloc.bloc_product .wrapper .top .pictures {
    height: 100%;
    width: 40%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: var(--gap-3);
}

.bloc.bloc_product .wrapper .top .pictures .main {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 8px 8px 0px;
}

.bloc.bloc_product .wrapper .top .pictures .main img {
    object-fit: cover;
}

.bloc.bloc_product .wrapper .top .pictures .gallery-container {
    width: 100%;
    height: 125px;
    overflow: hidden;
    overflow-x: scroll;
}

.bloc.bloc_product .wrapper .top .pictures .gallery-container .gallery {
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: var(--gap);
}

.bloc.bloc_product .wrapper .top .pictures .gallery-container .gallery .thumbnail {
    aspect-ratio: 1 / 1;
    cursor: pointer;
    object-fit: cover;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 8px 8px 0px;
}

.bloc.bloc_product .wrapper .bottom {
    display: flex;
    flex-direction: row;
    gap: var(--gap-3);
}

.bloc.bloc_product .wrapper .bottom .left {
    width: 40%;
}

.bloc.bloc_product .wrapper .bottom .left h2 {
    padding-top: var(--gap-2);
    font-size: 3.5rem;
    line-height: 4rem;
    text-transform: none;
    text-align: right;
}

.bloc.bloc_product .wrapper .bottom .right {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: var(--gap-2);
}

.bloc.bloc_product .wrapper .bottom .right .wrapper-inner {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.bloc.bloc_product .wrapper .bottom .right .wrapper-inner .question {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    font-size: 1.7rem;
    line-height: 2rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--color-grey);
    gap: var(--gap-xs);
    padding: var(--gap-xs) 0;
    cursor: pointer;
    transition: all 300ms ease-in-out;
}

.bloc.bloc_product .wrapper .bottom .right .wrapper-inner .question:hover,
.bloc.bloc_product .wrapper .bottom .right .wrapper-inner .question.selected {
    background-color: var(--color-blue);
    color: var(--color-white);
    border-bottom: 2px solid transparent;
}

.bloc.bloc_product .wrapper .bottom .right .wrapper-inner .question .text {
    width: calc(100% - 50px);
}

.bloc.bloc_product .wrapper .bottom .right .wrapper-inner .answer {
    display: none;
    transition: all 300ms ease-in-out;
}

.bloc.bloc_product .wrapper .bottom .right .wrapper-inner .answer.show {
    display: block;
}


.bloc.bloc_product .wrapper .bottom .right .question .anim {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    transition: all 300ms ease-in-out;
    position: relative;
}

.bloc.bloc_product .wrapper .bottom .right .question .anim span {
    margin-top: 9px;
    margin-bottom: 9px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -1.5px;
    background-color: var(--color-black);
    transition: all 300ms ease-in-out;
}

.bloc.bloc_product .wrapper .bottom .right .question .anim span,
.bloc.bloc_product .wrapper .bottom .right .question .anim span::before {
    display: block;
    width: 20px;
    height: 3px;
    outline: 1px solid transparent;
    -webkit-transition-property: background-color, -webkit-transform;
    -moz-transition-property: background-color, -moz-transform;
    -o-transition-property: background-color, -o-transform;
    transition-property: background-color, transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.1s;
    background-color: var(--color-black);
}

.bloc.bloc_product .wrapper .bottom .right .question:hover span,
.bloc.bloc_product .wrapper .bottom .right .question:hover span::before,
.bloc.bloc_product .wrapper .bottom .right .question.selected span,
.bloc.bloc_product .wrapper .bottom .right .question.selected span::before {
    background-color: var(--color-white);
}

.bloc.bloc_product .wrapper .bottom .right .question .anim span::before {
    position: absolute;
    content: "";
    top: -9px;
    -webkit-transform: translateY(9px) rotate(90deg);
    -moz-transform: translateY(9px) rotate(90deg);
    -ms-transform: translateY(9px) rotate(90deg);
    -o-transform: translateY(9px) rotate(90deg);
    transform: translateY(9px) rotate(90deg);
}

.bloc.bloc_product .wrapper .bottom .right .question .anim.show span::before {
    display: none;
}

/******************** RESPONSIVE ********************/
@media (max-width : 950px) {
    .bloc.bloc_product .wrapper .top,
    .bloc.bloc_product .wrapper .bottom {
        flex-direction: column;
    }

    .bloc.bloc_product .wrapper .top .details,
    .bloc.bloc_product .wrapper .bottom .left,
    .bloc.bloc_product .wrapper .bottom .right {
        width: 100%;
    }

    .bloc.bloc_product .wrapper .top .pictures {
        width: 100%;
        min-width: 450px;
    }
}

@media (max-width : 480px) {
    .bloc.bloc_product .wrapper {
        padding: var(--gap-5) var(--gap-2);
    }

    .bloc.bloc_product .wrapper .top .pictures {
        width: 100%;
        min-width: 250px;
    }

    .bloc.bloc_product .wrapper .top .details h1 {
        font-size: 3.9rem;
        line-height: 4.3rem;
    }

    .bloc.bloc_product .wrapper .bottom .left h2 {
        font-size: 3rem;
        line-height: 3.5rem;
    }
}