.header-main-con {
    position: relative;
    top: auto;
    background: #fff;
    border-bottom: 1px solid rgb(9 21 34 / 14%);
}

.header-main-con .navbar-collapse {
    border-left: 1px solid rgb(9 21 34 / 14%);
    border-right: 1px solid rgb(9 21 34 / 14%);
}

.header-main-con .contact-expert {
    border-left: 1px solid rgb(9 21 34 / 14%);
}

.header-main-con .navbar-light .navbar-nav .nav-link,
.header-main-con .nav-btns .contact-expert a,
.header-main-con .contact-expert a span {
    color: #091522;
}

.header-main-con .nav-btns .contact-expert a:hover {
    color: #091522;
}

.header-main-con .navbar-nav .nav-item .nav-link.active,
.header-main-con .navbar-nav .nav-item .nav-link:hover {
    color: #091522;
}

.header-main-con .navbar-nav .nav-item .nav-link::before,
.header-main-con .navbar-nav .nav-item .nav-link.active::before,
.header-main-con .navbar-nav .nav-item .nav-link:hover::before {
    background: #091522;
}

.header-main-con .navbar-light .navbar-brand img {
    width: auto;
    max-height: 64px;
}

.footer-logo-con figure img {
    width: auto;
    max-height: 58px;
}

.products-lang-switch {
    padding: 0 16px;
    display: flex;
    align-items: center;
}

.products-lang-toggle-link {
    min-width: 46px;
    padding: 5px 10px;
    border: 1px solid rgb(9 21 34 / 24%);
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    color: #091522;
    background: #fff;
    text-align: center;
    transition: all 0.2s ease;
}

.products-lang-toggle-link:hover {
    color: #091522;
    background: #f3f6fb;
    border-color: rgb(9 21 34 / 28%);
}

.products-banner-section {
    background: url(../images/home-banner-bg-main.png) no-repeat center;
    background-size: cover;
}

.sub-banner-section.products-banner-section .container {
    text-align: center;
}

.sub-banner-section.products-banner-section .sub-banner-inner-section {
    display: flex;
    width: min(100%, 1040px);
    margin: 0 auto;
    padding: 34px 48px !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0 / 54%);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgb(0 0 0 / 28%);
    transform: translateY(-34px);
}

.sub-banner-section.products-banner-section .sub-banner-inner-section h1 {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    font-size: 60px;
    line-height: 1.15;
    text-wrap: balance;
    margin-bottom: 14px;
    color: #fff;
}

.sub-banner-section.products-banner-section .sub-banner-inner-section .d-block {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    color: rgb(255 255 255 / 90%);
    font-size: 30px;
    line-height: 1.5;
    text-wrap: balance;
}

@media only screen and (min-width: 1200px) {
    .sub-banner-section.products-banner-section .container {
        max-width: 1320px;
    }

    html[lang="en"] .sub-banner-section.products-banner-section .sub-banner-inner-section h1 {
        max-width: 1240px;
        font-size: 52px;
        line-height: 58px;
        letter-spacing: -0.2px;
    }
}

.product-line-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.product-line-filter button {
    border: 1px solid #d4dce8;
    border-radius: 999px;
    background: #ffffff;
    color: var(--text-color);
    font-size: 14px;
    line-height: 20px;
    padding: 8px 16px;
    transition: all 0.2s ease-in-out;
}

.product-line-filter button:hover {
    color: var(--button-color);
    border-color: var(--button-color);
}

.product-line-filter button.active {
    background: var(--button-color);
    border-color: var(--button-color);
    color: #ffffff;
}

.products-status {
    margin-bottom: 24px;
    text-align: center;
    font-size: 15px;
    line-height: 24px;
    color: #475467;
}

.products-status.error {
    color: #b42318;
}

.core-service-box.product-card {
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 26px 22px;
    box-shadow: 0 8px 22px rgba(16, 24, 40, 0.04);
}

.core-service-box.product-card figure {
    width: 100%;
    height: 156px;
    border-radius: 12px;
    overflow: hidden;
    background: #f7f9fc;
    margin-bottom: 18px;
}

.core-service-box.product-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.core-service-box.product-card h4 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    min-height: 60px;
    word-break: break-word;
}

.product-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: #667085;
    font-size: 13px;
    line-height: 20px;
}

.product-line-badge {
    background: #ecfdf3;
    color: #027a48;
    border-radius: 999px;
    font-size: 12px;
    line-height: 18px;
    padding: 2px 10px;
    font-weight: 600;
}

.product-summary {
    font-size: 15px;
    line-height: 24px;
    color: #475467;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    min-height: 72px;
}

.product-subtitle {
    font-size: 14px;
    line-height: 22px;
    color: #98a2b3;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.product-route-section {
    background: transparent;
}

.core-services-section .product-route-section {
    padding-top: 18px !important;
    padding-bottom: 8px !important;
}

.product-route-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-route-card {
    background: #ffffff;
    border: 1px solid #e4eaf2;
    border-radius: 14px;
    padding: 24px 20px;
    box-shadow: 0 8px 22px rgba(16, 24, 40, 0.04);
}

.product-route-card h3 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 12px;
}

.product-route-card p {
    color: #475467;
    line-height: 1.8;
    font-size: 15px;
}

.product-category-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-category-link:hover {
    color: inherit;
    text-decoration: none;
    border-color: #bfcfe4;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
    transform: translateY(-2px);
}

.product-category-action {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-size: 13px;
    line-height: 20px;
    color: var(--button-color);
    font-weight: 600;
}

.product-list-back-wrap {
    margin-top: 18px;
    text-align: center;
}

.product-pagination-wrap {
    margin-top: 36px;
}

#products-pagination {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 8px;
}

#products-pagination .page-item .page-link {
    border: 1px solid #d0d9e6;
    border-radius: 10px;
    color: #344054;
    min-width: 40px;
    text-align: center;
    margin: 0 4px;
    font-size: 14px;
    line-height: 20px;
}

#products-pagination .page-item.active .page-link {
    background: var(--button-color);
    border-color: var(--button-color);
    color: #ffffff;
}

#products-pagination .page-item.disabled .page-link {
    color: #98a2b3;
    opacity: 0.65;
    cursor: not-allowed;
}

#products-pagination .page-item .page-link.product-ellipsis {
    border: none;
    background: transparent;
    color: #98a2b3;
}

.product-detail-html {
    color: #475467;
    line-height: 1.8;
    font-size: 15px;
}

.product-detail-html span {
    color: inherit !important;
}

.product-detail-html p:last-child {
    margin-bottom: 0;
}

.product-detail-html img {
    max-width: 100%;
    height: auto;
}

#product-detail-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Keep ordered-list numbers aligned inside detail cards (advantage/applications). */
.product-detail-html .list-paddingleft-2,
.product-detail-html ol {
    margin: 0 0 12px;
    padding-left: 2.1em;
    list-style-position: outside;
}

.product-detail-html .list-paddingleft-2 > li,
.product-detail-html ol > li {
    margin-bottom: 8px;
    padding-left: 0.3em;
}

.product-detail-html .list-paddingleft-2 > li::marker,
.product-detail-html ol > li::marker {
    color: #344054;
    font-weight: 600;
}

.product-detail-html li > p {
    margin-bottom: 0;
    line-height: 1.7;
}

/* Prevent long technical tokens from overflowing mobile viewport. */
.product-detail-html,
.product-detail-html * {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
}

.product-detail-block {
    border: 1px solid #e8edf3;
    border-radius: 14px;
    padding: 20px;
    margin-top: 20px;
    background: #ffffff;
}

.product-detail-grid .product-detail-block {
    margin-top: 0;
}

.product-detail-block h3 {
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 30px;
}

.product-downloads {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.product-downloads li + li {
    margin-top: 10px;
}

.product-downloads a {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.product-downloads a:hover {
    color: var(--button-color);
    border-color: var(--button-color);
}

#product-detail-download-empty {
    margin-bottom: 0;
    color: #98a2b3;
}

.product-detail-actions {
    margin-top: 28px;
    text-align: center;
}

.product-back-link {
    display: inline-block;
    background: var(--button-color);
    color: #ffffff;
    border: 1px solid var(--button-color);
    border-radius: 10px;
    padding: 11px 20px;
    font-size: 15px;
    line-height: 22px;
}

.product-back-link:hover {
    background: #ffffff;
    color: var(--button-color);
    text-decoration: none;
}

@media only screen and (max-width: 991px) {
    .products-lang-switch {
        margin-right: 52px;
        padding: 0;
        border-left: 0;
    }

    .products-lang-toggle-link {
        min-width: 40px;
        padding: 4px 8px;
        font-size: 12px;
    }

    .sub-banner-section.products-banner-section .sub-banner-inner-section {
        padding: 30px 34px !important;
    }

    .sub-banner-section.products-banner-section .sub-banner-inner-section h1 {
        font-size: 42px;
    }

    .sub-banner-section.products-banner-section .sub-banner-inner-section .d-block {
        font-size: 22px;
    }

    .core-service-box.product-card h4 {
        min-height: auto;
        font-size: 22px;
    }

    .product-summary {
        min-height: auto;
    }

    .product-route-grid {
        grid-template-columns: 1fr;
    }

}

@media only screen and (max-width: 1199px) {
    .products-lang-switch {
        padding: 0 10px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .sub-banner-section.products-banner-section .sub-banner-inner-section {
        max-width: 760px;
    }

    .sub-banner-section.products-banner-section .sub-banner-inner-section h1 {
        font-size: 50px;
    }

    .sub-banner-section.products-banner-section .sub-banner-inner-section .d-block {
        font-size: 22px;
    }
}

@media only screen and (max-width: 767px) {
    .product-line-filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .product-line-filter button {
        flex: 0 0 auto;
    }

    .sub-banner-section.products-banner-section .sub-banner-inner-section {
        padding: 24px 22px !important;
        transform: translateY(-24px);
    }

    .sub-banner-section.products-banner-section .sub-banner-inner-section h1 {
        font-size: 34px;
        line-height: 1.25;
    }

    .sub-banner-section.products-banner-section .sub-banner-inner-section .d-block {
        font-size: 16px;
    }

    .core-services-section .product-route-section {
        padding-top: 10px !important;
        padding-bottom: 0 !important;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-block h3 {
        font-size: 22px;
        line-height: 28px;
    }

    .product-detail-html .list-paddingleft-2,
    .product-detail-html ol {
        padding-left: 1.8em;
    }
}
