/* PRODUCT PAGE V2 */
/* DESKTOP */
@media (min-width: 768px) {

    #product .product-quantity .qty{
        width: unset;
    }

    .product-additional-info .social-sharing{
        display:none;
    }
    .product-additional-info .line{
        display:none;
    }

    .product_extrafield > .title {
        position: relative;
        color: #000;
        cursor: pointer;
        display: block;
        padding: 15px 0;
        font-weight: 700;
        font-size: 1.5625rem;
        line-height:1.25;
    }
    #product .product_extrafield p, #product .product_extrafield .content{
        font-size:14px;
        line-height:1.5;
    }

    #product .product_extrafield tbody p, #product .product_extrafield tbody td{
        font-size:14px !important;
    }
    
    #product-related-article.v2{
        /* padding: 0px;*/
    }
    
    #product-related-article.v2 .d-flex{
        display: flex;
    }
    #product-related-article.v2 .flex-direction-column {
        flex-direction: column;
    }
    
    #product-related-article.v2 .blog-text-container{
        padding-left: 30px;
        display:flex;
        flex-direction: column;
    }
    
    #product-related-article.v2 .post-title{
        color: black;
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        margin: 0 0 5px 0;
        /*
        font-size: 25px;
        line-height: 38px;
        */
        font-size: 20px;
        line-height: 1.5;
    }
    #product-related-article.v2 .read_more{
        border:solid black 1px;
        padding: 10px 15px;
        text-decoration: none;
        /* position:absolute;
        bottom: 0px; */
        color: #000;
        text-transform: uppercase;
        flex: 0 1 10px;
        width: fit-content;
    }
    
    /* Largeur générale de la page */
    @media (min-width: 1200px) {
        #wrapper > .container{
            max-width:85% !important;
        }
        
        #wrapper > .breadcrumb_wrapper{
            padding-left:0px !important;
            padding-right:0px !important;
        }
        #wrapper > .breadcrumb_wrapper > .container{ 
            max-width:85% !important;
        }
    }
    
    .ybc-blog-related-posts-title{
        color: #000;
        display: block;
        font-weight: 700;
        font-size: 1.5625rem;
        line-height:1.25;
    }
    
    .px-3{
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .product-miniature {
        margin-bottom: 30px;
        padding: 0 15px;
        position: relative;
        width: unset;
        float: none;
    }



    #product .images-container {
        /*
        float: right;
        margin-bottom: 3.5rem;
        position: unset;
        margin-top: 3.5rem;
        width: 100%;
        max-height: 450px;
        
        height: 60vh;
        margin-top: 3rem;
        float: none;
        */
    
    }
    
    #product .images-container-vertical-left .product-cover{
        /* max-width: 450px; */
        padding-right:2rem;
    }
    
    #main .images-container.images-container-vertical-left .js-qv-mask{
        float:right;
    }
    .stars__item:not(:first-child){
        display:none;
    }
    
    .bestsellersTitle .row{
        display:flex;
        margin-top:4rem;
        margin-bottom:5rem;
    }
    .bestsellersTitle .justify-content-center{
        justify-content: center;
    }
    
    .bestsellersTitle .row > div > h3{
        color: #FFFFFF;
        font-family: "Poppins", sans-serif;
        font-size: 32px;
        font-weight: 700;
        text-transform: uppercase;
    
        padding: 1.25rem 44px 1.25rem 44px;
        background-color: #BE7114;
    }
    
    #displayFooterProductContainer{
        margin-top:4rem;
    }
    
    #linkToFullDescription {
        color:grey;
        text-decoration: underline;
    }
    #linkToFullDescription:hover {
        cursor: pointer;
    }
    
    #guideDuVracContainer{
        margin-top:4rem;
    }
    
    .float-none{
        float: none !important;
    }
    
    #guideDuVracContainer .title1{
        color: #000;
        display: block;
        font-weight: 700;
        font-size: 1.5625rem;
        line-height: 1.25;
    }
    
    #guideDuVracContainer .title2{
        color: black;
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        margin: 0 0 5px 0;
        font-size: 25px;
        line-height: 38px;
        font-size: 20px;
        line-height: 1.5;
    }
    
    #guideDuVracContainer table{
        width: 100%;
        margin-left:0.5rem;
        margin-right:0.5rem;
    }
    #guideDuVracContainer th{
        width:33.3333%
    }
    #guideDuVracContainer tr:first-child th{
        padding:1rem 1rem;
    }
    #guideDuVracContainer th:first-child{
        color:white;
        background:#BE7114 !important;
    }
    #guideDuVracContainer th, td{
        padding:0.5rem 1rem;
        background:#fff;
        border:solid #f8f8f8 4px;
        color:#7E7E7E;
    }
    
    #guideDuVracContainer .table-vrac-row-label{
        font-weight: 700;
    }
    
    .mt-3rem{
        margin-top: 3rem !important;
    }
    .mt-4rem{
        margin-top: 4rem !important;
    }
    #guideDuVracContainer .d-flex{
        display: flex;
    }
    #guideDuVracContainer .flex-direction-column {
        flex-direction: column;
    }
    
    #guideDuVracContainer .qtRow{
        background:#fff;
        font-weight: 700;
        font-family: 'Poppins', sans-serif;
        padding: 0 3rem;
        margin-bottom:0.5rem;
        font-size:1.1rem;
    }
    
    #guideDuVracContainer .qtRow > img{
        object-fit: contain;
        width:64px;
    }
    
    #guideDuVracContainer .content-page-other-products img{
        object-fit: contain;
        width:100%;
    }
    #guideDuVracContainer .greenBg{
        background:#F1F5E5;
    }
    
    #guideDuVracContainer .content-page-other-products .textContainer{
        padding:2rem 2rem 1rem 2rem;
    }
    #guideDuVracContainer .content-page-other-products .textContainer p{
        font-size:1.1rem;
    }
    
    #guideDuVracContainer .content-page-other-products .col-image{
        /*width:20%;*/
        min-width:165px;
        width:20%;
    }
    
    #guideDuVracContainer .content-page-other-products a{
        border: solid black 1px;
        padding: 10px 15px;
        text-decoration: none;
        position: unset;
        bottom: 1.5rem;
        color: #000;
        text-transform: uppercase;
        background:#fff;

        margin-top:2rem;
        display:block;
        width:fit-content;
    }
    
    .faqTitle .row{
        display:flex;
        margin-top:4rem;
        margin-bottom:2rem;
    }
    .faqTitle .justify-content-center{
        justify-content: center;
    }
    
    .faqTitle .row > div > h3{
        color: #FFFFFF;
        font-family: "Poppins", sans-serif;
        font-size: 32px;
        font-weight: 700;
        text-transform: uppercase;
    
        padding: 1.25rem 44px 1.25rem 44px;
        background-color: #BE7114;
    }
    
    /* FAQ */
    
    .accordion {
        width: 100%;
        margin-bottom:0.5rem;
      }
      
      .accordion-item {
        border-bottom: 1px solid #f0f0f0;
      }
      
      /* --- Header --- */
      .accordion-header {
        width: 100%;
        background: white;
        border: none;
        padding: 2rem 3rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 18px;
        color: #BE7114; /* your orange color */
        cursor: pointer;
        font-weight: 600;
      }
      
      .accordion-header:hover {
    
      }
      .accordion-header .accordion-title{
        text-align:left;
      }
      
      .accordion-arrow {
        font-size: 20px;
        display: inline-block;
        transition: transform 0.25s ease;
      }
      
      /* Rotated when active */
      .accordion-header.active .accordion-arrow {
        transform: rotate(180deg);
      }
      
      /* --- Content animation --- */
      .accordion-content {
        max-height: 0;
        overflow: hidden;
        padding: 0 3rem;
        transition:  all 0.25s ease;
        opacity: 0;
      }
      
      .accordion-content p {
        /* margin: 15px 0 20px;
        color: #444;
        line-height: 1.5;
        */
      }
      
      /* Opened state */
      .accordion-content.open {
        opacity: 1;
        padding: 2rem 3rem;
        max-height: 300px;
        background:#fff;
      }
      
    /* END FAQ */
    
    /* La marque et ses engagements */ 
    
    .marqueTitle .row{
        display:flex;
        margin-top:4rem;
        margin-bottom:2rem;
    }
    .marqueTitle .justify-content-center{
        justify-content: center;
    }
    
    .marqueTitle .row > div > h3{
        color: #FFFFFF;
        font-family: "Poppins", sans-serif;
        font-size: 32px;
        font-weight: 700;
        text-transform: uppercase;
    
        padding: 1.25rem 44px 1.25rem 44px;
        background-color: #BE7114;
    }
    
    .breakline-mobile{
        display:none;
    }

    .marqueContainer.d-flex{
        display: flex;
    }
    
    .marqueContainer .greenBg{
        background:#F1F5E5;
    }
    
    .marqueContainer .textContainer{
        flex: unset;
        padding: 1.5rem 1.5rem;
        position: relative;
    }
    .marqueContainer .imgContainer{
        margin-right:1.5rem;
        flex: 0 0 40%;
    }
    .marqueContainer img{
        object-fit: contain;
        width:100%;
    }
    .marqueContainer .title2{
        color: black;
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        margin: 0 0 1.5rem 0;
        font-size: 25px;
        line-height: 38px;
        font-size: 20px;
        line-height: 1.5;
    }
    
    .marqueContainer a{
        border:solid black 1px;
        padding: 10px 15px;
        text-decoration: none;
        position:unset;
        bottom: 0px;
        margin-bottom:0.75rem;
        background:#fff;
        color: #000;
        text-transform: uppercase;

        margin-top:2rem;
        display:block;
        width:fit-content;

    }
    
    #product .table_extrafield th{
        padding: 1rem 0.75rem;
    }
    #product .table_extrafield.table_origine th:first-child {
        background-color: #BE7114;
        color: #FFFFFF;
    }
    #product .table_extrafield.table_origine th {
        background-color: #fff;
    }
    
    #product .table_extrafield{
        margin-left:0.5rem;
    }

    #product .table_extrafield:not(.table_origine) th:first-child {
        width:70%;
    }
    #product .table_extrafield:not(.table_origine) th:not(:first-child) {
        color:rgb(126, 126, 126);
    }

    
    
    #product .product-add-to-cart{

    }
    #product .product-add-to-cart .add-to-cart{
        margin-top:0px !important;
    }
    
    .addToCartContainer{
        display:flex;
        flex-wrap: wrap; 
        /*position:absolute;*/
        width:50vw;
    }
    
    .addToCartContainer > div{
        margin-right:0.5rem;
    }


    .addToCartContainer .price-vrac{
        flex:0 1 100px;
        max-width: 100px;
    }
    .addToCartContainer .product-quantity{
        flex:0 1 250px;
        max-width: 250px;
        display:inline-flex;
    }

    .addToCartContainer .add{
        flex:1;
        max-width: 235px;
    }
    
    @media (max-width: 991.98px) {

        .addToCartContainer{
            display:flex;
            flex-wrap: wrap; 
            position:unset;
            width:unset;
        }
        
        .addToCartContainer .add {
          flex-basis: 100%; /* pushes it to a new line */
          max-width: 100%;
        }
    }
    
    #product #price-vrac {
        display: block;
        font-size: 2.25rem;
        color: #BE7114;
        font-weight: 700;
        margin: 15px 15px 5px 0px;
        line-height:0.75;
    }
    
    #product .price-unit-label {
        display: block;
        font-size: 0.875rem;
        color: #7E7E7E;
        margin-bottom: 10px;
    }
    
    #product .price-unit-label #quantity-display {
        font-weight: 600;
    }
    
    #product .selected-variant-price {
        display: block;
        font-size: 0.9rem;
        color: #5a8f29;
        font-weight: 500;
        margin-bottom: 15px;
        padding: 8px 12px;
        background-color: #f1f5e5;
        border-radius: 4px;
        width: fit-content;
    }
    
    .radio-label {
        background: none repeat scroll 0 0 #FFFFFF;
          background-color: rgb(255, 255, 255);
          background-position-x: 0px;
          background-position-y: 0px;
          background-repeat: repeat;
          background-attachment: scroll;
          background-image: none;
          background-size: auto;
          background-origin: padding-box;
          background-clip: border-box;
        border: 3px solid #333333;
        display: inline-block;
        font-weight: 600;
        height: 32px;
        line-height: 28px;
        min-width: 32px;
        padding: 0 0.125rem;
        text-align: center;
    }
    
    #product .product-add-to-cart .product-quantity input, #cart .js-cart-line-product-quantity {
        border: 3px solid #000;
        padding: 0 20px;
        height: 50px;
        line-height: 50px;
        text-align: center;
        background-color: transparent;
        box-shadow: none !important;
        color: #000;
        border-radius: 0;
        font-size: 16px;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        font-weight:700;
    }
    
    #product .product-quantity #quantity_wanted {
        color: #333;
        background-color: white;
        height: 2.75rem;
        padding: 0.175rem 0.5rem;
        width:100%;
        max-width: 230px;
        height:50px;
    }
    
    #product .qty .input-group{
        width:100%;
        max-width: 230px;
        height:50px;
    }
    /*
    #product .product-add-to-cart .product-quantity:not(.no-vrac) .bootstrap-touchspin-up::before {
        display: inline-block;
        content: 'G';
        margin-left: -20px;
        margin-right: 10px;
        font-size: 1rem;
        font-weight: 700;
        position: absolute;
        bottom: 11px;
        left: 10px;
    }
    */
    button#add-to-cart-btn{
        font-size: 1rem;
        background:black !important;
        color:white !important;
        border:solid black 3px !important;
        height:50px !important;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-top:10px;
        padding-bottom: 10px;
        font-family: "Poppins", sans-serif;
        font-weight: 700;
    }
    
    button#add-to-cart-btn img{
        height: 1rem;
        margin-right: 0.75rem;
        position: relative;
        bottom: 3px;
    }
    
    #product .material-icons.touchspin-up{
        font-weight: 700;
    }
    #product .material-icons.touchspin-down{
        font-weight: 700;
    }
    
    #product .promo-tag{
        background: #7E7E7E;
        color:white;
        padding:10px 0.5rem;
        font-size:1rem;
        font-weight:500;
        margin-right:0.35rem;
        flex: 0 1 min-content;
        min-width: 15rem;
    }
    
    #product .promo-tags{
        display:flex;
        margin-top:0.75rem;
        margin-bottom:0.75rem;
        flex-wrap: wrap;
        gap: 0.5rem;


    }
    
    #product #linkto-gdv{
        text-decoration: underline;
        cursor: pointer;
        background:none;
        border:none;
    }
    #product #linkto-gdv img{
        height:16px;
        margin-right: 0.5rem;
    }
}
/* TABLET */
@media (min-width: 768px) and (max-width: 991.98px) {

    .product-additional-info .social-sharing{
        display:none;
    }
    .product-additional-info .line{
        display:none;
    }

    #guideDuVracContainer .content-page-other-products img{
        height:100%;
        width:100% !important;
        object-fit: cover !important;
    }

    .quantitesContainer{
        flex-direction: column;
    }

    .quantitesContainer .col-xs-12.col-md-4{
        width:100%;
        margin-right:0;
        margin-bottom:0.5rem;

    }
    .quantitesContainer .col-xs-12.col-md-4 > div{
        flex-direction: row !important;
        gap:0.5rem;
    }
    .quantitesContainer .col-xs-12.col-md-8{
        width:100%;
        margin-right:0;
    }

    .marqueContainer{
        flex-direction: column;
    }
    .marqueContainer .imgContainer{
        margin-left:1rem;
        margin-right:1rem;
        margin-bottom:1rem;


    }

    #guideDuVracContainer .qtRow {
        background: #fff;
        font-weight: 700;
        font-family: 'Poppins', sans-serif;
        padding: 0 0.75rem;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }
    #guideDuVracContainer .qtRow > img {
        object-fit: contain;
        width: 48px;
    }
    #guideDuVracContainer .content-page-other-products a{
        border: solid black 1px;
        padding: 10px 15px;
        text-decoration: none;
        position: unset;
        bottom: 1.5rem;
        color: #000;
        text-transform: uppercase;
        background: #fff;
        margin-top: 2rem;
        display: block;
        width: fit-content;
        text-align: center;
    }
}

/* FIN TABLET */