.productSheetMain {
    padding: 1rem;
    background-color: #e0e0e0;
    position: relative;

    @media (min-width: 768px) {
        padding: 2rem;
    }
    
    @media (min-width: 1024px) {
        padding: 4rem;
    }

    .productSheetMainContainer {
        background-color: white;
        box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
        border-radius: 0.25rem;
    }

    .productSheetTopContent[data-promo="1"]::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;

        width: 34px;
        height: 34px;

        background-image: var(--promo-badge-icon, none);
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-size: 16px 16px;

        /* icone seulement */
        filter: var(--promo-badge-icon-filter, none);

        /* pour coller aux arrondis du badge */
        border-top-left-radius: var(--radius);
        z-index: 2;

        @media (min-width: 1024px) {
            width: 54px;
            height: 54px;
            background-size: 26px 26px;
        }
    }

    .productSheetTopContent {
        position: relative;

        .promoBadge {
            position: absolute;
            top: 0;
            left: 0;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background-color: var(--promo-badge-color, indianred);
            padding: 0.25rem;
            color: #fff;
            border-bottom-right-radius: var(--radius);
            border-top-left-radius: var(--radius);
            font-size: 0.7rem;

            @media (min-width: 1024px) {
                font-size: 1.25rem;
                padding: 0.5rem;

                .productSheetTopContent .promoBadge__icon {
                    width: 28px;
                    height: 28px;
                }
            }
        }

        .promoBadge__icon {
            width: 14px;
            height: 14px;
            display: block;
            object-fit: contain;
            filter: invert(100%);

            @media (min-width: 1024px) {
                width: 20px;
                height: 20px;
            }
        }

        .promoBadge__text {
            display: inline-block;
            line-height: 1;
        }
    }
    
    .productSheetTopContent {
        display: flex;
        flex-direction: column-reverse;
        padding: 2rem 0;
        position: relative;
        justify-content: space-around;
        
        @media (min-width: 1600px) {
            flex-direction: row;
        }

        .productSheetNameContainer {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            margin-top: 1rem;

            /* @media (min-width: 1024px) {
                flex-direction: row;
            } */

            h1 {
                padding: 0.5rem;
                border-radius: 0.25rem;
                background-color: #232F3E;
                color: white;
                box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
                width: fit-content;
                font-size: 1rem;
                margin: 0 auto;
                
                @media (min-width: 768px) {
                    margin-right: auto;
                    font-size: 1.25rem;
                }
            }
            
            img {
                width: 200px;
                border-radius: 0.25rem;
                box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
            }
        }
        

        .productSheetItem {
            .productSheetItemTitle {
                color: #002B5C;
                margin: 1rem 0;
                margin-left: 0.5rem;
                text-transform: uppercase;
                font-size: 1rem;

                @media (min-width: 768px) {
                    margin-right: auto;
                    font-size: 1.25rem;
                }
            }

            .productDescriptionHtml {
                margin: 1rem;
                display: flex;
                flex-direction: column;
                gap: 0.5rem;

                h4 {
                    color: #333;
                    font-weight: bolder;
                }

                h5 {
                    color: #004eb4;
                    font-style: italic;
                    font-size: 1rem;
                }

                div {
                    text-transform: capitalize;
                    margin-left: 0.5rem;
                    
                    &::before {
                        content: "-";
                        margin-right: 0.25rem;
                    }
                }
            }

            .productSheetBrandLabel {
                box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
                padding: 1rem;
                margin: 0.5rem 1rem;
                border-radius: 0.25rem;
                max-width: 125px;
            }

            .productSheetStorageMainContainer {
                display: flex;
                flex-direction: column;
                gap: 2rem;

                .productStoragePart {
                    display: flex;
                    flex-direction: column;
                    gap: 1rem;

                    .productSheetStoragePartTitle {
                        margin-left: 1rem;
                        color: #232F3E;
                    }
                }
            }

            .productStorageAdvantageLabel {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
                gap: 0.5rem;
                justify-content: space-around;
                padding: 1rem;
                
                @media (min-width: 768px) {
                    padding: 0.5rem;
                }

                .hasHoverBox {
                    position: relative;
                    width: fit-content;
                    border-radius: 0.25rem;

                    @media (min-width: 1024px) {
                        transition: 0.3s;
                        
                        &:hover {
                            transition: 0.3s;
                            cursor: pointer;
                            box-shadow: 1px 1px 1px 1px rgba(0, 50, 255, 0.8);
                        }
                    }

                    img {
                        width: 75px;

                        @media (min-width: 768px) {
                            width: 100px;
                        }

                        @media (min-width: 1024px) {
                            &:hover {
                                cursor: pointer;
                            }
                        }
                    }

                    .productSheetHoverBox {
                        display: none;
                        position: absolute;
                        background: white;
                        border: 1px solid black;
                        box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
                        z-index: 100000;
                        border-radius: 0.25rem;
                        top: 105%;             
                        left: 0;              
                        width: fit-content;
                        font-size: 0.9rem;
                        width: 200px;

                        .productSheetHoverBoxTitle {
                            text-transform: uppercase;
                            background-color: #232F3E;
                            color: white;
                            padding: 0.5rem;
                        }
                        
                        .productSheetHoverBoxContent {
                            padding: 0.5rem;
                        }
                    }
                }

                .hasHoverBox:hover .productSheetHoverBox {
                    display: block;
                }

                li {
                    list-style: none;
                    
                    img {
                        width: 100px;
                        border-radius: 0.25rem;
                        box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.8);
                        display: block;
                    }
                }

                .productSheetStorageBacImgContainer {
                    img {
                        width: 50px;
                        object-fit: none;
                        height: 50px;
                    }
                }

                .productSheetLabelImageContainer {
                    img {
                        display: block;
                        border: solid black 1px;
                        border-radius: 0.25rem;
                        box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
                        width: 200px;
                        height: auto;
                    }
                }
            }

            .productDescriptionList {
                display: flex;
                flex-direction: column;
                gap: 0.25rem;
                padding-left: 1rem;
                list-style: none;

                li {
                    color: #232F3E;
                    padding: 0.5rem;
                    border-radius: 0.25rem;
                    width: fit-content;

                    &:first-child {
                        font-weight: bolder;
                    }

                    &:nth-child(2) {
                        font-style: italic;
                        color: #004eb4;
                        font-weight: bold;
                    }
                }
            }

            .bonus {
                li {
                    &:first-child {
                        font-weight: bolder;
                        font-style: italic;
                        color: #004eb4;
                        font-weight: bold;
                    }
                }
            }

            &::after {
                content: "";
                display: block;
                width: 100%;
                height: 1px;
                background-color: #232F3E;
                margin-top: 1rem;
                border-radius: 1px;
                opacity: 0.2;
            }

            &:last-child::after {
                display: none;
            }
        }

        .productSheetFirstContainer {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            padding: 1rem;
            grid-column: 2;
            
            @media (min-width: 1600px) {
                padding: none;
                max-width: 600px;
            }
        }

        .productSheetSecondContainer {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem 0;
            grid-column: 1;
            
            @media (min-width: 1600px) {
                padding: 2rem;
            }

            .productSheetImgAndColorSampleContainer {
                display: flex;
                gap: 1rem;
                text-align: center;
                flex-direction: column;

                @media (min-width: 1200px) {
                    flex-direction: row;
                }
                
                .productSheetImgContainer {
                    border: solid black 1px;
                    border-radius: 0.25rem;
                    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
                    display: flex;
                    flex-direction: column;
                    height: fit-content;
                    position: relative;

                    .psArrow {
                        position: absolute;
                        top: 50%;
                        transform: translateY(-50%);
                        border: 0;
                        font-size: 3rem;
                        text-align: center;
                        cursor: pointer;
                        background-color: unset;
                    }
                    
                    .psArrow--left  { left: 0.5rem; }
                    .psArrow--right { right: 0.5rem; }

                    .productSheetImgTitle {
                        margin-bottom: auto;
                        width: 100%;
                        background-color: #232F3E;
                        color: white;
                        text-align: center;
                        font-weight: bold;
                        padding: 0.5rem;
                        font-size: 1rem;
                        text-transform: uppercase;
                        
                        @media (min-width: 1024px) {
                            font-size: 1.25rem;
                        }

                    }

                    .galleryOpenerHint {
                        font-size: 0.6rem;
                        color: #002B5C;
                        padding: 0.5rem;
                    }

                    .productSheetImg {
                        object-fit: contain;
                        max-height: 400px;
                        width: 280px;
                        margin-bottom: auto;
                        margin: 0 auto;
                        cursor: pointer;
                        
                        @media (min-width: 768px) {
                            width: 400px;
                        }
                    }

                    .productSheetPreviewName {
                        width: 100%;
                        background-color: #232F3E;
                        color: white;
                        text-align: center;
                        font-weight: bold;
                        padding: 0.5rem;
                    }
                }

                .productSheetColorSampleContainer {
                    border: solid black 1px;
                    border-radius: 0.25rem;
                    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.8);
                    width: 280px;
                    height: fit-content;
                        
                    @media (min-width: 550px) {
                        width: 400px;
                    }

                    .sampleContainerIndication {
                        font-size: 0.6rem;
                        color: #002B5C;
                        padding: 0.5rem;
                    }
                    
                    .productSheetItemTitle {
                        padding: 0.5rem;
                        color: white;
                        background-color: #232F3E;
                        text-transform: uppercase;
                        font-weight: bold;
                    }
    
                    .sampleContainer {
                        padding: 1rem;
                        display: grid;    
                        grid-template-columns: repeat(auto-fit, minmax(100px, max-content));
                        gap: 1rem;
                        
                        .sampleBlock {
                            list-style: none;
                            display: flex;
                            flex-direction: column;
                            gap: 1rem;
                            align-items: center;
                            border-radius: 0.25rem;
                            padding: 0.5rem 0.25rem;
                            box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
                            position: relative;

                            .samplePromoBadge {
                                position: absolute;
                                top: -7px;
                                left: -7px;
                                z-index: 2;
                                padding: 3px 7px;
                                border-radius: 999px;
                                background: #e53935;
                                color: #fff;
                                font-size: 11px;
                                font-weight: 800;
                                line-height: 1;
                                transform: rotate(-18deg);
                                box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
                                pointer-events: none;
                            }
                            
                            @media (min-width: 1024px) {
                                transition: 0.3s;
                                
                                &:hover {
                                    transition: 0.3s;
                                    cursor: pointer;
                                    box-shadow: 1px 1px 1px 1px rgba(0, 50, 255, 08);
                                }
                            }

                            .sampleImg {
                                width: 100px;
                                height: 60px;
                            }
    
                            .sampleLabel {
                                font-size: 0.9rem;
                            }
                        }
                    }
                }
            }

            .sizeMainContainer {
                width: 100%;

                .sizeOneTable {
                    border: 1px solid black;
                    border-radius: 0.25rem;
                    border-collapse: separate;
                    border-spacing: 0;
                    overflow: hidden;
                    background: white;
                    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
                    text-align: center;
                    margin: 0 auto;

                    @media (min-width: 1024px) {
                        width: 100%;
                    }

                    thead th {
                        background: #232F3E;
                        color: #fff;
                        text-transform: uppercase;
                        padding: 0.5rem;
                        text-align: center;
                    }

                    tbody td {
                        padding: 0.5rem;
                        border-top: 1px solid #e5e7eb;
                        vertical-align: middle;
                    }

                    tbody tr:nth-child(odd) td { 
                        background: #fafafa; 
                    }
                    
                    .size { 
                        color: #002B5C; 
                    }

                    .date { 
                        color: #002B5C; 
                    }

                    .placeholder { 
                        opacity: 0.5; 
                    }
                }
            }

            .productSheetMeasurementsContainer {
                display: flex;
                gap: 4rem;

                div {
                    border: solid black 1px;
                    border-radius: 0.25rem;
                    padding: 0.5rem;

                    h3 {
                        color: #002B5C;
                        margin-bottom: 1rem;
                        text-transform: uppercase;
                    }
                }
            }

            .productSheetBtnsContainer {
                display: flex;
                align-items: center;
                flex-direction: column;

                @media (min-width: 768px) {
                    flex-direction: row;
                    gap: 1rem;
                }  

                .productSheetFavContainer {
                    background-color: #232F3E;
                    padding: 0 !important;
                }

                .productSheetFavBtn {
                    background: transparent;
                    color: white;
                    padding: 1rem;
                    text-transform: uppercase;
                    display: flex;
                    align-items: center;
                    gap: 0.5rem;
                    cursor: pointer;
                    font: inherit;
                    border: none;
                }

                .productSheetFavIcon {
                    width: 20px;
                    transition: transform 0.2s ease, filter 0.2s ease;
                }

                .productSheetFavContainer.is-favorited {
                    background-color: indianred;
                }

                .productSheetFavContainer.is-favorited .productSheetFavIcon {
                    transform: scale(1.1);
                }

                .productSheetBtn {
                    border-radius: 0.25rem;
                    box-shadow: var(--boxShadow);
                    padding: 1rem;
                    text-transform: uppercase;
                    color: white;
                    width: fit-content;
                    margin: 1rem auto;
                    text-decoration: none;
                    display: flex;
                    align-items: center;
                    gap: 0.5rem;
                    font-size: 1rem !important;
                    border: none;

                    @media (min-width: 1024px) {
                        transition: 0.3s;
                        margin: 0;

                        &:hover {
                            cursor: pointer;
                            color: black;
                            transform: scale(1.1);
                            transition: 0.3s;
                        }
                    }
                    
                    img {
                        width: 20px;
                        filter: invert(100%);
                    }
                }

                .productSheetVideoBtn {
                    background-color: #333;
                    border: none;
                }

                .productSheetMensuBtn {
                    background-color: rgb(136, 78, 39);
                    border: none;
                }
                
                .productSheetPrice {
                    background-color: #2d425e;
                    border-radius: 0.25rem;
                    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
                    padding: 1rem;
                    text-transform: uppercase;
                    width: fit-content;
                    margin: 1rem auto;
                    text-decoration: none;
                    display: flex;
                    align-items: center;
                    gap: 0.5rem;

                    @media (min-width: 1024px) {
                        font-size: 1.5rem;
                    }   
                }

                .productSheetDiscountBadge {
                    display: inline-flex;
                    align-items: center;
                    margin-left: 0.5rem;
                    padding: 0.25rem;
                    border-radius: var(--radius);
                    background: mediumseagreen;
                    color: #fff;
                    font-weight: 700;
                    font-size: 0.8rem;
                    line-height: 1;
                    vertical-align: middle;
                }

                #goToCartBtn {
                    background-color: rgb(255, 169, 41);
                }

                #goToCartBtn[hidden] {
                    display: none !important;
                }

                .productSheetOrderBtn {
                    background-color: mediumseagreen;
                }

                .productSheetOrderBtn.isFloating {
                    position: fixed;
                    top: 1rem;
                    z-index: 9999;
                    margin: 0 !important;
                }

                #loginToOrderBtn {
                    background-color: #256ece;
                }

            }

            .productSheetQuantityPromoBanner {
                display: flex;
                flex-direction: column;
                text-align: center;
                justify-content: center;
                align-items: center;
                border-radius: var(--radius);
                color: white;
                width: 320px;
                border: solid 1px var(--primaryColor);
                margin: 0 auto;

                .productSheetQuantityPromoBannerTitle {
                    text-transform: uppercase;
                    font-weight: bolder;
                    color: mediumseagreen;
                    background-color: var(--primaryColor);
                    width: 100%;
                    border-top-left-radius: var(--radius);
                    border-top-right-radius: var(--radius);
                    padding: 0.5rem;
                }

                .productSheetQuantityPromoBannerContent {
                    display: flex;
                    flex-direction: column;
                    gap: 0.5rem;
                    padding: 0.5rem;
                    background-color: #2d425e;
                    width: 100%;
                    text-align: center;
                    justify-content: center;

                    .productSheetQuantityPromoBannerContentPrice {
                        font-weight: bolder;
                        color: mediumseagreen;
                    }
                }
            }
        }
    }

    .productSheetBottomContent {
        display: flex;
        flex-direction: column;
        
        @media (min-width: 768px) {
            gap: 2rem;
        }   

        h3 {
            margin-bottom: 1rem;
            color: white;
            background-color: #232F3E;
            padding: 1rem;
            text-transform: uppercase;
            font-size: 1rem;
            text-align: center;
            box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
            
            @media (min-width: 768px) {
                text-align: left;
                font-size: 1.25rem;
                margin-bottom: 2rem;
            }   
        }

        .productSheetBottomCardMainContainer {
            .productSheetBottomCardContainer {
                padding: 1rem;
                display: grid;
                grid-template-columns: repeat(auto-fit, 160px);
                gap: 1rem;
                justify-content: center;
                
                @media (min-width: 768px) {
                    grid-template-columns: repeat(auto-fit, 200px);
                }   

                .productSheetBottomCard {
                    transition: 0.3s;
                    border: solid black 1px;
                    border-radius: 0.25rem;
                    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
                    width: 100%;
                    overflow: hidden;
                    position: relative;
    
                    .productSheetBottomCardLink {
                        text-decoration: none;
                        display: block;
    
                        .productSheetBottomCardTitleContainer {
                            display: flex;
                            gap: 0.5rem;
                            padding: 0.5rem;
                            align-items: center;
                            justify-content: center;
                            color: white;
                            background-color: #232F3E;
                            min-height: 30px;

                            .productSheetBottomCardTitle {
                                font-size: 0.7rem;

                                /* .linkIcon {
                                    filter: invert(100%);
                                    width: 16px;
                                } */
                            }
                        }    
    
                        .productSheetBottomCardImgContainer {
                            height: 140px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            background: #fff;
                            padding: 0.5rem;

                            @media (min-width: 768px) {
                                height: 160px;
                            }

                            .productSheetBottomCardImg {
                                display: block;
                                object-fit: contain;
                                margin: 0 auto;
                                width: 100%;
                                height: 100%;
                            }
                        }
                    }
    
                    &:hover {
                        cursor: pointer;
                        transform: scale(1.1);
                        transition: 0.3s;
    
                        .productSheetBottomCardTitleContainer {
                            color: mediumseagreen;
                        }
                    }
                }
            }
        }

        .productSheetAssociatedBadge {
            position: absolute;
            bottom: 0;
            left: 0;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem;
            border-top-right-radius: var(--radius);
            border-bottom-left-radius: var(--radius);
            background: orange;
            color: black;
            font-size: 0.8rem;

            img {
                width: 14px;
                height: 14px;
                display: block;
            }
        }
    }

    .psLightbox {
        position: fixed; 
        inset: 0;
        z-index: 100000;

        .psLightbox__backdrop {
            position: absolute; 
            inset: 0;
            background: rgba(0,0,0,.7);
        }

        .psLightbox__dialog {
            position: absolute; 
            inset: 0;
            display: flex; 
            flex-direction: column;
            align-items: center; 
            justify-content: center;

            .psLightbox__close {
                position: absolute; 
                top: 1rem; 
                right: 1rem;
                font-size: 2rem; 
                line-height: 1; 
                padding: 0.5rem;
                background: #fff; 
                color: #000; 
                border: 0; 
                border-radius: 0.25rem;
                cursor: pointer;
            }

            .psLightbox__arrow {
                position: absolute; 
                top: 50%; 
                transform: translateY(-50%);
                font-size: 4rem; 
                border: 0; 
                color: #333;
                cursor: pointer;
                background-color: #fff;
                padding: 0.5rem;
                border-radius: var(--radius);
            }

            .psLightbox__arrow--left { 
                left: 1rem; 
            }

            .psLightbox__img {
                filter: calc();
                box-shadow: 0 10px 30px rgba(0,0,0,.5);
                border-radius: 0.25rem;
                background: #fff;
            }

            .psLightbox__arrow--right { 
                right: 1rem; 
            }

            .psLightbox__arrow:disabled { 
                opacity: 0.3; 
                cursor: default; 
            }

            .zoomHint {
                color: white;
                margin-bottom: 1rem;
                font-size: 1.25rem;
            }
        }
    }

    .psLightbox[hidden] { 
        display: none !important; 
    }

    .psLightbox .lb-stage {
        position: relative;
        overflow: hidden;
    }

    .psLightbox .lb-img {
        transition: transform .2s ease;
        cursor: zoom-in;
        touch-action: none;
    }

    .psLightbox .lb-img.is-zoomed { cursor: zoom-out; }

    .psLightbox .psLightbox__img {
        transition: transform .2s ease;
        cursor: zoom-in;
        touch-action: none;
        max-width: min(92vw, 1400px);
        max-height: 90vh;
        object-fit: contain;
        display: block;
    }

    .psLightbox .psLightbox__img.is-zoomed {
        cursor: zoom-out;
    }

    .psLightbox .psLightbox__dialog { 
        overflow: hidden; 
    }
}

.sampleGalleryBtn {
    border: 1px solid #000;
    background: var(--primaryColor);
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    margin: 0.5rem auto;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.8rem;
    transition: .3s;

    @media (min-width: 1024px) {
      transition: .3s;

        &:hover {
            cursor: pointer;
            transform: translateY(-1px);
        }
    }
}

.promoBadgeIconCell {
  display: flex;
  gap: 10px;
  align-items: center;
}

.promoBadgeIconPreview {
  width: 22px;
  height: 22px;
  display: block;
}

.productSheetPriceMain {
    color: white;
    font-weight: 700;
}

.hasBarre {
    .productSheetPriceMain {
        color: mediumseagreen;
    }
}

.sellerProductPdfOpenBtn {
    background-color: #ff802c;
}

/* =========================================================
   RENDU PDF FICHE PRODUIT - DISFRA A3 CATALOGUE
   Actif uniquement avec body.is-product-pdf-rendering.
   Le design normal de la fiche produit n'est pas impacté.
   ========================================================= */

body.is-product-pdf-rendering {
    background: #ffffff !important;
}

body.is-product-pdf-rendering .productSheetNameContainer h1 {
    box-shadow: none !important;
    margin: 0 0 6px 0 !important;
    font-weight: 500 !important;
}

body.is-product-pdf-rendering .productTitleThumb {
    display: none !important;
}

body.is-product-pdf-rendering .productSheetMain {
    padding: 0 !important;
    background: #ffffff !important;
}

body.is-product-pdf-rendering .productSheetMainContainer {
    width: 1120px !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Layout catalogue :
   gauche = texte, centre = image, droite = coloris */
body.is-product-pdf-rendering .productSheetTopContent {
    width: 1120px !important;
    max-width: 1120px !important;
    display: grid !important;
    grid-template-columns: 38% 30% 32% !important;
    grid-template-rows: auto !important;
    align-items: start !important;
    column-gap: 18px !important;
    padding: 8px 12px 0 12px !important;
    background: #ffffff !important;
    position: relative !important;
}

/* Colonne gauche */
body.is-product-pdf-rendering .productSheetFirstContainer {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    gap: 3px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Colonne image + coloris */
body.is-product-pdf-rendering .productSheetSecondContainer {
    grid-column: 2 / 4 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

body.is-product-pdf-rendering .productSheetImgAndColorSampleContainer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    text-align: center !important;
}

/* Pas d'ombres/cadres web dans le PDF */
body.is-product-pdf-rendering .productSheetMainContainer,
body.is-product-pdf-rendering .productSheetTopContent,
body.is-product-pdf-rendering .productSheetFirstContainer,
body.is-product-pdf-rendering .productSheetSecondContainer,
body.is-product-pdf-rendering .productSheetImgContainer,
body.is-product-pdf-rendering .productSheetColorSampleContainer,
body.is-product-pdf-rendering .sampleBlock,
body.is-product-pdf-rendering .productSheetBrandLabel,
body.is-product-pdf-rendering .productStorageAdvantageLabel li img,
body.is-product-pdf-rendering .productSheetLabelImageContainer img {
    box-shadow: none !important;
}

/* Éléments web inutiles dans le PDF */
body.is-product-pdf-rendering .productSheetImgTitle,
body.is-product-pdf-rendering .galleryOpenerHint,
body.is-product-pdf-rendering .productSheetPreviewName,
body.is-product-pdf-rendering .psArrow,
body.is-product-pdf-rendering .sampleContainerIndication,
body.is-product-pdf-rendering .sampleGalleryBtn,
body.is-product-pdf-rendering .productSheetBtnsContainer,
body.is-product-pdf-rendering .productSheetBottomContent,
body.is-product-pdf-rendering .promoBadge,
body.is-product-pdf-rendering .productSheetHoverBox,
body.is-product-pdf-rendering [data-pdf-exclude],
body.is-product-pdf-rendering .psLightbox,
body.is-product-pdf-rendering .psMensuModal,
body.is-product-pdf-rendering .sellerProductPdfModal {
    display: none !important;
}

/* Titre produit */
body.is-product-pdf-rendering .productSheetNameContainer {
    align-items: flex-start !important;
    gap: 0 !important;
    margin: 0 0 4px 0 !important;
}

/* Blocs texte */
body.is-product-pdf-rendering .productSheetItem {
    margin: 0 !important;
}

body.is-product-pdf-rendering .productSheetItem::after {
    content: "" !important;
    display: block !important;
    width: 100% !important;
    height: 1px !important;
    background-color: #d7d7d7 !important;
    opacity: 1 !important;
    margin-top: 6px !important;
}

body.is-product-pdf-rendering .productSheetItem + .productSheetItem {
    margin-top: 2px !important;
}

body.is-product-pdf-rendering .productSheetItem:last-child::after {
    display: none !important;
}

body.is-product-pdf-rendering .productSheetItem .productSheetItemTitle {
    margin: 7px 0 5px 0 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

/* Texte compact pour tenir sur une feuille A3 */
body.is-product-pdf-rendering .productDescriptionHtml {
    margin: 0 0 3px 0 !important;
    gap: 1.5px !important;
    line-height: 1.2 !important;
}

body.is-product-pdf-rendering .productDescriptionHtml h4,
body.is-product-pdf-rendering .productDescriptionHtml h5,
body.is-product-pdf-rendering .productDescriptionHtml div,
body.is-product-pdf-rendering .productDescriptionHtml li {
    margin: 2px 0 2px 0 !important;
    line-height: 1.2 !important;
}

body.is-product-pdf-rendering .productDescriptionHtml div::before {
    content: "-";
    margin-right: 0.25rem;
}

body.is-product-pdf-rendering .productDescriptionHtml div {
    margin-left: 0 !important;
}

body.is-product-pdf-rendering .productDescriptionHtml h5,
body.is-product-pdf-rendering .productDescriptionList li:nth-child(2),
body.is-product-pdf-rendering .bonus li:first-child {
    font-style: italic !important;
    font-weight: 600 !important;
}

body.is-product-pdf-rendering .productDescriptionList {
    padding-left: 0 !important;
    gap: 0 !important;
}

body.is-product-pdf-rendering .productDescriptionList li {
    padding: 0 !important;
}

/* Marque */
body.is-product-pdf-rendering .productSheetBrandLabel {
    max-width: 46px !important;
    width: 46px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

/* Image principale */
body.is-product-pdf-rendering .productSheetImgContainer {
    width: 280px !important;
    height: 360px !important;
    min-width: 280px !important;
    min-height: 360px !important;
    max-width: 300px !important;
    max-height: 400px !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.is-product-pdf-rendering .productSheetImg {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    margin: auto !important;
    padding: 0 !important;
}

/* Coloris */
body.is-product-pdf-rendering .productSheetColorSampleContainer {
    border: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
}

body.is-product-pdf-rendering .productSheetColorSampleContainer .productSheetItemTitle {
    display: none !important;
}

body.is-product-pdf-rendering .sampleContainer {
    --pdf-sample-width: 150px;
    --pdf-sample-height: 80px;

    display: grid !important;
    grid-template-columns: repeat(3, var(--pdf-sample-width)) !important;
    grid-auto-rows: auto !important;
    justify-content: center !important;
    align-items: start !important;
    gap: 6px 8px !important;
    padding: 0 !important;
}

body.is-product-pdf-rendering .sampleBlock {
    list-style: none !important;
    width: var(--pdf-sample-width) !important;
    min-width: var(--pdf-sample-width) !important;
    max-width: var(--pdf-sample-width) !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;

    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.is-product-pdf-rendering .sampleImg {
    display: block !important;
    width: var(--pdf-sample-width) !important;
    height: var(--pdf-sample-height) !important;
    object-fit: contain !important;
    object-position: center center !important;
}

body.is-product-pdf-rendering .sampleLabel {
    font-size: 0.8rem !important;
    line-height: 1.05 !important;
    color: #111111 !important;
    text-align: center !important;
    max-width: var(--pdf-sample-width) !important;
}

/* Beaucoup d'échantillons */
body.is-product-pdf-rendering .sampleContainer:has(.sampleBlock:nth-child(7)) {
    --pdf-sample-width: 92px;
    --pdf-sample-height: 52px;
    grid-template-columns: repeat(4, var(--pdf-sample-width)) !important;
    gap: 5px 7px !important;
}

body.is-product-pdf-rendering .sampleContainer:has(.sampleBlock:nth-child(11)) {
    --pdf-sample-width: 78px;
    --pdf-sample-height: 44px;
    grid-template-columns: repeat(5, var(--pdf-sample-width)) !important;
    gap: 4px 6px !important;
}

body.is-product-pdf-rendering .sampleContainer:has(.sampleBlock:nth-child(11)) .sampleLabel {
    font-size: 5px !important;
}

/* Avantages */
body.is-product-pdf-rendering .productAdvantage .productStorageAdvantageLabel {
    display: grid !important;
    grid-template-columns: repeat(3, 56px) !important;
    justify-content: start !important;
    gap: 6px 12px !important;
    padding: 3px 0 0 0 !important;
}

body.is-product-pdf-rendering .productAdvantage .productStorageAdvantageLabel li {
    list-style: none !important;
    width: fit-content !important;
}

body.is-product-pdf-rendering .productAdvantage .productStorageAdvantageLabel li img {
    width: 60px !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
}

/* Entretien */
body.is-product-pdf-rendering .productStorage .productSheetStorageMainContainer {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

body.is-product-pdf-rendering .productStoragePart {
    display: grid !important;
    grid-template-columns: 54px auto !important;
    align-items: center !important;
    gap: 4px !important;
}

body.is-product-pdf-rendering .productSheetStoragePartTitle {
    font-size: 7px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    color: #111111 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

body.is-product-pdf-rendering .productStorage .productStorageAdvantageLabel,
body.is-product-pdf-rendering .productStorage > .productStorageAdvantageLabel {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 0 !important;
}

body.is-product-pdf-rendering .productStorageAdvantageLabel li {
    list-style: none !important;
}

body.is-product-pdf-rendering .productSheetStorageBacImgContainer img,
body.is-product-pdf-rendering .productStorage > .productStorageAdvantageLabel .productSheetStorageBacImgContainer img {
    width: 15px !important;
    height: 15px !important;
    object-fit: contain !important;
    border: 0 !important;
    border-radius: 0 !important;
}

/* Labels */
body.is-product-pdf-rendering .productLabel .productStorageAdvantageLabel {
    display: flex !important;
    justify-content: flex-start !important;
    padding: 3px 0 0 0 !important;
}

body.is-product-pdf-rendering .productSheetLabelImageContainer img {
    width: 200px !important;
    height: auto !important;
    border: 0 !important;
}

/* Sécurité : rien après labels dans le PDF */
body.is-product-pdf-rendering .productSheetBottomContent,
body.is-product-pdf-rendering .productSheetBottomCardMainContainer,
body.is-product-pdf-rendering .productSheetBottomCardContainer,
body.is-product-pdf-rendering .productSheetBottomCard {
    display: none !important;
}

/* Mode test navigateur */
body.is-product-pdf-preview {
    overflow-x: auto;
}

body.is-product-pdf-rendering .productSheetTopContent {
    box-sizing: border-box !important;
}

body.is-product-pdf-rendering .productSheetTopContent *,
body.is-product-pdf-rendering .productSheetTopContent *::before,
body.is-product-pdf-rendering .productSheetTopContent *::after {
    box-sizing: border-box !important;
}