.threaded-product-layout{
    width:95%;
    max-width:1300px;
    margin:30px auto;
    display:grid;
    grid-template-columns:1fr 320px;
    gap:30px;
    align-items:start;
}
/* LEFT */

.main-content h2{
    font-size:25px;
    line-height:1.4;
    color:#0d2c54;
    margin-bottom:15px;
}

.intro-text{
    font-size:20px;
    line-height:1.8;
    margin-bottom:30px;
}

.product-gallery{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-bottom:30px;
}

.gallery-item{
    text-align:center;
}

.gallery-item img{
    width:100%;
    height:280px;
    object-fit:cover;
    border:1px solid #ddd;
    border-radius:8px;
    transition:.4s;
}

.gallery-item img:hover{
    transform:scale(1.04);
}

.gallery-item p{
    margin-top:12px;
    font-size:18px;
    line-height:1.5;
}

.description{
    font-size:22px;
    line-height:1.8;
}

/* RIGHT SIDEBAR */

.product-sidebar{
    position:sticky;
    top:120px;
    height:max-content;
}

.sidebar-box{
    border:1px solid #e5e5e5;
    background:#fff;
}

.sidebar-box h3{
    background:#0d2c54;
    color:#fff;
    padding:13px;
    margin:0;
    font-size:20px;
}

.sidebar-box ul{
    list-style:none;
    padding:0;
    margin:0;
}

.sidebar-box li{
    border-bottom:1px solid #eee;
}

.sidebar-box a{
    display:block;
    padding:15px 18px;
    text-decoration:none;
    color:#222;
    font-size:18px;
    transition:.3s;
}

.sidebar-box a:hover{
    background:#f4f8fc;
    color:#0d2c54;
    padding-left:30px;
}

/* MOBILE */

@media(max-width:991px){

    .threaded-product-layout{
        grid-template-columns:1fr;
    }

    .product-gallery{
        grid-template-columns:1fr;
    }

    .product-sidebar{
        position:static;
    }

}

.table-content{
    background:#f5f5f5;
    padding:30px;
    border-radius:8px;
    box-shadow:0 3px 12px rgba(0,0,0,.12);
    margin-top:35px;
}

.table-content h3{
    font-size:22px;
    margin-bottom:25px;
    color:#333;
}

.tabel-h2{
    margin-top: 70px;
}

.toc-columns{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.toc-columns ul{
    margin:0;
    padding-left:20px;
}

.toc-columns li{
    margin-bottom:14px;
}

.toc-columns a{
    color:#2f6f54;
    text-decoration:none;
    font-size:17px;
}

.toc-columns a:hover{
    color:#0d2c54;
}

.sub-item{
    margin-left:20px;
}

@media(max-width:768px){

    .toc-columns{
        grid-template-columns:1fr;
    }

}

.product-info-section{
    margin:60px 0;
}

.product-info-section h2{
    font-size:30px;
    color:#0d2c54;
    margin-bottom:25px;
    font-weight:700;
}

.product-image-box{
    text-align:center;
    margin-bottom:30px;
}

.product-image-box img{
    width:100%;
    max-width:900px;
    border-radius:8px;
    border:1px solid #ddd;
    box-shadow:0 5px 15px rgba(0,0,0,0.10);
}

.product-description{
    background:#f8f9fa;
    padding:25px 30px;
    border-left:5px solid #0d2c54;
    border-radius:8px;
}

.product-description p{
    font-size:18px;
    line-height:1.9;
    color:#444;
    margin-bottom:15px;
}

.contact-cta{
    background:#00215e;
    padding:40px 25px;
    text-align:center;
    border-radius:8px;
    color:#fff;
    margin-top:30px;
}

.contact-icon{
    font-size:40px;
    color:#5b9b58;
    margin-bottom:20px;
}

.contact-cta h3{
    font-size:32px;
    font-weight:700;
    line-height:1.3;
    margin-bottom:10px;
    color:#fff;
}

.cta-text{
    font-size:17px;
    margin-bottom:25px;
    color:#fff;
}

.cta-phone{
    display:block;
    font-size:30px;
    font-weight:700;
    color:#fff;
    text-decoration:none;
    line-height:1.4;
    margin-bottom:20px;
}

.cta-email{
    display:block;
    font-size:17px;
    color:#fff;
    text-decoration:none;
    word-break:break-word;
}

.cta-phone:hover,
.cta-email:hover{
    color:#5b9b58;
}


.dimension-section{
    margin:60px 20px;
}

.dimension-section h2{
    font-size:30px;
    color:#0d2c54;
    margin-bottom:25px;
    font-weight:700;
    /* padding-left: 10px; */

}

.dimension-card{
    /* background:#fff; */
    /* border:1px solid #e5e5e5; */
    /* border-radius:10px;*/
    overflow:hidden;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
    text-align:center;
}

.dimension-card img{
    width:50%;
    max-width:900px;
    display:block;
    margin:0 auto;
    padding:30px;
}

.dimension-table-section{
    margin:60px 20px;
}

.dimension-table-section h2{
    font-size:30px;
    color:#0d2c54;
    margin-bottom:25px;
    font-weight:700;
    padding-left: 20px;
}

.table-responsive{
    overflow-x:auto;
    border-radius:10px;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
}

.dimension-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
}

.dimension-table thead tr:first-child{
    background:#314f76;
}

.dimension-table thead tr:first-child th{
    color:#fff;
    font-size:18px;
    font-weight:600;
    padding:15px;
    border:1px solid #000000;
}

.dimension-table thead tr:nth-child(2){
    background:#f5f8fc;
}



.dimension-table thead tr:nth-child(2) th{
    color:#0d2c54;
    font-size:16px;
    font-weight:600;
    padding:10px;
    border:1px solid #e2e8f0;
}

.dimension-table td{
    padding:15px 20px;
    border:1px solid #e2e8f0;
    font-size:15px;
    color:#444;
}

.dimension-table tbody tr:nth-child(even){
    background:#fafafa;
}

.dimension-table tbody tr:hover{
    background:#eef6ff;
}

@media(max-width:768px){

    .dimension-table-section h2{
        font-size:26px;
    }

    .dimension-table td,
    .dimension-table th{
        padding:12px;
        font-size:14px;
    }

}



.elbow-types-section{
    margin:60px 20px;
}

.elbow-types-section h2{
    font-size:30px;
    color:#0d2c54;
    margin-bottom:30px;
    font-weight:700;
}

.elbow-types-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.elbow-type-card{
    background:#e1dcdc;
    border:1px solid #e5e7eb;
    border-radius:10px;
    overflow:hidden;
    transition:.3s ease;
    text-align:center;
}

.elbow-type-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 25px rgba(0,0,0,.10);
}

.elbow-type-card img{
    width:100%;
    height:170px;
    object-fit:cover;
    display:block;
}

.elbow-type-card h3{
    font-size:17px;
    line-height:1.5;
    padding:15px;
    color:#0d2c54;
    font-weight:600;
}

@media(max-width:991px){

    .elbow-types-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:576px){

    .elbow-types-grid{
        grid-template-columns:1fr;
    }

    .elbow-type-card img{
        height:250px;
    }

}


.dimension-top-images{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    margin-bottom:30px;
}

.dimension-image{
    text-align:center;
}

.dimension-image img{
    width:100%;
    max-height:400px;
    object-fit:contain;
}

@media(max-width:768px){
    .dimension-top-images{
        grid-template-columns:1fr;
    }
}


.specification-section{
    margin:60px 20px;
}

.specification-section h2{
    font-size:30px;
    color:#0d2c54;
    margin-bottom:25px;
    font-weight:700;
}

.spec-table{
    width:100%;
    border-collapse:collapse;
    border:1px solid #d8d8d8;
}

.spec-table td{
    border:1px solid #d8d8d8;
    padding:18px 22px;
    vertical-align:top;
    line-height:1.8;
    font-size:16px;
}

.spec-table td:first-child{
    width:30%;
    font-weight:600;
    background:#fafafa;
    color:#0d2c54;
}

.spec-table td:last-child{
    width:70%;
}



.dimension-section{
    margin:50px 20px;
}

.dimension-section h2{
    font-size:30px;
    font-weight:700;
    color:#0d2c54;
    margin-bottom:25px;
}

.table-responsive{
    overflow-x:auto;
}

.weight-table{
    width:100%;
    border-collapse:collapse;
    min-width:1200px;
    background:#fff;
}

.weight-table th,
.weight-table td{
    border:1px solid #d8d8d8;
    padding:15px;
    text-align:center;
    vertical-align:middle;
    font-size:15px;
}

.weight-table th{
    background:#f3f5f7;
    color:#0d2c54;
    font-weight:700;
}

.weight-table td:first-child{
    background:#fafafa;
    font-weight:700;
    color:#0d2c54;
}

.group-start td{
    border-top:3px solid #c4c7cb;
}

@media(max-width:768px){
    .dimension-section h2{
        font-size:26px;
    }

    .weight-table th,
    .weight-table td{
        padding:10px;
        font-size:14px;
    }
}

.price-content p{
   font-size: 19px;
   /* margin: 10px; */
   padding: 10px 0;
   font-weight: 500;
}

.dimension-card-img{
    padding: 20px 90px;
    margin: 60px;
    width: 90%;
    height: 200px;
}