.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.isPromo::after {
        content: "PROMO !";
        position: absolute;
        top: 0;
        left: 0;
        background-color: indianred;
        padding: 0.5rem;
        color: white;
        border-bottom-right-radius: var(--radius);
        border-top-left-radius: var(--radius);
        font-weight: 900;
        font-size: 0.7rem;

        @media (min-width: 1024px) {
            font-size: 1.5rem;
            padding: 1rem;
        }
    }
    
    .productSheetTopContent {
        display: flex;
        justify-content: space-around;
        padding: 2rem 0;
        flex-direction: column;
        position: relative;

        @media (min-width: 1600px) {
            flex-direction: row;
        }

        .productSheetNameContainer {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 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(100px, 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: 300px;
                        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;
            
            @media (min-width: 1600px) {
                max-width: 600px;
            }
        }

        .productSheetSecondContainer {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem 0;
            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: 500px;
                        margin-bottom: auto;
                        width: 280px;
                        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);
                            
                            @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; 
                    }

                    /* .cell-left  { 
                        width: 40%; 
                    }

                    .cell-right { 
                        width: 60%; 
                    } */
                }
            }

            .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: 2rem;
                }  

                .productSheetBtn {
                    border-radius: 0.25rem;
                    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
                    padding: 1rem;
                    text-transform: uppercase;
                    color: white;
                    width: fit-content;
                    margin: 1rem auto;
                    text-decoration: none;
                    display: flex;
                    align-items: center;
                    gap: 0.5rem;

                    @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%);
                    }
                }

                .productSheetGalleryOpener {
                    background-color: rgb(240, 160, 68);
                }

                .productSheetVideoBtn {
                    background-color: #333;
                }
                
                .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;
                    }   
                }

                .productSheetOrderBtn {
                    background-color: mediumseagreen;
                }

                #loginToOrderBtn {
                    background-color: #256ece;
                }
            }
        }
    }

    .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, minmax(100px, max-content));
                gap: 1rem;
                justify-content: center;
                
                @media (min-width: 768px) {
                    grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
                }   

                .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: fit-content;
    
                    .productSheetBottomCardLink {
                        text-decoration: none;
    
                        .productSheetBottomCardTitleContainer {
                            display: flex;
                            gap: 0.5rem;
                            padding: 0.5rem;
                            align-items: center;
                            justify-content: center;
                            color: white;
                            background-color: #232F3E;

                            .productSheetBottomCardTitle {
                                font-size: 0.7rem;

                                /* .linkIcon {
                                    filter: invert(100%);
                                    width: 16px;
                                } */
                            }
                        }    
    
                        .productSheetBottomCardImgContainer {
                            .productSheetBottomCardImg {
                                display: block;
                                object-fit: contain;
                                margin: 0 auto;
                                height: 128px;
                            }
                        }
                    }
    
                    &:hover {
                        cursor: pointer;
                        transform: scale(1.1);
                        transition: 0.3s;
    
                        .productSheetBottomCardTitleContainer {
                            color: mediumseagreen;
                        }
                    }
                }
            }
        }
    }

    .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: #000; 
                color: #fff; 
                border: 0; 
                border-radius: 0.25rem;
                cursor: pointer;
            }

            .psLightbox__arrow {
                position: absolute; 
                top: 50%; 
                transform: translateY(-50%);
                font-size: 4rem; 
                border: 0; 
                color: #fff;
                cursor: pointer;
                background-color: unset;
            }
            .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: .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; 
    }
}