.certificate-section__title,
.ep-product-safety-info__section__title,
.ep-product-overview__title,
.ep-external-section__title {
    margin: 0;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0;
    color: #0F0037;
    padding: 0 0 20px;
}

/* Hero meta */
.ep-synonyms,
.ep-numbers {
    opacity: 0.85;
    margin-top: 0.5rem;
}

.ep-numbers {
    letter-spacing: 0.03em;
}

.ep-discontinued {
    margin-top: 1rem;
    background: rgba(239,68,68,0.15);
    border-left: 4px solid #ef4444;
    padding: 0.75rem 1rem;
    border-radius: 0 6px 6px 0;
    font-weight: 600;
}

/* Product main layout */
.ep-product-main {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 110px;
    align-items: start;
}

.ep-structure-image {
    max-width: 327px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 327px;
    padding: 30px;
}

.ep-structure-image img {
    max-width: 100%;
    height: auto;
}

/* Specs table */
.ep-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.ep-specs-table__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* Action buttons */
.ep-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1rem;
}

/* SDS button */
.ep-sds-action {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

/* CoA links */
.ep-coa-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.ep-coa-link {
    display: inline-block;
    padding: 0.4rem 0.875rem;
    background: var(--color-white);
    border: 1px solid var(--color-indigo-500);
    border-radius: 6px;
    color: var(--color-indigo-500);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.ep-coa-link:hover {
    background: var(--color-indigo-500);
    color: var(--color-white);
}

/* External links & related */
.ep-external-links,
.ep-related {
    padding: 70px 0 0;
}

.ep-link-list,
.ep-related-list {
    list-style: none;
    padding: 0;
    padding: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0;
}

.ep-link-list li,
.ep-related-list li {
    padding: 0;
    position: relative;
}

.ep-link-list a,
.ep-related-list a {
    color: #3D3EFE;
    text-decoration: underline;
}

/* Footer CTA */
.ep-footer-cta {
    text-align: center;
}

.ep-footer-cta p {
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.ep-footer-cta .btn {
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .ep-product-main--with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ep-structure-image {
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .ep-specs-label {
        min-width: 120px;
        width: 120px;
        white-space: normal;
    }

    .ep-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

.product-overview__section,
.products-title-content,
.product-safety-info__section,
.certificate-section,
.ep-external-section {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.products-title-content {
    padding: 50px 0 63px;
    display: flex;
    justify-content: space-between;
}

.certificate-section,
.product-safety-info__section,
.ep-external-section{
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 110px;
    padding: 0 0 70px;
}

.certificate-section__info--content,
.certificate-section__info--content a {
    color: #0F0037;
    font-family: Poppins, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
}

.product-overview__section {
    padding: 70px 0;
}


.ep-product__title {
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0;
    color: #0F0037;
    padding: 0 0 30px;
    margin: 0;
}

.ep-synonyms {
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #0F0037;
    padding: 0 0 20px;
    margin: 0;
}

.ep-numbers {
    margin: 0;
    font-family: Poppins, sasn-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #0F0037;
    padding: 0 0 60px;
}

.ep-nav-buttons {
    display: flex;
    justify-content: space-between;
    min-width: 400px;
    max-width: 50%;
}

.btn-gray {
    color: var(--color-indigo-950);
    background: #F3F2F5;
}

.product-info {
    display: flex;
    flex-direction: column;
    width: fit-content;
    justify-content: center;
}

.btn-primary {
    text-decoration: none;
}

.bg-gray {
    background: #0F00370D;
}

p.ep-product-overview__content {
    margin: 0;
    padding: 0;
    font-family: Poppins, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
}

.ep-product-overview__content__link {
    color: #0F0037;
}

.ep-specs-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid #0F003733;
}

.ep-specs-label,
.ep-specs-value {
    font-family: Poppins, sans-serif;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #0F0037;
    padding: 0 0 10px;
    overflow-wrap: break-word;
}

.ep-specs-value a,
.ep-specs-label a {
    color: #0F0037;
}
.ep-specs-label {
    font-weight: 300;

}
.ep-specs-value {
    font-weight: 700;
    max-width: 245px;
    text-align: end;
}

.ep-related-list__title,
.ep-external-links__title {
    color: #0F0037;
    font-family: Poppins, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    padding: 0;
    margin: 0;
}

.ep-external-section__content .ep-actions {
    padding: 40px 0 0;
    margin: 0;
}


.bg-gray {
    background: #F2F2F5 !important;
    isolation: isolate;
}
main#main {
    overflow: hidden;
}

/* ==========================================================================
   Mobile UI Adaptivity (for viewports under 768px)
   ========================================================================== */

@media screen and (max-width: 767px) {

    .ep-product-main {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 16px;
    }


    .ep-structure-image {
        max-width: 100%;
        margin: 0 auto;
        justify-content: center;
    }

    .ep-structure-image img {
        max-width: 240px;
        height: auto;
    }


    .certificate-section__title,
    .ep-product-safety-info__section__title,
    .ep-product-overview__title,
    .ep-external-section__title {
        font-size: 20px;
        line-height: 28px;
        padding-bottom: 12px;
    }

    .ep-specs-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    .ep-specs-label {
        font-weight: 600;
        padding: 0 0 4px 0;
    }

    .ep-specs-value {
        padding: 0;
        width: 100%;
    }

    .ep-product-safety-info__section__link,
    .btn-primary,
    .btn-gray {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 12px 16px;
        box-sizing: border-box;
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-bottom: 8px;
    }

    .product-info {
        width: 100%;
    }

    .certificate-section, .product-safety-info__section, .ep-external-section {
            grid-template-columns: 1fr;
            gap: 32px;
            padding: 30px 16px 20px;
        
        }

    .ep-actions {
        flex-direction: column;
        align-items: center !important;
    }


    .products-title-content {
        padding: 50px 20px 63px;
        display: flex;
        justify-content: space-between;
    }

    .ep-specs-row {
        flex-direction: row!important;
        align-items: flex-start;
        padding: 10px 0;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        display: flex;
    }
    .ep-specs-value {
        width: fit-content;
    }

}