@font-face {
    font-family: GilroyRegular;
    src: url(gilroy-regular.ttf);
}
@font-face {
    font-family: GilroyBold;
    src: url(gilroy-bold.ttf);
}
body {
    background-color: rgb(238, 238, 238);
    font-family: "GilroyRegular";
}
.directbodytext {
    font-size: 14px;
    padding: 0 20px;
    letter-spacing: 0.1rem;
    margin: 1.5rem 0;
}

.dropdown1:hover body :not(#popup1) {
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: blur(2px);
}

@media screen and (max-width: 500px) {
    .directbodytext {
        font-size: 0.8rem;
        padding: 0.5rem 2rem;
    }
}


#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: 60rem;
    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: auto 1fr auto;
    grid-template-areas: 'firstpart secondpart''firstpart thirdpart''buttonarea 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 .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 .buttonarea{
    grid-area: buttonarea;
    display: flex;
    gap: 0.5rem;
    width: 100%;
}
#productTab .tab-content .tab-pane .buttonarea .halfbtn{
    width: 50%;
    padding: 0.5rem 1rem;
    border: none;
    font-size: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn1{
    background-color: #ff9f00;
    color: white;
}
.btn2{
    background-color: #fb641b;
    color: white;
}

#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;
}
#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: 2rem;
}
#productTab .tab-content .tab-pane .secondpart .rowfive .rfi-two{
    margin-left: 22rem;    
}


#productTab .tab-content .tab-pane .secondpart .rowsix{
    margin-top: 1rem;
}



.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;
}



.main-content {
    position: relative;
    margin: 1rem auto; 
}
.container {
    width: 90%;
    max-width: 90%;
    padding: 0;
}

.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;
}




.pricecompContainer { 
    margin: 0;
    padding: 0.5rem 1rem;
    background-color: white; 
}
.pricecompContainer .comptitle {
    padding: 0.5rem;
    color: cornflowerblue;
    font-weight: 600;
    font-size: 1.5rem;
    text-align: center;
}
.pricecompContainer .eachComparison {
    border: 1px solid gainsboro;
    border-radius: 10px;
    width: 100%;
    height: 7rem;
    margin: 0.5rem auto;
    padding: 0.5rem;
}
.pricecompContainer .comp-store {
    position: relative;
    text-align: center;
}
.pricecompContainer .comp-store .storeImg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 98%;
}
.pricecompContainer .comp-store .storeImg img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    border-radius: 10px;
}
.pricecompContainer .comp-mtrprice {
    padding: auto 1rem;
}
.pricecompContainer .storeName {
    color: mediumseagreen;
    overflow: hidden;
    font-size: 1.6rem;
    font-weight: 500;
}
.pricecompContainer .comp-mtrprice {
    padding: 0.25rem 1rem;
    color: rgb(79, 78, 78);
    font-weight: 450;
    font-size: 1.8rem;
    font-weight: 600;
}
.pricecompContainer .comp-visit {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pricecompContainer .allsellers {
    text-align: center;
}
.pricecompContainer .allsellers a {
    color: goldenrod;
    font-weight: 600;
}



.allmaterials {
    position: absolute;
    top: 0;
    right: 0;
    background-color: white;   
    box-shadow: 0px 0px 3px 1px gainsboro; 
    width: 25%;
    height: fit-content;
    padding: 0.5rem 0.5rem 2rem 0.5rem;
    text-align: center;
}
.allmaterials .mtrtitle {
    padding: 0.5rem;
    color: #e06767;
    font-weight: 600;
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
}
.allmaterials .eachmtr {
    cursor: pointer;
    position: relative;
    display: inline-block;
    width: 45%;
    height: 15rem;
    margin: 0.5rem;
    border: 1px solid gainsboro;
    text-align: center;
    border-radius: 10px;
}
.allmaterials .eachmtr .gridsImg {
    width: 80%;
    height: 70%;
    margin: auto;
    padding: 1rem 0.5rem;
}
.allmaterials .eachmtr .gridsImg img {
    width: 100%;
    height: 100%;
}
.allmaterials .eachmtr .captions {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30%;
    font-size: 1.2rem;
    color: gray;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}


.mtdesc {
    background-color: white;   
    box-shadow: 0px 0px 3px 1px gainsboro; 
    width: 74%;
    height: fit-content;
    padding: 1rem;
}
.mtdesc .desctitle {
    padding: 0.5rem 1rem;
    color: #e06767;
    font-weight: 600;
    font-size: 1.9rem;
}
.mtdesc .descriptionContent {
    margin: 1.5rem 1rem 2rem 1rem;
    font-family: "GilroyRegular" !important;
}
.mtdesc table {
    margin: 0;
}
.mtdesc table tr td:first-child {
    color: cornflowerblue;
    padding: 0.25rem 1rem;
    font-size: 1.5rem;
    font-weight: 400;
    border: 1px solid gainsboro;
}
.mtdesc table tr td:nth-child(2) {
    color: gray;
    padding: 0.25rem 1rem;
    font-size: 1.5rem;
    font-weight: 450;
    border: 1px solid gainsboro;
}


.comparison {
    background-color: white;   
    box-shadow: 0px 0px 3px 1px gainsboro; 
    width: 74%;
    height: fit-content;
    padding: 1rem;
    margin: 2rem 0;
}
.comparison .comptitle {
    padding: 0.5rem 1rem;
    color: #e06767;
    font-weight: 600;
    font-size: 1.9rem;
}
.comparison .eachComparison {
    border: 1px solid gainsboro;
    border-radius: 10px;
    width: 97%;
    height: 12rem;
    margin: 1rem auto;
    padding: 0.5rem;
    background: white;
}

.comparison .comp-store {
    position: relative;
    text-align: center;
}
.comparison .comp-store .storeImg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    padding: 0.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.comparison .comp-store .storeImg img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}
.comparison .comp-store .storeName {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    color: mediumseagreen;
    font-weight: 600;
    font-size: 1.2rem;
    overflow: hidden;
}

.comparison .comp-mtr {
    padding: 1rem;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
}
.comparison .comp-mtr .mtrType {
    color: gray;
    font-weight: 600;
    font-size: 1.75rem;
}
.comparison .comp-mtr .mtrSubtype {
    color: cornflowerblue;
    font-weight: 450;
    font-size: 1.4rem;
}
.comparison .comp-mtr .mtrGrade {
    color: peru;
    font-weight: 550;
    font-size: 0.9rem;
}

.comparison .comp-mtrprice {
    padding: auto 1.5rem;
    color: rgb(0, 0, 0);
    font-weight: 600;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.comparison .comp-btn {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: end;
}
.comparison .comp-btn .btn {
    font-size: 1.4rem;
    background-color: #ff9f00 !important;
}


.sliderLeft {
    background-color: white;
    box-shadow: 0px 0px 3px 1px gainsboro;
    margin: 2rem 0;
    padding: 1rem 1.5rem 1.75rem 1rem;
    position: relative;
    width: 74%;
}
.sliderLeft .sliderLeftCaptions{
    width: 100%;
    color: #e06767;
    font-weight: 600;
    font-size: 1.9rem;
    padding: 0.25rem 0.25rem 1rem 0.75rem;
}
.sliderWrapper {
    width: 100%; 
    overflow: hidden; 
}
.slider {
    display: flex;
    transition: transform 0.3s ease-in-out; 
    width: max-content; 
}
.slides {
    width: 25rem; 
    height: 25rem;
    margin: 1.5rem 1rem; 
    flex-shrink: 0; 
    background-color: #f2f2f2;
    box-shadow: 0px 0px 3px 1px gainsboro;
    border-radius: 10px;
    position: relative;
}

.prev-btn, .next-btn {
    cursor: pointer;
    color: gray;
    background-color: white; 
    border: 1px solid gainsboro;
    box-shadow: 0px 0px 3px 1px #f2f2f2;
    border-radius: 7px;
    position: absolute;
    z-index: 3;
    top: 9%;
    transform: translateY(-50%);
    padding: 0.5rem 1rem;
    font-size: 1.6rem;
}

.prev-btn {
    right: 5rem; 
}
.next-btn {
    right: 1rem; 
}

.prev-btn:hover, .next-btn:hover {
    color: mediumseagreen;
    border: 2px solid mediumseagreen;
}

.slides .slideImg {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0.25rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: white;
    width: 100%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.slides .slideImg img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.slides .slideDesc {
    cursor: pointer;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: white;
    width: 100%;
    height: 40%;
    padding: 0.5rem 1.5rem;
} 

.slides .slideDesc .prjname {
    color: gray;
    font-size: 1.5rem;
    font-weight: 600; 
    height: 2.5rem;
    overflow: hidden;
}
.slides .slideDesc .cmpyname {
    color: gray;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.slides .slideDesc .pricerange {
    font-size: 2rem;
    font-weight: 700;
    color: black;
    margin-bottom: 0.25rem;
} 





.rating {
    background-color: white;   
    box-shadow: 0px 0px 3px 1px gainsboro; 
    width: 74%;
    height: fit-content;
    padding: 1rem auto;
    margin: 2rem 0;
}
.rating .ratingtitle {
    padding: 1rem 1.5rem;
    color: #e06767;
    font-weight: 600;
    font-size: 1.9rem;
}
.rating form {
    text-align: center;
    width: 50%;
    margin: auto;
    padding: 1rem 1rem 2rem 1rem;
}
.rating .headtitle {
    color: peru;
    padding: 0.25rem 1rem;
    font-weight: 500;
    font-size: 1.7rem;
}
.rating textarea {
    width: 100%;
    height: 8rem;
    font-size: 1.5rem;
    padding: 0.5rem;
}
.rating .ratingDiv {
    margin-bottom: 1rem;
}
.rating .ratingstar {
    position: relative;
    font-size: 3rem;
}
.rating .ratingradiobtn {
    position: absolute;
    display: none;
}
.rating .ratingstar i {
    color: rgb(183, 180, 180);
}
.rating .ratingstar i:hover {
    color: mediumseagreen; 
}
