.product-specs {
    background-color: #f8f9fa;
    position: relative;
    padding: 64px 0;
    width: 100%;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

.product-specs .tfc-global-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    /* Include padding in width calculation */
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.single-product .tfc-global-container .section-header .premium-badge {
    display: inline-block;
    padding: 8px 20px;
    background: #000000;
    color: #ffffff;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(251, 176, 59, 0.2);
}
.premium-badge {
    display: inline-block;
    padding: 8px 20px;
    background: #FFD701;
    color: #000000;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(251, 176, 59, 0.2);
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Specifications Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

/* Specification Cards */
.spec-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Image Container */
.spec-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.spec-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.spec-card:hover .spec-image img {
    transform: scale(1.05);
}

.spec-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

/* Icon Styles */
.spec-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
   
}

/* Content Styles */
.spec-content {
    padding: 30px;
    position: relative;
}

.spec-content h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.spec-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Material Details List */
.material-details ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.material-details li {
    padding: 8px 0;
    color: #6c757d;
    display: flex;
    align-items: center;
}

.material-details li:before {
    content: '✓';
    color: #fbb03b;
    margin-right: 10px;
    font-weight: bold;
}

.thickness-comparison {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #edf2f7;
}

.thickness-comparison small {
    color: #a0a0a0;
    font-size: 0.85rem;
}


.certifications h3 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 40px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.cert-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
}

.cert-image {
    height: 250px;
    overflow: hidden;
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cert-content p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.cert-content {
    padding: 30px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .specs-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }
    .finder-section-blk .section-header p {
      color:#000000 !important;
       
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .spec-image,
    .cert-image {
        height: 200px;
    }

    .spec-content,
    .cert-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .product-specs .tfc-global-container {
        padding: 0 16px;
        /* Smaller padding on very small screens */
    }
.section-header h2 {
    margin-bottom: 0px !important;
    }
    .product-specs {
        padding: 30px 0;
        /* Reduced vertical padding on mobile */
    }
.blogSection>h2 {
    margin-bottom: 0px !important;
}
    .section-header {
        margin-bottom: 16px;
    }

    .section-header h2 {
        font-size: 1.5rem;
       
    }
    .section-header p {
        font-size: 1.125rem;
    }
    .certifications h3{
            font-size: 1.5rem;
    }
    .specs-grid {
  margin-bottom: 40px;
    }
    .tfc-global-container .certifications h3 {
          margin-bottom: 10px;
    }
}