#productTab ul{
    display: inline-block;
    width: inherit;
    box-shadow: 0px 0px 4px 2px gainsboro;
    background-color: white;
}
#productTab #navTab {
    width: 100%;
}
#productTab ul li{
    width: fit-content;
}
#productTab ul li a { 
    color: rgb(126, 124, 124);
    padding: 12px 20px;
    font-size: 17px;
    border-bottom: 0;
    border-radius: 0;
}
#productTab ul li a:hover{
    border: 0;
    background-color: white;
}
#productTab ul li.active a{
    border: 0;
    color: cornflowerblue;
    font-weight: 600;
    border-bottom: 0.3rem solid cornflowerblue;
}


#productTab .tab-content{
    display: inline-block;
    background-color: white;
    width: inherit;
    height: 55rem;
    box-shadow: 0px 5px 5px 0.3px gainsboro;
}
#productTab .tab-content .tab-pane{
    position: relative;
    width: inherit;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;   /* ðŸ”¥ THIS IS THE FIX */
    grid-template-rows: 1fr 1fr auto;
    grid-template-areas: 'firstpart secondpart''firstpart fourthpart''firstpart thirdpart';
    gap: 1rem;
    padding: 2rem;
}
#productTab .tab-content .tab-pane .firstpart{
    display: inline-block;
    position: relative;
    grid-area: firstpart;
    background-color: white;
    width: 100%;
    height: 100% !important;
    overflow: hidden;
    box-shadow: 0px 0px 3px 0.5px gainsboro;
}
#productTab .tab-content .tab-pane .secondpart{
    display: inline-block;
    grid-area: secondpart;
    background-color: white;
    box-shadow: 0px 0px 3px 0.5px gainsboro;
    padding: 1.5rem;
    width: 100%;
}

#productTab .tab-content .tab-pane .secondpart .rowone div{
    display: inline-block;
}
#productTab .tab-content .tab-pane .secondpart .rowone .ro-one{
    font-size: 2rem; font-weight: bold;
}
#productTab .tab-content .tab-pane .secondpart .rowone .ro-two{
    background-color: gainsboro; padding: 0.2rem 1rem; border-radius: 25px; margin-left: 2rem;
}
#productTab .tab-content .tab-pane .secondpart .rowone .ro-three{
    margin-left: 2rem;
}
#productTab .tab-content .tab-pane .secondpart .rowone .ro-four{
    margin-left: 1rem;
}


#productTab .tab-content .tab-pane .secondpart .rowtwo{
    margin-top: 0.5rem;
}
#productTab .tab-content .tab-pane .secondpart .rowtwo div{
    display: inline-block; 
}


#productTab .tab-content .tab-pane .secondpart .rowthree{
    color: rgb(107, 107, 200); 
    margin-top: 1rem;
}
#productTab .tab-content .tab-pane .secondpart .rowthree div{
    display: inline-block;
}
#productTab .tab-content .tab-pane .secondpart .rowthree .rt-two{
    margin-left: 12rem;
}
#productTab .tab-content .tab-pane .secondpart .rowthree .rt-three{
    margin-left: 12rem;
}


#productTab .tab-content .tab-pane .secondpart .rowfour{
    color: rgb(162, 160, 160); 
    margin-top: 1.5rem;
}
#productTab .tab-content .tab-pane .secondpart .rowfour div{
    display: inline-block; 
}
#productTab .tab-content .tab-pane .secondpart .rowfour div i{
    font-size: 0.3rem; 
    position: absolute; 
    top: 15rem;
}
#productTab .tab-content .tab-pane .secondpart .rowfour .rfo-two{
    margin-left: 2.5rem;
}
#productTab .tab-content .tab-pane .secondpart .rowfour .rfo-three{
    margin-left: 2.5rem;
}
#productTab .tab-content .tab-pane .secondpart .rowfour .rfo-four{
    margin-left: 2.5rem;
}


#productTab .tab-content .tab-pane .secondpart .rowfive{
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: end;
}
#productTab .tab-content .tab-pane .secondpart .rowfive div{
    display: inline-block; 
}
#productTab .tab-content .tab-pane .secondpart .rowfive .rfi-one{
    color: black; font-weight: bold;
    font-size: 1.75rem;
}
#productTab .tab-content .tab-pane .secondpart .rowfive .rfi-two{
    margin-left: 22rem;    
}


#productTab .tab-content .tab-pane .thirdpart{
    display: inline-block;
    grid-area: thirdpart;
    background-color: white;
    box-shadow: 0px 0px 3px 0.5px gainsboro;
    width: 100%;
    padding: 1.3rem;
}
#productTab .tab-content .tab-pane .thirdpart div{
    margin-bottom: 1rem; 
}
#productTab .tab-content .tab-pane .thirdpart .dealerinfo-head{
    font-size: 2rem; font-weight: bold; color: rgb(2, 56, 10);
}
#productTab .tab-content .tab-pane .thirdpart .dealerinfo-name{
    display: flex; width: 100%; align-items: center; justify-content: center;
    gap: 0.5rem;
}
#productTab .tab-content .tab-pane .thirdpart .dealerinfo-bttn{
    display: inline-block; width: 100%; text-align: right;
}
#productTab .tab-content .tab-pane .thirdpart div input{
    display: block;
    width: 100%;
    border: 1px solid gainsboro;
    border-radius: 0.3rem;
    padding: 0.5rem;
}
#productTab .tab-content .tab-pane .thirdpart div input:focus{
    border: 1px solid gainsboro;
    outline: none;
}


#productTab .tab-content .tab-pane .fourthpart{
    grid-area: fourthpart;
    background-color: white;
    box-shadow: 0px 0px 3px 0.5px gainsboro;
    width: 100%;
    padding: 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
#productTab .tab-content .tab-pane .fourthpart .each-feature{
    display: inline-block;
    padding: 0.5rem;
    margin: 0rem;
    width: 16.33%;
}
#productTab .tab-content .tab-pane .fourthpart .each-feature .feature1{
    width: 4rem;
    height: auto;
}
#productTab .tab-content .tab-pane .fourthpart .each-feature .feature2{
    color: rgb(167, 163, 163);
    text-align: center;
    font-size: 1.1rem;
}
#productTab .tab-content .tab-pane .fourthpart .each-feature .feature3{
    font-weight: 600;
    text-align: center;
    color: cornflowerblue;
}


.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.carousel-inner,
.carousel-item,
.carousel-item img {
    width: 100%;
    height: 100%;
}
.carousel-item img {
    object-fit: contain;
}
.carousel-indicators{
    bottom: 0;
}
.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
}
.carousel-indicators li {
    background-color: #999;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.carousel-indicators .active {
    background-color: #333;
}

.specs-features{
    position: relative;
    display: flex;
    padding: 2rem;
    margin: 1.5rem;
    margin-top: 2rem;
    width: 103.6rem;
    justify-content: start;
    align-items: center;
    background-color: white;
    box-shadow: 0px 0px 4px 2px gainsboro;
    flex-wrap: wrap;
}
.specs-features h3{
    position: absolute; 
    top: 0rem; 
    left: 0; 
    width: 100%;
    text-align: center;
    color: #e06767;
    font-size: 1.75rem !important;
    font-weight: bold !important;
}
.specs-features .each-feature{
    display: inline-block;
    padding: 0.5rem;
    padding-top: 6rem;
    margin: 0rem;
    width: 16.33%;
}
.specs-features .each-feature .feature1{
    width: 4rem;
    height: 3rem;
}
.specs-features .each-feature .feature2{
    color: rgb(167, 163, 163);
    text-align: center;
    font-size: 1.2rem;
}
.specs-features .each-feature .feature3{
    font-weight: 550;
    text-align: center;
}

#qa{
    position: relative;
    padding: 1.5rem 2rem;
    padding-bottom: 3rem;
    margin: 1.5rem;
    margin-top: 2rem;
    width: 103.6rem;
    justify-content: center;
    align-items: center;
    background-color: white;
    box-shadow: 0px 0px 4px 2px gainsboro;
}
#qa .qa-img{
    display: inline-block;
    margin-left: 10rem;
    width: 12rem;
}
#qa .qa-content{
    position: absolute;
    top: 2rem;
    display: inline-block;
    margin-left: 10rem;
}
#qa .qa-content input{
    margin-top: 1.5rem;
    width: 30rem;
    height: 4rem;
    border: 1px solid gainsboro;
    border-radius: 0.3rem;
    padding: 0.5rem;
}


@media screen and (max-width: 500px) {
    .specs-features{
        padding: 2rem;
        width: 45.25rem;
        padding-bottom: 7rem;
    }
    .specs-features h3{
        left: 40%; 
        font-size: 2rem;
    }
    .specs-features .each-feature{
        display: inline-block;
        padding: 2rem;
        padding-top: 4rem;
        margin: 0rem 0rem;
    }
    .specs-features .each-feature .feature1{
        width: 4rem;
        height: 3rem;
    }
    .specs-features .each-feature .feature2{
        font-size: 1rem;
    }
    .specs-features .each-feature .feature3{
        font-weight: bold;
        font-size: 1rem;
        width: 5rem;
        text-align: center;
    }
    .specs-features .line{ 
        font-size: 1.5rem; 
    }
    

    #qa{
        padding-bottom: 3rem;
        width: 45.25rem;
    }
    #qa .qa-img{
        margin-left: 0rem;
        width: 8rem;
    }
    #qa .qa-content{
        top: 0.5rem;
        margin-left: 2rem;
    }
    #qa .qa-content input{
        margin-top: 0.5rem;
        width: 15rem;
    }
}


.main-content {
    position: relative;
} 


.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.carousel-inner,
.carousel-item,
.carousel-item img {
    width: 100%;
    height: 100%;
}
.carousel-item img {
    object-fit: contain;
}
.carousel-indicators{
    bottom: 0;
}
.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
}
.carousel-indicators li {
    background-color: #999;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.carousel-indicators .active {
    background-color: #333;
}


.slider{
    position: relative;
    background: white !important;
    width: fit-content !important;
    padding: 1rem 1.8rem;
    margin: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0px 0px 4px 2px gainsboro;
    height: auto !important;
    border-radius: 0px !important;
}
.slider h1{
    font-size: 1.75rem;
    padding-left: 1rem;
    font-weight: bold;
    color: #e06767;
}
.slider .slider-container{
    display: flex;
    width: fit-content;
    background-color: white;
}
.slider-container .slider-wrapper{
    width: 1000px;
    height: 300px;
    position: relative;
    overflow: hidden;
}
.slider-container .slider-wrapper .inner-wrapper{
    width: 275%;
    height: 95%;
    position: relative;
    left: 0%;
    transition: 0.5s ease-in-out infinite;
}
.slider-container .slider-wrapper .inner-wrapper .minicon{
    width: calc(100%/9);
    height: 95%;
    float: left;
    margin: 0.5%;
    box-shadow: 0px 0px 4px 2px gainsboro;
}
.slider-container .slider-wrapper .inner-wrapper .minicon .inner-text{
    position: absolute; 
    bottom: 0; 
    background-color: white; 
    width: 100%;
    padding: 0.4rem;
}
.slider-container .slider-wrapper .inner-wrapper .minicon .inner-text .caption1{
    font-size: 15px; 
    opacity: 90%;
    text-align: center;
    color: black;
    font-weight: 600;
}
.slider-container .slider-wrapper .inner-wrapper .minicon .inner-text .caption2{
    font-size: 14px; 
    margin: 0.2rem 0rem;
    text-align: center;
    color: gray;
}
.slider-container .slider-wrapper .inner-wrapper .minicon .inner-text .inner-btns button{
    width: 100%; 
    border: 1px solid mediumseagreen; 
    border-radius: 3px; 
    background-color: white; 
    font-size: 15px; 
    padding: 0.75rem;
    color: gray;
    margin-top: 1rem;
}
.slider-container .slider-wrapper .inner-wrapper .minicon .inner-text .inner-btns button:hover{
    background-color: mediumseagreen;
    color: white;
    
}
.slider-container .slider-wrapper .inner-wrapper .minicon .dealerinfo{
    width: 100%; height: 100%; padding: 2rem;
}
.slider-container .slider-wrapper .inner-wrapper .minicon .dealerinfo button{
    background-color: darkcyan; 
    color: white; 
    width: 90%; 
    position: absolute; 
    bottom: 1rem; 
    left: 1.5rem;
}

.button-prev , .button-next{
    width: 3%;
    height: 10%;
    border-radius: 3px;
    padding: 0.4rem;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    top: 5%;
    cursor: pointer;
    color: gray;
    
    background-color: white;
    border: none;
    box-shadow: 0px 5px 15px 2px gainsboro;
}
.button-prev{
    right: 8%;
}
.button-next{
    right: 3%;
}
.button-prev:hover , .button-next:hover{
    border: none;
    transition: 0.1s ease-in-out;
    transform: scale(1.2);
}


@media screen and (max-width: 500px) {
    .slider{
        width: fit-content;
        padding: 1rem 1.8rem;
        margin: 1.5rem;
        margin-top: 2rem;
    }
    .slider h1{
        font-size: 1.5rem;
        padding-left: 0.5rem;
    }
    .slider-container .slider-wrapper{
        width: 420px;
        height: 200px;
    }
    .slider-container .slider-wrapper .inner-wrapper{
        width: 415%;
        height: 95%;
    }
    .slider-container .slider-wrapper .inner-wrapper .minicon{
        width: calc(100%/9);
        height: 95%;
        margin: 0.5%;
    }
    
    .slider-container .slider-wrapper .inner-wrapper .minicon .inner-text{
        padding: 0.4rem;
    }
    .slider-container .slider-wrapper .inner-wrapper .minicon .inner-text .caption1{
        font-size: 1.3rem;
        font-weight: 550; 
        opacity: 80%;
    }
    .slider-container .slider-wrapper .inner-wrapper .minicon .inner-text .caption2{
        font-size: 1.2rem; 
        font-weight: bold; 
        margin: 0.2rem 0rem;
    }
    .slider-container .slider-wrapper .inner-wrapper .minicon .inner-text .inner-btns button{
        font-size: 1.3rem; 
        padding: 0.2rem;
    }
    .slider-container .slider-wrapper .inner-wrapper .minicon .dealerinfo{
        width: 100%; height: 100%; padding: 0.5rem;
    }
    .slider-container .slider-wrapper .inner-wrapper .minicon .dealerinfo h5{
        font-size: 1.2rem;
        font-weight: 550;
    }
    .slider-container .slider-wrapper .inner-wrapper .minicon .dealerinfo button{
        width: 90%; 
        position: absolute; 
        bottom: 0.5rem; 
        left: 0.6rem;
        font-size: 1.2rem;
    }

    .button-prev , .button-next{
        width: 5%;
        height: 10%;
        font-size: 1.6rem;
    }
    .button-prev{
        right: 12%;
    }
    .button-next{
        right: 5%;
    }
    .button-prev:hover , .button-next:hover{
        transform: scale(1.1);
    }
}


.sidebar {
    position: absolute;
    top: 0rem;
    right: 1.5rem;
    width: 43rem;
}
#trending{
    padding-bottom: 6rem;
    width: inherit;
    background-color: white;
    box-shadow: 0px 0px 4px 2px gainsboro;
}
#trending ul{
    display: inline-block;
    width: inherit;
    box-shadow: 0px 0px 4px 2px gainsboro;
    background-color: white;
}
#trending ul li{
    width: calc(100%/3.45);
    text-align: center;
}
#trending ul li a { 
    color: rgb(126, 124, 124);
    padding: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 0;
    border-radius: 0;
    text-align: center;
}
#trending ul li a:hover{
    border: 0;
    background-color: white;
}
#trending ul li.active a{
    border: 0;
    border-bottom: 0.3rem solid green;
}


#trending .tab-content{
    display: inline-block;
    background-color: white;
    width: inherit;
    height: 55rem;
    box-shadow: 0px 5px 5px 0.3px gainsboro;
}
#trending .tab-content .tab-pane{
    position: relative;
    width: inherit;
    padding: 2rem;
}
.sticky {
    position: fixed;
    top: 8rem; 
}
.stickydown{
    position: fixed;
    top: 0;
}


@media screen and (max-width: 500px) {
    .sidebar, .sticky, .stickydown{
        position: relative;
        top: 1.5rem;
        left: 1.6rem;
    }
    .sidebar{
        width: 45rem;
    }
    #trending ul{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #trending ul li{
        width: calc(100%/3);
        display: inline-block;
    }
    
    #trending .tab-content .tab-pane{
        padding: 0.5rem;
    }
}