:root {
    --color-black                              : #191919;
    --color-gray                               : #222222;
    --color-gray-1                             : #545454;
    --color-gray-2                             : #646464;
    --color-gray-3                             : #9A9A9A;
    --color-blue                               : #0C9FD6;
    --color-white                              : #FEFEFE;
    --filter-blue                              : invert(48%) sepia(82%) saturate(1752%) hue-rotate(168deg) brightness(101%) contrast(101%);
    --swiper-theme-color                       : var(--color-blue);
    --swiper-navigation-size                   : 30px;
    --swiper-pagination-bullet-size            : 14px;
    --swiper-pagination-bullet-inactive-color  : var(--color-gray-2);
    --swiper-pagination-bullet-inactive-opacity: 1;
}


.column-1 {
  columns: 1;
}

.column-2 {
  columns: 2;
}

.productViewVidSection, .productViewUpgrades {
    position: relative;
    z-index : 0;

    * {
        position: relative;
        z-index : 1;
    }

    &::after {
        content            : '';
        background-image   : url('../jpg/vidsecbg.jpg');
        background-size    : cover;
        background-position: center;
        background-repeat  : no-repeat;
        width              : 100%;
        height             : 100%;
        opacity            : 0.25;
        position           : absolute;
        top                : 0;
        left               : 0;
        z-index            : 0;
    }

   
}

.productViewCompositionSection, .productViewSizes, .productViewUpgrades, .productViewModelSlider {
    h1 {
        text-align    : center; 
        font-size     : 48px;
        font-weight   : 500;
        color         : var(--color-white);
        text-transform: uppercase;
        font-family   : "Oswald", sans-serif;

        @media screen and (max-width: 768px) {
            font-size  : 36px;
            line-height: 110.00000000000001%;
        }
    }
}

.productViewInfoSection {
    padding-block      : 50px ;
    background-image   : url('../jpg/productinfobg.jpg');
    background-size    : cover;
    background-position: center;
    background-repeat  : no-repeat;

    @media screen and (max-width: 768px) {
        background-image: none;
    }

    .container {
        display              : grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        @media screen and (max-width: 768px) {
            grid-template-columns: repeat(1, minmax(0, 1fr));
            padding-inline       : 0;
        }
    }

    .productImagess {
        padding-right: 60px;
        padding-top  : 20px;

        @media screen and (max-width: 768px) {
            padding-inline: 40px;
            padding-top   : 0;
        }
    }

    .sliderPrimary {

        @media screen and (max-width: 768px) {
            padding-bottom: 30px;
        }

        img {
            width: auto;
            height: 540px;
        }
        
        .swiper-slide {
            @media screen and (max-width: 768px) {
                height: auto;
                padding-inline: 40px;
            }   
        }

        .swiper-button-next, .swiper-button-prev, .swiper-pagination {
            opacity: 0;

            @media screen and (max-width: 768px) {
                opacity: 1;
            }
        }

        .swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
            opacity: 0;
        }

        
    }

    .swiper-slide {
        img {
            width: 100%;
            object-fit: contain;
        }
    }

    .sliderThumbnails {
        padding-bottom: 5px;
        margin-top    : 12px;
        position      : relative;

        @media screen and (max-width: 768px) {
            display: none;
        }

        .swiper-slide {
            padding-top: 5px;
            background-color: var(--color-black);
            display: flex;
            justify-content: center;
            align-items: end;
        }

        img {
            max-width: 128px;
            max-height: 128px;
        }

        &::after {
            content         : '';
            position        : absolute;
            bottom          : 0;
            left            : 0;
            height          : 6px;
            background-color: var(--color-blue);
            transition      : all 0.3s ease;
            width           : 0;
            opacity         : 0;
        }

        &.has-active::after {
            opacity: 1;
        }
    }
    

    .productDescription {
        color      : var(--color-white);
        font-family: 'oswald', sans-serif;

        @media screen and (max-width: 768px) {
            background-image   : url('../jpg/productinfobg.jpg');
            background-size    : cover;
            background-position: center;
            background-repeat  : no-repeat;
            padding-inline     : 45px;
        }

        h1 {
            font-size : 66px;
            margin-block : 0;
            font-weight: 500;
            letter-spacing: -2%;

            @media screen and (max-width: 768px) {
                text-align: center;
                font-size : 48px;
                margin-top: 25px;

                 & + h2 {
                    display: none;
                }
                
            }
            
        }

        h2 {
            font-size : 24px;
            margin-top : 12px;
            font-weight: 500;

            &:has(+ ul) {
                margin-bottom: 0;
            }

            @media screen and (max-width: 768px) {
                text-align: center;;
            }
        }

        p {
            font-family: "Open Sans", sans-serif;
            font-size  : 16px;
            font-weight: 400;
            line-height: 24px;

            @media screen and (max-width: 768px) {
                text-align: center;
            }
        }

        
    }

    ul {
        column-fill: balance; 
        
        @media screen and (max-width: 768px) {
            columns: 1;
        }

        li {
            font-size        : 16px;
            font-weight      : 400;
            line-height      : 32px;
            text-transform   : uppercase;
            break-inside     : avoid;
            page-break-inside: avoid;

            @media screen and (max-width: 768px) {
                padding-right: 12px;
            }
        }
    }

    h3 {
        font-weight   : 400;
        color         : var(--color-blue);
        font-size     : 18px;
        letter-spacing: 5%;
        margin-bottom : 0;

        @media screen and (max-width: 768px) {
            text-align: center;
        }
    }

    h4 {
        font-size: 26px;
        letter-spacing: 5%;
        margin-block: 0;
        font-weight: 400;

        @media screen and (max-width: 768px) {
            text-align: center;
        }
    }

    .btn {
        margin-top : 16px;

        @media screen and (max-width: 768px) {
            display      : block;
            margin-inline: auto;
        }
    }
}

.productViewVidSection {
    
    padding-block      : 68px;
    display            : flex;
    justify-content    : center;
    align-items        : center;
    position           : relative;

    @media screen and (max-width: 768px) {
        padding-inline: 30px;
        padding-block : 40px 50px;
    }

    .vidWrapper {
        position: relative;
        width   : 1008px;
        height  : 567px;
        
        @media screen and (max-width: 768px) {
            width : 100%;
            height: auto;
        }
        
        video {
            width : 100%;
            height: 100%;
            border-radius: 12px;
            object-fit: cover;
            cursor: pointer;
        }
        
        &::after {
           content            : '';
           position           : absolute;
           top                : 50%;
           left               : 50%;
           transform          : translate(-50%, -50%);
           width              : 195px;
           height             : 195px;
           background-image   : url('../svg/play_circle.svg');
           background-size    : contain;
           background-repeat  : no-repeat;
           background-position: center;
           cursor             : pointer;
           transition         : opacity 0.3s ease;
           opacity            : 1;
           z-index            : 10;
           pointer-events     : auto;

           @media screen and (max-width: 768px) {
               width : 85px;
               height: 85px;
           }
       }
    
       &::before {
           content         : '';
           position        : absolute;
           top             : 0;
           left            : 0;
           width           : 100%;
           height          : 100%;
           background-color: #060D1080;
           z-index         : 5;
       }
    
       &.playing {
           &::after {
               pointer-events  : none;
               background-image: url('../svg/pause_circle.svg');
               transform       : none;
               width           : 53px;
               height          : 53px;
               left            : 12px;
               bottom          : 12px;
               top             : auto;

                @media screen and (max-width: 768px) {
                     width : 13px;
                     height: 13px;
                     left  : 8px;
                     bottom: 8px;
                }
           }
    
           &::before {
               background-color: transparent;
           }
       }
    }
}


.productViewCompositionSection {
    font-family  : "Oswald", sans-serif;
    padding-block: 74px ;

    h1 {
        margin-bottom : 40px;
    }

    .productionSpecs {
        display              : grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap                  : 40px;

        @media screen and (max-width: 768px) {
            grid-template-columns: repeat(1, minmax(0, 1fr));
            padding-inline       : 15px;
            gap                  : 31px;
        }
    }
}

.learnMore {
    color          : var(--color-blue);
    text-transform : uppercase;
    font-family    : "Oswald", sans-serif;
    font-size      : 15px;
    font-weight    : 500;
    display        : flex;
    align-items    : center;
    justify-content: center;
    gap            : 8px;
    margin-inline  : auto;

    i {
        width     : 15px;
        height    : 15px;
        margin-top: 1px;
    }
}

.gridItem {
    position: relative;
    overflow: hidden;
    
    .imageWrap {
        overflow: hidden;
        height  : 240px;
   
        img {
            width: 100%;
            height : 100%;
            object-fit: cover;
        }
    }

    .imageDescription {
        background-color: var(--color-gray);
        text-align: center;
        padding-block: 28px 32px;
        padding-inline: 30px;

        h2 {
            color         : var(--color-white);
            margin-top    : 0;
            text-transform: uppercase;
            margin-bottom : 28px;
            font-weight   : 500;
            font-size     : 28px;
            font-family   : "Oswald", sans-serif;
        }
    }

    .itemMoreInfo {
        position        : absolute;
        width           : 100%;
        height          : 100%;
        left            : 0;
        bottom          : 0;
        background-color: var(--color-gray);
        color           : var(--color-white);
        padding-inline  : 22px;
        padding-top     : 43px;
        transform       : translateY(100%);
        transition      : transform 0.2s ease-in-out;
        
        &.active {
            transform: translateY(0);
        }

        h2 {
            font-family   : "Oswald", sans-serif;
            font-weight   : 500;
            font-size     : 28px;
            line-height   : 30px;
            text-transform: uppercase;
        }

        .infoContent {
            font-family  : "Open Sans", sans-serif;
            font-size    : 16px;
            font-weight  : 400;
            line-height  : 24px;
            height       : calc(100% - (32px + 43px));
            overflow-y   : auto;
            padding-right: 20px;

            img {
                width : 100%;
            }

            *:not(h2) {
                font-family: "Open Sans", sans-serif;
                font-weight: 400;
                font-size  : 16px;
            }
    
            &::-webkit-scrollbar {
                width: 4px;
                -webkit-appearance: none; 
            }

            &::-webkit-scrollbar-track {
                background: var(--color-gray-1); 
                border-radius: 4px;
            }

            &::-webkit-scrollbar-thumb {
                background: var(--color-white); 
                border-radius: 4px;
            }

            ul > li {
                margin-bottom: 8px;
            }
        }

        .infoClose {
            height : 84px;
            display: flex;
            justify-content: center;
            align-items    : center;
            

            button {
                color         : var(--color-blue);
                font-family   : "Oswald", sans-serif;
                font-weight   : 500;
                font-size     : 15px;
                text-transform: uppercase;
                display       : flex;
                align-items   : center;
                gap           : 8px;

                i {
                    filter: var(--filter-blue);
                    width : 20px;
                    height: 20px;
                }
            }
        }
    }
}

.productViewSizes {
    padding-block : 0 100px;
    color         : var(--color-white);
    text-align    : center;

    h1 {
        margin-bottom: 12px;
    }

    p {
        font-size    : 16px;
        font-family  : "Open Sans", sans-serif;
        font-weight  : 400;
        margin-bottom: 45px;
        margin-top   : 0;
    }
    
    img {
        margin-inline: auto;
        width        : auto;
        max-height   : 300px;
        object-fit   : contain;

        @media screen and (max-width: 768px) {
            width     : 100%;
            height    : auto;
            max-height: none;
        }
    }

    .availableSizesGrid {
        display   : flex;
        justify-content : center;
        flex-wrap : wrap ;
        gap       : 57px;
        margin-top: 50px;

        @media screen and (max-width : 768px) {
            justify-content: start;
        }

        .sizesItem {
            display        : flex;
            flex-direction : column;
            justify-content: center;
            align-items    : center;
            gap            : 12px;
            max-width      : 112px;
            

            h4 {
                font-family   : "Oswald", sans-serif;
                font-size     : 18px;
                font-weight   : 300;
                margin-block  : 0;
                text-transform: uppercase;
            }

          
        }
    }
}

.productViewUpgrades {
    padding-block     : 75px;

    h1 {
        margin-bottom: 40px;
        margin-top   : 0;
    }

    .upgradeItems {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap : 30px;

        @media screen and (max-width: 1024px) {
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }
    }
}

.productViewModelSlider {
    padding-bottom: 74px;

    h1 {
        &:not(.swiper-slide h1) {
            text-align    : center;
            margin-bottom : 40px;
            margin-top    : 0;
            text-transform: uppercase;
            
            @media screen and (max-width: 768px) {
              max-width    : 70%;
              margin-inline: auto;
            }
        }
        
        &:is(.swiper-slide h1) {
            font-family   : "Oswald", sans-serif;
            font-size     : 18px;
            font-weight   : 400;
            text-transform: uppercase;
            color         : var(--color-gray-3);
            text-align    : center;
        }
    }

    .container {
        position: relative;

        .modelImage {
            display: flex;
            justify-content: center;
            align-items: center;

            img {
                width : auto;
                height : 110px;
                object-fit: contain;
                margin-inline: auto;
            }
        }

        .slideNavigation {
            width          : 100%;
            display        : flex;
            justify-content: end;
            padding-inline : 10px;
            z-index        : 10;
            gap            : 12px;

            @media screen and (max-width: 768px) {
                justify-content: center;
                padding-inline : 0;
                gap            : 0;
            }

            button {
                padding        : 0;
                width          : 40px;
                height         : 40px;
                display        : flex;
                justify-content: center;
                align-items    : center;
                cursor         : pointer;
                border         : none;

                @media screen and (max-width: 768px) {
                    width : 17px;
                    height: 17px;
                }

                i {
                    width : 25px;
                    height: 25px;
                    filter: var(--filter-blue);

                    @media screen and (max-width: 768px) {
                        width : 15px;
                        height: 15px;
                    }
                }

                &.swiper-button-disabled {
                    opacity: 0.5;
                }

              

                &.modelSliderPrev {
                    i {
                        transform: rotate(180deg);
                    }
                }
            }
        }
    }
}

.homeSafeModelsSection {
    color           : var(--color-white);
    background-color: var(--color-black);
    padding-block   : 90px;

    h1 {
        text-transform: uppercase;
        text-align    : center;
        font-family   : "Oswald", sans-serif;
        font-weight   : 500;
        font-size     : 48px;
    }

    p {
        font-family: "Open Sans", sans-serif;
        font-size  : 16px;
        font-weight: 300;
        text-align : center;
        line-height: 24px;
    }
    
    
    .homeSafeGrid {
        display              : grid;
        grid-template-columns: repeat(auto-fit, minmax(363px, 1fr));
        gap                  : 24px;
        margin-top           : 60px;

        img {
            object-fit: contain;
        }

        .homeSafeGridItem {
            display           : flex;
            
            img {
                height: 363px;
            }

            .hsInfo {
                height        : 100%;
                display       : flex;
                flex-direction: column;

                h1 {
                    font-family : "Oswald", sans-serif;
                    font-weight : 500;
                    font-size   : 32px;
                    text-align  : left;
                    margin-block: 0;
                    
                }

                p {
                    font-family : "Open Sans", sans-serif;
                    font-size   : 16px;
                    font-weight : 400;
                    text-align  : left;
                    color       : var(--color-blue);
                    margin-block: 0;;
                }

                .hsBody {
                    display   : flex;
                    margin-block: 12px;
                    gap       : 12px;


                    img {
                        width     : 57px;
                        height    : 51px;
                        object-fit: contain;
                    }

                    p {
                        color      : var(--color-white);
                        font-weight: 300;
                    }

                    
                }

                .btn {
                    display   : block;
                    margin-top : auto ;
                }
            }
        }
    }
}

.luxurySection {
    background-image   : url('../jpg/luxbg.jpg');
    background-size    : cover;
    background-position: center;
    background-repeat  : no-repeat;
    padding-top        : 50px;
    color              : white;

    .container {
        display: flex;
        gap    : 88px;

        @media screen and (max-width : 768px) {
            flex-wrap     : wrap;
            gap           : 12px;
            padding-bottom: 80px;
        }

        img {
            width     : 100%;
            height    : auto;
            object-fit: contain;
            max-width : 458px;
        }

        .luxInfo {
            padding-top: 50px;

            h1 {
                font-family : "Oswald", sans-serif;
                font-size   : 48px;
                font-weight : 500;
                margin-block: 0;
            }

            h2 {
                font-family : "Oswald", sans-serif;
                font-size   : 22px;
                font-weight : 400;
                margin-top  : 12px;
                color       : var(--color-blue);
            }

            p {
                font-family : "Open Sans", sans-serif;
                font-size   : 16px;
                font-weight : 300;
                line-height : 24px;
            }
        }
    }
}